/* Banner样式增强 */

/* 确保banner容器有正确的定位 */
.banner {
    position: relative;
}

/* 半透明黑色遮罩 */
.banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    z-index: 1;
}

/* Banner内容区域 */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
}

.banner-content .wp {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
}

/* Banner标题 */
.banner-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Banner描述 */
.banner-desc {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 咨询按钮 */
.consult-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6600;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.consult-btn:hover {
    background-color: #ff8533;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.4);
}

/* 确保轮播图正常显示 */
.banner .item {
    position: relative;
}

.banner .con {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .banner-title {
        font-size: 36px;
    }
    
    .banner-desc {
        font-size: 16px;
    }
    
    .consult-btn {
        padding: 10px 25px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .banner-title {
        font-size: 28px;
    }
    
    .banner-desc {
        font-size: 14px;
    }
    
    .consult-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}