/* Video Section Styles */
.video-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.video-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'HisenseSansAlfabet', Arial, sans-serif;
}

.video-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

/* Internal video specific styles */
.video-container .internal-video {
    object-fit: cover;
    background-color: #000;
}

.video-container .internal-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.video-container .internal-video::-webkit-media-controls-play-button,
.video-container .internal-video::-webkit-media-controls-volume-slider,
.video-container .internal-video::-webkit-media-controls-timeline {
    filter: invert(1);
}

/* Loading state */
/* .video-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
} 

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-container iframe:loaded::before {
    display: none;
}*/

/* Responsive adjustments */
@media (max-width: 1024px) {
    .video-section {
        padding: 50px 20px;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 40px 15px;
    }
    
    .video-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .video-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .video-container {
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .video-container iframe,
    .video-container video {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 30px 10px;
    }
    
    .video-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .video-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .video-container {
        border-radius: 6px;
    }
    
    .video-container iframe,
    .video-container video {
        border-radius: 6px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .video-section {
        background-color: #1a1a1a;
    }
    
    .video-title {
        color: #fff;
    }
    
    .video-description {
        color: #ccc;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .video-title {
        color: #000;
    }
    
    .video-description {
        color: #333;
    }
    
    .video-container {
        border: 2px solid #000;
    }
}

/* Reduced motion */
/* @media (prefers-reduced-motion: reduce) {
    .video-container::before {
        animation: none;
    }
} */
