/* 自定义样式 */
html,
body {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    position: relative;
    overflow: hidden;
}

/* 导航栏样式 */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #2d3c51;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-menu.scrolled {
    background: rgba(45, 60, 81, 0.9);
}

.nav-link {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: #eed2b0 2px solid;
}

/* .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
} */

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #2e3c52;
    background-color: #eed2b0;
}

/* 背景渐变动画 */
.bg-animate {
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 内容动画 */
.slide-content {
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 分页器样式 */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

/* 自定义滚动条隐藏 */
::-webkit-scrollbar {
    display: none;
}

.s1 {
    background-image: url(../wap/images/s1bg.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    
	background-size: auto 100%;
	    background-color: #2d3c51;
}

.s3 {
    background-color: #2d3c51;
}
.s3-img-box {
    height: 60vh;
    width: auto;
}
.s3-more {
    width: 20vw;
}
.s5 {
    background-color: #2d3c51;
}
.s5-img {
    width: 55vw;
}
.s5-img-more {
    width: 20vw;
}
.s6 {
    background-color: #2d3c51;
}
.s6-img {
    width: 55vw;
}

video {
    width: 100%;
    height: 90%;
    object-fit: cover;
}
.s4 {
    background-color: #2d3c51;
}
.s4-more1 {
    width: 20vw;
}
.cp-img{
    width: 15vw;
}
/* Slide 4 内容滚动样式 */
.has-scroll-content {
    align-items: flex-start;
    /* 顶部对齐，方便滚动 */
}
.has-scroll-content .slide-content {
    /* 覆盖默认动画，避免内部滚动时也有位移动画 */
    transform: none;
    opacity: 1;
}