/* ==========================================================================
   SHADOW-CORE OMNIPOTENCE — LAYOUT & NAVIGATION
   Website: Shadow-Core.org | ABN: 89 308 438 634
   ========================================================================== */

/* --- Container & Grids --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 1rem 0;
  background: rgba(5, 7, 6, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-pure);
  letter-spacing: -0.03em;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  transition: var(--transition-bounce);
}

.brand-link:hover .brand-logo-img {
  transform: rotate(-6deg) scale(1.08);
  filter: drop-shadow(0 0 12px var(--emerald-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--emerald-glow);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* --- Mobile Menu Drawer --- */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 850px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: rgba(13, 18, 16, 0.96);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateY(0%);
  }

  .mobile-toggle {
    display: block;
  }
}

/* --- Hero Layout Section --- */
.hero-section {
  position: relative;
  padding: 7rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(18, 180, 110, 0.18) 0%, rgba(0, 242, 254, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- Section Spacing --- */
.section-pad {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-glow);
  margin-bottom: 0.75rem;
}

/* --- Footer Section --- */
.site-footer {
  margin-top: 6rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 550px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-pure);
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 1.2rem;
}

.footer-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 1rem;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--emerald-glow);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}
