/* home.css - 首页独有样式 */

/* 轮播图样式 */
.carousel {
    margin-top: 70px;
    background: #fff;
    position: relative;
    padding-bottom: 30px;
}

.carousel-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    position: relative;
    padding: 20px 0;
}

.carousel-item img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    background: none;
    z-index: 15;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 15px;
}

.carousel-indicators {
    bottom: 20px;
    margin-bottom: 20px;
    z-index: 15;
}

.carousel-indicators li {
    width: 30px;
    height: 3px;
    background-color: rgba(0,0,0,0.2);
    border: none;
    margin: 0 6px;
    transition: background-color 0.3s ease;
}

.carousel-indicators li.active {
    background-color: #007bff;
}

@media (max-width: 768px) {
    .carousel {
        margin-top: 60px;
        padding-bottom: 40px;
    }
    
    .carousel-inner {
        padding: 10px 0;
    }
    
    .carousel-item img {
        max-height: 300px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        margin-bottom: 10px;
    }
}

/* 内容区域样式 */
.advantage-box {
    margin: 5px auto;
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    background: #fff;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-list-cont {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    text-align: center;
}

.text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text2 {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text2 a {
    color: #007bff;
    text-decoration: none;
}

.text2 a:hover {
    text-decoration: underline;
}