/* 全局样式 */
:root {
    --primary-color: #1e50a2;
    --secondary-color: #3478f6;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 幻灯片样式 */
.swiper-container {
    width: 100%;
    height: 380px;
    margin-top: 80px;
    position: relative;
    padding-bottom: 30px;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 100px;
    text-align: left;
}

.slide-content h2 {
    color: var(--white);
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 分页器样式 */
.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: #ccc;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* 数据统计样式 */
.statistics {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.statistics .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 企业标语样式 */
.slogan {
    padding: 60px 0;
    text-align: center;
}

.slogan h2 {
    font-size: 36px;
    color: var(--primary-color);
}

/* 核心产品样式 */
.core-products {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.core-products .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 典型客户样式 */
.clients {
    padding: 60px 0;
}

.clients h2 {
    text-align: center;
    margin-bottom: 40px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.client-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
}

.footer-content {
    text-align: center;
}

.footer-info p {
    margin: 10px 0;
    color: #fff;
}

/* 页脚容器样式 */
.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: #fff;
}

.footer-frame {
    width: 100%;
    max-width: 1200px;
    height: 150px;
    border: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .statistics .container,
    .core-products .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .nav-links {
        margin-top: 15px;
    }
    
    .nav-links li {
        margin: 0 15px;
    }
    
    .swiper-container {
        height: 200px;
        margin-top: 120px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .statistics .container {
        grid-template-columns: 1fr;
    }
    
    .core-products .container {
        grid-template-columns: 1fr;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 页面Banner样式 */
.page-banner {
    margin-top: 80px;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 关于我们部分样式 */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 32px;
}

.about-text p {
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 资质荣誉样式 */
.honors {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.honors h2,
.patents h2,
.culture h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 32px;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.honor-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.honor-item img:hover {
    transform: scale(1.05);
}

/* 知识产权样式 */
.patents {
    padding: 60px 0;
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.patent-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.patent-item img:hover {
    transform: scale(1.05);
}

/* 企业文化样式 */
.culture {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.culture-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.culture-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.culture-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 响应式设计补充 */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .patents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 100px;
        margin-top: 120px;
    }
    
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

/* 解决方案页面样式 */
.solutions {
    padding: 60px 0;
}

.solution-category {
    margin-bottom: 60px;
}

.solution-category:last-child {
    margin-bottom: 0;
}

.solution-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.solution-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.solution-header h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 0;
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.solution-item:hover {
    transform: translateY(-5px);
}

.solution-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.solution-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* 解决方案页面响应式设计 */
@media (max-width: 1024px) {
    .solution-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solution-header {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-icon {
        margin: 0 auto 15px;
    }
    
    .solution-items {
        grid-template-columns: 1fr;
    }
}

/* 联系我们页面样式 */
.contact-info {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 5px 0;
}

/* 地图样式 */
.map-section {
    padding: 0 0 60px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 100%;
}

/* 微信公众号样式 */
.wechat-section {
    padding: 60px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.wechat-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
}

.wechat-qr {
    display: inline-block;
}

.wechat-qr img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

.wechat-qr p {
    color: var(--text-color);
}

/* 联系我们页面响应式设计 */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
} 