/* ========== BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: rgba(212, 160, 60, 0.3);
  color: #fdf2f8;
}

/* ========== NAV ========== */
.nav {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.scrolled {
  background: rgba(26, 8, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 160, 60, 0.1);
}

.nav-link {
  position: relative;
}

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

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

/* ========== HERO ========== */
.hero {
  position: relative;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 8, 23, 0.55) 0%,
    rgba(74, 25, 66, 0.7) 40%,
    rgba(45, 15, 41, 0.85) 70%,
    rgba(26, 8, 23, 0.95) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url('data:image/svg+xml,%3Csvg width=\'80\' height=\'80\' viewBox=\'0 0 80 80\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'%23D4A03C\' fill-opacity=\'1\'%3E%3Ccircle cx=\'40\' cy=\'40\' r=\'1\'/%3E%3C/g%3E%3C/svg%3E');
  z-index: 1;
}

.hero-content {
  padding-top: 80px;
}

.hero-headline {
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
  text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}

.hero-badge {
  animation: fadeInDown 0.8s ease forwards;
}

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

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

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.scroll-dot {
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 0; opacity: 1; }
  50% { top: 16px; opacity: 0.3; }
}

/* ========== SECTION LABELS ========== */
.section-label {
  letter-spacing: 0.3em;
}

/* ========== DRINK CARDS ========== */
.drink-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.drink-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(212, 160, 60, 0.15);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up.hidden-reveal {
    opacity: 0;
    transform: translateY(40px);
  }

  .reveal-left.hidden-reveal {
    opacity: 0;
    transform: translateX(-40px);
  }

  .reveal-right.hidden-reveal {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open #mobileMenu {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-open #bar1 {
  transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-open #bar2 {
  opacity: 0;
}

.mobile-menu-open #bar3 {
  transform: rotate(-45deg) translate(3px, -3px);
}

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

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

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

/* ========== STAT COUNTER ========== */
.reveal-stat {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-stat.hidden-reveal {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1A0817;
}

::-webkit-scrollbar-thumb {
  background: #4A1942;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D4A03C;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.75rem;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-scroll {
    bottom: 6px;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }
}
