/* Production Gallery Section */
.production-gallery {
    padding: 2rem 0;
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    position: relative;
    overflow: hidden;
}

.production-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.production-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 0;
}

/* Video Section Layout */
.video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Single Video Styles */
.single-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16/9;
}

.gallery-item {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Video Controls */
video::-webkit-media-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

video::-webkit-media-controls-panel {
    padding: 0 15px;
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-slider {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .video-container {
        padding: 0.8rem;
    }
    
    .single-video {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .video-container {
        padding: 0.5rem;
    }
    
    .single-video {
        max-width: 100%;
        margin: 0;
    }
    
    .gallery-item {
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    video::-webkit-media-controls-panel {
        padding: 0 10px;
    }
    
    video::-webkit-media-controls-play-button {
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {
    .video-container {
        padding: 0.3rem;
    }
    
    .gallery-item {
        border-radius: 6px;
    }
    
    video::-webkit-media-controls-panel {
        padding: 0 8px;
    }
    
    video::-webkit-media-controls-play-button {
        transform: scale(1.3);
    }
}

/* 加载动画 */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
} 