/* ============================================================
   Savannah iDoctor — CHRISTMAS THEME OVERRIDE
   Seasonal overlay (Dec 2026). Visuals only: colors, backgrounds,
   accents, plus the animated snow layer driven by /christmas.js.
   No layout, size, position, content, or link changes.
   Revert = remove this file + its <link>, the .christmas-banner
   div, and the <script src="/christmas.js"> tag from each page,
   and restore the homepage hero img src.
   Palette: deep winter navy #0A1A33 · ice blue #7FD4FF ·
   Christmas red #D64541 · pine green #2E9E63 · snow #FFFFFF.
   ============================================================ */

/* --- Accent shift: the site's teal brand color becomes ice blue;
       surfaces and base go deep winter navy. Driven through the
       site's own CSS variables so buttons, links, highlights,
       borders and glows follow automatically. --- */
:root {
  --bg: #0a1a33 !important;
  --surface: #10264a !important;
  --brand: #7fd4ff !important;
  --brand-deep: #0a1a33 !important;
  --brand-soft: #173763 !important;
  --footer-bg: #061224 !important;
  --line: #274a7d !important;
  --px-line: #2f558c !important;
}

/* --- Page background: deep navy base, pattern layer removed so
       the animated snowfall in christmas.js reads cleanly. --- */
body {
  background-color: #0a1a33;
  background-image: none;
}
body::before {
  background-image: none;
}

/* --- Full-width dark bands: winter navy with ice-blue and
       Christmas-red glows. --- */
.dark-band {
  background-color: rgba(10, 28, 56, 0.94);
  background-image:
    radial-gradient(760px 340px at 88% 0%, rgba(127, 212, 255, 0.13), transparent 60%),
    radial-gradient(700px 300px at 5% 100%, rgba(214, 69, 65, 0.12), transparent 60%);
}
.quote,
.quote-cta {
  background-color: #0c2142;
  background-image:
    radial-gradient(760px 320px at 8% 0%, rgba(127, 212, 255, 0.11), transparent 60%),
    radial-gradient(720px 300px at 95% 100%, rgba(46, 158, 99, 0.12), transparent 60%);
}

/* --- Hero glow: cool ice haze + a warm red edge. --- */
.hero {
  background:
    radial-gradient(1100px 480px at 85% -80px, rgba(127, 212, 255, 0.16), transparent 62%),
    radial-gradient(800px 420px at -10% 110%, rgba(214, 69, 65, 0.13), transparent 60%);
}

/* --- Header band tint (subpage header/topbar sits on the theme). --- */
.topbar {
  background-color: #10264a;
}

/* --- Hard-coded teal spots in the base stylesheet. --- */
.btn-text {
  background: #b3312f;
}
.band .price-tag {
  color: #aee6ff;
}

/* --- Pine-green selection accent. --- */
::selection {
  background: #2e9e63;
  color: #ffffff;
}

/* --- Christmas greeting banner (first element inside <body>). --- */
.christmas-banner {
  background: #10264a;
  color: #aee6ff;
  text-align: center;
  padding: 10px 12px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  border-bottom: 2px solid #d64541;
  position: relative;
  z-index: 2;
}

/* ============================================================
   Animated layer (elements injected by /christmas.js)
   ============================================================ */

/* Falling snow canvas: fixed over the page, never interactive. */
#xmas-snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99990;
}

/* The avatar runner crossing the bottom of the screen.
   The run cycle itself is the frame swap in christmas.js;
   no bobbing or rotation here on purpose. */
.xmas-runner {
  position: fixed;
  bottom: 2px;
  left: 0;
  height: 104px;
  width: auto;
  pointer-events: none;
  z-index: 99992;
  will-change: transform;
}
.xmas-runner img {
  height: 104px;
  width: auto;
  display: block;
  image-rendering: pixelated;
}

/* A thrown snowball + its splat. */
.xmas-snowball {
  position: fixed;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #dcefff 70%, #bcd8f5 100%);
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
  pointer-events: none;
  z-index: 99992;
}
.xmas-splat {
  position: fixed;
  width: 26px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  pointer-events: none;
  z-index: 99991;
}

@media (max-width: 640px) {
  .xmas-runner, .xmas-runner img { height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  #xmas-snow, .xmas-runner { display: none !important; }
}
