/* ── Base & Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Navbar ─────────────────────────────────────── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
  background: rgba(12, 21, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #C9A84C, #e8d5a0);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ────────────────────────────────── */
.mobile-nav-link { position: relative; padding-left: 0; }
.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.1), transparent);
  transition: width 0.3s ease;
}
.mobile-nav-link:hover::before { width: calc(100% - 1rem); }

/* ── Scroll Reveal ──────────────────────────────── */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Progressive enhancement: only animate when JS is enabled and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Indicator ───────────────────────────── */
@keyframes scrollIndicator {
  0% { top: -16px; opacity: 1; }
  100% { top: 48px; opacity: 0; }
}
.animate-scroll-indicator {
  animation: scrollIndicator 1.5s ease-out infinite;
}

/* ── Gold Accent Lines ──────────────────────────── */
.gold-accent-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}

/* ── Card Hover Glow ────────────────────────────── */
.menu-card:hover {
  box-shadow: 0 0 60px -15px rgba(201, 168, 76, 0.12);
}

/* ── Image Hover ────────────────────────────────── */
.gallery-img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-img:hover {
  transform: scale(1.08);
}

/* ── Button Ripple Effect ───────────────────────── */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-gold:hover::after { opacity: 1; }

/* ── Selection ──────────────────────────────────── */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #fff;
}

/* ── Custom Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0c1520; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0F4C5C, #1e2d3d);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #C9A84C; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .font-display { line-height: 1.1; }
}
