/* =========================================================
   Seasonal menu themes

   Theme selection comes from each menu YAML file:

   theme:
     key: christmas-in-july

   The menu template converts that into:

   theme--christmas-in-july
========================================================= */


/* ---------------------------------------------------------
   Shared theme structure
--------------------------------------------------------- */

.menu-theme {
  --theme-bg: #fffaf6;
  --theme-bg-soft: #fff4ec;
  --theme-surface: rgba(255, 255, 255, 0.82);
  --theme-text: #513a32;
  --theme-muted: #765e54;
  --theme-accent: #9b4f5b;
  --theme-accent-contrast: #ffffff;
  --theme-secondary: #66755f;
  --theme-border: rgba(81, 58, 50, 0.14);
  --theme-shadow: rgba(81, 58, 50, 0.10);
  --theme-glow: rgba(255, 255, 255, 0.65);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--theme-text);
  background:
    radial-gradient(
      circle at 10% 0%,
      var(--theme-glow),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--theme-bg) 0%,
      var(--theme-bg-soft) 100%
    );
  border: 1px solid var(--theme-border);
  border-radius: 28px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 18px 45px var(--theme-shadow);
}

.menu-theme::before,
.menu-theme::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.menu-theme__header {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.menu-theme__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  min-height: 2.35rem;
  margin-bottom: 1rem;
  padding: 0.65rem 1.25rem;

  color: var(--theme-accent-contrast);
  background: var(--theme-accent);

  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  box-shadow:
    0 8px 18px var(--theme-shadow),
    0 0 0 4px color-mix(
      in srgb,
      var(--theme-accent) 12%,
      transparent
    );
}

.menu-theme__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--theme-secondary);
  font-size: 1rem;
  font-weight: 700;
}

.menu-theme__title {
  margin: 0;
  color: var(--theme-text);
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1;
}

.menu-theme__date {
  margin: 0.65rem 0 0;
  color: var(--theme-muted);
  font-weight: 700;
}

.menu-theme__intro {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--theme-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.menu-theme__pricing {
  display: inline-block;
  margin: 1.1rem 0 0;
  padding: 0.75rem 1rem;
  color: var(--theme-text);
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 8px 20px var(--theme-shadow);
}

.menu-theme__note {
  margin: 0.85rem 0 0;
  color: var(--theme-muted);
  font-style: italic;
}

.menu-theme .menu-item {
  position: relative;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  box-shadow: 0 10px 24px var(--theme-shadow);
}

.menu-theme .menu-item__name {
  color: var(--theme-text);
}

.menu-theme .menu-item__description {
  color: var(--theme-muted);
}

.menu-theme .menu-item__price {
  color: var(--theme-accent);
  font-weight: 800;
}


/* ---------------------------------------------------------
   Christmas in July
--------------------------------------------------------- */

.theme--christmas-in-july {
  --theme-bg: #fffaf4;
  --theme-bg-soft: #fdf4ec;
  --theme-surface: rgba(255, 252, 248, 0.92);
  --theme-text: #5a4038;
  --theme-muted: #7a645b;
  --theme-accent: #b85a68;
  --theme-accent-contrast: #ffffff;
  --theme-secondary: #70816b;
  --theme-border: rgba(130, 98, 85, 0.14);
  --theme-shadow: rgba(92, 57, 43, 0.08);
  --theme-glow: rgba(255, 248, 238, 0.95);
}

.theme--christmas-in-july::before {
  content: "✦";
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(184, 90, 104, 0.08);
  font-size: clamp(4rem, 10vw, 7rem);
  transform: rotate(10deg);
}

/* .theme--christmas-in-july::after {
  content: "❄";
  right: 12%;
  bottom: -2.5rem;
  color: rgba(97, 114, 93, 0.10);
  font-size: clamp(7rem, 20vw, 14rem);
} */


/* ---------------------------------------------------------
   Halloween
--------------------------------------------------------- */

.theme--halloween {
  --theme-bg: #fff8ed;
  --theme-bg-soft: #f3e1cd;
  --theme-surface: rgba(255, 250, 241, 0.88);
  --theme-text: #35262d;
  --theme-muted: #65515a;
  --theme-accent: #b7592a;
  --theme-accent-contrast: #ffffff;
  --theme-secondary: #735578;
  --theme-border: rgba(75, 49, 60, 0.17);
  --theme-shadow: rgba(65, 39, 50, 0.13);
  --theme-glow: rgba(255, 222, 175, 0.62);
}

.theme--halloween::before {
  content: "☾";
  top: -2rem;
  right: 1.25rem;
  color: rgba(115, 85, 120, 0.13);
  font-size: clamp(8rem, 22vw, 15rem);
  transform: rotate(-12deg);
}

.theme--halloween::after {
  content: "✦";
  right: 18%;
  bottom: -1rem;
  color: rgba(183, 89, 42, 0.15);
  font-size: clamp(5rem, 15vw, 10rem);
}


/* ---------------------------------------------------------
   Mobile adjustments
--------------------------------------------------------- */

@media (max-width: 640px) {
  .menu-theme {
    border-radius: 22px;
    padding: 1.25rem;
  }

  .menu-theme__pill {
    min-height: 2.1rem;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
  .menu-theme__intro {
    font-size: 1rem;
  }

  .menu-theme::before,
  .menu-theme::after {
    opacity: 0.65;
  }
}