/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/><circle fill="%23e0e0e0" cx="200" cy="200" r="50"/><circle fill="%23d0d0d0" cx="800" cy="400" r="80"/></svg>');
    background-size: cover;
    background-position: center;
    height: 50vh; /* 高度减少一半 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffd700;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-info {
    margin-bottom: 2rem;
}

.hero-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1e3c72;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* 章节样式 */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

/* 公司简介 */
.about {
    background: white;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    max-width: 100%;
    margin: 0 0 2rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两栏布局 */
    gap: 3rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: #1e3c72;
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.1);
}

.info-label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.info-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* 居中显示 */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image.spacer {
    margin-top: 2rem;
}

/* 产品展示图片居中 */
.product-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* 居中显示 */
}

/* 技术合作图片居中 */
.cooperation-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* 居中显示 */
}

/* 社会回馈图片居中 */
.social-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* 居中显示 */
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #1e3c72;
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* 设备介绍 */
.equipment {
    background: #f8f9fa;
}

.equipment-category {
    margin-bottom: 4rem;
}

.equipment-category h3 {
    font-size: 1.8rem;
    color: #2a5298;
    margin-bottom: 2rem;
    text-align: center;
    border-left: 5px solid #1e3c72;
    padding-left: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr; /* 每行只显示一个项目 */
    gap: 2rem;
    margin-top: 2rem;
}

.equipment-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #1e3c72;
}

.equipment-card.featured {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff9e6, #fff);
}

.equipment-card h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

/* 确保设备图片完整显示 */
.equipment-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.equipment-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.equipment-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec {
    background: #f8f9fa;
    color: #1e3c72;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}

/* 技术合作 */
.cooperation {
    background: white;
}

.cooperation-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cooperation-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.partnership-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partnership-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
}

.partnership-item i {
    font-size: 2rem;
    color: #1e3c72;
}

.partnership-item span {
    font-size: 1rem;
    color: #333;
}

/* 资质认证 */
.certification {
    background: #f8f9fa;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #1e3c72;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    font-size: 2rem;
    color: white;
}

.certification-card h4 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.certification-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 企业文化 */
.culture {
    background: white;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.culture-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #1e3c72;
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-icon i {
    font-size: 2rem;
    color: white;
}

.culture-card h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.culture-card p {
    color: #666;
    line-height: 1.6;
}

/* 主要客户 */
.clients {
    background: #f8f9fa;
}

.clients-content {
    text-align: center;
    max-width: 1600px;

    margin: 0 auto;
}

.clients-image.centered {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.clients-image.centered img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 800px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.clients-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.client-logo {
    background: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    font-weight: bold;
    color: #1e3c72;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-3px);
    border-color: #1e3c72;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.1);
}

/* 联系我们 */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
}

.contact-item i {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.contact-form h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #e9ecef;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e9ecef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #e9ecef;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partnership-info {
        grid-template-columns: 1fr;
    }
    
    .certification-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .equipment-card {
        padding: 1.5rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-logos {
        flex-direction: column;
        align-items: center;
    }
}
