/* ============================================================
   ENREGINA — NAVIGATION
   ============================================================ */

/* ── NAV BAR ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--section-pad-x);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

nav.scrolled {
  border-bottom-color: var(--border-color);
}

/* ── LOGO ────────────────────────────────────────────────── */
.nav-logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--forest);
  cursor: pointer;
}

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── NAV CTA BUTTON ──────────────────────────────────────── */
.nav-cta {
  background: var(--forest) !important;
  color: var(--ivory) !important;
  padding: 10px 24px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.14em;
  transition: background var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--forest-light) !important;
}

.nav-cta::after {
  display: none !important;
}

/* ── HAMBURGER ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--black);
  display: block;
  transition: all 0.3s ease;
}

/* ── MOBILE MENU OVERLAY ─────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.4rem;
  color: var(--ivory);
  cursor: pointer;
  padding: 8px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
