/* 首页banner样式 */
.banners {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pics_wrap .font-box {
    width: calc(100% - 140px);
    height: calc(100% - 100px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* 确保文字在轮播图上层 */
}

.pics_wrap .font-box .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.pics_wrap .font-box .imgbox {
    position: absolute;
    right: 0;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    /* 增加产品图立体感 */
}

/* 文字增强方案 */
.pics_wrap .font-box .inner {
    background: linear-gradient(to right,
            rgba(15, 28, 46, 0.9) 60%,
            rgba(15, 28, 46, 0.4) 100%);
    /* 渐变深色背景 */
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(3px);
    /* 毛玻璃效果 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pics_wrap .font-box .font1 {
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* 文字阴影 */
    position: relative;
}

.pics_wrap .font-box .font1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #eb9b2a;
    /* 保留原主题色 */
}

.pics_wrap .font-box .font2 {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 25px;
    line-height: 1.6 !important;
}

/* 响应式调整 */
@media(min-width:992px) {
    .pics_wrap .font-box .imgbox img {
        max-width: 440px;
        transform: translateX(20px);
        /* 增加呼吸空间 */
    }

    .pics_wrap .font-box .font1 {
        font-size: 42px;
        letter-spacing: 2px;
        /* 增加字间距 */
    }

    .pics_wrap .font-box .font2 {
        font-size: 26px;
    }

    .inner {
        max-width: 60%;
        /* 控制文字区域宽度 */
    }
}

@media(max-width:992px) {
    .pics_wrap .font-box .imgbox img {
        max-width: 150px;
    }

    .pics_wrap .font-box .inner {
        padding: 20px;
    }

    .pics_wrap .font-box .font1 {
        font-size: 26px;
    }

    .pics_wrap .font-box .font2 {
        font-size: 18px;
        margin-top: 15px;
    }
}

@media(max-width:468px) {
    .pics_wrap .font-box .imgbox img {
        display: none;
    }

    .pics_wrap .font-box {
        width: 100%;
        padding: 0 15px;
    }

    .pics_wrap .font-box .inner {
        padding: 15px;
        backdrop-filter: none;
        /* 移动端禁用模糊效果 */
    }

    .pics_wrap .font-box .font1 {
        font-size: 18px;
    }

    .pics_wrap .font-box .font2 {
        font-size: 13px;
        margin-top: 10px;
    }
}

/* 轮播图遮罩 */
#html5zoo-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}