/* ===== HOME HERO: background image carousel (index.html only) ===== */
.hero--slider { position: relative; overflow: hidden; }

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0b0d;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.4s ease, transform 9s ease-out;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
/* dark overlay so text stays readable on any photo */
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,11,13,0.58) 0%,
    rgba(10,11,13,0.72) 45%,
    rgba(10,11,13,0.88) 100%
  );
}

/* text sits on photos, so it stays light regardless of site theme */
.hero--slider .hero-container { position: relative; z-index: 2; }
.hero--slider h1 { color: #fff; }
.hero--slider .hero-sub { color: rgba(255,255,255,0.85); }
.hero--slider .stat-label { color: rgba(255,255,255,0.7); }
.hero--slider .hero-stats { border-top-color: rgba(255,255,255,0.18); }

/* slide indicators */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}
.hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.is-active { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.6s ease; transform: none; }
}
