/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 20px;
    font-weight: bold;
    color: #1a5276;
    white-space: nowrap;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav ul li a {
    color: #333;
    font-size: 15px;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #1a5276;
    border-bottom: 2px solid #1a5276;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner 区域 */
.banner {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* 服务模块 */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a5276;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1a5276;
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 20px;
    color: #1a5276;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 关于我们简介 */
.about-brief {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1a5276;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
    border-radius: 8px;
}

/* 页脚 */
.footer {
    background-color: #1a5276;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2980b9;
}

.footer-col p,
.footer-col ul li {
    margin-bottom: 10px;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c3e50;
    color: #95a5a6;
    font-size: 14px;
}

/* 通用页面样式 */
.page-header {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.page-content {
    padding: 50px 0 70px;
    background-color: #f5f7fa;
    min-height: 400px;
}

.content-placeholder {
    text-align: center;
    color: #999;
    padding: 80px 0;
    font-size: 18px;
}

/* 新闻列表样式 */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.news-item h3 a:hover {
    color: #1a5276;
}

.news-item .date {
    color: #999;
    font-size: 14px;
}

/* 联系我们样式 */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-info strong {
    color: #1a5276;
    display: inline-block;
    width: 80px;
}

/* 产品卡片样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
}

.product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 82, 118, 0.15);
}

.product-card-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.product-card-body {
    padding: 28px 25px 30px;
}

.product-card-body h3 {
    font-size: 24px;
    color: #1a5276;
    margin-bottom: 18px;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 2px solid #1a5276;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-card-body .params {
    color: #555;
    font-size: 14px;
    line-height: 2.2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card-body .params li {
    padding: 6px 0;
    border-bottom: 1px dashed #e8e8e8;
    display: flex;
    align-items: flex-start;
}

.product-card-body .params li:last-child {
    border-bottom: none;
}

.product-card-body .params li::before {
    content: '✓';
    color: #27ae60;
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active ul {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card-img {
        height: 220px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 26px;
    }
}
