/*
----------------------------------------------------------------------------------------------------------
    CSS -> Business -> Promos
----------------------------------------------------------------------------------------------------------
*/

.sect-promos {	
	border-top: 5px solid var(--bs-primary);
	border-bottom: 15px solid #fff;
}

#intro .owl-carousel {
    position: relative;
    width: 100%;
    /* Altura total: 100% del alto de la ventana visible */
    height: calc(100vh - 120px); 
    overflow: hidden;
}

#intro .owl-carousel .item {
    position: relative;
    /* Aseguramos que cada item ocupe el 100% de la altura de la ventana */
    width: 100%;
    height: calc(100vh - 120px); 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo para la imagen dentro del carrusel */
#intro .owl-carousel .item img {
    width: 100%;
    height: 100%;
    /* Importante: Mantiene la proporción, recorta si es necesario, y asegura la cobertura */
    object-fit: cover; 
    /* Opcional: Centra la imagen al aplicar object-fit */
    object-position: center; 
}

/* Capa oscura/superposición (Mantenida) */
#intro .owl-carousel .item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}

/* Estilo para el texto superpuesto (Mantenido) */
#intro .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2; 
    text-align: center;
    padding: 20px;
}

/* Estilos para las flechas de navegación (Owl Carousel nav) */
#intro .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px; 
    z-index: 3;
}

/* --- SOLUCIÓN 1: FLECHAS GRANDES Y BLANCAS --- */

#intro .owl-nav button {
    width: 60px;
    height: 60px;
    
    /* Fondo transparente y sin borde para quitar el círculo, si es el objetivo */
    background: transparent !important; 
    border: none !important;

    /* Necesario para anular cualquier estilo de color por defecto en el texto/icono */
    color: #FFFFFF !important; 
    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s;
    /* Quitamos la sombra del botón si es transparente */
}

/* 2. Modificar el tamaño del ícono dentro del botón (CLAVE) */
#intro .owl-nav button i {
    /* Aumentamos el tamaño de la fuente, que es el ícono */
    font-size: 50px !important; 
    
    /* Forzamos el color blanco. Esto anula la herencia de color en algunos frameworks. */
    color: #FFFFFF !important; 
    
    /* Añadimos sombra para que se vean sobre cualquier imagen */
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}

#intro .owl-nav button:hover {
    opacity: 1;
}

/* Estilos de los puntos de navegación (Mantenidos) */
#intro .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

#intro .owl-dot {
    display: inline-block; 
    margin: 0 5px; 
}

#intro .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 5px 7px !important; 
    background: #ffffff !important;
    border: 2px solid var(--bs-primary) !important;
    display: inline-block;
    border-radius: 50%;
    opacity: 0.7;
}

#intro .owl-dot.active span {
    background: var(--bs-primary) !important;
    opacity: 1;
}

/* Medias Query para ajustes en dispositivos pequeños (SOLUCIÓN 2 y 3) */
@media (max-width: 991.98px) {
    /* Aseguramos que SIEMPRE ocupe el 100% de la altura de la pantalla 
    (Esto ya estaba en 100vh, pero confirmamos) 
    */
    #intro .owl-carousel,
    #intro .owl-carousel .item {
        height: calc(100vh - 80px); 
        min-height: 400px; /* Mínimo para que no sea muy pequeño */
    }

    /* La clave para la imagen ya está arriba con object-fit: cover; 
       pero confirmamos que no haya anulación: */
    #intro .owl-carousel .item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    #intro .display-3 {
        font-size: 2rem; /* Reducimos aún más el tamaño del título principal para móviles */
    }

    /* Ocultar flechas en móvil para un diseño más limpio, si lo deseas */
    #intro .owl-nav {
        display: none !important; 
    }
}