/* ==============================================
   BASE NAVBAR — 50% UPSCALED
================================================ */
.www-navbar {
  width: 100%;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 999;
}

.www-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;   /* increased from 14px 20px */

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;            /* increased */
}

.www-logo img {
  height: 60px;         /* was 40px → 50% up */
}


/* ==============================================
   DESKTOP NAV LINKS — UPSCALED + BEAUTIFUL PILL BUTTONS
================================================ */
.www-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;            /* was 24px */
}

/* --- Base pill button --- */
.www-nav-links a {
  font-size: 1.1rem;
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;

  /* Depth + gloss */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.75),
    rgba(255,255,255,0.55)
  );
  border: 1px solid rgba(0,0,0,0.06);

  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    inset 0 1px 2px rgba(255,255,255,0.9);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease,
    color 0.25s ease;
}

/* --- Hover lift --- */
.www-nav-links a:hover {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.65)
  );

  box-shadow:
    0 4px 10px rgba(0,0,0,0.08),
    inset 0 1px 2px rgba(255,255,255,1);

  transform: translateY(-2px);
}
/* ==============================================
   DESKTOP NAV LINKS — Darker, richer, deeper
================================================ */
.www-nav-links a {
  font-size: 1.1rem;

  color: var(--ink);
  background: rgba(0,0,0,0.03);        /* darker base */
  
  padding: 12px 22px;
  border-radius: 500px;

  border: 1px solid rgba(0,0,0,0.06);  /* darker outline */
  
  text-decoration: none;

  /* stronger shadow for DEPTH */
  box-shadow:
    0 2px 4px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.25);

  transition: 
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.www-nav-links a:hover {
  background: rgba(0,0,0,0.10);        /* darker hover */
  box-shadow:
    0 3px 6px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.20);
  transform: translateY(-2px);
}

/* ACTIVE (blue pill button) — deeper, richer */
.www-nav-links a.active {
  background: var(--accent);
  color: #fff;

  font-weight: 600;
  font-size: 1.2rem;

  /* DEEP BLUE SHADOW like the live site */
  box-shadow:
    0 4px 8px rgba(30, 70, 160, 0.32),
    inset 0 1px 1px rgba(255,255,255,0.25);

  transform: translateY(-2px);
}


/* ==============================================
   HAMBURGER BUTTON — 50% UPSCALED
================================================ */
.www-mobile-toggle {
  display: none;
  width: 34px;          /* was 34px */
  height: 28px;         /* was 28px */
  flex-direction: column;
  justify-content: space-between;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.www-mobile-toggle span {
  display: block;
  width: 100%;
  height: 6px;          /* was 4px */
  background: var(--ink);
  border-radius: 4px;
  transition: 0.3s ease;
}

/* Animation */
.www-mobile-toggle.active span:nth-child(1) {
  transform: translateY(14px) rotate(45deg);
}

.www-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.www-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}


/* ==============================================
   MOBILE NAV MENU (collapsed by default)
================================================ */
.www-mobile-menu {
  overflow: hidden;
  height: 0;
  opacity: 0;
  pointer-events: none;

  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);

  display: flex;
  flex-direction: column;
  gap: 20px;

  padding: 0 30px;        /* padding removed when closed */
  transition:
    height 0.35s ease,
    opacity 0.35s ease,
    padding 0.35s ease;
}

/* OPEN STATE */
.www-mobile-menu.open {
  height: auto;           /* will be replaced by JS for animation */
  opacity: 1;
  pointer-events: auto;
  padding: 26px 30px;
}

/* MOBILE ICON + NAV LINKS HIDE ON DESKTOP */
@media (max-width: 720px) {
  .www-mobile-toggle {
    display: flex;
  }

  .www-nav-links {
    display: none;
  }
}

