﻿/* ============================================
   VIDEO CAROUSEL SECTION - COMPACT DARK THEME
   ============================================ */

.video-carousel-section {
    padding: 60px 0;
    /* Force solid black background */
    background: #000000 !important;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

    /* Subtle divider at top */
    .video-carousel-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* FORCE WHITE TITLE for Video Section */
/* Targeting Class AND ID to override any global settings */
.video-carousel-section .section-header h2,
#videoSectionTitle {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff !important;
    text-transform: uppercase;
}

.video-carousel-section .section-header p,
#videoSectionDesc {
    color: #a3a3a3 !important; /* Light Grey Description */
    font-size: 1rem;
}

/* =========================================
   WHITE CONTROLS (Inverted for Dark Theme)
   ========================================= */
.video-carousel-section .slider-pill-controls {
    margin: 25px auto 0 auto;
    /* Glassy white background for controls pill */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
}

/* FORCE WHITE ARROWS */
.video-carousel-section .slider-arrow {
    color: #ffffff !important;
}

    .video-carousel-section .slider-arrow:hover {
        color: #cccccc !important;
    }

/* FORCE WHITE DOTS */
.video-carousel-section .slider-dots button {
    border-color: #ffffff !important;
    /* Make inactive dots visible against black background */
    background: rgba(255, 255, 255, 0.4) !important;
}

    /* Active Dot - Solid White */
    .video-carousel-section .slider-dots button.active {
        background: #ffffff !important;
    }

/* =========================================
   CARDS & THUMBNAILS
   ========================================= */
.v-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.v-track-container {
    overflow: hidden;
    padding: 10px 0;
}

.v-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.v-card {
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

/* CARD INNER - DARK MODE STYLE */
.v-card-inner {
    background: #0a0a0a;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

    .v-card-inner:hover {
        transform: translateY(-5px);
        border-color: #ffffff;
        box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
    }

.v-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background: #111;
    overflow: hidden;
}

.v-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.v-card-inner:hover .v-thumbnail {
    transform: scale(1.05);
}

/* PLAY BUTTON OVERLAY */
.v-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v-card-inner:hover .v-play-overlay {
    opacity: 1;
}

.v-play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v-card-inner:hover .v-play-btn {
    transform: scale(1);
}

.v-play-btn svg {
    width: 20px;
    height: 20px;
    fill: #000;
    margin-left: 2px;
}

.v-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* TEXT CONTENT - DARK MODE */
.v-content {
    padding: 20px;
    background: #0a0a0a;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .v-content h3 {
        font-size: 1.1rem;
        color: #ffffff;
        margin: 0 0 8px 0;
        font-weight: 700;
        line-height: 1.3;
    }

    .v-content p {
        font-size: 0.9rem;
        color: #a3a3a3;
        line-height: 1.5;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
