/* ==========================================================
   HERO SLIDER (crossfade + αργό Ken Burns zoom)
   ========================================================== */
#hero-parallax-bg { overflow: hidden; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom calc(var(--hero-interval, 6000ms) + 1200ms) ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 34px;
  height: 14px;
  padding: 5px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hero-dot span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  position: relative;
}
.hero-dot span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #f7c310;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.is-active span::after {
  animation: heroProgress var(--hero-interval, 6000ms) linear forwards;
}
.hero-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero-dot:hover span { background: rgba(255, 255, 255, 0.5); }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 13, 19, 0.45);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hero-arrow--prev { left: 14px; }
.hero-arrow--next { right: 14px; }
#hero-section:hover .hero-arrow,
.hero-arrow:focus-visible { opacity: 1; }
.hero-arrow:hover { background: #f7c310; border-color: #f7c310; color: #111; }

@media (max-width: 767px) {
  .hero-arrow { display: none; }
  .hero-dots { bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { animation: none; transform: none; transition: opacity 0.3s ease; }
}
