/* ============================================
   横幅轮播样式
   ============================================ */

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    max-width: 900px;
    padding: 50px 40px;
}

.banner-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 3px;
    color: #ffffff;
}

.banner-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.banner-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 20;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    backdrop-filter: blur(3px);
}

.banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.banner-dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Banner按钮样式 */
.banner-content .btn {
    padding: 0.875rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.banner-content .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #0066cc;
    text-shadow: none;
}

.banner-content .btn-primary:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #0052a3;
}

.banner-content .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.banner-content .btn-secondary:hover {
    background: #ffffff;
    color: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.banner-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
}

.banner-arrow {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 102, 204, 0.7) 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.banner-arrow:hover {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(51, 136, 230, 0.85) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }

    .banner-content {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .banner-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-arrows {
        padding: 0 10px;
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .banner-controls {
        bottom: 25px;
        padding: 8px 15px;
        gap: 12px;
    }

    .banner-dot {
        width: 10px;
        height: 10px;
    }
}
