/* Estilos del Carrusel Moderno */
.carrusel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carrusel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 500px;
}

.carrusel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carrusel-slide:hover img {
  transform: scale(1.05);
}

.carrusel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.carrusel-slide:hover .carrusel-caption {
  transform: translateY(0);
}

.carrusel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
}

.carrusel-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.carrusel-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.carrusel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.carrusel-slide {
  animation: fadeIn 0.5s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
  .carrusel {
    height: 300px;
  }

  .carrusel-caption {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .carrusel-btn {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
}

/* Efectos de hover */
.carrusel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carrusel-slide:hover::before {
  opacity: 1;
} 