/* ==========================================================
   Christmas seasonal theme
   To remove after the holidays: delete christmas.css and
   christmas.js, and remove the lines marked "holiday" in the
   HTML pages.
   ========================================================== */

:root {
  --xmas-green: #1d6b3a;
  --xmas-dark-green: #124d29;
  --xmas-gold: #e6b84c;
  --xmas-snow: #f8fbff;
}

/* ---------- Holiday greeting banner ---------- */
.holiday-banner {
  position: relative;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--xmas-dark-green) 0 14px,
      var(--xmas-green) 14px 28px
    );
  color: var(--white);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-bottom: 2px solid var(--xmas-gold);
}

.holiday-banner strong {
  color: var(--xmas-gold);
  font-weight: 700;
}

/* ---------- String of lights under the header ---------- */
header {
  border-bottom-color: var(--xmas-green);
}

.holiday-lights {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-around;
  overflow: hidden;
  pointer-events: none;
}

.holiday-lights::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #2b2b2b;
  opacity: 0.55;
}

.holiday-lights li {
  position: relative;
  width: 10px;
  height: 16px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--bulb, #e33);
  box-shadow: 0 2px 12px 2px var(--bulb, #e33);
  animation: xmas-twinkle 2.4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.holiday-lights li::before {
  /* bulb socket */
  content: "";
  position: absolute;
  top: -5px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #3a3a3a;
}

.holiday-lights li:nth-child(4n + 1) { --bulb: #ff3b3b; }
.holiday-lights li:nth-child(4n + 2) { --bulb: #34d35a; --delay: 0.6s; }
.holiday-lights li:nth-child(4n + 3) { --bulb: #ffd34d; --delay: 1.2s; }
.holiday-lights li:nth-child(4n + 4) { --bulb: #4aa8ff; --delay: 1.8s; }

@keyframes xmas-twinkle {
  0%, 100% { opacity: 1; filter: brightness(1.15); }
  50% { opacity: 0.45; filter: brightness(0.8); box-shadow: 0 2px 4px 0 var(--bulb); }
}

/* ---------- Snowy hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 75%, rgba(255, 255, 255, 0.06) 0 2px, transparent 3px),
    linear-gradient(180deg, #0b2142 0%, var(--navy) 60%, #16406f 100%);
  background-size: 120px 120px, 170px 170px, 90px 90px, auto;
}

/* snow drift along the bottom of the hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 46px;
  background:
    radial-gradient(ellipse 90px 30px at 10% 100%, var(--xmas-snow) 98%, transparent 100%),
    radial-gradient(ellipse 140px 36px at 35% 100%, var(--xmas-snow) 98%, transparent 100%),
    radial-gradient(ellipse 110px 28px at 62% 100%, var(--xmas-snow) 98%, transparent 100%),
    radial-gradient(ellipse 150px 38px at 88% 100%, var(--xmas-snow) 98%, transparent 100%),
    linear-gradient(var(--xmas-snow), var(--xmas-snow)) bottom / 100% 12px no-repeat;
  pointer-events: none;
}

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

.hero-badge {
  background: var(--xmas-green);
  box-shadow: inset 0 0 0 1px var(--xmas-gold);
}

/* ---------- Festive accents ---------- */
.trust-bar {
  border-top: 4px solid var(--xmas-gold);
  border-bottom: 4px solid var(--xmas-green);
}

.card:nth-child(even),
.steps li:nth-child(even) {
  border-top-color: var(--xmas-green);
}

.check-list li::before {
  content: "★";
  color: var(--xmas-gold);
  text-shadow: 0 0 1px #a57f1e;
}

.about-box {
  border-left-color: var(--xmas-green);
}

.eyebrow::before {
  content: "❄ ";
  color: #6fa6d9;
}

.service-area .eyebrow::before,
.cta-band .eyebrow::before {
  color: var(--xmas-snow);
}

.service-area,
.cta-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.07) 0 2px, transparent 3px),
    var(--navy);
  background-size: 110px 110px, 150px 150px, auto;
}

/* ---------- Footer greeting ---------- */
footer {
  border-top: 4px solid var(--xmas-green);
}

.holiday-footer-greeting {
  display: block;
  width: 100%;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--xmas-gold);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* ---------- Falling snow overlay ---------- */
.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

@media (max-width: 850px) {
  header {
    position: relative;
  }
}

@media (max-width: 560px) {
  .holiday-banner {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holiday-lights li {
    animation: none;
  }
}
