/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
header {
    background-color: #c12c2c;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #f8f8f8;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: #c12c2c;
    margin-bottom: 1rem;
}

/* 特色区域 */
.features {
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.feature-grid article {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.feature-grid article:hover {
    transform: translateY(-5px);
}

.feature-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-grid h3 {
    padding: 1rem;
    color: #c12c2c;
}

.feature-grid p {
    padding: 0 1rem 1rem;
}

/* 新闻区域 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-grid article {
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 8px;
}

/* 多媒体元素 */
video, audio {
    width: 100%;
    margin: 1rem 0;
}

/* 标题样式 */
h2 {
    color: #c12c2c;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 链接样式 */
a {
    color: #c12c2c;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #8c1f1f;
}

/* 历史页面样式 */
.timeline {
    padding: 2rem 0;
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.event {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-content h3 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

.spirit {
    background-color: #f8f8f8;
    padding: 3rem 0;
    margin-top: 3rem;
}

.spirit-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.spirit-content article {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.spirit-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 1rem;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .event {
        grid-template-columns: 1fr;
    }
    
    .event img {
        height: 150px;
    }
    
    .spirit-content {
        grid-template-columns: 1fr;
    }
}

/* 景点介绍页面样式 */
.sites {
    padding: 2rem 0;
}

.sites-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 1rem;
}

.site-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.site-card:hover {
    transform: translateY(-5px);
}

.site-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.site-info {
    padding: 2rem;
}

.location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.site-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.site-features span {
    background: #f0f0f0;
    color: #c12c2c;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.visit-info {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.visit-info h4 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

.visit-info p {
    margin-bottom: 0.5rem;
}

/* 旅游贴士样式 */
.travel-tips {
    background: #f8f8f8;
    padding: 3rem 0;
    margin-top: 3rem;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tips-container article {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tips-container h3 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .site-card img {
        height: 200px;
    }
    
    .site-info {
        padding: 1.5rem;
    }
    
    .visit-info {
        padding: 1rem;
    }
}

/* 文化传承页面样式 */
.culture-activities {
    padding: 2rem 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.activity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: 1.5rem;
}

.activity-desc {
    color: #666;
    margin: 1rem 0;
    line-height: 1.6;
}

.activity-details {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.activity-details p {
    margin-bottom: 0.5rem;
}

.activity-details strong {
    color: #c12c2c;
}

/* 文化传承方式样式 */
.culture-inheritance {
    background: #f8f8f8;
    padding: 3rem 0;
    margin-top: 3rem;
}

.inheritance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.inheritance-grid article {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.inheritance-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

.inheritance-grid h3 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

/* 志愿服务样式 */
.volunteer-service {
    padding: 3rem 0;
}

.volunteer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.volunteer-info {
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.volunteer-info h3 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

.volunteer-duties {
    list-style: none;
    margin-top: 1.5rem;
}

.volunteer-duties li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.volunteer-duties li::before {
    content: "•";
    color: #c12c2c;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.volunteer-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .volunteer-content {
        grid-template-columns: 1fr;
    }
    
    .volunteer-content img {
        height: 300px;
    }
    
    .activity-card img {
        height: 180px;
    }
    
    .inheritance-grid img {
        height: 180px;
    }
}

/* 关于我们页面样式 */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 使命部分 */
.mission {
    margin-bottom: 4rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.mission-text {
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.mission-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mission-text ul {
    list-style: none;
}

.mission-text li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.mission-text li::before {
    content: "•";
    color: #c12c2c;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* 团队部分 */
.team {
    margin-bottom: 4rem;
}

.team-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-content article {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.team-content img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.team-content h3 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

/* 联系我们部分 */
.contact {
    background: #f8f8f8;
    padding: 3rem;
    border-radius: 12px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-item h3 {
    color: #c12c2c;
    margin-bottom: 1rem;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-media img {
    width: 40px;
    height: 40px;
}

/* 联系表单 */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #c12c2c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #8c1f1f;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .mission-content img {
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .team-content article img {
        width: 150px;
        height: 150px;
    }
} 