/* ============================================
 * aiqilvse1.0 - 全宽幻灯片样式
 * 风格：大气、商务、全宽响应式
 * 建议图片尺寸：1920×800px
 * ============================================ */

/* --- 轮播容器 --- */
.aqs-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 41.666%; /* 800/1920 ≈ 41.67%，保持比例 */
    overflow: hidden;
    background: #1a1a2e;
    margin-top: 70px; /* 固定导航高度 */
    min-height: 300px;
    max-height: 800px;
}

/* 轨道 */
.aqs-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 每一张幻灯片 */
.aqs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease;
    transform: scale(1.05);
    z-index: 1;
}

.aqs-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* 背景图 - 全宽覆盖 */
.aqs-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* 图片自适应：随屏幕放大而放大 */
}

/* 暗色遮罩增强文字可读性 */
.aqs-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 60, 110, 0.75) 0%,
        rgba(26, 60, 110, 0.4) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

/* 文字内容层 */
.aqs-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 50px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 标题 */
.aqs-slide-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
    animation: aqsFadeUp 0.6s ease 0.3s both;
}

/* 描述 */
.aqs-slide-desc {
    font-size: clamp(14px, 1.8vw, 20px);
    line-height: 1.6;
    margin: 0 0 28px 0;
    opacity: 0.9;
    max-width: 600px;
    animation: aqsFadeUp 0.6s ease 0.5s both;
}

/* 按钮 */
.aqs-slide-btn {
    display: inline-block;
    padding: 12px 34px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: aqsFadeUp 0.6s ease 0.7s both;
}

.aqs-slide-btn:hover {
    background: #fff;
    color: #1a3c6e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* --- 指示器（点） --- */
.aqs-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.aqs-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.aqs-slider-dot.active,
.aqs-slider-dot:hover {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* --- 箭头 --- */
.aqs-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 32px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aqs-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.aqs-slider-prev { left: 20px; }
.aqs-slider-next { right: 20px; }

/* --- 懒加载 / 占位 --- */
.aqs-slide-bg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #1a1a2e;
}

/* ============================================
 * 动画
 * ============================================ */
@keyframes aqsFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
 * 响应式适配
 * ============================================ */
@media (max-width: 768px) {
    .aqs-slider {
        margin-top: 60px;
        padding-bottom: 56.25%; /* 16:9 比例 */
        min-height: 200px;
    }

    .aqs-slide-content {
        padding: 20px 30px;
        align-items: center;
        text-align: center;
    }

    .aqs-slide-title {
        font-size: 22px;
        letter-spacing: 0;
    }

    .aqs-slide-desc {
        font-size: 14px;
    }

    .aqs-slide-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .aqs-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 36px;
    }

    .aqs-slider-prev { left: 8px; }
    .aqs-slider-next { right: 8px; }

    .aqs-slider-dots {
        bottom: 16px;
        gap: 10px;
    }

    .aqs-slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* --- 超小屏 --- */
@media (max-width: 480px) {
    .aqs-slide-title { font-size: 18px; }
    .aqs-slide-desc { display: none; }
    .aqs-slider-arrow { display: none; }
}

