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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #004d99;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #004d99;
    background-color: #e6f0ff;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 200px);
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #004d99 0%, #0066cc 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e65c00;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #004d99;
    color: #004d99;
}

.btn-outline:hover {
    background-color: #004d99;
    color: white;
}

/* 公司简介 */
.intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004d99;
    font-size: 2rem;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
    text-align: center;
}

.placeholder-icon {
    font-size: 8rem;
    background-color: #f0f5ff;
    border-radius: 10px;
    padding: 30px;
    display: inline-block;
}

/* 新闻动态 */
.news {
    padding: 80px 0;
    background-color: #f0f5ff;
}

.news h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004d99;
    font-size: 2rem;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item h3 {
    color: #004d99;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.date {
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-item p {
    color: #666;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* 业务范围 */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004d99;
    font-size: 2rem;
}

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

.service-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.service-item:hover {
    background-color: #e6f0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    color: #004d99;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* 成功案例 */
.cases {
    padding: 80px 0;
    background-color: #f0f5ff;
}

.cases h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004d99;
    font-size: 2rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.case-item h3 {
    color: #004d99;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.case-item p {
    color: #666;
    line-height: 1.7;
}

/* 人才发展 */
.careers {
    padding: 80px 0;
    background-color: #fff;
}

.careers h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004d99;
    font-size: 2rem;
}

.careers-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.careers-text {
    flex: 1;
}

.careers-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.careers-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.careers-text ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.careers-image {
    flex: 1;
    text-align: center;
}

/* 页脚 */
footer {
    background-color: #00264d;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #ff6600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section p a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    color: #ff6600;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #004080;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .intro-content,
    .careers-content {
        flex-direction: column;
    }
    
    .intro-image,
    .careers-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .placeholder-icon {
        font-size: 5rem;
        padding: 20px;
    }
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #004d99 0%, #0066cc 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-content {
    padding: 60px 0;
    background-color: #fff;
}

.page-content h2 {
    color: #004d99;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.page-content h3 {
    color: #0066cc;
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.page-content ul,
.page-content ol {
    margin: 20px 0 20px 30px;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 知识库和产品中心样式 */
.knowledge-categories,
.category-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s;
    margin-bottom: 0;
}

.category-item:hover {
    background-color: #e6f0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.knowledge-section {
    margin-bottom: 50px;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.knowledge-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.knowledge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.knowledge-item h3 {
    color: #004d99;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* FAQ样式 */
.faq-section {
    margin-bottom: 40px;
}

.faq-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #004d99;
    font-size: 1.1rem;
    margin: 0;
}

.faq-answer {
    padding: 0 20px;
    background-color: #fff;
    display: none;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    line-height: 1.8;
}

/* 联系我们样式 */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.company-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.department {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.department h3 {
    color: #004d99;
    margin-bottom: 15px;
}

.department p {
    margin-bottom: 8px;
}

.transport h3 {
    margin: 20px 0 10px;
    color: #004d99;
}

.working-hours p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.map-placeholder {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

/* 产品详情样式 */
.product-detail {
    margin: 60px 0;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.product-detail:first-child {
    margin-top: 40px;
    border-top: none;
}

.product-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-info {
    flex: 2;
}

.product-info ul {
    margin: 20px 0 20px 20px;
}

.product-info li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 服务详情样式 */
.service-section {
    margin-bottom: 50px;
}

.service-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.service-text {
    flex: 2;
}

.service-image {
    flex: 1;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.step:hover {
    background-color: #e6f0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #004d99;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.warranty-content h3 {
    margin: 25px 0 15px;
    color: #004d99;
}

/* 响应式设计 - 子页面 */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .product-content,
    .service-content {
        flex-direction: column;
    }
    
    .product-image,
    .service-image {
        order: -1;
        margin-bottom: 30px;
    }
}