/* 乐器历史页样式 */
body {
    padding-top: 60px;
}

.page-banner {
    height: 300px;
    background: url('../../images/history/banner.png') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-banner p {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.timeline-nav {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 60px;
    z-index: 90;
}

.timeline-nav .nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-nav a {
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

.timeline-nav a:hover,
.timeline-nav a.active {
    background-color: #333;
    color: #fff;
}

.timeline-nav a::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #333;
    opacity: 0;
    transition: all 0.3s;
}

.timeline-nav a.active::after {
    opacity: 1;
}

.history-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.history-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}

.history-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.history-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.period-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.text-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.text-content ul {
    padding-left: 20px;
}

.text-content li {
    color: #666;
    margin-bottom: 10px;
    list-style: disc;
}

.image-content {
    text-align: center;
}

.image-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.image-content .caption {
    margin-top: 10px;
    color: #999;
    font-size: 14px;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .timeline-nav .nav-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .timeline-nav a {
        font-size: 14px;
        padding: 6px 15px;
    }

    .period-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .text-content {
        order: 2;
    }

    .image-content {
        order: 1;
    }
} 