/* ==================== 关于我们页面样式 ==================== */
/* 导航栏样式覆盖 */
header {
    background-color: var(--white);
}
.logo, header .nav-links li a {
    color: var(--text-color);
}
/* 暗黑模式样式 */
.dark header {
    background-color: var(--dark-bg);
}
.dark .about-hero {
    background-color: var(--dark-card);
}

.dark .about-history, .dark .about-team {
    background-color: var(--dark-card);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 确保导航栏在暗黑模式下可见 */
.dark .nav-links a {
    color: var(--dark-text);
}

.dark .logo {
    color: var(--dark-text);
}

.about-container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    margin-top: 83px;
}

.about-hero {
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 450px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    max-width: 1200px;
    padding: 40px;
    margin: 0 auto;
}

.hero-overlay h1 {
    margin-bottom: 30px;
}

.hero-overlay p {
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-overlay {
        padding: 20px;
    }
    
    .hero-overlay h1 {
        margin-bottom: 20px;
    }
}

.about-hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.about-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .about-hero {
        min-height: 300px;
    }
    
    .about-history, .about-team {
        padding: 30px 20px;
    }
    
    .about-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
}

.about-history, .about-team {
    flex: 1;
    padding: 50px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* 时间线容器样式 */
.timeline-container {
    position: relative;
    min-height: 400px;
}

/* 时间线导航按钮样式 */
.timeline-nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.timeline-prev,
.timeline-next {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-prev:hover,
.timeline-next:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 0px;
    list-style: none;
    height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline li {
    position: relative;
    padding-bottom: 30px;
    transition: all 0.5s ease;
    opacity: 0.3;
    filter: blur(2px);
    transform: scale(0.9);
}

.timeline li.current {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.timeline li.prev,
.timeline li.next {
    opacity: 0.7;
    filter: blur(1px);
    transform: scale(0.95);
}

.timeline li.hidden {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.8);
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-color);
}

.dark .timeline-content {
    background: var(--dark-bg);
}

.dark .timeline-content h3 {
    color: var(--dark-text);
}

.about-history:hover, .about-team:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.3;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* 团队统计数据样式 */
.team-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 25px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-item:hover {
    background-color: var(--light-gray);
}

.dark .stat-item:hover {
    background-color: var(--dark-bg);
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
}

.stat-item:hover h3 {
    color: var(--primary-hover);
}

.dark .stat-item h3 {
    color: var(--dark-primary);
}