/* 基础重置 - 仿365400简洁风格 + 优化配色 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", Helvetica, Arial, sans-serif;
}
body {
    color: #5A4A34; /* 基础文字色 */
    background: #fff;
    line-height: 1.6;
    font-size: 14px;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
ul, li {
    list-style: none;
}
img {
    max-width: 100%;
    vertical-align: middle;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1200px) {
    .container {
width: 95%;
padding: 0 15px;
    }
}

/* 顶部导航 - 优化为#FB5E11主调 */
.header {
    background: #FB5E11; /* 顶部主色 */
    color: #fff; /* 导航文字白色 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 24px;
    font-weight: bold;
}
.logo span {
    color: #fff; /* logo点缀色改为白色 */
}
.nav {
    display: flex;
}
.nav li {
    margin: 0 18px;
}
.nav li a {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.nav li a:hover, .nav li a.active {
    color: #fff; /* 高亮文字白色 */
    border-bottom: 2px solid #fff; /* 下划线白色 */
}
/* 移动端导航适配 */
@media (max-width: 768px) {
    .header .container {
flex-direction: column;
height: auto;
padding: 15px 0;
    }
    .nav {
margin-top: 15px;
flex-wrap: wrap;
justify-content: center;
    }
    .nav li {
margin: 5px 10px;
    }
}

/* Banner轮播样式 */
.banner {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    height: 500px; /* 轮播图高度 */
}
.banner-slider {
    display: flex;
    width: 300%; /* 3张图则为300%，n张图则为n*100% */
    height: 100%;
    transition: transform 0.5s ease;
}
.banner-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D4B16A 0%, #FB5E11 100%); /* 渐变适配顶部主色 */
    color: #fff;
    padding: 0 20px;
}
/* 轮播图片样式 */
.banner-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2; /* 图片透明度，保证文字清晰 */
    object-fit: cover; /* 图片自适应铺满 */
    z-index: 1;
}
.banner-slide .container {
    position: relative;
    z-index: 2;
    text-align: center;
}
.banner-slide h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
}
.banner-slide p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.banner-slide .btn {
    display: inline-block;
    background: #FB5E11; /* 按钮主色 */
    color: #fff;
    padding: 12px 36px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.banner-slide .btn:hover {
    background: #e0540f; /* 按钮hover加深 */
    transform: translateY(-2px);
}
/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.3s ease;
}
.banner-indicator.active {
    background: #FB5E11; /* 指示器高亮色适配顶部主色 */
    width: 30px;
    border-radius: 6px;
}

/* 轮播左右切换按钮 - 优化< >符号显示 */
.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
    font-size: 20px;  /* 调整符号大小 */
    font-weight: bold; /* 加粗符号 */
    line-height: 1;    /* 消除行高影响 */
}
.banner-control:hover {
    background: #FB5E11;
}
.banner-control.prev {
    left: 20px;
}
.banner-control.next {
    right: 20px;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .banner-control {
        width: 30px;
        height: 30px;
        font-size: 16px; /* 移动端缩小符号 */
    }
}

/* 核心优势 */
.advantage {
    padding: 80px 0;
    background: #F9F5EB;
}
.advantage .title {
    text-align: center;
    margin-bottom: 60px;
}
.advantage .title h2 {
    font-size: 32px;
    color: #5A4A34;
    margin-bottom: 10px;
    font-weight: bold;
}
.advantage .title p {
    font-size: 16px;
    color: #7A684F;
}
.advantage-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.advantage-item {
    width: 23%;
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 30px;
}
.advantage-item .icon {
    font-size: 48px;
    color: #FB5E11; /* 图标色适配顶部主色 */
    margin-bottom: 20px;
}
.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #5A4A34;
}
.advantage-item p {
    color: #7A684F;
    font-size: 14px;
    line-height: 1.7;
}
@media (max-width: 992px) {
    .advantage-item {
width: 48%;
    }
}
@media (max-width: 576px) {
    .advantage-item {
width: 100%;
    }
}

/* 产品服务 */
.service {
    padding: 80px 0;
}
.service .title {
    text-align: center;
    margin-bottom: 60px;
}
.service .title h2 {
    font-size: 32px;
    color: #5A4A34;
    margin-bottom: 10px;
    font-weight: bold;
}
.service .title p {
    font-size: 16px;
    color: #7A684F;
}
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.service-item {
    flex: 1;
    min-width: 300px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.service-item .img-box {
    height: 200px;
    background: #FB5E11; /* 图片区背景适配顶部主色 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
.service-item .content {
    padding: 25px;
}
.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #5A4A34;
    font-weight: bold;
}
.service-item p {
    color: #7A684F;
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-item .btn {
    display: inline-block;
    padding: 8px 20px;
    background: #FB5E11; /* 按钮色适配顶部主色 */
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}
.service-item .btn:hover {
    background: #e0540f; /* 按钮hover加深 */
}

/* 合作伙伴 */
.partner {
    padding: 80px 0;
    background: #F9F5EB;
}
.partner .title {
    text-align: center;
    margin-bottom: 40px;
}
.partner .title h2 {
    font-size: 32px;
    color: #5A4A34;
    margin-bottom: 10px;
    font-weight: bold;
}
.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}
.partner-item {
    width: 120px;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #7A684F;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
}
.contact .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact .left {
    flex: 1;
    min-width: 300px;
}
.contact .left h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #5A4A34;
}
.contact .info {
    margin-bottom: 20px;
}
.contact .info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #5A4A34;
}
.contact .info p {
    font-size: 16px;
    color: #7A684F;
    line-height: 1.8;
}
.contact .right {
    flex: 1;
    min-width: 300px;
    background: #F9F5EB;
    padding: 30px;
    border-radius: 8px;
}
.contact .right h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #5A4A34;
}
.contact .form-item {
    margin-bottom: 20px;
}
.contact .form-item label {
    display: block;
    margin-bottom: 8px;
    color: #5A4A34;
}
.contact .form-item input, .contact .form-item textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.contact .form-item textarea {
    height: 120px;
    resize: none;
}
.contact .submit-btn {
    background: #FB5E11; /* 提交按钮适配顶部主色 */
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}
.contact .submit-btn:hover {
    background: #e0540f; /* 按钮hover加深 */
}

/* 页脚 - 优化为纯黑色背景+白色文字 */
.footer {
    background: #000; /* 页脚纯黑色背景 */
    color: #fff; /* 页脚文字白色 */
    padding: 50px 0 20px;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}
.footer-item {
    width: 23%;
    margin-bottom: 20px;
}
@media (max-width: 992px) {
    .footer-item {
width: 48%;
    }
}
@media (max-width: 576px) {
    .footer-item {
width: 100%;
    }
}
.footer-item h3 {
    font-size: 18px;
    color: #fff; /* 标题白色 */
    margin-bottom: 20px;
    font-weight: bold;
}
.footer-item ul li {
    margin-bottom: 10px;
}
.footer-item ul li a:hover {
    color: #FB5E11; /* 链接hover色适配顶部主色 */
}
.footer .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333; /* 分隔线改为深灰色 */
    font-size: 14px;
    color: #fff; /* 版权文字白色 */
}
.footer .copyright a {
    color: #FB5E11; /* 版权链接色适配顶部主色 */
}

/* 滚动导航背景调整 - 适配新配色 */
.header.scroll {
    background: #e0540f !important; /* 滚动时加深主色 */
}



/* Banner整体容器 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
}

/* 轮播外层容器（实现顺滑切换） */
.banner-slider-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 轮播滑块容器 */
.banner-slider {
    display: flex;
    width: 300%; /* 3张轮播图，宽度300% */
    height: 100%;
    transition: transform 0.5s ease-in-out; /* 顺滑切换动画 */
}

/* 单张轮播图 */
.banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播背景（渐变+图片叠加） */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* 图片半透明，叠加渐变更美观 */
}

/* 轮播文字内容 */
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 轮播标题 */
.slide-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease; /* 文字渐入动画 */
}

/* 轮播描述 */
.slide-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

/* 轮播按钮 */
.slide-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #FB5E11;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1.2s ease;
}

.slide-btn:hover {
    background-color: #e0540f;
    transform: translateY(-3px); /* 悬浮上移 */
    box-shadow: 0 8px 16px rgba(251, 94, 17, 0.2); /* 阴影效果 */
}

/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicator.active {
    width: 30px;
    border-radius: 6px;
    background-color: #FB5E11; /* 激活态用主色 */
}

/* 左右切换按钮 */
.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-control.prev {
    left: 20px;
}

.banner-control.next {
    right: 20px;
}

.banner-control:hover {
    background-color: #FB5E11;
}

.banner-control svg {
    transition: all 0.3s ease;
}

.banner-control:hover svg {
    stroke: #fff;
}

/* 文字渐入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配（移动端） */
@media (max-width: 768px) {
    .banner {
        height: 350px;
    }
    .slide-title {
        font-size: 28px;
    }
    .slide-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .slide-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    .banner-control {
        width: 40px;
        height: 40px;
    }
    .banner-indicators {
        bottom: 20px;
    }
}