/* =========================================================================
   Component: Screenshot Carousel
   Replaces the Swiper.js "coverflow" carousel with a lightweight Bootstrap-
   compatible version: a flex track of scaled slides + Bootstrap-style
   prev/next controls and dot indicators (markup mirrors .carousel-indicators
   conventions so it drops into an existing Bootstrap carousel if preferred).
   Behavior lives in js/components/screenshot-carousel.js.
   ========================================================================= */

.evox-carousel {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.evox-carousel__viewport {
  overflow: hidden;
  padding: 2rem 0;
}

.evox-carousel__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0; /* slides overlap via negative margin below */
  transition: transform 0.4s ease;
  will-change: transform;
}

.evox-carousel__slide {
  flex: 0 0 auto;
  width: 12rem;
  margin-inline: -1.25rem; /* overlapping coverflow look */
  transform: scale(0.65);
  transition: transform 0.4s ease, filter 0.3s ease;
  z-index: 0;
}
.evox-carousel__slide img {
  display: block;
  width: 100%;
  border-radius: var(--evox-radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  filter: brightness(0.7) blur(0.5px);
  transition: filter 0.3s ease;
}
.evox-carousel__slide.is-active {
  transform: scale(1);
  z-index: 10;
}
.evox-carousel__slide.is-active img {
  filter: none;
}

/* Dot indicators — same visual language as Bootstrap's .carousel-indicators
   but sized/colored to match the brand */
.evox-carousel__indicators {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}
.evox-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--evox-primary);
  opacity: 0.6;
  cursor: pointer;
  padding: 0;
}
.evox-carousel__dot.is-active {
  opacity: 1;
}
