/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #0056b3;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #003d82;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    color: #0056b3;
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: #666;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #0056b3;
    background-color: #e6f0ff;
}

/* 页面头部 */
.page-header {
    background-color: #0056b3;
    color: #fff;
    padding: 40px 5%;
    text-align: center;
}

.page-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* 首页英雄区 */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 5%;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 特色区域 */
.features {
    display: flex;
    justify-content: space-between;
    padding: 60px 5%;
    background-color: #fff;
}

.feature {
    flex: 1;
    padding: 20px;
    text-align: center;
    margin: 0 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

/* 号召行动区 */
.cta {
    background-color: #0056b3;
    color: #fff;
    padding: 60px 5%;
    text-align: center;
}

.cta h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: #fff;
    color: #0056b3;
}

.cta .btn:hover {
    background-color: #e6f0ff;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-info, .footer-links {
    flex: 1;
    margin-right: 30px;
}

.footer-info h3, .footer-links h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

/* 关于我们页面样式 */
.about-content {
    padding: 50px 5%;
    background-color: #fff;
}

.company-intro, .company-history, .company-values {
    margin-bottom: 50px;
}

.company-intro h3, .company-history h3, .company-values h3 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 24px;
}

.company-intro p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #0056b3;
}

.timeline li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline li:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #0056b3;
}

.year {
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 5px;
    display: block;
}

.timeline-content h4 {
    margin-bottom: 5px;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.value-item {
    flex-basis: calc(50% - 20px);
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.value-item h4 {
    color: #0056b3;
    margin-bottom: 10px;
}

/* 产品展示页面样式 */
.product-categories {
    padding: 50px 5%;
    background-color: #fff;
}

.product-categories h3 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.category-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0056b3;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    color: #0056b3;
    margin-bottom: 10px;
}

.manufacturing-process {
    padding: 50px 5%;
    background-color: #f5f5f5;
}

.manufacturing-process h3 {
    color: #0056b3;
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.process-step {
    flex-basis: calc(25% - 20px);
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.process-step h4 {
    color: #0056b3;
    margin-bottom: 10px;
}

/* 联系我们页面样式 */
.contact-content {
    display: flex;
    padding: 50px 5%;
    background-color: #fff;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.contact-info h3, .contact-form h3 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 24px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: #0056b3;
    margin-bottom: 10px;
}

.info-item p {
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.location {
    padding: 50px 5%;
    background-color: #f5f5f5;
}

.location h3 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.map-container {
    margin-bottom: 30px;
}

.map-placeholder {
    height: 400px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.transportation h4 {
    color: #0056b3;
    margin-bottom: 15px;
    text-align: center;
}

.transport-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.transport-option {
    flex-basis: calc(50% - 20px);
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.transport-option h5 {
    color: #0056b3;
    margin-bottom: 10px;
}

.transport-option p {
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features {
        flex-direction: column;
    }
    
    .feature {
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info, .footer-links {
        margin-bottom: 30px;
    }
    
    .value-item, .process-step, .transport-option {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero {
        padding: 60px 5%;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .contact-info, .contact-form {
        padding: 0;
    }
}