/* 网站的额外样式 */
.custom-badge {
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 5px;
}

/* 轮播图样式 */
.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .carousel-caption {
        bottom: 50px;
        padding: 10px;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 高亮效果 */
.highlight {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 3px solid #3498db;
    padding-left: 15px;
}