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

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

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(212, 168, 67, 0.3);
  color: #fff;
}

/* ========== Marquee Animation ========== */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* ========== Navbar ========== */
#navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
  background: rgba(6, 13, 24, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========== Mobile Menu ========== */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu .mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

/* Mobile menu button */
.menu-line:first-child {
  transform: rotate(45deg);
  top: 50%;
  margin-top: -8px;
}

.menu-line:last-child {
  transform: rotate(-45deg);
  bottom: 50%;
  margin-bottom: -8px;
}

.menu-line.active:first-child {
  transform: rotate(45deg);
  top: 50%;
  margin-top: -8px;
}

.menu-line.active:last-child {
  transform: rotate(-45deg);
  bottom: 50%;
  margin-bottom: -8px;
}

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

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

/* ========== Special Cards ========== */
.special-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.special-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(212, 168, 67, 0.08);
}

/* ========== Gallery ========== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== 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; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .animate-marquee { animation: none; }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .font-display {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}
