/* 关于页面样式 */

/* 背景部分 */
.header-bg {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.header-content {
    position: absolute;
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 关于我们部分 */
.about-detail {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 基本信息 */
.about-info {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 400px;
}

.location-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    justify-self: flex-end;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.about-content h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: left;
}

.about-content span {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0 0.25rem;
}

/* 核心价值观 */
.core-values {
    margin-bottom: 4rem;
}

.core-values h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
}

.values-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* 发展历程 */
.development-history {
    margin-bottom: 4rem;
}

.development-history h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
} 
.timeline-item:nth-child(odd) .timeline-date{
    text-align: right;
}

.timeline-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-content h4{
    text-align: right;
}


.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

/* 办公环境 */
.office-environment {
    margin-bottom: 2rem;
}

.office-environment h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
}

.environment-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.env-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.env-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 1000px) {
    .about-info {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .values-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 24px;
    }
    .timeline-item:nth-child(even)::after {
        left: 24px;
    }
    
    .timeline-item:nth-child(odd)::after {
        right: auto;
    }

    .timeline-item:nth-child(odd) .timeline-date{
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-content h4{
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header-content {
        font-size: 2rem;
    }
    
    .values-items {
        padding: 0 1rem;
        grid-template-columns: minmax(60%, 1fr);
    }
    
    .environment-gallery {
        grid-template-columns: 1fr;
    }
    
    .about-detail {
        padding: 2rem 1rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .core-values h3,
    .development-history h3,
    .office-environment h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        font-size: 1.5rem;
    }

    .timeline-item::after {
        left: 24px;
    }
    
    .header-bg {
        height: 300px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .env-image {
        height: 200px;
    }
}