/* 视差滚动横幅 */
.parallax-banner {
    position: relative;
    height: 100vh;
    background: url('../images/culture-banner.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.parallax-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.banner-content h1 {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.banner-content p {
    font-size: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面主体样式 */
.culture-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 通用标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c41230;
    margin: 15px auto 0;
}

.section-header .subtitle {
    font-size: 18px;
    color: #666;
}

/* 文化概述卡片样式 */
.intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.intro-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 36px;
    color: #c41230;
}

.intro-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.intro-card p {
    color: #666;
    line-height: 1.6;
}

/* 时间轴样式 */
.timeline-section {
    margin: 80px 0;
    background: #f8f9fa;
    padding: 60px 0;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.timeline-periods {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.timeline-periods::-webkit-scrollbar {
    display: none;
}

.period {
    padding: 8px 20px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.period:hover {
    color: #c41230;
}

.period.active {
    border-color: #c41230;
    color: #c41230;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #f0f0f0;
}

.nav-btn i {
    font-size: 20px;
    color: #333;
}

.period-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.period-content.active {
    display: grid;
}

.period-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.period-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.period-date {
    font-size: 16px;
    color: #c41230;
    margin-left: 10px;
}

.period-details {
    margin-bottom: 30px;
}

.period-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.period-details ul {
    list-style: none;
    padding: 0;
}

.period-details li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.period-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c41230;
}

.period-artifacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.artifact {
    text-align: center;
}

.artifact img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
}

.artifact span {
    font-size: 14px;
    color: #666;
}

/* 文化特色样式 */
.culture-features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-front {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-back {
    background: #c41230;
    color: #fff;
    transform: rotateY(180deg);
}

.feature-card:hover .card-front {
    transform: rotateY(180deg);
}

.feature-card:hover .card-back {
    transform: rotateY(0);
}

.card-back h3 {
    margin-bottom: 15px;
}

.card-back p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #c41230;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* 文化影响样式 */
.culture-influence {
    padding: 60px 0;
    background: #f8f9fa;
}

.influence-map {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.map-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    height: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.influence-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.influence-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.influence-item.active {
    opacity: 1;
    transform: translateX(0);
    border-left: 4px solid #c41230;
}

.influence-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.influence-item p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .intro-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .period-content {
        grid-template-columns: 1fr;
    }

    .influence-map {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .parallax-banner {
        height: 70vh;
    }

    .banner-content h1 {
        font-size: 48px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .intro-cards,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .period-artifacts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .banner-content h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .timeline-periods {
        gap: 10px;
    }

    .period {
        padding: 6px 12px;
        font-size: 14px;
    }

    .period-artifacts {
        grid-template-columns: 1fr;
    }
} 