/* ==============================================
   SWIPER CUSTOM STYLES - Cyber Theme
   ============================================== */

/* Contenedor principal del swiper */
.gallery-swiper {
    width: 100%;
    padding: 20px 0;
    position: relative;
}

/* Asegurar que las slides tengan altura consistente */
.gallery-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.gallery-swiper .swiper-slide>div {
    width: 100%;
}

/* ==============================================
   PAGINATION DOTS - Estilo Cyber
   ============================================== */

.gallery-swiper .swiper-pagination {
    position: relative !important;
    margin-top: 32px !important;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgb(71 85 105);
    /* slate-600 */
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: #00ffff;
    /* primary cyan */
    width: 32px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.gallery-swiper .swiper-pagination-bullet:hover {
    background: #00ffff;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

/* ==============================================
   NAVIGATION BUTTONS - Estilo Minimalista (Sin círculo)
   ============================================== */

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    width: 48px !important;
    height: 48px !important;
    background: transparent !important;
    border: none;
    color: #00ffff !important;
    transition: all 0.3s ease;
    box-shadow: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-top: -24px !important;
    /* Centrado exacto vertical */
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
    background: transparent !important;
    color: #fff !important;
    /* Eliminar transform scale para evitar cortes */
    transform: none;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.gallery-swiper .swiper-button-prev.swiper-button-disabled,
.gallery-swiper .swiper-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-swiper .swiper-button-prev:after,
.gallery-swiper .swiper-button-next:after {
    font-size: 40px !important;
    /* Flecha mucho más grande */
    font-weight: bold;
}

/* Posicionamiento responsive de las flechas */
@media (max-width: 768px) {

    .gallery-swiper .swiper-button-prev,
    .gallery-swiper .swiper-button-next {
        width: 40px !important;
        height: 40px !important;
    }

    .gallery-swiper .swiper-button-prev:after,
    .gallery-swiper .swiper-button-next:after {
        font-size: 28px !important;
    }

    .gallery-swiper .swiper-button-prev {
        left: 0px;
    }

    .gallery-swiper .swiper-button-next {
        right: 0px;
    }
}

@media (min-width: 769px) {

    /* Posicionar flechas dentro del contenedor para evitar cortes */
    .gallery-swiper .swiper-button-prev {
        left: 0px;
    }

    .gallery-swiper .swiper-button-next {
        right: 0px;
    }
}

/* ==============================================
   SWIPER WRAPPER IMPROVEMENTS
   ============================================== */

.gallery-swiper .swiper-wrapper {
    padding-bottom: 8px;
    /* Espacio para sombras de las cards */
}


/* Efecto de escala suave desactivado para uniformidad */
@media (min-width: 1024px) {
    /* .gallery-swiper .swiper-slide:not(.swiper-slide-active) {
        transform: scale(0.95);
    }
    
    .gallery-swiper .swiper-slide-active {
        transform: scale(1);
        z-index: 10;
    } */
}

/* ==============================================
   LOADING STATE (opcional)
   ============================================== */

.gallery-swiper.swiper-initialized {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-swiper:not(.swiper-initialized) {
    opacity: 0;
}

/* ==============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================== */

.gallery-swiper .swiper-button-prev:focus,
.gallery-swiper .swiper-button-next:focus,
.gallery-swiper .swiper-pagination-bullet:focus {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
}

/* ==============================================
   DARK MODE COMPATIBILITY
   ============================================== */

.dark .gallery-swiper .swiper-pagination-bullet {
    background: rgb(71 85 105);
}

.dark .gallery-swiper .swiper-pagination-bullet-active {
    background: #00ffff;
}

.dark .gallery-swiper .swiper-button-prev,
.dark .gallery-swiper .swiper-button-next {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: #00ffff;
}