/* A to Zoom — holiday theme (2026-11).
   Linked ONLY in season by seasonHead() in _lib/season.php, after each page's
   own stylesheets — so nothing here needs a body class, and out of season the
   site is untouched. Bump SEASON_HOLIDAY_CSS_V there when this file changes.

   Approach: re-point the theme variables (evergreen for purple, cranberry for
   magenta, wintry tints), then add three decorations: string lights under the
   nav, a snowy evergreen homepage hero, and a snow-capped footer. */

:root {
  --brand-purple:  #14614a;   /* evergreen — headings, links */
  --brand-magenta: #c2183c;   /* cranberry — buttons, tags, link hover */

  --tint-pink:     #fdecee;   /* soft cranberry */
  --tint-lavender: #e4f2ea;   /* soft pine */
  --tint-sky:      #eef7fb;   /* snow shadow */
  --tint-mint:     #e6f5ee;
  --tint-butter:   #fdf6e4;   /* candlelight cream */

  --error-bg:      #fdecee;

  --holiday-green: #14614a;
  --holiday-deep:  #0d4a38;
  --holiday-red:   #c2183c;
  --holiday-gold:  #f2c14e;
}

/* ---------- String lights under the nav (every page) ---------- */

.site-nav {
  position: relative;   /* the homepage's sticky nav keeps its own position */
}

.site-nav::before,
.site-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 168px 26px;
  z-index: 2;
}

/* the wire and the bulbs */
.site-nav::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='26' viewBox='0 0 168 26'%3E%3Cpath d='M0 1 Q21 11 42 1 Q63 11 84 1 Q105 11 126 1 Q147 11 168 1' fill='none' stroke='%236f9482' stroke-width='1.4'/%3E%3Cg stroke='%236f9482' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M21 6v3M63 6v3M105 6v3M147 6v3'/%3E%3C/g%3E%3Cellipse cx='21' cy='15' rx='4.2' ry='6' fill='%23e0263f'/%3E%3Cellipse cx='63' cy='15' rx='4.2' ry='6' fill='%23f2c14e'/%3E%3Cellipse cx='105' cy='15' rx='4.2' ry='6' fill='%231f9d6b'/%3E%3Cellipse cx='147' cy='15' rx='4.2' ry='6' fill='%2300acd8'/%3E%3C/svg%3E");
}

/* the glow, breathing gently */
.site-nav::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='26' viewBox='0 0 168 26'%3E%3Cg opacity='.38'%3E%3Ccircle cx='21' cy='15' r='10' fill='%23e0263f'/%3E%3Ccircle cx='63' cy='15' r='10' fill='%23f2c14e'/%3E%3Ccircle cx='105' cy='15' r='10' fill='%231f9d6b'/%3E%3Ccircle cx='147' cy='15' r='10' fill='%2300acd8'/%3E%3C/g%3E%3C/svg%3E");
  filter: blur(3px);
  animation: holiday-glow 2.8s ease-in-out infinite alternate;
}

@keyframes holiday-glow {
  from { opacity: 0.25; }
  to   { opacity: 1; }
}

/* ---------- Homepage hero: evergreen night with falling snow ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--holiday-deep) 0%, var(--holiday-green) 60%, #1b7a5c 100%);
  padding: 2.6rem 1rem 2.9rem;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .hero-eyebrow {
  display: block;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--holiday-gold);
  margin-bottom: 0.15rem;
}

.hero h1 {
  color: #fff;
}

.hero .hero-hours {
  color: #d5ecdf;
}

.hero .hero-hours:hover {
  color: var(--holiday-gold);
}

/* two snow layers at different sizes and speeds */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -260px;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background-image:
    radial-gradient(circle, #fff 0 2.4px, transparent 3px),
    radial-gradient(circle, #fff 0 1.8px, transparent 2.4px),
    radial-gradient(circle, #fff 0 2.8px, transparent 3.4px),
    radial-gradient(circle, #fff 0 1.6px, transparent 2.2px);
  background-size: 260px 260px;
  background-position: 30px 40px, 150px 110px, 210px 200px, 90px 230px;
  opacity: 0.85;
  animation: holiday-snow 14s linear infinite;
}

.hero::after {
  background-image:
    radial-gradient(circle, #fff 0 1.2px, transparent 1.8px),
    radial-gradient(circle, #fff 0 1.4px, transparent 2px),
    radial-gradient(circle, #fff 0 1px, transparent 1.6px);
  background-size: 180px 180px;
  background-position: 20px 20px, 100px 90px, 150px 150px;
  opacity: 0.55;
  animation: holiday-snow-slow 26s linear infinite;
}

@keyframes holiday-snow {
  to { transform: translate3d(-40px, 260px, 0); }
}

@keyframes holiday-snow-slow {
  to { transform: translate3d(30px, 180px, 0); }
}

/* a snowdrift along the bottom edge of the hero */
.hero .hero-drift {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 22px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='22' viewBox='0 0 240 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12Q30 0 60 9T120 8T180 11T240 12V22Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x bottom / 240px 22px;
}

/* room for the lights above the parties headline */
.party-hero {
  padding-top: 2.9rem;
}

/* ---------- Subpage heroes: keep the pastel band, make the text match ---------- */

.page-hero .hero-sub,
.party-hero .hero-sub {
  color: #4d6a5c;
}

.page-hero .hero-note {
  color: #6c8a7b;
}

/* ---------- Homepage sections ---------- */

.home-section h2::before,
.home-section h2::after {
  content: "❄";
  font-size: 0.6em;
  vertical-align: 0.2em;
  color: var(--holiday-red);
  opacity: 0.75;
  margin: 0 0.6em;
}

.trend-card,
.service-card {
  box-shadow: 0 6px 18px rgba(13, 74, 56, 0.08);
}

.trend-card:hover,
.service-card:hover {
  box-shadow: 0 12px 28px rgba(13, 74, 56, 0.15);
}

.btn-hero.primary,
body.subpage .btn-submit {
  box-shadow: 0 6px 18px rgba(194, 24, 60, 0.3);
}

.btn-hero.primary:hover,
body.subpage .btn-submit:hover {
  box-shadow: 0 10px 24px rgba(194, 24, 60, 0.4);
}

.insta .handle,
.insta-arrow {
  box-shadow: 0 4px 14px rgba(194, 24, 60, 0.18);
}

.insta-tile {
  box-shadow: 0 6px 18px rgba(13, 74, 56, 0.14);
}

.visit-card .hours-list li {
  border-bottom-color: rgba(20, 97, 74, 0.18);
}

/* ---------- Footer: evergreen ---------- */

.home-footer {
  position: relative;
  background: var(--holiday-deep);
  color: #dcefe5;
}

/* the footer's top edge rises as a soft drift into the section above */
.home-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='22' viewBox='0 0 240 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12Q30 0 60 9T120 8T180 11T240 12V22Z' fill='%230d4a38'/%3E%3C/svg%3E") repeat-x bottom / 240px 22px;
}

.home-footer a {
  color: #dcefe5;
}

.home-footer a:hover {
  color: var(--holiday-gold);
}

.home-footer .legal {
  color: #9cc7b3;
}

@media (max-width: 640px) {
  .hero { padding: 2.2rem 1rem 2.5rem; }
  .home-section h2::before,
  .home-section h2::after { margin: 0 0.35em; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav::before,
  .hero::before,
  .hero::after {
    animation: none;
  }
}
