/* 页面标题样式 */
.page-header {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.8), 
        rgba(205, 133, 63, 0.7), 
        rgba(218, 165, 32, 0.8), 
        rgba(139, 69, 19, 0.9)), 
        url('../images/culture-banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 69, 19, 0.3), 
        rgba(205, 133, 63, 0.2), 
        rgba(218, 165, 32, 0.3));
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #FFF8DC;
}

.page-header p {
    font-size: 1.5em;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #F5F5DC;
}

/* 导航菜单样式 */
.culture-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.nav-tabs {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.nav-tabs a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-tabs a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-tabs a:hover::after,
.nav-tabs a.active::after {
    width: 100%;
}

.nav-tabs a.active {
    color: var(--primary-color);
}

/* 时间轴样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 999;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 传统服饰样式 */
.costume-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.costume-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.costume-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.costume-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.costume-item:hover img {
    transform: scale(1.05);
}

.costume-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.costume-info h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* 建筑艺术样式 */
.architecture-section {
    padding: 80px 0;
    background-color: var(--white);
}

.architecture-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.architecture-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.architecture-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.architecture-item:hover img {
    transform: scale(1.05);
}

.architecture-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.architecture-info h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* 非物质文化遗产样式 */
.intangible-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.intangible-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.intangible-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.intangible-item:hover {
    transform: translateY(-10px);
}

.item-image {
    height: 200px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.intangible-item:hover .item-image img {
    transform: scale(1.1);
}

.item-content {
    padding: 20px;
}

.item-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.play-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    background-color: #d32f2f;
}

/* 视频弹窗样式 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
    }
    
    .timeline-date {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .costume-gallery,
    .architecture-showcase {
        grid-template-columns: 1fr;
    }
    
    .intangible-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5em;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-tabs a {
        font-size: 1em;
        padding: 8px 15px;
    }
    
    .intangible-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
} 