:root {
  --bg-dark: #1a1515;
  --accent-rose: #e6396f;
  --accent-pink: #f8b4c4;
  --accent-crimson: #8b2942;
  --text-primary: #f5e6e8;
  --text-muted: #a08a8f;
  --transition-duration: 0.35s;
  --spacing-section: 4rem;
  --shadow-glow: 0 0 30px rgba(230, 57, 111, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 300;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ambient floating hearts */
.ambient-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-hearts::before,
.ambient-hearts::after {
  content: "♥";
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.06;
  color: var(--accent-rose);
  animation: floatHeart 20s ease-in-out infinite;
}

.ambient-hearts::before {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.ambient-hearts::after {
  top: 60%;
  right: 15%;
  animation-delay: -8s;
}

@keyframes floatHeart {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.06;
  }
  25% {
    transform: translate(20px, -30px) scale(1.1);
    opacity: 0.08;
  }
  50% {
    transform: translate(-15px, 20px) scale(0.95);
    opacity: 0.05;
  }
  75% {
    transform: translate(10px, 15px) scale(1.05);
    opacity: 0.07;
  }
}

/* Hero - mobile first */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.25rem 3rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark) 70%, transparent 100%);
}

.hero-logo {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2.25rem;
  margin: 0;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin: 0.75rem 0 0;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Main content - flush, flowing layout */
main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0 1.25rem var(--spacing-section);
}

.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(230, 57, 111, 0.12);
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: var(--accent-pink);
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-rose), transparent);
  margin: 0.5rem auto 0;
  opacity: 0.7;
}

/* Menu items - flush with page, no cards. Visible by default for reliability (no-JS, reduced-motion, Safari) */
.menu-item {
  padding: 1.5rem 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-duration) ease, transform var(--transition-duration) ease;
}

/* Scroll-triggered reveal (progressive enhancement) */
.menu-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.menu-item-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
  color: var(--text-primary);
  flex: 1;
}

.menu-item-meta {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.menu-item-desc {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.menu-item-allergies {
  font-size: 0.9rem;
  opacity: 0.85;
}

.allergy-legend {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(230, 57, 111, 0.2);
}

.legend-title {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legend-items {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Tablet and up */
@media (min-width: 600px) {
  .hero {
    padding: 4rem 2rem 4rem;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero-title {
    font-size: 3rem;
  }

  main {
    max-width: 560px;
    padding: 0 1.5rem var(--spacing-section);
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .menu-item {
    padding: 2rem 0;
  }

  .menu-item-title {
    font-size: 1.5rem;
  }

  .menu-item-desc {
    font-size: 1rem;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .hero {
    padding: 5rem 2rem 4rem;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }

  main {
    max-width: 640px;
  }

  .menu-item-desc {
    font-size: 1.05rem;
  }
}
