/* ============================================================
   LEXARA — Navigation  (css/nav.css)
   ============================================================ */

/* ── Top Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  background: rgba(7,16,31,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,168,76,.1);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em;
  display: flex; align-items: center; gap: 3px; cursor: pointer;
}
.logo-dot { color: var(--gold); }

/* Links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,.68);
  font-size: .875rem; font-weight: 400;
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: var(--trans); cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.07); }

/* Nav CTA */
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none;
  color: var(--white); font-size: 1.25rem; cursor: pointer; padding: 6px;
}

/* ── Mobile Drawer ── */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.72); z-index: 1050;
}
.mobile-overlay.open { display: block; }

.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 280px; background: var(--navy-2);
  border-right: var(--border); z-index: 1060;
  padding: 24px 20px; overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-close {
  background: none; border: none; color: var(--grey-400);
  font-size: 1.2rem; cursor: pointer; margin-bottom: 24px;
  transition: var(--trans);
}
.drawer-close:hover { color: var(--white); }

.mobile-nav-links li a {
  display: block; padding: 13px 0; font-size: 1rem;
  color: var(--grey-200);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: var(--trans); cursor: pointer;
}
.mobile-nav-links li a:hover  { color: var(--gold); padding-left: 8px; }
.mobile-nav-links li a.active { color: var(--gold); }

.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links   { display: none; }
  .hamburger   { display: block; }
}
@media (max-width: 600px) {
  .nav-inner   { padding: 0 18px; }
  .nav-actions .btn-outline { display: none; }
}
