/* ============================================
   CAROUSEL STYLES - SWIPER CUSTOMIZATION
   Premium Dark Mode with Neon Accents
   ============================================ */

/* ===== GLOBAL CAROUSEL STYLES ===== */
.swiper {
    width: 100%;
    padding-bottom: 60px;
    /* Space for pagination */
}

.swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* ===== NAVIGATION BUTTONS ===== */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-accent-primary);
    border-radius: 50%;
    color: var(--color-accent-primary);
    transition: all var(--transition-base);
    box-shadow: var(--glow-accent);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: 900;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    box-shadow: var(--glow-accent-strong);
    transform: scale(1.1);
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== PAGINATION ===== */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-text-muted);
    opacity: 0.5;
    transition: all var(--transition-base);
}

.swiper-pagination-bullet-active {
    background: var(--color-accent-primary);
    opacity: 1;
    box-shadow: var(--glow-accent);
    width: 32px;
    border-radius: 6px;
}

/* ===== SERVICES CAROUSEL ===== */
.services-carousel .swiper-slide {
    padding: 0 10px;
}

.services-carousel .service-card {
    height: 100%;
    margin: 0;
}

/* ===== GALLERY CAROUSEL ===== */
.gallery-carousel {
    padding-bottom: 80px;
}

.gallery-carousel .swiper-slide {
    padding: 0;
}

.gallery-carousel .masonry-item {
    height: 500px;
    margin: 0;
}

/* ===== STATISTICS CAROUSEL ===== */
.stats-carousel .swiper-slide {
    padding: 0 15px;
}

.stats-carousel .stat-card {
    height: 100%;
    margin: 0;
}

/* Auto-play progress indicator */
.stats-carousel .swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
}

.stats-carousel .swiper-pagination-progressbar-fill {
    background: var(--color-accent-primary);
    box-shadow: var(--glow-accent);
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-carousel {
    padding-bottom: 80px;
}

.testimonials-carousel .swiper-slide {
    padding: 0 15px;
}

.testimonials-carousel .testimonial-card {
    height: 100%;
    margin: 0;
}

/* ===== COVERAGE CAROUSEL ===== */
.coverage-carousel .swiper-slide {
    padding: 0 15px;
}

.coverage-carousel .coverage-card {
    height: 100%;
    margin: 0;
}

/* ===== STRATEGIC CAROUSEL ===== */
.strategiques-carousel {
    padding-bottom: 80px;
}

.strategiques-carousel .swiper-slide {
    padding: 0 15px;
}

.strategiques-carousel .strategy-card {
    height: 100%;
    margin: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 44px;
        height: 44px;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 18px;
    }

    /* Hide navigation buttons on very small screens */
    @media (max-width: 480px) {

        .swiper-button-prev,
        .swiper-button-next {
            display: none;
        }

        .swiper {
            padding-bottom: 50px;
        }
    }
}

/* ===== ACCESSIBILITY ===== */
.swiper-button-prev:focus,
.swiper-button-next:focus {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
}

/* ===== LOADING STATE ===== */
.swiper:not(.swiper-initialized) {
    opacity: 0;
}

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

/* ===== PEEK EFFECT (show part of next/prev slides) ===== */
.swiper-peek .swiper-slide {
    opacity: 0.4;
    transition: opacity var(--transition-base);
}

.swiper-peek .swiper-slide-active,
.swiper-peek .swiper-slide-duplicate-active {
    opacity: 1;
}

/* ===== CUSTOM SCROLLBAR (for horizontal scroll fallback) ===== */
.swiper::-webkit-scrollbar {
    height: 8px;
}

.swiper::-webkit-scrollbar-track {
    background: var(--color-bg-tertiary);
    border-radius: 4px;
}

.swiper::-webkit-scrollbar-thumb {
    background: var(--color-accent-primary);
    border-radius: 4px;
    box-shadow: var(--glow-accent);
}

.swiper::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-secondary);
}