/* 轮播图样式 */
.slider-container {
    width: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 60px;
    left: 50px;
    max-width: 550px;
    color: white;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.slide-caption h2 {
    font-size: 34px;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.slide-caption p {
    font-size: 18px;
    opacity: 0.9;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #555;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: white;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slider {
        height: 350px;
    }
    
    .slide-caption {
        left: 30px;
        bottom: 30px;
        max-width: 60%;
    }
    
    .slide-caption h2 {
        font-size: 24px;
    }
    
    .slide-caption p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .slider {
        height: 250px;
    }
    
    .slide-caption {
        left: 20px;
        bottom: 20px;
    }
    
    .slide-caption h2 {
        font-size: 20px;
    }
    
    .slide-caption p {
        font-size: 14px;
    }
    
    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}