/**
 * Carousel Styles
 * AKT Via Motos - www.aktviamotos.com
 */

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
}

.carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Arrows - Estilo discreto */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  color: var(--color-gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0.7;
}

.carousel__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
  color: var(--color-primary, #E20613);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.carousel__arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.carousel__arrow--prev {
  left: var(--space-2);
}

.carousel__arrow--next {
  right: var(--space-2);
}

/* Dots - Estilo discreto */
.carousel__dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel__dot:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.2);
}

.carousel__dot--active {
  background: var(--color-primary, #E20613);
  width: 24px;
  box-shadow: 0 2px 6px rgba(226, 6, 19, 0.3);
}

@media (max-width: 768px) {
  .carousel__arrow {
    width: 36px;
    height: 36px;
  }

  .carousel__arrow--prev {
    left: 8px;
  }

  .carousel__arrow--next {
    right: 8px;
  }

  .carousel__dots {
    bottom: 12px;
    padding: 6px 12px;
  }

  .carousel__dot {
    width: 6px;
    height: 6px;
  }

  .carousel__dot--active {
    width: 20px;
  }
}
