/* ===================================
   VIDEO SHOWCASE SECTION
   Featured + Grid Layout (1 large + 4 small)
   =================================== */

.video-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
}

.video-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.video-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.video-section .section-title i {
    color: #ff0000; /* YouTube red */
    animation: pulse-video 2s ease-in-out infinite;
}

@keyframes pulse-video {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8));
    }
}

.video-section .section-subtitle {
    color: var(--text-muted, #8b9dc3);
    font-size: 1.1rem;
}

/* Layout Container */
.video-showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Video (Left - Large) */
.featured-video-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
    border-radius: 16px 16px 0 0;
}

.video-thumbnail-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.featured-video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff0000;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
}

.video-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.8);
}

.video-play-button i {
    margin-left: 4px; /* Play icon center adjustment */
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.featured-video-content {
    padding: 1.5rem;
}

.featured-video-content .video-meta {
    margin-bottom: 0.75rem;
}

.video-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted, #8b9dc3);
    font-weight: 600;
}

.video-category i {
    color: #ff0000;
}

.featured-video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.featured-video-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-video-title a:hover {
    color: #ff0000;
}

.featured-video-excerpt {
    color: var(--text-muted, #8b9dc3);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Video Grid (Right - 4 small cards) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.video-grid-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
}

.video-player-container-small {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
    border-radius: 12px 12px 0 0;
}

.video-thumbnail-wrapper-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-grid-card:hover .video-thumbnail-small {
    transform: scale(1.1);
}

.video-play-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-grid-card:hover .video-play-overlay-small {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-button-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff0000;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.5);
}

.video-play-button-small:hover {
    transform: scale(1.1);
}

.video-play-button-small i {
    margin-left: 3px;
}

.video-iframe-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-grid-content {
    padding: 1rem;
}

.video-grid-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0;
    line-height: 1.4;
}

.video-grid-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-grid-title a:hover {
    color: #ff0000;
}

/* Empty State */
.video-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted, #8b9dc3);
}

.video-empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.video-empty-state p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.video-empty-state small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .video-showcase-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 2.5rem 0;
    }
    
    .video-section .section-title {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .featured-video-title {
        font-size: 1.25rem;
    }
}
