/* Carrusel de imágenes */
/* Estilos generales para el contenedor del carrusel y las tarjetas */
.carousel-container {
  position: relative;
  max-width: 1500px;
  overflow: hidden;
  margin: 0 auto;
  height: 600px; /* Ajusta la altura según tus necesidades */
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* 6 imágenes */
}

.carousel-item {
  position: relative;
  min-width: 100%;
  height: 100%; /* Ajusta la altura como necesites */
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* Difuminado desde la mitad hacia abajo */
.carousel-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 50%);
  z-index: 2;
  pointer-events: none;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}