/* ==========================================================================
   Century Village Museum - Holiday season 2026 color layer
   Loaded after style.css on every page. To end the season, remove the
   <link ... css/holiday.css ...> line from each page (or empty this file).
   Adds holly red accents and turns the light cream sections deep green.
   The History page and checkout/form sections keep their light background.
   ========================================================================== */

:root {
  --holly:        #a3262a;   /* holiday red: buttons, accents */
  --holly-deep:   #7f1b1f;   /* hover, top bar */
  --holly-bright: #e0857f;   /* red that reads on dark green */
  --holly-soft:   rgba(163, 38, 42, .10);
}

/* ---- Top bar and header ---- */
.topbar { background: var(--holly-deep); }
.topbar a { color: #f3dfae; }
.topbar a:hover { color: #fff; }

.nav__links a.is-active::after { background: var(--holly); }

/* ---- Buttons, kickers, accents (light backgrounds) ---- */
.btn--primary { background: var(--holly); box-shadow: 0 16px 32px -14px rgba(127, 27, 31, .55); }
.btn--primary:hover { background: var(--holly-deep); }

.eyebrow { color: var(--holly); }
.accent { color: var(--holly); }
.badge { background: var(--holly-soft); color: var(--holly-deep); }

.ticklist li::before {
  background-color: var(--holly-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f1b1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---- Dark sections keep gold kickers (red is too dim on green) ---- */
.section--forest .eyebrow, .section--dark .eyebrow, .page-hero--image .eyebrow,
.cta-band .eyebrow, .hero .eyebrow { color: var(--gold-bright); }
.section--forest .accent, .section--dark .accent { color: var(--gold-bright); }
.section--forest .badge, .section--dark .badge { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---- Cream sections become deep green for the season ----
   Sections holding forms, the history timeline, checkout cards or text colored
   directly in the page markup stay light. */
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) {
  background: var(--forest);
  background-image:
    radial-gradient(60% 50% at 10% 0%, rgba(163, 38, 42, .22), transparent 60%),
    radial-gradient(50% 45% at 95% 100%, rgba(201, 162, 92, .14), transparent 60%);
  color: #e8efe7;
}
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(h1, h2, h3, h4) { color: #fff; }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(p, li, .lead, .muted, .section-head > p) { color: rgba(255, 255, 255, .8); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .eyebrow { color: var(--gold-bright); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .accent,
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .arrow-link,
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) p a { color: var(--gold-bright); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .badge { background: rgba(255, 255, 255, .1); color: #fff; }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .btn--outline:hover { background: #fff; color: var(--forest-deep); border-color: #fff; }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .btn--dark { background: var(--holly); color: #fff; }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .btn--dark:hover { background: var(--holly-deep); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(.tier, .perf-panel, .lw-thanks) .btn--outline { color: var(--ink); border-color: var(--line); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .ticklist li::before {
  background-color: rgba(201, 162, 92, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7d3aa' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .ticklist li strong { color: #fff; }

.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(dt, dd, strong, small, figcaption) { color: inherit; }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .cast-list__row { border-color: rgba(255, 255, 255, .14); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) dd { color: #fff; }

/* Plain cards turn to dark glass, like the existing green section */
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .card {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none;
}
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) .card__icon { background: rgba(201, 162, 92, .14); color: var(--gold-bright); }

/* Light components keep their own dark text on their light backgrounds */
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(.tier, .perf-panel, .lw-thanks, .donation-btn, .map-frame) { color: var(--ink); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(.tier, .perf-panel, .lw-thanks, .donation-btn) :is(h1, h2, h3, h4) { color: var(--ink); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(.tier, .perf-panel, .lw-thanks, .donation-btn) :is(p, li, .muted) { color: var(--ink-soft); }
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(.tier, .perf-panel, .lw-thanks) .ticklist li::before {
  background-color: var(--holly-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f1b1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.section--cream:not(:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"])) :is(.tier, .perf-panel) .badge { background: var(--holly-soft); color: var(--holly-deep); }

/* Nativity performance tabs on green: red tabs, gold for the selected one */
.perf-picker .perf-tab { background: var(--holly-deep); border-color: var(--holly-deep); }
.perf-picker .perf-tab:hover { background: var(--holly); }
.perf-picker .perf-tab[aria-selected="true"] { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--forest-deep); }
.section--cream .perf-note { color: rgba(255, 255, 255, .75); }

/* Cream sections left light (forms, history) still get a red top edge */
.section--cream:has(form, .hist-card, .hist-tl__body, .hist-note, .checkout-card, [style*="color:var(--"], [style*="color: var(--"]) { box-shadow: inset 0 4px 0 0 var(--holly); }

/* ---- Homepage hero: winter photo for the season (original hero returns when this file is removed) ---- */
.hero--bg {
  background: linear-gradient(92deg, rgba(16,32,23,.88) 0%, rgba(16,32,23,.6) 38%, rgba(16,32,23,.2) 70%, rgba(16,32,23,.35) 100%),
    url("../assets/gallery/homepage_hero_holiday.webp") 62% 50% / cover no-repeat;
  border-bottom-color: var(--holly);
}
