:root {
  --bg: #fdf8f3;
  --surface: #f5ede4;
  --text: #3d2e22;
  --primary: #c8956c;
  --primary-dark: #a87650;
  --secondary: #7a6555;
  --accent: #e8d5c0;
  --white: #ffffff;
}

html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }

.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'DM Sans', Arial, sans-serif; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade { animation: fadeUp 0.8s ease-out both; }
.anim-fade-d1 { animation: fadeUp 0.8s ease-out 0.1s both; }
.anim-fade-d2 { animation: fadeUp 0.8s ease-out 0.2s both; }
.anim-fade-d3 { animation: fadeUp 0.8s ease-out 0.3s both; }
.anim-fade-d4 { animation: fadeUp 0.8s ease-out 0.4s both; }
.anim-fade-d5 { animation: fadeUp 0.8s ease-out 0.5s both; }

/* Hero */
.hero-pattern {
  background: var(--bg);
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(253,248,243,0.75);
  z-index: 1;
}

/* About Section */
.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--secondary);
  gap: 12px;
}

/* Menu Cards */
.menu-card {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61,46,34,0.1);
}
.menu-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.menu-card-body {
  padding: 1.5rem;
}

/* Divider */
.divider-ornament {
  display: flex; align-items: center; gap: 16px; justify-content: center;
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; flex: 0 0 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,149,108,0.35);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Form elements */
input, select, textarea {
  background: var(--white) !important;
  border: 1px solid var(--accent) !important;
  color: var(--text) !important;
  transition: border-color 0.3s ease !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(200,149,108,0.15) !important;
}
input::placeholder, textarea::placeholder {
  color: var(--secondary) !important;
  opacity: 0.5 !important;
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  padding: 16px 28px; border-radius: 12px; z-index: 100;
  transition: transform 0.4s ease, opacity 0.4s ease; opacity: 0;
  pointer-events: none;
  background: var(--primary);
  color: var(--white);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Spinner */
.spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.include-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
}

/* Include Cards */
.include-card {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.include-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61,46,34,0.08);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(61,46,34,0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(61,46,34,0.7));
  color: #fff;
  font-size: 0.875rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(61,46,34,0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

/* Food Carousel */
.carousel-track {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.carousel-inner {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: carousel-scroll 40s linear infinite;
}
.carousel-inner img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(61,46,34,0.1);
}
@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-inner:hover {
  animation-play-state: paused;
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
}

/* Event cards */
.event-card {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.event-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(200,149,108,0.15);
}
.event-card.selected {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(200,149,108,0.2);
}

/* Feature highlight boxes */
.feature-box {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 2rem;
}
