/*
 * Holiday theme. Every rule is scoped to html.holiday, which js/holiday.js
 * sets only between Nov 25 and Jan 6. Remove both files to retire it.
 *
 * Palette
 *   holly   #b3122e  accent: links, labels, highlighted words
 *   berry   #c8102e  bauble highlight
 *   pine    #1f4d3a  greenery
 *   gilt    #c9a24a  caps, gold baubles, stars
 *   frost   #f4f5f8  hero ground
 *   ink     #1d1d1f  primary buttons, text
 */
html.holiday {
  --holly: #b3122e;
  --holly-hover: #9c0f27;
  --pine: #1f4d3a;
  --gilt: #c9a24a;
  --frost: #f4f5f8;
  --ink: #1d1d1f;
  --blue: var(--holly);
}

/* ── Hero: the cleaning photo behind a light frost ── */
html.holiday #hero .hero-bg { filter: saturate(0.85) brightness(1.05); }
html.holiday #hero .hero-overlay {
  background:
    radial-gradient(70% 60% at 50% 46%, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0.4) 100%),
    linear-gradient(180deg, rgba(244,245,248,0.35) 0%, rgba(244,245,248,0.15) 60%, rgba(244,245,248,0.55) 100%);
}
html.holiday #hero h1 { color: var(--ink); }
html.holiday #hero h1 span { color: var(--holly); }
html.holiday #hero p { color: #3a3a40; max-width: 600px; }
html.holiday #hero p strong { color: var(--ink) !important; }

html.holiday .hero-rating {
  background: rgba(255,255,255,0.85);
  border-color: rgba(179,18,46,0.18);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(29,29,31,0.04), 0 6px 18px rgba(179,18,46,0.07);
}
html.holiday .hero-rating i { color: var(--gilt); }
html.holiday .hero-rating.holiday-pill { font-weight: 500; gap: 8px; }
html.holiday .holiday-pill i { color: var(--holly); margin-right: 0; }
html.holiday .holiday-pill a { color: var(--holly); font-weight: 600; white-space: nowrap; }
@media (max-width: 480px) {
  html.holiday .holiday-pill-lead { display: none; }
}
html.holiday .holiday-pill a:hover { text-decoration: underline; text-underline-offset: 3px; }
html.holiday .holiday-pill a:focus-visible { outline: 2px solid var(--holly); outline-offset: 3px; border-radius: 4px; }

html.holiday #hero .btn-regular { background: var(--ink); }
html.holiday #hero .btn-regular:hover { background: #000; }
/* The secondary hero button carries inline white styles for the dark photo;
   on frost it becomes a quiet holly text link. */
html.holiday #hero .btn-outline-regular {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--holly) !important;
}
html.holiday #hero .btn-outline-regular:hover { color: var(--holly-hover) !important; transform: none; text-decoration: underline; text-underline-offset: 4px; }

html.holiday .hero-stat-num { color: var(--ink); }
html.holiday .hero-stat-label { color: #6e6e73; }
html.holiday .hero-scroll-hint span { color: var(--ink); }
html.holiday .hero-scroll-line { background: var(--ink); }

/* ── Hanging ornaments ── */
html.holiday .holiday-ornaments {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
html.holiday .ornament {
  position: absolute; top: 0;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0;
  animation: ornament-sway 5.5s ease-in-out 2 alternate both;
}
html.holiday .ornament-string {
  display: block; width: 1px;
  height: calc(var(--len) + var(--nav-offset, 68px));
  background: linear-gradient(180deg, rgba(29,29,31,0.05), rgba(29,29,31,0.28));
}
html.holiday .ornament-cap {
  display: block;
  width: calc(var(--size) * 0.26); height: calc(var(--size) * 0.16);
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(90deg, #a07e2e, #e9d394 45%, #a07e2e);
  margin-bottom: -1px;
}
html.holiday .ornament-ball {
  display: block; border-radius: 50%;
  width: var(--size, 40px); height: var(--size, 40px);
}
html.holiday .ornament--red .ornament-ball,
html.holiday .ornament-ball--red {
  background: radial-gradient(circle at 32% 28%, #ff8a8f 0%, #e0283b 22%, #b3122e 55%, #5e0716 100%);
  box-shadow: 0 10px 24px rgba(179,18,46,0.28);
}
html.holiday .ornament--silver .ornament-ball,
html.holiday .ornament-ball--silver {
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #e6e8ec 25%, #b8bcc4 62%, #7c818b 100%);
  box-shadow: 0 8px 20px rgba(29,29,31,0.16);
}
html.holiday .ornament--gold .ornament-ball {
  background: radial-gradient(circle at 32% 28%, #fff4cf 0%, #e2c36f 25%, #c9a24a 58%, #7a5c1c 100%);
  box-shadow: 0 8px 20px rgba(160,126,46,0.25);
}

/* ── String of lights ── */
html.holiday .holiday-lights {
  position: absolute; top: calc(100% - 1px); z-index: -1;  /* hangs just under the floating bar */
  pointer-events: none; overflow: visible;
}
html.holiday .lights-wire { fill: none; stroke: #2b3a30; stroke-width: 1.4; opacity: 0.55; }
html.holiday .bulb-cap { fill: #5b6b5f; }
html.holiday .bulb { animation: bulb-twinkle 3s ease-in-out infinite; }
html.holiday .bulb--red   .bulb-glass { fill: #e0283b; filter: drop-shadow(0 0 5px rgba(224,40,59,0.85)); }
html.holiday .bulb--gold  .bulb-glass { fill: #f2c14e; filter: drop-shadow(0 0 5px rgba(242,193,78,0.9)); }
html.holiday .bulb--green .bulb-glass { fill: #2e9e5b; filter: drop-shadow(0 0 5px rgba(46,158,91,0.85)); }
html.holiday .bulb--warm  .bulb-glass { fill: #fff3d1; filter: drop-shadow(0 0 6px rgba(255,214,140,1)); }
@keyframes bulb-twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* ── Snow ── */
html.holiday .holiday-snow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

@keyframes ornament-sway {
  0%   { transform: rotate(2.4deg); }
  100% { transform: rotate(-1.6deg); }
}

@media (max-width: 767px) {
  html.holiday .ornament--minor { display: none; }
  html.holiday .ornament { --len: 26px !important; }
  html.holiday .ornament .ornament-ball { width: calc(var(--size) * 0.72); height: calc(var(--size) * 0.72); }
}

/* ── Accent swap: blue becomes holly ── */
html.holiday .section-label { color: var(--holly); }
html.holiday .btn-regular,
html.holiday .btn-primary { background: var(--holly); }
html.holiday .btn-regular:hover,
html.holiday .btn-primary:hover { background: var(--holly-hover); }
html.holiday .text-primary { color: var(--holly) !important; }
html.holiday .service-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
html.holiday #airbnb-turnovers .airbnb-badge,
html.holiday #features .features-label,
html.holiday #our-work .text-primary,
html.holiday .airbnb-stat-num,
html.holiday .why-stat-num { color: var(--holly); }
html.holiday .airbnb-feature i { background: rgba(179,18,46,0.08); color: var(--holly); }
html.holiday #uv-sanitizing .uv-badge { color: var(--holly); }
html.holiday .uv-feature i { background: rgba(179,18,46,0.08); color: var(--holly); }
html.holiday #masonry-view-more { color: var(--holly); border-color: var(--holly); }
html.holiday #masonry-view-more:hover { background: var(--holly); color: #fff; }
html.holiday .review-button { color: var(--holly) !important; border-color: var(--holly) !important; }
html.holiday .review-button:hover { background: var(--holly) !important; color: #fff !important; }
html.holiday .footer-book-btn { background: var(--holly); }
html.holiday .footer-book-btn:hover { background: var(--holly-hover); }

/* ── Baubles on the Airbnb photo ── */
html.holiday .airbnb-visual { position: relative; }
html.holiday .holiday-photo-baubles {
  position: absolute; left: -22px; top: 38px; z-index: 3;
  pointer-events: none;
}
html.holiday .holiday-photo-baubles .ornament-ball--red { --size: 64px; }
html.holiday .holiday-photo-baubles .ornament-ball--silver {
  --size: 38px; position: absolute; left: 44px; top: 40px;
}
@media (max-width: 767px) {
  html.holiday .holiday-photo-baubles { left: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html.holiday .ornament,
  html.holiday .bulb { animation: none; }
}

/* ── Floating navbar ── */
html.holiday #mainNav.holiday-nav {
  border-color: rgba(201,162,74,0.35);
  box-shadow: 0 1px 1px rgba(29,29,31,0.04), 0 8px 28px rgba(179,18,46,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
}
html.holiday #mainNav.holiday-nav.scrolled {
  box-shadow: 0 1px 2px rgba(29,29,31,0.06), 0 12px 36px rgba(179,18,46,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
}
html.holiday .nav-btn-fill,
html.holiday .nav-links-desktop a.nav-btn-fill { background: var(--holly); }
html.holiday .nav-btn-fill:hover,
html.holiday .nav-links-desktop a.nav-btn-fill:hover { background: var(--holly-hover) !important; }
html.holiday .nav-btn-fill::before {
  font-family: 'Font Awesome 6 Free'; font-weight: 900; content: '\f06b';  /* gift */
  margin-right: 7px; font-size: 0.95em;
}
html.holiday .nav-links-desktop a:not(.nav-btn-fill):hover { background: rgba(179,18,46,0.07); color: var(--holly); }
html.holiday .navbar-drawer ul li a:hover { background: rgba(179,18,46,0.06); color: var(--holly); }
