/* 关于我们页面样式 */

/* 公司简介模块 */
.about-intro {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.intro-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a3d54;
    margin-bottom: 15px;
}

.intro-text .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-body {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.intro-body p {
    margin-bottom: 15px;
}

.intro-image {
    flex: 0 0 400px;
    position: relative;
}

.company-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    margin-top: -40px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2c5f7c;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

/* 服务项目模块 */
.services-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a3d54;
    margin-bottom: 10px;
}

.section-desc {
    font-size: 16px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 20px 20px 10px;
    margin: 0;
}

.service-card p {
    font-size: 14px;
    color: #666;
    padding: 0 20px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 20px;
    background: #2c5f7c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.service-link:hover {
    background: #1a3d54;
}

/* 企业优势模块 */
.advantages-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c5f7c 0%, #1a3d54 100%);
}

.advantages-section .section-header h2,
.advantages-section .section-header p {
    color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-label {
    font-size: 10px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}


/* 工程案例展示 */
.cases-section {
    padding: 60px 0;
}

.section-header .view-all {
    display: inline-block;
    margin-top: 15px;
    color: #2c5f7c;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.section-header .view-all:hover {
    text-decoration: underline;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card-link {
    text-decoration: none;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 20px;
    margin: 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .intro-image {
        flex: none;
        width: 100%;
    }
    
    .company-img {
        height: 250px;
    }
    
    .stats-card {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .choose-right {
        flex: none;
        width: 100%;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-text h2 {
        font-size: 26px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .advantages-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-text h2 {
        font-size: 22px;
    }
    
    .intro-text .subtitle {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}
