/* =================================
   Video Showcase 模块样式
   集成到首页样式
================================= */

.video-showcase-container {
    width: 100%;
    padding: 0;
}

.video-showcase-container .content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.video-showcase-container .video-title {
    font-size: 2.5vw;
    font-weight: 700;
    color: #02669c;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.video-showcase-container .video-subtitle {
    font-size: 1.2vw;
    color: #666;
    text-align: center;
    max-width: 900px;
}

.video-showcase-container .main-display-container {
    width: 100%;
    max-width: 55vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    background-color : bg-f5;
}

.video-showcase-container .main-display {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    background: transparent;
    position: relative;
}

.video-showcase-container .main-display video,
.video-showcase-container .main-display picture,
.video-showcase-container .main-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-showcase-container .main-display video::-webkit-media-controls,
.video-showcase-container .main-display video::-webkit-media-controls-panel {
    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}

.video-showcase-container .thumbnail-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 0 60px;
    margin-bottom: 40px;
}

.video-showcase-container .thumbnail-swiper {
    width: 100%;
    height: 120px;
}

.video-showcase-container .thumbnail-wrapper {
    display: flex;
}

.video-showcase-container .thumbnail-slide {
    width: 160px !important;
    height: 130px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
}

.video-showcase-container .thumbnail-slide.active {
    border-color: #02669c;
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(2, 102, 156, 0.3);
}

.video-showcase-container .thumbnail-slide:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: #34b6fd;
}

.video-showcase-container .thumbnail-slide img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.video-showcase-container .thumbnail-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #02669c;
    font-weight: bold;
    pointer-events: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.video-showcase-container .thumbnail-slide:hover .thumbnail-play-button {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.video-showcase-container .thumbnail-title {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 8px 10px;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-showcase-container .thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #02669c;
    border: 2px solid #02669c;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-showcase-container .thumbnail-nav:hover {
    background: #02669c;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(2, 102, 156, 0.4);
}

.video-showcase-container .thumbnail-nav.prev { left: -70px; }
.video-showcase-container .thumbnail-nav.next { right: -70px; }

.video-showcase-container .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.video-showcase-container .btn {
    padding: 16px 45px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.video-showcase-container .btn-primary {
    background: linear-gradient(to right, #02669c, #34b6fd);
    color: #fff;
    box-shadow: 0 4px 15px rgba(2, 102, 156, 0.3);
}

.video-showcase-container .btn-primary:hover {
    background: linear-gradient(to right, #034d77, #2698d9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 102, 156, 0.4);
    letter-spacing: 2px;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .video-showcase-container .video-title {
        font-size: 2.8vw;
    }
}

@media (max-width: 1280px) {
    .video-showcase-container .video-title {
        font-size: 3.2vw;
    }
    
    .video-showcase-container .video-subtitle {
        font-size: 1.5vw;
    }
}

@media (max-width: 1024px) {
    .video-showcase-container .video-title {
        font-size: 4vw;
    }
    
    .video-showcase-container .video-subtitle {
        font-size: 2vw;
    }
    
    .video-showcase-container .main-display-container {
        max-width: 95vw;
    }
    
    .video-showcase-container .main-display {
        max-height: 60vh;
    }
    
    .video-showcase-container .thumbnail-swiper {
        height: 140px;
    }
}

@media (max-width: 900px) {
    .video-showcase-container .video-title {
        font-size: 5vw;
    }
    
    .video-showcase-container .video-subtitle {
        font-size: 2.5vw;
    }
    
    .video-showcase-container .main-display {
        max-height: 50vh;
        aspect-ratio: 16 / 9;
    }
    
    .video-showcase-container .thumbnail-carousel {
        padding: 0 50px;
    }
    
    .video-showcase-container .thumbnail-slide {
        width: 130px !important;
        height: 115px;
    }
    
    .video-showcase-container .thumbnail-swiper {
        height: 130px;
    }
    
    .video-showcase-container .thumbnail-nav {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .video-showcase-container .thumbnail-nav.prev { left: -60px; }
    .video-showcase-container .thumbnail-nav.next { right: -60px; }
}

@media (max-width: 768px) {
    .video-showcase-container .video-title {
        font-size: 6vw;
    }
    
    .video-showcase-container .video-subtitle {
        font-size: 3vw;
    }
    
    .video-showcase-container .content-wrapper {
        gap: 30px;
        padding: 0 15px;
    }
    
    .video-showcase-container .main-display-container {
        max-width: 98vw;
    }
    
    .video-showcase-container .main-display {
        max-height: 45vh;
    }
    
    .video-showcase-container .thumbnail-carousel {
        padding: 0 40px;
        margin-bottom: 30px;
    }
    
    .video-showcase-container .thumbnail-slide {
        width: 110px !important;
        height: 105px;
    }
    
    .video-showcase-container .thumbnail-swiper {
        height: 120px;
    }
    
    .video-showcase-container .thumbnail-nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .video-showcase-container .video-title {
        font-size: 7vw;
        margin-bottom: 15px;
    }
    
    .video-showcase-container .video-subtitle {
        font-size: 3.5vw;
    }
    
    .video-showcase-container .content-wrapper {
        gap: 20px;
    }
    
    .video-showcase-container .main-display {
        max-height: 40vh;
    }
    
    /*.video-showcase-container .thumbnail-carousel {*/
    /*    padding: 0 10px;*/
    /*    margin-bottom: 25px;*/
    /*}*/
    
    /*.video-showcase-container .thumbnail-slide {*/
    /*    width: 90px !important;*/
    /*    height: 95px;*/
    /*}*/
    
    /*.video-showcase-container .thumbnail-swiper {*/
    /*    height: 110px;*/
    /*}*/

    /* 在 @media (max-width: 560px) 中修改 */

    .video-showcase-container .thumbnail-carousel {
        padding: 0 5px;
        margin-bottom: 25px;
        overflow: hidden;
    }

    .video-showcase-container .swiper-slide {
        width: auto !important;
        height: auto !important;
        margin-right: 0 !important;
    }

    .video-showcase-container .thumbnail-wrapper {
        gap: 5px !important;
    }

    .video-showcase-container .thumbnail-slide {
        width: 80px !important;
        height: 105px;
        border-radius: 0;
    }

    .video-showcase-container .thumbnail-slide img {
        height: 75px;
        border-radius: 0;
    }
    
    .video-showcase-container .btn {
        padding: 14px 35px;
        font-size: 14px;
    }
}

