/*
 * 轮播图组件样式
 * 包含轮播容器、幻灯片和指示器的样式
 */

/* 轮播图容器样式 */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 300px;
}

/* 轮播图单个幻灯片样式 */
.carousel-slide {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* 当前活动幻灯片样式 */
.carousel-slide.active {
    display: flex;
}

/* 轮播图指示器容器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

/* 单个指示器样式 */
.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 当前活动指示器样式 */
.indicator.active {
    background-color: white;
}

/* 轮播图内容样式 */
.carousel-slide h2 {
    font-size: 1.875rem; /* 3xl */
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.carousel-slide p {
    margin-top: 0.5rem;
    color: rgba(219, 234, 254, 1); /* text-blue-100 */
}

/* 响应式设计 */
@media (max-width: 640px) {
    .carousel-container {
        height: 200px;
    }

    .carousel-slide {
        padding: 1.5rem;
    }

    .carousel-slide h2 {
        font-size: 1.5rem;
    }
}