/* Hero Slider Section */
.hero-slider-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1; 
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center top;
}

.hero-slider-section.shrunk {
    transform: scale(0.9) translateY(130px);
    border-radius: 20px;
}

.foreground { color: #fff; }

/* Swiper Setup */
.swiper { width: 100%; height: 100%; }
.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    /* 
     * 图片对齐方式说明：
     * 1. 居中显示（默认）：background-position: center center;
     * 2. 贴左侧边缘：background-position: left center;
     * 3. 贴右侧边缘：background-position: right center;
     */
    background-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

.slide-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    max-width: 1440px;
    margin: 0 auto;
}

.slide-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    color: #f0f0f0;
    max-width: 600px;
    border-left: 4px solid #fff;
    padding-left: 20px;
}

.slide-btn {
    opacity: 0;
    transform: translateY(30px);
}



/* Controls Container */
.hero-controls-container {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    gap: 15px; /* Space between play button and pagination */
}

/* Play/Pause Button */
.play-pause-btn {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.play-pause-btn:hover {
    color: #fff;
}

/* Custom Pagination Styles */
.swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    align-items: center;
    transform: none !important;
    z-index: auto !important;
}

.swiper-pagination-bullet {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active .pagination-dot {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.pagination-line {
    width: 80px; /* Long distance between dots */
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
    position: relative;
    overflow: hidden;
}

.pagination-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #fff;
    /* Transition is handled by JS for smooth progress, or CSS if step-based */
}

@media only screen and (max-width: 768px) {
    .slide-title { font-size: 2.5rem; }
    .slide-content-container { padding-left: 20px; padding-right: 20px; }
    
    .pagination-line {
        width: 40px; /* Shorter lines on mobile */
        margin: 0 8px;
    }
}

/* Ensure FontAwesome icons are visible */
.fa-pause::before { content: "\f04c"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.fa-play::before { content: "\f04b"; font-family: "Font Awesome 6 Free"; font-weight: 900; }


