/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Navbar ─── */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-fixed.scrolled {
  background: rgba(250, 248, 244, 0.97);
  box-shadow: 0 1px 20px rgba(13, 27, 42, 0.1);
}

.nav-logo-text {
  transition: color 0.2s ease;
}

.nav-logo-sub {
  transition: color 0.2s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c8a44e;
  transition: width 0.25s ease;
}

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

/* ─── Mobile Menu ─── */
.mobile-menu-link {
  position: relative;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover {
  padding-left: 0.5rem;
  color: #c8a44e;
}

/* ─── Hero ─── */
.hero-bg {
  will-change: transform;
}

.hero-img {
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded .hero-img {
  transform: scale(1);
}

.hero-overlay {
  pointer-events: none;
}

.hero-badge {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-title {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.4s;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.6s;
}

.hero-cta {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.8s;
}

.hero-scroll-indicator {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Scroll Indicator ─── */
.scroll-dot {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #c8a44e;
  color: #0d1b2a;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(200, 164, 78, 0.35);
}

.btn-primary:hover {
  background: #d4b568;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 164, 78, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Light variant for non-hero */
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #0d1b2a;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  border: 1.5px solid rgba(13, 27, 42, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary-light:hover {
  background: rgba(13, 27, 42, 0.04);
  border-color: rgba(13, 27, 42, 0.4);
  transform: translateY(-1px);
}

/* ─── Labels ─── */
.label-gold {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c8a44e;
}

/* ─── Menu Cards ─── */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.12);
}

.menu-card-img {
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img {
  transform: scale(1.05);
}

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

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Default visible state for progressive enhancement */
.js-enabled .scroll-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* When JS is enabled, set hidden state via JS */
/* JS will add .revealed class on scroll */

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-dot {
    animation: none;
    opacity: 0.8;
  }

  .hero-img {
    transform: scale(1);
  }
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .nav-fixed {
    background: rgba(250, 248, 244, 0.98);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .menu-card {
    border-radius: 1rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3.25rem;
  }
}
