/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f5e9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background: #8b0000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav li {
    margin: 1px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,0.2);
}

/* 响应式导航栏 */
@media (max-width: 1200px) {
    nav {
        padding: 0 10px;
    }
    
    nav a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    nav a {
        display: block;
        padding: 10px;
    }
}

/* 轮播图样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文化特色区域样式 */
.culture-features {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #8b0000;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #8b0000;
    margin: 15px auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 24px;
    color: #8b0000;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
}

/* 新闻动态区域样式 */
.news {
    padding: 60px 0;
    background: #f9f5e9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 20px;
    color: #8b0000;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
}

/* 页脚样式 */
.footer {
    background: #8b0000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-nav h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    line-height: 2;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .feature-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo,
    .footer-info,
    .footer-nav {
        margin-bottom: 30px;
    }
} 

/* 页面横幅样式 */
.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 24px;
}

/* 文化概述样式 */
.culture-intro {
    padding: 60px 0;
    background: #fff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 历史发展时间线样式 */
.culture-history {
    padding: 60px 0;
    background: #f9f5e9;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #8b0000;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

.timeline-content p {
    margin-bottom: 15px;
}

.timeline-content img {
    width: 100%;
    border-radius: 4px;
}

/* 文化特色网格样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 地域文化样式 */
.regional-culture {
    padding: 60px 0;
    background: #fff;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.region-item {
    text-align: center;
    padding: 20px;
    background: #f9f5e9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.region-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.region-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.region-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .intro-content,
    .features-grid,
    .region-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding: 20px;
        text-align: left;
    }

    .history-timeline::before {
        left: 20px;
    }

    .banner-text h1 {
        font-size: 32px;
    }

    .banner-text p {
        font-size: 18px;
    }
} 

/* 艺术页面样式 */
.art-section {
    padding: 60px 0;
}

.art-section:nth-child(odd) {
    background: #fff;
}

.art-section:nth-child(even) {
    background: #f9f5e9;
}

.art-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.art-text {
    padding: 20px;
}

.art-text h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.art-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.art-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature h4 {
    color: #8b0000;
    font-size: 20px;
    margin-bottom: 10px;
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.art-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.art-gallery img:hover {
    transform: scale(1.05);
}

/* 艺术传承区域样式 */
.art-inheritance {
    padding: 60px 0;
    background: #fff;
}

.inheritance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.inheritance-item {
    text-align: center;
    padding: 20px;
    background: #f9f5e9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.inheritance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.inheritance-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.inheritance-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .art-content {
        grid-template-columns: 1fr;
    }
    
    .art-gallery {
        grid-template-columns: 1fr;
    }
    
    .art-features {
        grid-template-columns: 1fr;
    }
    
    .inheritance-grid {
        grid-template-columns: 1fr;
    }
    
    .art-text {
        text-align: center;
    }
} 

/* 民族服饰页面样式 */
.costume-section {
    padding: 60px 0;
}

.costume-section:nth-child(odd) {
    background: #fff;
}

.costume-section:nth-child(even) {
    background: #f9f5e9;
}

.costume-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.costume-text {
    padding: 20px;
}

.costume-text h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.costume-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.costume-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.costume-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.costume-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.costume-gallery img:hover {
    transform: scale(1.05);
}

/* 少数民族服饰网格样式 */
.costume-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.costume-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.costume-item:hover {
    transform: translateY(-5px);
}

.costume-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.costume-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 现代演变区域样式 */
.costume-evolution {
    padding: 60px 0;
    background: #fff;
}

.evolution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.evolution-item {
    text-align: center;
    padding: 20px;
    background: #f9f5e9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.evolution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.evolution-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.evolution-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .costume-content {
        grid-template-columns: 1fr;
    }
    
    .costume-gallery {
        grid-template-columns: 1fr;
    }
    
    .costume-grid {
        grid-template-columns: 1fr;
    }
    
    .evolution-grid {
        grid-template-columns: 1fr;
    }
    
    .costume-text {
        text-align: center;
    }
    
    .costume-features {
        grid-template-columns: 1fr;
    }
} 

/* 节日习俗页面样式 */
.festival-section {
    padding: 60px 0;
}

.festival-section:nth-child(odd) {
    background: #fff;
}

.festival-section:nth-child(even) {
    background: #f9f5e9;
}

/* 传统节日网格样式 */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.festival-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.festival-item:hover {
    transform: translateY(-5px);
}

.festival-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.festival-content {
    padding: 20px;
}

.festival-content h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

.festival-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.custom-list li::before {
    content: "•";
    color: #8b0000;
    position: absolute;
    left: 0;
    top: 0;
}

/* 民族节庆样式 */
.ethnic-festivals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ethnic-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ethnic-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.ethnic-content {
    padding: 20px;
}

.ethnic-content h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

.ethnic-content p {
    margin-bottom: 20px;
}

.ethnic-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 地方特色样式 */
.local-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.local-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.local-item:hover {
    transform: translateY(-5px);
}

.local-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.local-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 文化传承样式 */
.festival-inheritance {
    padding: 60px 0;
    background: #fff;
}

.inheritance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.inheritance-text h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.inheritance-text p {
    font-size: 16px;
    line-height: 1.8;
}

.inheritance-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.inheritance-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.inheritance-gallery img:hover {
    transform: scale(1.05);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .festival-grid,
    .ethnic-festivals,
    .local-grid,
    .inheritance-content {
        grid-template-columns: 1fr;
    }
    
    .ethnic-features {
        grid-template-columns: 1fr;
    }
    
    .inheritance-gallery {
        grid-template-columns: 1fr;
    }
    
    .festival-item img,
    .ethnic-item img {
        height: 200px;
    }
} 

/* 文化传承页面样式 */
.heritage-section {
    padding: 60px 0;
}

.heritage-section:nth-child(odd) {
    background: #fff;
}

.heritage-section:nth-child(even) {
    background: #f9f5e9;
}

/* 非遗概览样式 */
.heritage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.heritage-text {
    padding: 20px;
}

.heritage-text h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.heritage-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item .number {
    color: #8b0000;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.heritage-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.heritage-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.heritage-gallery img:hover {
    transform: scale(1.05);
}

/* 传承人故事样式 */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.story-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-content {
    padding: 20px;
}

.story-content h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

.story-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #8b0000;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    position: relative;
}

.read-more::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* 保护措施样式 */
.protection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.protection-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.protection-item:hover {
    transform: translateY(-5px);
}

.protection-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.protection-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 15px;
}

.protection-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.protection-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.protection-list li::before {
    content: "•";
    color: #8b0000;
    position: absolute;
    left: 0;
    top: 0;
}

/* 传承创新样式 */
.innovation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.innovation-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.innovation-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.innovation-gallery img:hover {
    transform: scale(1.05);
}

.innovation-text {
    padding: 20px;
}

.innovation-text h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.innovation-text p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.innovation-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .heritage-content,
    .stories-grid,
    .protection-grid,
    .innovation-content {
        grid-template-columns: 1fr;
    }
    
    .heritage-stats {
        grid-template-columns: 1fr;
    }
    
    .heritage-gallery,
    .innovation-gallery {
        grid-template-columns: 1fr;
    }
    
    .innovation-features {
        grid-template-columns: 1fr;
    }
    
    .heritage-text,
    .innovation-text {
        text-align: center;
    }
    
    .protection-list {
        text-align: center;
    }
} 

/* 饮食文化页面样式 */
.food-section {
    padding: 60px 0;
}

.food-section:nth-child(odd) {
    background: #fff;
}

.food-section:nth-child(even) {
    background: #f9f5e9;
}

/* 八大菜系样式 */
.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cuisine-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cuisine-item:hover {
    transform: translateY(-5px);
}

.cuisine-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.cuisine-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 传统美食样式 */
.food-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.food-text {
    padding: 20px;
}

.food-text h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.food-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.food-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.food-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.food-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.food-gallery img:hover {
    transform: scale(1.05);
}

/* 饮食习俗样式 */
.customs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.custom-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.custom-item:hover {
    transform: translateY(-5px);
}

.custom-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.custom-item h3 {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 10px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .cuisine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .food-content {
        grid-template-columns: 1fr;
    }
    
    .food-gallery {
        grid-template-columns: 1fr;
    }
    
    .customs-grid {
        grid-template-columns: 1fr;
    }
    
    .food-text {
        text-align: center;
    }
    
    .food-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cuisine-grid {
        grid-template-columns: 1fr;
    }
} 

/* 建筑文化页面样式 */
.arch-section {
    padding: 60px 0;
}

.arch-section:nth-child(odd) {
    background: #fff;
}

.arch-section:nth-child(even) {
    background: #f9f5e9;
}

/* 瀑布流布局 */
.arch-masonry {
    column-count: 4;
    column-gap: 20px;
}

.arch-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.arch-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.arch-card:hover {
    transform: translateY(-5px);
}

.arch-card img {
    width: 100%;
    display: block;
}

.arch-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.arch-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 时间轴样式 */
.arch-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.arch-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #8b0000;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.time-point {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background: #8b0000;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .time-point {
    left: -65px;
}

.timeline-item:nth-child(even) .time-point {
    right: -65px;
}

/* 3D效果 */
.arch-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.arch-3d:hover {
    transform: rotateY(10deg);
}

.arch-3d img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.arch-3d h3 {
    margin: 15px 0 10px;
    color: #8b0000;
}

/* ���转卡片效果 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: 8px;
    overflow: hidden;
}

.card-front {
    background: #fff;
}

.card-back {
    background: #8b0000;
    color: #fff;
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover .card-front {
    transform: rotateY(180deg);
}

.feature-card:hover .card-back {
    transform: rotateY(0);
}

.card-front img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-front h3 {
    text-align: center;
    padding: 20px;
    color: #8b0000;
    font-size: 24px;
}

.card-back ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.card-back li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.card-back li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

/* 地域特色样式 */
.region-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.region-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.region-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.region-item:hover img {
    transform: scale(1.1);
}

.region-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.region-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .arch-masonry {
        column-count: 2;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .arch-timeline::before {
        left: 20px;
    }
    
    .time-point {
        left: 5px !important;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .region-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .arch-masonry {
        column-count: 1;
    }
} 

/* 文学经典页面样式 */
.literature-section {
    padding: 60px 0;
    background: #f9f5e9;
}

/* 书籍布局 */
.book-container {
    max-width: 1200px;
    margin: 0 auto;
    perspective: 2000px;
}

.book {
    position: relative;
    width: 100%;
    height: 600px;
    transform-style: preserve-3d;
    transition: transform 1s;
}

.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transform-origin: left center;
    transition: transform 1s;
    cursor: pointer;
    overflow: hidden;
}

.book-page:hover {
    transform: rotateY(-15deg);
}

/* 诗词展示 */
.poetry-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.poetry-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.poetry-card:hover {
    transform: translateY(-5px);
}

.poetry-title {
    font-family: "楷体", KaiTi, serif;
    font-size: 24px;
    color: #8b0000;
    margin-bottom: 20px;
    text-align: center;
}

.poetry-content {
    font-family: "楷体", KaiTi, serif;
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}

.poetry-author {
    font-family: "楷体", KaiTi, serif;
    font-size: 16px;
    color: #666;
    text-align: right;
}

/* 作家介绍 */
.author-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.author-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.author-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.author-info {
    padding: 20px;
    text-align: center;
}

.author-name {
    font-family: "楷体", KaiTi, serif;
    font-size: 24px;
    color: #8b0000;
    margin-bottom: 10px;
}

.author-period {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.author-description {
    font-size: 16px;
    line-height: 1.6;
}

/* 文学流派 */
.school-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.school-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #8b0000;
    transform: translateX(-50%);
}

.school-item {
    position: relative;
    margin-bottom: 60px;
}

.school-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.school-item:nth-child(odd) .school-content {
    margin-left: auto;
}

.school-point {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background: #8b0000;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.school-item:nth-child(odd) .school-point {
    left: -65px;
}

.school-item:nth-child(even) .school-point {
    right: -65px;
}

/* 经典名句 */
.quotes-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quote-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.quote-card:hover {
    transform: scale(1.05);
}

.quote-text {
    font-family: "楷体", KaiTi, serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.quote-source {
    font-size: 14px;
    color: #666;
    text-align: right;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .poetry-showcase {
        grid-template-columns: 1fr;
    }
    
    .author-gallery {
        grid-template-columns: 1fr;
    }
    
    .quotes-wall {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .school-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .school-timeline::before {
        left: 20px;
    }
    
    .school-point {
        left: 5px !important;
    }
}

@media (max-width: 480px) {
    .quotes-wall {
        grid-template-columns: 1fr;
    }
} 

/* 哲学思想页面样式 */
.philosophy-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

/* 思维导图布局 */
.mindmap-container {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.mindmap-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: #8b0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-align: center;
    box-shadow: 0 0 30px rgba(139,0,0,0.3);
    z-index: 2;
}

.mindmap-branch {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mindmap-branch:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.mindmap-line {
    position: absolute;
    background: #8b0000;
    height: 2px;
    transform-origin: left center;
}

/* 思想流派展示 */
.school-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.school-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.school-card:hover {
    transform: translateY(-10px);
}

.school-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.school-info {
    padding: 20px;
}

.school-name {
    font-size: 24px;
    color: #8b0000;
    margin-bottom: 15px;
}

.school-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* 思想家介绍 */
.thinker-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
}

.thinker-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #8b0000;
    transform: translateX(-50%);
}

.thinker-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.thinker-item:nth-child(odd) {
    left: 0;
}

.thinker-item:nth-child(even) {
    left: 50%;
}

.thinker-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.thinker-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
    border: 3px solid #8b0000;
}

.thinker-name {
    font-size: 20px;
    color: #8b0000;
    text-align: center;
    margin-bottom: 10px;
}

.thinker-period {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.thinker-quote {
    font-style: italic;
    text-align: center;
    margin-bottom: 15px;
}

/* 核心思想展示 */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.concept-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.concept-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #8b0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.concept-title {
    font-size: 20px;
    color: #8b0000;
    margin-bottom: 10px;
}

.concept-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .school-cards {
        grid-template-columns: 1fr;
    }
    
    .concept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thinker-item {
        width: 100%;
        padding: 0 20px;
        left: 0 !important;
    }
    
    .thinker-timeline::before {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .concept-grid {
        grid-template-columns: 1fr;
    }
    
    .mindmap-container {
        height: auto;
        padding: 20px;
    }
    
    .mindmap-center,
    .mindmap-branch {
        position: relative;
        margin: 10px auto;
        transform: none;
        left: auto;
        top: auto;
    }
    
    .mindmap-line {
        display: none;
    }
} 

/* 民间工艺页面样式 */
.craft-section {
    padding: 60px 0;
    background: #f9f5e9;
}

/* 工艺品展示 */
.craft-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.craft-item {
    position: relative;
    perspective: 1000px;
    height: 400px;
}

.craft-card {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
}

.craft-item:hover .craft-card {
    transform: rotateY(180deg);
}

.craft-front,
.craft-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.craft-front {
    background: #fff;
}

.craft-back {
    background: #8b0000;
    color: #fff;
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.craft-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.craft-title {
    padding: 20px;
    text-align: center;
    font-size: 24px;
    color: #8b0000;
}

.craft-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 工艺分类 */
.craft-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.category-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #8b0000;
    border-radius: 30px;
    color: #8b0000;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #8b0000;
    color: #fff;
}

/* 工艺大师 */
.master-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.master-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.master-card:hover {
    transform: translateY(-10px);
}

.master-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.master-info {
    padding: 20px;
    text-align: center;
}

.master-name {
    font-size: 20px;
    color: #8b0000;
    margin-bottom: 10px;
}

.master-craft {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* 工艺制作过程 */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #8b0000;
    transform: translateX(-50%);
}

.process-item {
    position: relative;
    margin-bottom: 60px;
}

.process-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.process-item:nth-child(odd) .process-content {
    margin-left: auto;
}

.process-point {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background: #8b0000;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.process-item:nth-child(odd) .process-point {
    left: -65px;
}

.process-item:nth-child(even) .process-point {
    right: -65px;
}

/* 工艺展示区 */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.showcase-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.showcase-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.showcase-text {
    font-size: 16px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .craft-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .master-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .process-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-point {
        left: 5px !important;
    }
}

@media (max-width: 480px) {
    .craft-gallery {
        grid-template-columns: 1fr;
    }
    
    .master-showcase {
        grid-template-columns: 1fr;
    }
} 