/* ============================================
   AS MEDIA HUB — Navigation (Light Theme)
   nav.css
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  transition: padding 0.4s ease;
}

.site-header.scrolled .nav-inner { padding: 14px 24px; }

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 101;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-body);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(45,106,79,0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-tagline {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── NAV LINKS ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-link.active {
  color: var(--green);
  background: var(--green-xpale);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ── NAV CTA ── */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn { padding: 9px 20px; font-size: 0.84rem; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  padding: 9px;
  z-index: 101;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger:hover { background: var(--bg-tertiary); }

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-desktop { display: none !important; }

  .nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-mobile.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-mobile .nav-link {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 14px 32px;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 280px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
  }

  .nav-mobile .nav-link.active {
    color: var(--green);
    background: var(--green-xpale);
  }

  .nav-mobile .nav-link.active::after { display: none; }

  .nav-mobile .nav-cta {
    margin-top: 24px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
  }

  .nav-mobile .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .logo-tagline { display: none; }
}
