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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #0a0407;
  color: #fbcfe8;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fff;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 4, 7, 0.55) 0%,
      rgba(10, 4, 7, 0.40) 40%,
      rgba(10, 4, 7, 0.70) 80%,
      rgba(10, 4, 7, 0.95) 100%
    ),
    linear-gradient(
      to right,
      rgba(80, 7, 36, 0.30) 0%,
      transparent 60%
    );
}

.hero-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.hero-content {
  opacity: 1;
  animation: heroFadeIn 1s ease-out 0.3s both;
}

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

.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { border-color: rgba(251, 191, 36, 0.4); }
  50%       { border-color: rgba(251, 191, 36, 0.7); }
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0a0407;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.25), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(251, 191, 36, 0.4), 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
  transform: translateY(-2px);
}

/* ─── NAV ─── */
.nav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 4, 7, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

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

/* ─── SECTION ─── */
.section {
  position: relative;
}

/* ─── MENU CARDS ─── */
.menu-card {
  transition: all 0.4s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(251, 191, 36, 0.05);
}

.menu-card li {
  transition: transform 0.2s ease;
}

.menu-card li:hover {
  transform: translateX(4px);
}

/* ─── FEATURE CARDS ─── */
.feature-card {
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ─── GALLERY ─── */
.gallery-item {
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

.gallery-item:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(251, 191, 36, 0.1);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
  }
  .reveal.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

/* ─── FOOTER ─── */
.footer {
  background: linear-gradient(to top, rgba(10, 4, 7, 1), rgba(18, 7, 12, 0.8));
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0407;
}
::-webkit-scrollbar-thumb {
  background: #831443;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9d174d;
}

/* ─── MOBILE ─── */
.mobile-link {
  position: relative;
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ─── FOCUS VISIBLE ─── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
  border-radius: 4px;
}
