/* about.css - 关于我们页面专用样式 */

/* 关于我们页面 Hero 区域 */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 0;
}

.about-hero-content h1 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.about-hero-content h1 span {
    color: #3498db;
}

.about-hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 概述区域 */
.overview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 使命愿景区域 */
.mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.mission-card h3 {
    margin-bottom: 15px;
}

/* 时间轴区域 */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.2rem;
    width: 120px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: calc(50% - 80px);
    margin: 0 40px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: #3498db;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* 团队区域 */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-title {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 认证区域 */
.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.certification-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.certification-item h3 {
    margin-bottom: 10px;
}

/* 设施区域 */
.facilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.facility-image {
    height: 220px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-info {
    padding: 25px;
}

.facility-info h3 {
    margin-bottom: 15px;
}

/* CTA区域 */
.cta-container {
    background-color: #3498db;
    color: white;
    padding: 60px;
    border-radius: 8px;
    text-align: center;
}

.cta-container h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-container p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: #3498db;
    border-color: white;
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: #3498db;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .overview-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        width: 80px;
    }
    
    .timeline-content {
        width: calc(100% - 130px);
        margin-left: 50px;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    
    .timeline-item::after {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.1rem;
    }
    
    .facilities-container {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 40px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 80px 0 60px;
    }
    
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .mission-container,
    .certifications-container {
        grid-template-columns: 1fr;
    }
    
    .team-container {
        grid-template-columns: 1fr;
    }
}