/* 英雄横幅区域 - Swiper轮播样式 */
.hero-banner {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 标题和描述容器 */
.hero-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 80%;
    max-width: 1200px;
}

.hero-main-title {
    font-family: 'ALBB';
    font-size: 96px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-sub-desc {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Swiper分页器 - 底部居中显示 */
.hero-pagination {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 30px !important;
    top: auto !important;
    right: auto !important;
    z-index: 3;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto !important;
}

.hero-swiper .swiper-pagination-switch {
    display: inline-block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-switch:hover {
    background: rgba(91, 190, 240, 0.8);
}

.hero-swiper .swiper-active-switch {
    background: rgba(255, 255, 255, 1) !important;
}

/* 兼容新版Swiper的bullet样式 */
.hero-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet:hover {
    background: rgba(91, 190, 240, 0.8); /* 蓝色hover效果 */
}

.hero-pagination .swiper-pagination-bullet-active {
    background: rgba(91, 190, 240, 1) !important; /* 激活状态也是蓝色 */
}

/* 响应式设计 - 4K及以上 (保持12:5比例) */
@media (min-width: 3840px) {
    .hero-banner {
        height: 1600px; /* 3840 * (5/12) = 1600px */
    }
}

@media (min-width: 2560px) and (max-width: 3839px) {
    .hero-banner {
        height: 1067px; /* 2560 * (5/12) ≈ 1067px */
    }
}

/* 响应式设计 - 2K屏幕 2560x1440 (保持12:5比例) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .hero-banner {
        height: 800px; /* 1920 * (5/12) = 800px */
    }
}

/* 响应式设计 - 大屏幕 1441-1919px (保持12:5比例) */
@media (min-width: 1441px) and (max-width: 1919px) {
    .hero-banner {
        height: 600px; /* 1440 * (5/12) = 600px */
    }
}

/* 响应式设计 - 中等屏幕 1025-1440px (保持12:5比例) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-banner {
        height: 600px; /* 1440 * (5/12) = 600px */
    }
}

/* 响应式设计 - 笔记本 (保持12:5比例) */
@media (max-width: 1024px) {
    .hero-banner {
        height: 427px; /* 1024 * (5/12) ≈ 427px */
    }
}

/* 响应式设计 - 平板横屏 (保持12:5比例) */
@media (max-width: 768px) {
    .hero-banner {
        height: 320px; /* 768 * (5/12) = 320px */
    }

    .hero-main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-sub-desc {
        font-size: 16px;
    }

    .hero-pagination {
        bottom: 20px !important;
    }

    .hero-pagination .swiper-pagination-bullet,
    .hero-swiper .swiper-pagination-switch {
        width: 30px;
        height: 3px;
    }
}

/* 响应式设计 - 平板竖屏 (保持12:5比例) */
@media (max-width: 600px) {
    .hero-banner {
        height: 250px; /* 600 * (5/12) = 250px */
    }
}

/* 响应式设计 - 手机横屏 (保持12:5比例) */
@media (max-width: 480px) {
    .hero-banner {
        height: 200px; /* 480 * (5/12) = 200px */
    }

    .hero-main-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-sub-desc {
        font-size: 14px;
    }

    .hero-pagination {
        bottom: 15px !important;
    }

    .hero-pagination .swiper-pagination-bullet,
    .hero-swiper .swiper-pagination-switch {
        width: 25px;
        height: 3px;
        margin: 0 3px;
    }
}

/* 响应式设计 - 小屏手机 (保持12:5比例) */
@media (max-width: 375px) {
    .hero-banner {
        height: 156px; /* 375 * (5/12) ≈ 156px */
    }
}

