/* 视频背景英雄区样式 */
.hero-video {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 70px;
}

.hero-video .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-video .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.hero-video .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-video .hero-btns {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-video .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero-video .btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.hero-video .hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hero-video .stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-video .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.scroll-down a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 透明导航栏样式 */
.transparent-header {
    background-color: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

.transparent-header .nav-list a {
    color: #fff;
}

.transparent-header .nav-toggle {
    color: #fff;
}

.transparent-header .logo-dark {
    display: none;
}

.transparent-header .logo-light {
    display: block;
}

.transparent-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.transparent-header.scrolled .nav-list a {
    color: var(--text-color);
}

.transparent-header.scrolled .nav-toggle {
    color: #333;
}

.transparent-header.scrolled .logo-img {
    /* 恢复原来的颜色 */
    filter: none;
    -webkit-filter: none;
}

/* LOGO样式 - 使用滤镜实现白色效果 */
.logo-img {
    display: block;
    transition: filter 0.3s ease;
}

.transparent-header .logo-img {
    /* 使用滤镜将LOGO变为白色 */
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-video .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-video .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-video {
        height: 100vh;
    }
    
    .hero-content-wrapper {
        padding-top: 100px;
    }
    
    .hero-video .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-video .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-video .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-video .stat-item {
        width: 80%;
        padding: 15px;
    }
    
    .transparent-header .nav {
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .transparent-header .nav-list a {
        color: #fff;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .transparent-header.scrolled .nav {
        background-color: #fff;
    }
    
    .transparent-header.scrolled .nav-list a {
        color: var(--text-color);
    }
    
    .transparent-header .nav-toggle {
        color: #fff;
    }
    
    .transparent-header.scrolled .nav-toggle {
        color: #333;
    }
    
    /* 确保移动端下LOGO正确切换 */
    .transparent-header .logo-img {
        filter: brightness(0) invert(1);
        -webkit-filter: brightness(0) invert(1);
    }
    
    .transparent-header.scrolled .logo-img {
        filter: none;
        -webkit-filter: none;
    }
    
    .scroll-down {
        bottom: 60px;
    }
}

@media (max-width: 576px) {
    .hero-video {
        height: 100vh;
    }
    
    .hero-content-wrapper {
        padding-top: 80px;
    }
    
    .hero-video .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-video .hero-content p {
        font-size: 1rem;
    }
    
    .hero-video .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-video .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .hero-video .stat-item {
        width: 90%;
    }
    
    .scroll-down {
        bottom: 40px;
    }
    
    .scroll-down a {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 1.2rem;
    }
}
