/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── HERO GRADIENT ─── */
.hero-gradient {
  background: linear-gradient(135deg, #3D2416 0%, #6E3120 30%, #C0603A 60%, #DFAA4A 100%);
}

/* ─── GEOMETRIC SHAPES ─── */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.geo { position: absolute; opacity: 0.08; }
.geo-1 {
  width: 300px; height: 300px;
  background: #FDF8F0;
  border-radius: 50%;
  top: -50px; left: -80px;
  animation: float 8s ease-in-out infinite;
}
.geo-2 {
  width: 180px; height: 180px;
  background: #DFAA4A;
  top: 15%; right: 5%;
  transform: rotate(45deg);
  animation: float 6s ease-in-out infinite reverse;
}
.geo-3 {
  width: 120px; height: 120px;
  border: 3px solid #FDF8F0;
  border-radius: 50%;
  bottom: 20%; left: 10%;
  animation: float 7s ease-in-out infinite;
}
.geo-4 {
  width: 80px; height: 80px;
  background: #C0603A;
  border-radius: 20px;
  top: 40%; right: 15%;
  transform: rotate(30deg);
  animation: float 5s ease-in-out infinite reverse;
}
.geo-5 {
  width: 200px; height: 200px;
  border: 2px solid #FDF8F0;
  top: 60%; left: 5%;
  transform: rotate(12deg);
  animation: float 9s ease-in-out infinite;
}
.geo-6 {
  width: 60px; height: 60px;
  background: #FDF8F0;
  border-radius: 50%;
  bottom: 30%; right: 8%;
  animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rot, 0deg)); }
}
.geo-2, .geo-4 { --rot: 45deg; }
.geo-4 { --rot: 30deg; }
.geo-5 { --rot: 12deg; }

/* ─── NAV ─── */
#nav { transition: background 0.3s, box-shadow 0.3s, padding 0.3s; }
#nav.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(61, 36, 22, 0.08);
}
.nav-logo { transition: color 0.3s; }
#nav:not(.scrolled) .nav-logo { color: #FDF8F0; }
#nav.scrolled .nav-logo { color: #3D2416; }
.nav-line { transition: all 0.3s; }
#menu.open .nav-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menu.open .nav-line:nth-child(2) { opacity: 0; }
#menu.open .nav-line:nth-child(3) { width: 6rem; }

.menu-link {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: #3D2416;
  transition: color 0.3s;
}
.menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C0603A;
  transition: width 0.3s;
}
.menu-link:hover::after { width: 100%; }
.menu-link:hover { color: #C0603A; }

/* Mobile menu transitions */
#menu { transition: opacity 0.3s, transform 0.3s, pointer-events 0.3s; }
#menu.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C0603A;
  color: #FDF8F0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 60px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(192, 96, 58, 0.3);
}
.btn-primary:hover {
  background: #A84E2E;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 96, 58, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #FDF8F0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 60px;
  border: 2px solid rgba(253, 248, 240, 0.3);
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: #FDF8F0;
  background: rgba(253, 248, 240, 0.1);
  transform: translateY(-2px);
}

/* ─── MARQUEE ─── */
.marquee-track { animation: marquee 30s linear infinite; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── MENU CARDS ─── */
.menu-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s;
}
.menu-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

/* ─── GALLERY ─── */
.gallery-item { cursor: pointer; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,36,22,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item { position: relative; }

/* ─── EVENT CARDS ─── */
.event-card { transition: transform 0.3s, background 0.3s; }
.event-card:hover { transform: translateY(-4px); }

/* ─── FORM ─── */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E8C4A0;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: #3D2416;
  background: #FDF8F0;
  transition: all 0.3s;
  outline: none;
}
.input-field:focus {
  border-color: #C0603A;
  box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}
.input-field::placeholder { color: #C4A882; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  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; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  #menu {
    transform: translateX(100%);
  }
  #menu.open {
    transform: translateX(0);
  }
}
