/* 关于我们页面样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 70px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.page-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 提升标题在亮背景图上的可读性 */
.page-header h1,
.page-header p {
    display: inline-block;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 16px;
    border-radius: 8px;
}

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

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

.intro-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d8b43d, #e7d05e);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d8b43d;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.intro-image img:hover {
    transform: scale(1.05);
}

/* 企业资质 */
.qualifications-section {
    padding: 80px 0;
    background: white;
}

.qualifications-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
}

.qualifications-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d8b43d, #e7d05e);
}

.qualification-category {
    margin-bottom: 80px;
}

/* 将两个资格分类并排显示 */
.qualification-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.qualification-category h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.qualification-category h3 i {
    color: #d8b43d;
    font-size: 1.5rem;
}

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

.certificate-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.certificate-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-qualification-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fff;
    transition: transform 0.3s ease;
}

.certificate-item:hover .certificate-img {
    transform: scale(1.05);
}

.certificate-item p {
    padding: 20px;
    text-align: center;
    color: #2c3e50;
    font-weight: 500;
    margin: 0;
    background: #f8f9fa;
}

/* 联系我们部分已移除 */

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        min-height: 260px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .qualification-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-qualification-img {
        height: 220px;
    }
    
    .qualifications-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 20px 60px;
        min-height: 220px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .certificate-img {
        height: 200px;
    }
    
    .certificate-qualification-img {
        height: 180px;
    }
    
    /* 联系我们响应式样式已移除 */
}

/* 图片查看器样式 */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

/* 公司位置 */
.location-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.location-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
}

.location-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d8b43d, #e7d05e);
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-map .map-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.location-info h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.location-info p {
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.certificate-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.close-modal:hover {
    color: #d8b43d;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
} 