/* 历史页面横幅 */
.history-banner {
    position: relative;
    height: 400px;
    margin-top: 80px;
    overflow: hidden;
}

.history-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.history-banner h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 36px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 时间轴样式 */
.timeline {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #8B4513;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    width: calc(50% - 30px);
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #8B4513;
    border-radius: 50%;
    top: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
    transform: translateY(-50%);
}

.timeline-date {
    font-size: 24px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 15px;
}

.timeline-info {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

.timeline-info img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.timeline-info h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 10px;
}

.timeline-info p {
    color: #666;
    line-height: 1.6;
}

/* 动画效果 */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .history-banner {
        height: 300px;
    }

    .history-banner h2 {
        font-size: 28px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .timeline-content::before {
        left: -40px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }
} 