/* ===== Base & Reset ===== */
*, *::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, 23, 0.3);
  color: #fff;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.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; }

/* ===== Navigation ===== */
.nav-link {
  position: relative;
}

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

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

.nav-link:hover {
  color: #FCD68A !important;
}

/* Scrolled nav state */
nav.scrolled {
  background: rgba(37, 10, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Mobile Menu ===== */
.mobile-link {
  position: relative;
}

/* ===== Flavor Cards ===== */
.flavor-card {
  position: relative;
}

.flavor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.5s ease;
}

.flavor-card:hover::before {
  border-color: rgba(212, 160, 23, 0.3);
}

/* ===== Buttons ===== */
button, a[href^="tel"], a[href^="mailto"] {
  cursor: pointer;
}

/* ===== Form Styles ===== */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

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

::-webkit-scrollbar-track {
  background: #250A2A;
}

::-webkit-scrollbar-thumb {
  background: rgba(163, 66, 176, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 160, 23, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.05;
  }
}

/* ===== Print ===== */
@media print {
  nav, #contact-form, .flavor-card { display: none; }
  body { background: white; color: black; }
}
