/* ==========================================================================
   File: hero.css
   WETCO Synergies — Homepage Hero Banner + Slider
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy-deep);
}

/* -----------------------------------------
   1. SLIDES
----------------------------------------- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 23, 38, 0.94) 20%, rgba(8, 23, 38, 0.62) 55%, rgba(8, 23, 38, 0.88) 100%);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.zoom img {
  animation: hero-zoom 8s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* -----------------------------------------
   2. CONTENT
----------------------------------------- */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding-top: 60px;
}

.hero-content .tag {
  background-color: rgba(108, 201, 14, 0.16);
  color: var(--color-lime);
  margin-bottom: 22px;
}

.hero-content h1 {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.hero-content h1 .highlight {
  color: var(--color-lime);
  position: relative;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* -----------------------------------------
   3. HERO QUICK STATS STRIP
----------------------------------------- */
.hero-quickstats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-quickstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-quickstat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-lime);
}

.hero-quickstat .lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* -----------------------------------------
   4. SLIDER CONTROLS
----------------------------------------- */
.hero-controls {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  z-index: 6;
}

.hero-controls .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dots {
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  transition: background-color var(--transition-fast);
}

.hero-dot.active {
  background-color: rgba(255, 255, 255, 0.25);
}

.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-lime);
  animation: hero-progress 6s linear forwards;
}

@keyframes hero-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.hero-arrows {
  display: flex;
  gap: 12px;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  background-color: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-navy-deep);
}

/* -----------------------------------------
   5. SCROLL INDICATOR
----------------------------------------- */
.scroll-indicator {
  position: absolute;
  right: 36px;
  bottom: 50px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-indicator .line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-lime), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* -----------------------------------------
   6. RESPONSIVE
----------------------------------------- */
@media (max-width: 1080px) {
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-quickstats {
    gap: 30px;
  }

  .hero-controls {
    bottom: 26px;
  }

  .hero-arrows {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }
}
