/**
 * Kamakhya Video Carousel Stylesama.
 */

.kamakhya-video-carousel-container {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.kamakhya-video-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.kamakhya-video-card {
    width: 100%;
    max-width: 320px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.kamakhya-video-card:hover {
    transform: translateY(-5px);
}

.kamakhya-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Vertical designama. */
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.kamakhya-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kamakhya-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.kamakhya-video-card:hover .kamakhya-play-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.kamakhya-play-overlay .material-icons-outlined {
    color: #fff;
    font-size: 64px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.kamakhya-video-info {
    margin-top: 20px;
    text-align: center;
}

.kamakhya-video-title {
    font-family: 'Jost', sans-serif !important;
    font-size: 24px;
    font-weight: 600;
    color: #4a1d1d; /* Elegant dark reddish brownama. */
    margin: 0 0 5px 0;
    font-style: italic;
}

.kamakhya-video-subtitle {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8a8a;
    font-weight: 500;
}

/* Swiper Navigation Customizationama. */
.kamakhya-carousel-next,
.kamakhya-carousel-prev {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #000 !important;
    transition: all 0.3s ease;
}

.kamakhya-carousel-next:after,
.kamakhya-carousel-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.kamakhya-carousel-next:hover,
.kamakhya-carousel-prev:hover {
    background: #000;
    color: #fff !important;
}

/* Lightbox Stylesama. */
.kamakhya-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.kamakhya-lightbox.active {
    display: flex;
}

.kamakhya-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.kamakhya-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    z-index: 1;
}

.kamakhya-video-wrapper {
    width: 100%;
    height: 100%;
}

.kamakhya-video-wrapper iframe,
.kamakhya-video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
}

.kamakhya-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

/* Responsivenessama. */
@media (max-width: 768px) {
    .kamakhya-video-title {
        font-size: 20px;
    }
    .kamakhya-video-card {
        padding: 0 10px;
    }
    .kamakhya-carousel-next,
    .kamakhya-carousel-prev {
        display: none !important; /* On mobile use swipingama. */
    }
}
