/* 产品页面视频样式 */

/* 视频背景样式 - 仅在产品页面应用 */
body.products-page .production-video-section {
    position: absolute;
    top: 15;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

body.products-page .video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

body.products-page .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* 视频原生控制条样式优化 - 仅保留背景样式 */
.video-container video::-webkit-media-controls {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

/* 页面头部样式调整 - 仅在产品页面应用 */
body.products-page .page-header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* 文字内容区域样式 - 悬浮在视频底部 */
body.products-page .page-content-header {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    background: none;
    padding: 0;
    box-shadow: none;
}

body.products-page .page-content-header h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
    letter-spacing: 1px;
    white-space: nowrap;
}

body.products-page .page-content-header p {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body.products-page .page-header {
        min-height: 80vh;
    }
    
    body.products-page .page-content-header {
        bottom: 20%;
    }
    
    body.products-page .page-content-header h1 {
        font-size: 2.5rem;
        font-weight: 900;
        white-space: nowrap;
    }
    
    body.products-page .page-content-header p {
        font-size: 1.2rem;
        font-weight: 600;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    body.products-page .page-header {
        min-height: 70vh;
    }
    
    body.products-page .page-content-header {
        bottom: 25%;
    }
    
    body.products-page .page-content-header h1 {
        font-size: 2rem;
        font-weight: 900;
        white-space: nowrap;
    }
    
    body.products-page .page-content-header p {
        font-size: 1rem;
        font-weight: 600;
        white-space: nowrap;
    }
}
