/* ===== RESET & 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 {
  overflow-x: hidden;
}

::selection {
  background-color: rgba(212, 160, 74, 0.3);
  color: #6B2749;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #fafaf5;
}
::-webkit-scrollbar-thumb {
  background: rgba(107, 39, 73, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 39, 73, 0.5);
}

/* ===== HEADER ===== */
#header {
  background: rgba(250, 250, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(107, 39, 73, 0.06);
}

#header.scrolled {
  background: rgba(250, 250, 245, 0.95);
  box-shadow: 0 1px 20px rgba(107, 39, 73, 0.08);
}

.nav-link {
  position: relative;
}

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

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

/* ===== HAMBURGER ===== */
.hamburger-line {
  transition: all 0.3s ease;
}

#menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
#menu-toggle.active .hamburger-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(4px, -4px);
}

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

/* ===== HERO ===== */
.hero-eyebrow {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-title {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-subtitle {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-cta {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-meta {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

.hero-image-wrapper {
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero-image-accent {
  animation: expandAccent 1s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-badge {
  animation: slideUp 0.8s ease forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

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

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

@keyframes expandAccent {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

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

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

.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }

/* ===== 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(107, 39, 73, 0.12);
}

/* ===== GALLERY ===== */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== FORM ===== */
.form-input:focus {
  border-bottom-color: #D4A04A !important;
}

.form-input::placeholder {
  color: rgba(107, 39, 73, 0.3);
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B2749' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 2rem;
}

select.form-input option {
  background: #fafaf5;
  color: #6B2749;
}

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

  .hero-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    display: inline-block;
  }

  .scroll-indicator {
    display: none;
  }
}

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