/**
 * Video Slider Section Styles - Swiper Version
 */

.video-slider-section {
    padding: 3rem 0;
    overflow: hidden;
}

.video-slider-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 2.5rem;
}

/* Swiper container - full width for overflow effect */
.video-swiper-wrapper {
    position: relative;
    width: 100%;
}

.video-swiper {
    width: 100%;
    overflow: visible;
    padding: 20px 0;
}

.video-swiper .swiper-wrapper {
    align-items: center;
}

/* Slides - big size, sides will be cut off at edges */
.video-swiper .swiper-slide {
    width: 700px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.6;
    transform: scale(0.85);
}

.video-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.video-swiper .swiper-slide-prev,
.video-swiper .swiper-slide-next {
    opacity: 0.6;
    transform: scale(0.85);
}

.video-slide-inner {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
}

.video-swiper .swiper-slide-active .video-slide-inner {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Video embed */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.95rem;
    color: #333;
    border-top: 1px solid #eee;
}

/* Navigation - Bottom Center */
.video-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.video-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary, #153C6D);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.video-nav-btn:hover {
    background: #0f2d52;
    transform: scale(1.05);
}

/* Large screens */
@media (min-width: 1400px) {
    .video-swiper .swiper-slide {
        width: 800px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .video-swiper .swiper-slide {
        width: 550px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .video-slider-section {
        padding: 2rem 0;
    }

    .video-slider-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .video-swiper .swiper-slide {
        width: 85vw;
    }

    .video-swiper .swiper-slide,
    .video-swiper .swiper-slide-prev,
    .video-swiper .swiper-slide-next {
        transform: scale(0.92);
    }

    .video-swiper .swiper-slide-active {
        transform: scale(1);
    }

    .video-slide-inner {
        border-radius: 12px;
    }

    .video-nav-btn {
        width: 44px;
        height: 44px;
    }

    .video-slider-nav {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-slider-title {
        font-size: 1.5rem;
    }

    .video-swiper .swiper-slide {
        width: 90vw;
    }

    .video-nav-btn {
        width: 40px;
        height: 40px;
    }

    .video-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}
