/* ================================================================
   Hero Carousel — Style 2
   Pure-image slider, no text, clickable slides
   ================================================================ */

/* ── Wrapper ─────────────────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-bg-2);
  padding-bottom: 10px;
  /* Height is set via aspect-ratio + clamp so it adapts to screen */
  /* aspect-ratio: 21 / 8; */
}

/* ── Track ───────────────────────────────────────────────────────── */
/* .hc-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
} */

/* ── Slide ───────────────────────────────────────────────────────── */
/* .hc-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: block;         
  cursor: pointer;
  overflow: hidden;
}
.hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  user-select: none;
  -webkit-user-drag: none;
}
.hc-slide:hover img {
  transform: scale(1.02);
} */

/* ── Arrows ──────────────────────────────────────────────────────── */
.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  transition: all var(--duration-fast);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  opacity: 0;
  pointer-events: none;
}
.hero-carousel:hover .hc-arrow {
  opacity: 1;
  pointer-events: auto;
}
.hc-arrow:hover {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.hc-arrow--prev { left: var(--space-5); }
.hc-arrow--next { right: var(--space-5); }

/* Single slide — hide arrows */
.hero-carousel.hc--single .hc-arrow { display: none; }

/* ── Dots ────────────────────────────────────────────────────────── */
.hc-dots {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}
.hc-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-base);
}
.hc-dot.is-active {
  width: 24px;
  background: #fff;
}
/* Single slide — hide dots */
.hero-carousel.hc--single .hc-dots { display: none; }

/* ── Progress bar ────────────────────────────────────────────────── */
.hc-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: rgba(255,255,255,.6);
  width: 0%;
  z-index: 10;
  transition: none;
}
.hc-progress.hc-progress--anim {
  transition: width linear;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* .hero-carousel { aspect-ratio: 16 / 7; } */
  .hc-arrow { width: 40px; height: 40px; opacity: 1; pointer-events: auto; }
}
@media (max-width: 640px) {
  /* .hero-carousel { aspect-ratio: 4 / 3; } */
  .hc-arrow { width: 36px; height: 36px; }
  .hc-arrow--prev { left: var(--space-3); }
  .hc-arrow--next { right: var(--space-3); }
  .hc-dot { width: 5px; height: 5px; }
  .hc-dot.is-active { width: 18px; }
}
@media (max-width: 390px) {
  /* .hero-carousel { aspect-ratio: 1 / 1; } */
}
