/* ===== SECCIÓN DEL CARRUSEL ===== */
.carrusel-seccion {
  width: 100%;
  height: 100vh; /* Ocupa toda la pantalla en PC */
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Contenedor principal */
.custom-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Carrusel flexible */
.custom-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out; /* Transición más suave */
}

/* Cada ítem del carrusel */
.custom-carousel-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.custom-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Se adapta al espacio, sin dejar bordes */
  transition: transform 0.5s ease-in-out;
}

/* ===== FLECHAS DE NAVEGACIÓN ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

/* ===== MEDIA QUERIES RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
  .carrusel-seccion {
    height: 70vh; /* Más pequeño en tablet */
  }
  .arrow {
    font-size: 2.5rem;
    padding: 8px 12px;
  }
}

/* Celulares */
@media (max-width: 576px) {
  .carrusel-seccion {
    height: 50vh; /* Aún más pequeño en celular */
  }
  .arrow {
    font-size: 2rem;
    padding: 6px 10px;
  }
}
