/*
 * ============================================================
 *  VNV MARKETING — NAVIGATION
 *  ─────────────────────────────────────────────────────────
 *  Fixed top navbar, logo, links, dropdown menu, CTA pill.
 *  Applies to every page.
 *
 *  TO CUSTOMIZE:
 *    • Nav background: change background:#ffffff in nav {}
 *    • Dropdown colors: edit .dropdown-menu {} background
 * ============================================================
 */

/* ── Fixed top nav bar ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 500;
  padding: 16px 32px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}

/* Nav shrinks on scroll (JS adds .scrolled) */
nav.scrolled {
  background: #ffffff;
  padding: 12px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── Logo ── */
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.logo img {
  height: 52px; max-height: 52px;
  width: auto; display: block; object-fit: contain;
  transition: transform .3s var(--ease), height .3s var(--ease);
}
nav.scrolled .logo img { height: 44px; max-height: 44px; }
.logo:hover img { transform: scale(1.04); }

/* ── Nav links row ── */
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  position: relative; padding-bottom: 2px;
}

/* Underline indicator */
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── Dropdown ── */
.nav-dropdown {
  position: relative; display: inline-block;
  padding-bottom: 12px; margin-bottom: -12px;
}
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  width: 250px;
  background: #000000; border: 1px solid #222222;
  border-radius: 10px; padding: 8px 0;
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
  z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 11px 18px;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 1px solid #181818;
  transition: background .2s, padding-left .2s, color .2s;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: #161616; color: #ffffff !important; padding-left: 22px; }

/* ── CTA pill button ── */
.nav-cta {
  border: 1px solid var(--ink); padding: 9px 20px; border-radius: 100px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* ── Mobile: hide nav links below 860px ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
}
