/**
 * banner-slider.css
 * 
 * Estilos modernos con estética Glassmorphism & Midnight para el
 * Carrusel Principal de Banners Dinámicos (Swiper Slider).
 */

.banner-slider-wrapper {
    width: 92%;
    max-width: 1200px;
    margin: 18px auto 12px auto;
    position: relative;
    box-sizing: border-box;
}

.banner-swiper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f172a;
}

.banner-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    box-sizing: border-box;
    padding: 24px 35px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

.banner-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.banner-slide:hover .banner-slide-img {
    transform: scale(1.02);
}

.banner-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 16, 30, 0.92) 0%, rgba(11, 16, 30, 0.7) 50%, rgba(11, 16, 30, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.banner-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
    box-sizing: border-box;
}

.banner-slide-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #ffffff;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-slide-text {
    flex: 1;
    min-width: 220px;
    text-align: left;
}

.banner-slide-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.25;
}

.banner-slide-text p {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.45;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    max-width: 680px;
}

.banner-slide-action {
    flex-shrink: 0;
}

.btn-banner-action {
    background: #ffffff;
    color: #0b101e;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-banner-action i {
    transition: transform 0.2s ease;
}

.btn-banner-action:hover {
    transform: translateY(-2px);
    background: #38bdf8;
    color: #0b101e;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

.btn-banner-action:hover i {
    transform: translateX(4px);
}

/* Flechas de Navegación del Slider */
.banner-swiper-prev,
.banner-swiper-next {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(11, 16, 30, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    transition: all 0.22s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    margin-top: 0 !important;
    transform: translateY(-50%) !important;
    top: 50% !important;
    z-index: 10 !important;
}

.banner-swiper-prev::after,
.banner-swiper-next::after {
    display: none !important; /* Desactivar iconos por defecto de Swiper */
}

.banner-swiper-prev {
    left: 14px !important;
}

.banner-swiper-next {
    right: 14px !important;
}

.banner-swiper-prev:hover,
.banner-swiper-next:hover {
    background: #38bdf8 !important;
    color: #0b101e !important;
    border-color: #38bdf8 !important;
    transform: translateY(-50%) scale(1.08) !important;
}

/* Paginación con puntos (Bullets) */
.banner-swiper-pagination {
    bottom: 10px !important;
    z-index: 10 !important;
}

.banner-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45) !important;
    opacity: 0.6 !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    transition: all 0.28s ease !important;
}

.banner-swiper-pagination .swiper-pagination-bullet-active {
    background: #38bdf8 !important;
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8) !important;
}

/* Responsive para Pantallas Pequeñas y Móviles */
@media (max-width: 768px) {
    .banner-slider-wrapper {
        width: 94%;
        margin: 12px auto 10px auto;
    }

    .banner-swiper {
        border-radius: 16px;
    }

    .banner-slide {
        min-height: 180px;
        padding: 18px 16px 28px 16px;
        border-radius: 16px;
    }

    .banner-slide-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 12px;
    }

    .banner-slide-icon {
        width: 46px;
        height: 46px;
        font-size: 1.45rem;
        border-radius: 12px;
    }

    .banner-slide-text {
        text-align: center;
        min-width: 100%;
    }

    .banner-slide-text h3 {
        font-size: 1.22rem;
        margin-bottom: 4px;
    }

    .banner-slide-text p {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .btn-banner-action {
        padding: 9px 20px;
        font-size: 0.86rem;
    }

    .banner-swiper-prev,
    .banner-swiper-next {
        display: none !important; /* Desactivar flechas en móvil para dar espacio */
    }

    .banner-slide-overlay {
        background: linear-gradient(180deg, rgba(11, 16, 30, 0.88) 0%, rgba(11, 16, 30, 0.75) 60%, rgba(11, 16, 30, 0.5) 100%);
    }
}

@media (max-width: 480px) {
    .banner-slide {
        min-height: 165px;
        padding: 14px 12px 26px 12px;
    }

    .banner-slide-text h3 {
        font-size: 1.1rem;
    }

    .banner-slide-text p {
        font-size: 0.82rem;
    }

    .btn-banner-action {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}
