﻿/* 轮播基础样式保持不变 */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: 0.2s;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.carousel-indicators .indicator:focus {
    outline: none !important;
    box-shadow: none !important;
}




.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

/* 新增指示点样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: 0.2s;
    padding: 0;
}

.carousel-indicators .indicator.active {
    background: rgba(255,255,255,1);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel {
        height: 250px;
    }
    .carousel-indicators {
        bottom: 10px;
    }
}

