/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo h1 {
    font-size: 24px;
    color: #c41230;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.language-switch a {
    color: #666;
    text-decoration: none;
    padding: 5px;
}

.language-switch a.active {
    color: #c41230;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.search-box button {
    padding: 8px 15px;
    background-color: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 导航菜单样式 */
nav {
    background-color: #c41230;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
    background-color: #a01020;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    list-style: none;
    min-width: 200px;
    z-index: 100;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.submenu a:hover {
    background-color: #f5f5f5;
}

/* 轮播图样式 */
.slider {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    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;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    color: #fff;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* 内容区域样式 */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #c41230;
    margin: 15px auto;
}

/* 文化精髓板块样式 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.culture-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.culture-item h3 {
    padding: 15px;
    font-size: 20px;
    color: #333;
}

.culture-item p {
    padding: 0 15px 15px;
    color: #666;
}

.read-more {
    display: inline-block;
    margin: 0 15px 15px;
    padding: 8px 15px;
    background-color: #c41230;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* 最新资讯样式 */
.news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
}

.news-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    flex: 1;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #c41230;
    margin-top: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #c41230;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .culture-grid,
    .news-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 200px;
    }
} 

/* 文化精髓页面样式 */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.festival-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.festival-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.festival-content {
    padding: 20px;
    flex: 1;
}

.festival-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.festival-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.festival-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.festival-details span {
    color: #666;
    font-size: 14px;
}

.customs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.custom-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.custom-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.custom-content {
    padding: 20px;
}

.custom-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.custom-content p {
    color: #666;
    margin-bottom: 20px;
}

.custom-features {
    list-style: none;
    padding: 0;
}

.custom-features li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.custom-features li:last-child {
    border-bottom: none;
}

.arts-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.art-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.art-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.art-content {
    padding: 20px;
}

.art-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.art-content p {
    color: #666;
    margin-bottom: 15px;
}

.art-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.art-features span {
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

/* 历史长河页面样式 */
.history-overview {
    margin-bottom: 40px;
}

.history-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.history-intro img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.history-intro p {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #c41230;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: calc(50% - 30px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #c41230;
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
}

.timeline-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.timeline-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    margin-bottom: 15px;
}

.dynasty-features {
    list-style: none;
    padding: 0;
}

.dynasty-features li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dynasty-features li:last-child {
    border-bottom: none;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.heritage-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.heritage-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.heritage-content {
    padding: 20px;
}

.heritage-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.heritage-content p {
    color: #666;
    margin-bottom: 20px;
}

.heritage-list {
    list-style: none;
    padding: 0;
}

.heritage-list li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.heritage-list li:last-child {
    border-bottom: none;
}

.quiz-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.quiz-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.quiz-item {
    margin-bottom: 30px;
}

.quiz-item p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

.options label:hover {
    background: #eee;
}

.submit-quiz {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    padding: 12px;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.submit-quiz:hover {
    background: #a01020;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .festival-grid,
    .customs-container,
    .arts-showcase,
    .heritage-grid {
        grid-template-columns: 1fr;
    }

    .history-intro {
        flex-direction: column;
    }

    .history-intro img {
        width: 100%;
        height: 200px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .timeline-content::before {
        left: -40px !important;
    }

    .options {
        grid-template-columns: 1fr;
    }
} 

/* 诗词歌赋页面样式 */
.poetry-overview {
    margin-bottom: 40px;
}

.poetry-intro {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.poetry-intro img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.intro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.poetry-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.stat-item .number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 5px;
}

.stat-item .label {
    color: #666;
    font-size: 14px;
}

.poetry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.poetry-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.poetry-image {
    position: relative;
}

.poetry-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.poetry-audio {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0,0,0,0.5);
}

.poetry-audio audio {
    width: 100%;
    height: 30px;
}

.poetry-content {
    padding: 20px;
}

.poetry-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.author {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.poetry-text {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 15px;
}

.poetry-text p {
    text-align: center;
    line-height: 2;
    color: #333;
}

.poetry-analysis {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.poetry-analysis h4 {
    color: #333;
    margin-bottom: 10px;
}

.poetry-analysis p {
    color: #666;
    line-height: 1.6;
}

.schools-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.school-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.school-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.school-content {
    padding: 20px;
}

.school-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.school-content p {
    color: #666;
    margin-bottom: 15px;
}

.school-features {
    list-style: none;
    padding: 0;
}

.school-features li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.school-features li:last-child {
    border-bottom: none;
}

.creation-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.creation-guide,
.creation-practice {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.creation-guide h3,
.creation-practice h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.guide-content {
    display: grid;
    gap: 20px;
}

.guide-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.guide-item h4 {
    color: #333;
    margin-bottom: 10px;
}

.guide-item p {
    color: #666;
    line-height: 1.6;
}

.practice-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    color: #333;
    font-weight: bold;
}

.form-group select,
.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    padding: 12px;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background: #a01020;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .poetry-intro {
        flex-direction: column;
    }

    .poetry-intro img {
        width: 100%;
        height: 200px;
    }

    .poetry-grid,
    .schools-container,
    .creation-container {
        grid-template-columns: 1fr;
    }

    .poetry-stats {
        flex-direction: column;
    }
} 

/* 饮食文化页面样式 */
.food-overview {
    margin-bottom: 40px;
}

.food-intro {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.food-intro img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.intro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.food-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.feature-item .icon {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-item .text {
    color: #333;
    font-size: 16px;
}

.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.cuisine-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cuisine-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cuisine-content {
    padding: 20px;
}

.cuisine-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.cuisine-content p {
    color: #666;
    margin-bottom: 15px;
}

.cuisine-features {
    list-style: none;
    padding: 0;
}

.cuisine-features li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.cuisine-features li:last-child {
    border-bottom: none;
}

.making-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.making-video {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.making-video video {
    width: 100%;
    border-radius: 4px;
}

.making-steps {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.making-steps h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #c41230;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content h4 {
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    color: #666;
}

.customs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.custom-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.custom-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.custom-content {
    padding: 20px;
}

.custom-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.custom-content p {
    color: #666;
    margin-bottom: 15px;
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.custom-list li:last-child {
    border-bottom: none;
}

.map-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.map-image {
    position: relative;
    margin-bottom: 20px;
}

.map-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
}

.marker-dot {
    display: block;
    width: 12px;
    height: 12px;
    background: #c41230;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #c41230;
    cursor: pointer;
}

.marker-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 150px;
    display: none;
}

.map-marker:hover .marker-content {
    display: block;
}

.marker-content h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.marker-content p {
    color: #666;
    font-size: 12px;
}

.map-legend {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.map-legend h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.legend-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.legend-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .food-intro {
        flex-direction: column;
    }

    .food-intro img {
        width: 100%;
        height: 200px;
    }

    .food-features {
        flex-direction: column;
    }

    .cuisine-grid,
    .making-container,
    .customs-grid {
        grid-template-columns: 1fr;
    }

    .legend-list {
        grid-template-columns: repeat(2, 1fr);
    }
} 

/* 建筑艺术页面样式 */
.architecture-overview {
    margin-bottom: 40px;
}

.architecture-intro {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.architecture-intro img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.intro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.architecture-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.feature-item .icon {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-item .text {
    color: #333;
    font-size: 16px;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.style-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.style-image {
    position: relative;
    height: 300px;
}

.style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.style-overlay h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.style-content {
    padding: 20px;
}

.style-features {
    list-style: none;
    padding: 0;
}

.style-features li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.style-features li:last-child {
    border-bottom: none;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-block {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-block img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-info {
    padding: 20px;
}

.feature-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.feature-info p {
    color: #666;
    margin-bottom: 20px;
}

.feature-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-item h4 {
    color: #333;
    margin-bottom: 5px;
}

.detail-item p {
    color: #666;
    margin: 0;
}

.layout-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.layout-image {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.layout-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.layout-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.marker {
    position: absolute;
    transform: translate(-50%, -50%);
}

.marker-dot {
    display: block;
    width: 12px;
    height: 12px;
    background: #c41230;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #c41230;
    cursor: pointer;
}

.marker-info {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 150px;
    display: none;
}

.marker:hover .marker-info {
    display: block;
}

.layout-principles {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.layout-principles h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.principles-list {
    list-style: none;
    padding: 0;
}

.principles-list li {
    margin-bottom: 20px;
}

.principles-list h4 {
    color: #333;
    margin-bottom: 5px;
}

.principles-list p {
    color: #666;
}

.preservation-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.preservation-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.preservation-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.preservation-info p {
    color: #666;
    margin-bottom: 30px;
}

.preservation-stats {
    display: grid;
    gap: 20px;
}

.preservation-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.preservation-stats .number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 5px;
}

.preservation-stats .label {
    color: #666;
    font-size: 14px;
}

.preservation-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preservation-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .architecture-intro {
        flex-direction: column;
    }

    .architecture-intro img {
        width: 100%;
        height: 200px;
    }

    .architecture-features {
        flex-direction: column;
    }

    .styles-grid,
    .features-container,
    .layout-showcase,
    .preservation-content {
        grid-template-columns: 1fr;
    }

    .preservation-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
} 

/* 联系我们页面样式 */
.contact-overview {
    margin-bottom: 40px;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 12px 24px;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #a01020;
}

.contact-info-container {
    display: grid;
    gap: 30px;
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-items {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item .icon {
    font-size: 24px;
    color: #c41230;
}

.info-content h3 {
    color: #333;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
}

.social-media {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #eee;
}

.contact-map {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map-container {
    position: relative;
    margin-top: 20px;
}

.map-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    border-radius: 0 0 4px 4px;
}

.map-info h3 {
    margin-bottom: 5px;
}

.map-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

.faq-section {
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }
} 

/* 页脚样式更新 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 关于我们页面样式 */
.about-overview {
    margin-bottom: 40px;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.mission-block,
.vision-block {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mission-list,
.vision-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.mission-list li,
.vision-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.team-section {
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.member-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.member-info p {
    color: #666;
}

.values-section {
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.value-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
}

.achievements-section {
    margin-bottom: 40px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.achievement-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.achievement-number {
    font-size: 36px;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 10px;
}

.achievement-text {
    color: #666;
}

/* 隐私政策页面样式 */
.privacy-overview {
    margin-bottom: 40px;
}

.privacy-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.privacy-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.privacy-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.privacy-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c41230;
}

.section-content {
    color: #666;
}

.section-content h3 {
    color: #333;
    margin: 20px 0 10px;
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.section-content li:last-child {
    border-bottom: none;
}

/* 使用条款页面样式 */
.terms-overview {
    margin-bottom: 40px;
}

.terms-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.terms-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.terms-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.terms-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c41230;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-vision,
    .team-grid,
    .values-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}