/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.commonweb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.logo {
    float: left;
    height: 60px;
}

.logo img {
    height: 100%;
}

.header-nav {
    float: right;
}

.header-nav ul > li {
    float: left;
    position: relative;
    margin-left: 40px;
}

.header-nav h4 {
    font-size: 16px;
    line-height: 60px;
}

.header-nav h4 a:hover {
    color: #fdd100;
}

.sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 0;
    min-width: 120px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sub-nav a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
    text-align: center;
}

.sub-nav a:hover {
    background: #f5f5f5;
    color: #fdd100;
}

/* 轮播图样式 */
.banner {
    margin-top: 60px;
}

.bannerSwiper {
    width: 100%;
    height: 600px;
}

.bannerSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.8);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fdd100;
}

/* 公司简介样式 */
.index-nature {
    padding: 80px 0;
}

.nat-title {
    margin-bottom: 50px;
}

.nat-title img {
    height: 60px;
}

.nathumb {
    float: right;
    width: 45%;
}

.natinfor {
    float: left;
    width: 50%;
}

.natinfor .title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.natinfor .desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.natinfor .content {
    margin-bottom: 30px;
}

.natinfor .content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.inx-yearslist li {
    float: left;
    margin-right: 50px;
}

.inx-yearslist .num {
    font-size: 24px;
}

/* 产品中心样式 */
.index-product {
    background: #f5f5f5;
    padding: 80px 0;
}

.index-text {
    margin-bottom: 50px;
}

.index-text .en {
    font-size: 48px;
    color: #ddd;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.index-text .cn {
    font-size: 36px;
    color: #333;
    margin-top: 10px;
}

.index-text .cn span {
    color: #fdd100;
}

.product-list .item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.product-list .img {
    height: 300px;
    overflow: hidden;
}

.product-list .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-list .item:hover .img img {
    transform: scale(1.1);
}

.product-list .text {
    padding: 20px;
}

.product-list .text h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-list .text p {
    color: #666;
}

/* 服务优势样式 */
.index-service {
    padding: 80px 0;
}

.service-list li {
    float: left;
    width: 50%;
    padding: 0 30px;
    text-align: center;
}

.service-list .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.service-list h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-list p {
    color: #666;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #fff;
}

.footer-main {
    padding: 50px 0;
}

.footer-contact h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #999;
}

.footer-bottom {
    background: #222;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
}

/* 移动端适配 */
.mobnav-btn {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    margin-top: 17px;
    float: right;
}

.mobnav-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    position: absolute;
    transition: all 0.3s;
}

.mobnav-btn span:nth-child(1) {
    top: 0;
}

.mobnav-btn span:nth-child(2) {
    top: 11px;
}

.mobnav-btn span:nth-child(3) {
    bottom: 0;
}

.mobnav-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.mobnav-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobnav-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* 页面标题样式 */
.page-banner {
    margin-top: 90px;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 24px;
    font-family: Arial, sans-serif;
}

/* 关于我们页面样式 */
.about-section {
    padding: 80px 0;
}

.about-content {
    margin-bottom: 60px;
}

.about-content h3,
.about-advantage h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.about-content .text {
    color: #666;
    line-height: 1.8;
}

.about-content .text p {
    margin-bottom: 20px;
}

.about-advantage ul {
    margin: 0 -30px;
}

.about-advantage li {
    float: left;
    width: 50%;
    padding: 0 30px;
    text-align: center;
}

.about-advantage .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.about-advantage h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-advantage p {
    color: #666;
}

/* 品牌文化页面样式 */
.culture-section {
    padding: 80px 0;
}

.culture-mission,
.culture-concept,
.culture-history {
    margin-bottom: 80px;
}

.culture-mission h3,
.culture-concept h3,
.culture-history h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content .text {
    color: #666;
    line-height: 1.8;
    font-size: 18px;
}

.concept-list {
    margin: 0 -30px;
}

.concept-list li {
    float: left;
    width: 50%;
    padding: 0 30px;
    margin-bottom: 40px;
}

.concept-list .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.concept-list h4 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.concept-list p {
    color: #666;
    line-height: 1.8;
    text-align: center;
}

.history-list {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.history-list:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ddd;
    margin-left: -0.5px;
}

.history-item {
    position: relative;
    margin-bottom: 60px;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item .year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #4CAF50;
    color: #fff;
    font-size: 20px;
    border-radius: 20px;
}

.history-item .content {
    width: 45%;
    padding: 60px 30px 20px;
    background: #f5f5f5;
    border-radius: 10px;
}

.history-item:nth-child(odd) .content {
    float: left;
}

.history-item:nth-child(even) .content {
    float: right;
}

.history-item .content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.history-item .content p {
    color: #666;
    line-height: 1.6;
}

.logo-title {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    height: 100%;
    font-family: "SimSun", "宋体", serif;  
}

.logo-title h1 {
    font-size: 36px;
    color: #333;
    letter-spacing: 3px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 60px;
    font-family: "SimSun", "宋体", serif;  
    background: linear-gradient(to right, #333, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {
    .header-nav ul > li {
        margin-left: 20px;
    }
    
    .bannerSwiper {
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .mobnav-btn {
        display: block;
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .header-nav.active {
        display: block;
    }
    
    .header-nav ul > li {
        float: none;
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .header-nav h4 {
        line-height: 50px;
        padding: 0 15px;
    }
    
    .sub-nav {
        position: static;
        transform: none;
        box-shadow: none;
        background: #f5f5f5;
    }
    
    .bannerSwiper {
        height: 400px;
    }
    
    .nathumb,
    .natinfor {
        float: none;
        width: 100%;
    }
    
    .nathumb {
        margin-bottom: 30px;
    }
    
    .service-list li {
        float: none;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .page-title h2 {
        font-size: 28px;
    }
    
    .page-title p {
        font-size: 18px;
    }
    
    .about-advantage li {
        float: none;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .about-advantage ul {
        margin: 0;
    }
    
    .concept-list li {
        float: none;
        width: 100%;
    }
    
    .history-list:before {
        left: 20px;
    }
    
    .history-item .year {
        left: 20px;
        transform: none;
    }
    
    .history-item .content {
        width: auto;
        margin-left: 70px;
        float: none !important;
    }
}

@media screen and (max-width: 480px) {
    .bannerSwiper {
        height: 300px;
    }
    
    .natinfor .title {
        font-size: 28px;
    }
    
    .index-text .en {
        font-size: 36px;
    }
    
    .index-text .cn {
        font-size: 28px;
    }
}
