/* OneDegree Video Carousel Styles */

.odvc-video-carousel {
    position: relative;
    width: 100%;
    padding: 20px 50px;
}

/* Wrapper for carousel + arrows */
.odvc-carousel-wrapper {
    position: relative;
    width: 100%;
}

.odvc-swiper {
    width: 100%;
    overflow: hidden;
    perspective: 1200px;
}

.odvc-swiper .swiper-wrapper {
    align-items: center;
    transform-style: preserve-3d;
}

/* Slide */
.odvc-slide {
    transition: all 0.4s ease;
    cursor: pointer;
    perspective: 1000px;
    z-index: 1;
}

.odvc-slide.swiper-slide-active {
    z-index: 10 !important;
    opacity: 1 !important;
    transform: scale(1) rotateY(0deg) !important;
}

/* Coverflow tilt effect - slides before active (left side) */
.odvc-slide.swiper-slide-prev {
    z-index: 5 !important;
    transform: scale(0.85) rotateY(25deg) !important;
    transform-origin: right center;
}

/* Coverflow tilt effect - slides after active (right side) */
.odvc-slide.swiper-slide-next {
    z-index: 5 !important;
    transform: scale(0.85) rotateY(-25deg) !important;
    transform-origin: left center;
}

/* Slide inner */
.odvc-slide-inner {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    background: #000;
    pointer-events: auto;
}

.odvc-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play Button */
.odvc-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}

.odvc-play-button svg {
    transition: fill 0.3s ease;
    margin-left: 3px;
}

.odvc-slide-inner:hover .odvc-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Navigation Arrows */
.odvc-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: none !important;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.odvc-nav-button:hover,
.odvc-nav-button:focus,
.odvc-nav-button:active {
    background: none !important;
    background-color: transparent !important;
    outline: none;
}

.odvc-nav-button svg {
    transition: fill 0.3s ease;
}

.odvc-nav-prev {
    left: -50px;
}

.odvc-nav-next {
    right: -50px;
}

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

/* Pagination Dots */
.odvc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.odvc-pagination.swiper-pagination {
    position: relative;
    bottom: auto;
}

.odvc-pagination .swiper-pagination-bullet {
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Active slide shadow */
.odvc-slide.swiper-slide-active .odvc-slide-inner {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .odvc-video-carousel {
        padding: 20px 40px;
    }

    .odvc-nav-prev {
        left: -40px;
    }

    .odvc-nav-next {
        right: -40px;
    }
}

@media (max-width: 767px) {
    .odvc-video-carousel {
        padding: 15px 30px;
    }

    .odvc-nav-button {
        padding: 10px;
    }

    .odvc-nav-prev {
        left: -30px;
    }

    .odvc-nav-next {
        right: -30px;
    }
}

/* Hide arrows on tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .odvc-hide-tablet {
        display: none !important;
    }

    .odvc-hide-tablet + .odvc-pagination,
    .odvc-carousel-wrapper:has(.odvc-hide-tablet) ~ .odvc-pagination {
        /* Pagination still visible */
    }

    .odvc-video-carousel:has(.odvc-hide-tablet) {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Hide arrows on mobile (below 768px) */
@media (max-width: 767px) {
    .odvc-hide-mobile {
        display: none !important;
    }

    .odvc-video-carousel:has(.odvc-hide-mobile) {
        padding-left: 15px;
        padding-right: 15px;
    }
}
