/* ============================================
   CAROUSEL COMPONENT - MODERN IMAGE SLIDESHOW
   ============================================ */

.solucion-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.solucion-carousel__slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.solucion-carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.solucion-carousel__slide.active {
  opacity: 1;
  z-index: 2;
}

.solucion-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 1.5rem;
  filter: brightness(0.85) contrast(1.05) saturate(1.1);
  transition: all 0.3s ease;
  transform: scale(1.2);
  padding: 8px;
}

.solucion-card:hover .solucion-carousel__slide img {
  filter: brightness(0.95) contrast(1.1) saturate(1.2);
  transform: scale(1.4);
}

/* Subtle overlay with gradient */
.solucion-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15) 0%,
    rgba(102, 126, 234, 0.15) 50%,
    rgba(118, 75, 162, 0.15) 100%
  );
  pointer-events: none;
  border-radius: 1.5rem;
}

/* Carousel indicators */
.solucion-carousel__indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.solucion-carousel__indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.solucion-carousel__indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.solucion-carousel__indicators .indicator.active {
  background: #00d4ff;
  width: 32px;
  border-radius: 5px;
  border-color: #00d4ff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .solucion-carousel__indicators {
    bottom: 12px;
    gap: 8px;
  }

  .solucion-carousel__indicators .indicator {
    width: 8px;
    height: 8px;
  }

  .solucion-carousel__indicators .indicator.active {
    width: 24px;
  }
}
