/* 轮播模块整体样式 */
.image-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    position: relative;
    padding: 10px 60px;
}

/* 容器布局 */
.carousel-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
}

/* 图片滑动容器 */
.carousel-slides {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease-in-out;
}

/* 单张图片样式 */
.carousel-slide {
    min-width: 33.333%; /* 三图并排 */
    padding: 0 10px;
}

.carousel-slide img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4/5; /* 保持图片比例 */
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 箭头按钮样式 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}


.carousel-arrow--left {
    left: 5px;
}

.carousel-arrow--right {
    right: 5px;
}

/* 指示器样式 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.indicator {
    width: 8px;
    height: 8px;
    background: #f4c1c1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #d30c2d;
    transform: scale(1.3);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .carousel-slide {
        min-width: 50%; /* 平板两图并排 */
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 100%; /* 移动端单图显示 */
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow--left {
        left: 10px;
    }
    
    .carousel-arrow--right {
        right: 10px;
    }
}