/* ═══════════════════════════════════════════════
   NAV.CSS — Fixed top navigation bar
═══════════════════════════════════════════════ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  padding: 6px clamp(24px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  transition:
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav.scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(22, 10, 3, 0.92);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(201, 164, 107, 0.14),
    0 4px 32px rgba(0, 0, 0, 0.35);
}

/* ── Logo ── */
.nav-logo {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: opacity 0.2s;
  overflow: visible;
  line-height: 0;
}
.nav-logo:hover {
  opacity: 0.85;
}

/* dot removed */

/* ── Desktop links ── */
.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.nav-link {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link.active {
  color: #fff;
}
.nav-link.active::after {
  transform: scaleX(1);
  background: var(--gold);
}

/* ── CTA button ── */
.nav-cta {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brown-deep);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  padding: 9px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.hamburger:hover {
  border-color: rgba(201, 164, 107, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s,
    width 0.25s;
  transform-origin: center;
}
.hamburger.open {
  border-color: rgba(201, 164, 107, 0.4);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile menu ── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 7999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(74, 36, 12, 0.98) 0%,
    rgba(12, 4, 0, 0.99) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#mobile-menu::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 164, 107, 0.18),
    transparent
  );
}

.mobile-link {
  font-family: var(--f-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  padding: 12px 0;
  position: relative;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(16px);
  transition:
    color 0.22s,
    opacity 0.38s ease,
    transform 0.38s ease;
}
#mobile-menu.open .mobile-link:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}
#mobile-menu.open .mobile-link:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}
#mobile-menu.open .mobile-link:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}
#mobile-menu.open .mobile-link:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.26s;
}
#mobile-menu.open .mobile-link:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}
#mobile-menu.open .mobile-link:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.38s;
}

.mobile-link::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s ease;
}
.mobile-link:hover {
  color: var(--gold-light);
}
.mobile-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.mobile-cta {
  margin-top: 20px;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-deep);
  background: var(--gold);
  padding: 14px 36px;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(12px);
  transition:
    background 0.25s,
    opacity 0.38s ease,
    transform 0.38s ease;
}
#mobile-menu.open .mobile-cta {
  opacity: 1;
  transform: none;
  transition-delay: 0.42s;
}
.mobile-cta:hover {
  background: var(--gold-light);
}

.mobile-location {
  position: absolute;
  bottom: 32px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity 0.38s ease 0.48s;
}
#mobile-menu.open .mobile-location {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-links {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  #nav {
    padding: 6px clamp(20px, 5vw, 36px);
  }
  #nav.scrolled {
    padding: 6px clamp(20px, 5vw, 36px);
  }
}
@media (max-width: 380px) {
  #nav {
    padding: 6px 5vw;
  }
}
