/* -------------------------------------------------------------
   WHITE GLOVEX - PAGE LEVEL STYLES: HOME (public/css/home.css)
   Styles specific to the White GloveX Home Page
   ------------------------------------------------------------- */

/* Hero carousel progress indicator bar animation */
@keyframes progressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Custom range slider styling for Home page solar calculators */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: #334155;
  height: 8px;
  border-radius: 9999px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -6px;
  background-color: #f59e0b;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.75);
}

/* Home hero slide active indicator */
.hero-option-active-indicator {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Sunroof card hover transitions */
.sunroof-metric-card {
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sunroof-metric-card:hover {
  transform: translateY(-2px);
}

/* Sunburst ambient glow animation */
@keyframes sunGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.45));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
    transform: scale(1.05);
  }
}

.animate-sun-glow {
  animation: sunGlow 3.5s ease-in-out infinite;
}

/* Satellite Radar Sweep / Scanner effect */
@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animate-radar-sweep {
  animation: radarSweep 6s linear infinite;
  transform-origin: center center;
}

/* Scanline horizontal laser animation */
@keyframes scanLaser {
  0% {
    top: 0%;
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0.2;
  }
}

.animate-scan-laser {
  animation: scanLaser 2.2s ease-in-out infinite alternate;
}

