/* Made by AlpinePages.com */

/* ============================================
   HERO LAYOUT
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: clip;
  padding-bottom: 5rem;
  background: linear-gradient(
    175deg,
    #03050a 0%,
    #060913 30%,
    #0a1128 60%,
    #040710 100%
  );
}

/* Stars background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 12%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 28% 7%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 42% 18%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 5%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 13%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 9%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 8% 28%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 22%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 3%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 25%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 40%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 35%, rgba(255,255,255,0.25) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Ambient ground glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(255, 0, 0, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

/* Christmas lights canvas -- sits behind content */
#lightsCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Snowfall canvas */
#snowCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 820px;
  padding: 0 1.5rem;
  padding-top: 6rem; /* nav clearance */
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
  filter: drop-shadow(0 0 8px #1d1010);
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  gap: 0;
}

.hero-line {
  display: block;
  text-shadow:
    0 0 80px #1d1010,
    0 2px 40px rgba(0,0,0,0.5);
}

.hero-line-italic {
  font-style: italic;
  color: var(--accent);
  text-shadow:
    0 0 60px #1d1010,
    0 0 120px #1d1010;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btns .btn-primary {
  font-size: 1rem;
  padding: 1rem 2.25rem;
  box-shadow:
    0 0 32px rgba(29, 16, 16, 0.3),
    0 8px 24px rgba(0,0,0,0.4);
}

.hero-btns .btn-ghost {
  font-size: 1rem;
  padding: 1rem 2.25rem;
}

/* ============================================
   SCROLL HINT
   ============================================ */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
}

.hero-scroll-hint > span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(163, 140, 140, 0.5), rgba(163, 140, 140, 0.05));
  overflow: visible;
}

.scroll-line-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 12px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--accent-warm);
  box-shadow: 0 0 10px rgba(179, 48, 48, 0.55);
}


@media (max-width: 600px) {
  .hero-content {
    padding-top: 5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-scroll-hint {
    display: none;
  }
}

.hero-house-svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px; /* Scales nicely behind your text */
  height: auto;
  z-index: 1; /* Sits behind snow (z-index: 2) and text (z-index: 10) */
  pointer-events: none;
  opacity: 0.85; /* Blend it slightly into your dark gradient */
}

/* Start hidden so GSAP can animate them in */
.svg-light, 
.window-glow {
  opacity: 0; 
}

/* CSS Filters for Realistic Blooms */
.light-red { fill: #ff4455; filter: drop-shadow(0 0 10px rgba(255,68,85,0.9)); }
.light-gold { fill: #ffcc33; filter: drop-shadow(0 0 10px rgba(255,204,51,0.9)); }
.light-blue { fill: #44bbff; filter: drop-shadow(0 0 10px rgba(68,187,255,0.9)); }
.light-green { fill: #33ffaa; filter: drop-shadow(0 0 10px rgba(51,255,170,0.9)); }

/* Window ambient glow */
.window-glow {
  fill: #ffaa33;
  filter: drop-shadow(0 0 25px rgba(255, 170, 51, 0.4));
}
