/**
 * Video Slider Section
 * Version: 1.0
 */

/* ========================================
   Main Section Container
   ======================================== */
.video-slider-section {
    padding: 50px 0;
    background: #fff;
}

.video-slider-section .section-container {
    max-width: 100%;
    padding: 0;
}

.video-slider-section__title {
    color: #000;
    text-align: center;
    font-family: "Ploni DL 1.1 AAA", sans-serif;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 42px;
    margin: 0 0 40px;
}

/* ========================================
   Slider Wrapper
   ======================================== */
.video-slider-wrapper {
    position: relative;
    padding: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-slider {
    width: 100%;
}

.video-slider.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

/* ========================================
   Video Item
   ======================================== */
.video-item {
    padding: 0;
}

.video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 232.76/413.79;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.video-card__thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: lightgray 50% / cover no-repeat;
}

/* Play Button Overlay */
.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    z-index: 5;
}

.video-card__play svg {
    width: 100%;
    height: 100%;
}

.video-card:hover .video-card__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .video-card__play svg circle {
    fill: rgba(117, 213, 135, 0.5);
}

/* Dark overlay on hover */
.video-card__thumbnail:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-card:hover .video-card__thumbnail:before {
    background: rgba(0, 0, 0, 0.3);
}

/* ========================================
   Slider Navigation
   ======================================== */
.video-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.video-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #C5C5C5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    padding: 0;
}

.video-nav-btn svg {
    width: 28px;
    height: 28px;
}

.video-nav-btn:hover {
    border-color: #75D587;
    box-shadow: 0 3px 12px rgba(117, 213, 135, 0.2);
}

.video-nav-btn:hover svg path {
    stroke: #75D587;
}

.video-nav-btn.video-next svg {
    transform: rotate(180deg);
}

/* ========================================
   Fancybox Video
   ======================================== */
.fancybox-slide--iframe .fancybox-content {
    max-width: 900px;
    max-height: 506px;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1199px) {
    .video-slider-wrapper {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .video-slider-section {
        padding: 50px 0;
    }
    
    .video-slider-section__title {
        font-size: 36px;
        line-height: 38px;
    }
    
    .video-card__play {
        width: 65px;
        height: 65px;
    }
    
    .video-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .video-nav-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 767px) {
    .video-slider-section {
        padding: 40px 0;
        overflow: hidden;
    }
    
    .video-slider-section__title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 30px;
    }
    
    .video-slider-wrapper {
        padding: 0;
        overflow: visible;
    }
    
    .video-slider.owl-carousel .owl-stage-outer {
        overflow: visible;
    }
    
    .video-card {
        width: 180px;
        height: 320px;
        aspect-ratio: auto;
        border-radius: 14px;
    }
    
    .video-card__play {
        width: 55px;
        height: 55px;
    }
    
    .video-nav-btn {
        width: 38px;
        height: 38px;
    }
    
    .video-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 575px) {
    .video-slider-section {
        overflow: hidden;
    }
    
    .video-slider-wrapper {
        padding: 0 0 70px;
        overflow: visible;
    }
    
    .video-slider.owl-carousel .owl-stage-outer {
        overflow: visible;
    }
    
    .video-card {
        width: 200px;
        height: 355px;
        aspect-ratio: auto;
        border-radius: 14px;
    }
    
    .video-card__play {
        width: 50px;
        height: 50px;
    }
    
    .video-slider-nav {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        justify-content: center;
        gap: 15px;
        width: auto;
    }
    
    .video-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .video-nav-btn svg {
        width: 22px;
        height: 22px;
    }
}


