/* ════════════════════════════════════════════
   CURSOR & NAVBAR
   nav.css
════════════════════════════════════════════ */

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s;
}
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 184, 0, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s;
}
#cursor.hovered {
  width: 16px; height: 16px;
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
#cursor-ring.hovered {
  width: 60px; height: 60px;
  border-color: rgba(255, 184, 0, 0.4);
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 80px;
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  padding: 16px 80px;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: var(--border);
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}
.nav-logo span {
  font-style: italic;
  color: var(--gold);
}

/* Links */
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* CTA button */
.nav-cta {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 11px 28px;
  border-radius: 100px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.4s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}
.nav-cta:hover::after { left: 200%; }

/* ── Mobile menu button ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
}
.nav-burger span {
  width: 24px; height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Mobile menu ── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black2);
  z-index: 490;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  font-style: italic;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--gold); }

@media (max-width: 900px) {
  #navbar { padding: 20px 24px; }
  #navbar.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
