/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: #d4dae5;
  background: #0D1B2A;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0D1B2A; }
::-webkit-scrollbar-thumb { background: #2d4259; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3d5573; }

/* ─── Navigation ─── */
.nav {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(167, 226, 201, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #A7E2C9;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Hero ─── */
.hero {
  background: #0D1B2A;
}
.hero-bg {
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg {
  transform: scale(1.03);
}
.hero-overlay {
  background:
    linear-gradient(135deg, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.65) 50%, rgba(13,27,42,0.45) 100%);
}
.hero-container {
  display: flex;
  align-items: center;
}
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 0.8s ease forwards 0.3s;
}
.hero-card {
  opacity: 0;
  transform: translateY(40px) translateX(-20px);
  animation: heroCardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}
.hero-title {
  text-shadow: 0 2px 40px rgba(13,27,42,0.5);
}
.hero-subtitle {
  text-shadow: 0 1px 20px rgba(13,27,42,0.4);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroCardIn {
  to { opacity: 1; transform: translateY(0) translateX(0); }
}

/* ─── Buttons ─── */
.btn-primary, .btn-secondary, .btn-reserve, .btn-reserve-mobile {
  position: relative;
  overflow: hidden;
}
.btn-primary::before, .btn-reserve::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover::before, .btn-reserve:hover::before { opacity: 1; }
.btn-reserve-mobile {
  box-shadow: 0 4px 20px rgba(46, 192, 128, 0.25);
}

/* ─── Section Labels ─── */
.section-label {
  letter-spacing: 0.12em;
}
.section-label-light {
  letter-spacing: 0.12em;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Menu Cards ─── */
.menu-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(167,226,201,0.15);
}
.menu-card li {
  border-bottom: 1px solid rgba(167,226,201,0.06);
  padding-bottom: 0.75rem;
}
.menu-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ─── Atmosphere Cards ─── */
.atm-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.atm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* ─── Inputs ─── */
.input-res:focus {
  box-shadow: 0 0 0 3px rgba(167,226,201,0.1);
}
.input-res option {
  background: #0D1B2A;
  color: #d4dae5;
}

/* ─── Mobile Menu ─── */
.mobile-link {
  border-bottom-color: rgba(167,226,201,0.08);
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ─── Responsive ─── */
@media (max-width: 1023px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .hero-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-content {
    order: 2;
  }
  .hero-card {
    order: 1;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-about, .section-menu, .section-atm, .section-visit {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .font-serif.text-4xl, .font-serif.text-5xl {
    font-size: 2rem;
  }
  .atm-card {
    aspect-ratio: 4/3;
  }
  .atm-card.md\\:col-span-2 {
    grid-column: auto;
  }
}

/* ─── Focus Visible ─── */
*:focus-visible {
  outline: 2px solid #A7E2C9;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Selection ─── */
::selection {
  background: rgba(167,226,201,0.3);
  color: #f0f3f8;
}
