/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f7c52b;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px; /* 固定高度 */
}

#header-spacer {
    height: 70px; /* 与header初始高度一致 */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 30px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 5px 10px;
    font-weight: bold;
}

nav ul li a:hover {
    color: #f7c52b;
}

nav ul li a.active {
    color: #b2171a;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f7c52b;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s;
}

/* 横幅区域 */
.banner {
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.banner-image {
    width: 100vw;
    height: 0;
    padding-bottom: 36.5%; /* 根据图片比例调整 */
    background-image: url("../images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .banner-image {
        background-image: url("../images/banner800x400.jpg");
        padding-bottom: 70%; /* 移动端图片比例调整 */
        width: 100vw;
        max-width: 100%;
    }
}



/* 证书区域 */
.certificates {
    padding: 40px 0;
    background-color: #fff;
}

.cert-items {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cert-item {
    border: 1px solid #eee;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.cert-item:hover {
    transform: translateY(-15px);
}

/* 产品展示区域 */
.products {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-item h3 {
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight:normal;
    letter-spacing:2px;
}

/* 解决方案区域 */
.solutions {
    padding: 60px 0;
    background-color: #fff;
}

.solution-table {
    overflow-x: auto;
text-align:center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
}

table th {
    background-color: #c00003;
    color: #fff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* 特点区域 */
.features {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.feature-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-content {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #f7c52b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.feature-image {
    margin-bottom: 20px;
    text-align: center;
}

.feature-image img {
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-height: 300px;
}

/* 优势区域 */
.advantages {
    padding: 60px 0;
    background-color: #fff6d9;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advantage-item {
    display: flex;
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.advantage-content h3 {
    margin-bottom: 10px;
    font-size: 26px;
}

.advantage-content p {
    margin-bottom: 10px;
    font-size: 20px;
}

/* 页脚区域 */
footer {
    background-color: #e9a914;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
}