/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 头部样式 */
.header {
    background-color: #8B0000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* 汉堡菜单按钮 - 默认隐藏 */
.menu-toggle {
    display: none;
}

/* 导航样式 */
.nav {
    background-color: #8B0000;
}

.nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.nav a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 遮罩层 - 默认隐藏 */
.overlay {
    display: none;
}

/* 主要内容区域 */
.main {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Banner样式 */
.banner {
    margin-bottom: 2rem;
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 特色内容区域 */
.features {
    text-align: center;
}

.features h2 {
    font-size: 1.5rem;
    color: #8B0000;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.feature-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #8B0000;
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
.footer {
    background-color: #8B0000;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* 文化艺术页面样式 */
.page-banner {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.page-banner h2 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.art-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.art-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.art-image img {
    width: 100%;
    height: auto;
    display: block;
}

.art-content {
    padding: 2rem;
}

.art-content h3 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.art-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.art-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.art-examples img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s;
}

.art-examples img:hover {
    transform: scale(1.05);
}

/* 美食天地页面样式 */
.cuisine-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cuisine-intro h3 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cuisine-intro p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cuisine-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.cuisine-item:hover {
    transform: translateY(-5px);
}

.cuisine-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cuisine-content {
    padding: 1.5rem;
}

.cuisine-content h4 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.special-foods {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.special-foods h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.food-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.food-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.food-card:hover {
    transform: scale(1.05);
}

.food-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-card h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin: 1rem;
}

.food-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 传统节日页面样式 */
.festival-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.festival-intro h3 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.festival-intro p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.festival-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.festival-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #8B0000;
    opacity: 0.2;
}

.festival-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.festival-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #8B0000;
    border-radius: 50%;
    z-index: 1;
}

.festival-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.festival-content {
    padding: 2rem;
}

.festival-content h4 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.festival-date {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.festival-desc {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.festival-customs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.festival-customs img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.festival-customs img:hover {
    transform: scale(1.05);
}

/* 文化旅游页面样式 */
.travel-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.travel-intro h3 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.travel-intro p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.travel-destinations {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.destination-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-content {
    padding: 2rem;
}

.destination-content h4 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.destination-location {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.destination-desc {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.destination-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.destination-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.destination-gallery img:hover {
    transform: scale(1.05);
}

.travel-tips {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.travel-tips h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.tip-card h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

/* 资讯动态页面样式 */
.news-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-intro h3 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.news-intro p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background-color: #8B0000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content h4 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.news-date {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.news-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.news-gallery img:hover {
    transform: scale(1.05);
}

.news-categories {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-categories h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.category-card h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* 传统工艺页面样式 */
.craft-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.craft-intro h3 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.craft-intro p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.craft-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.craft-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.craft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-content {
    padding: 2rem;
}

.craft-content h4 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.craft-desc {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.craft-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.process-step {
    text-align: center;
}

.process-step img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.process-step img:hover {
    transform: scale(1.05);
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
}

.craft-masters {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.craft-masters h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.master-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.master-card:hover {
    transform: translateY(-5px);
}

.master-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.master-card h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.master-card p {
    color: #666;
    line-height: 1.6;
}

/* 关于我们页面样式 */
.about-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-intro h3 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-intro p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-mission {
    margin-bottom: 3rem;
}

.mission-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission-content h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-item {
    text-align: center;
    padding: 1.5rem;
}

.mission-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.mission-item:hover img {
    transform: scale(1.05);
}

.mission-item h4 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-item p {
    color: #666;
    line-height: 1.8;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.contact-form h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.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;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8B0000;
    outline: none;
}

.submit-btn {
    background-color: #8B0000;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #a00000;
}

.team-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-info h3 {
    color: #8B0000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav a {
        display: block;
        padding: 0.8rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .page-banner h2 {
        font-size: 2rem;
        bottom: 1rem;
        left: 1rem;
    }

    .art-content {
        padding: 1rem;
    }

    .art-examples {
        grid-template-columns: 1fr;
    }

    .cuisine-grid {
        grid-template-columns: 1fr;
    }

    .food-slider {
        grid-template-columns: 1fr;
    }

    .cuisine-intro {
        padding: 1rem;
    }

    .cuisine-intro h3 {
        font-size: 1.8rem;
    }

    .festival-item {
        grid-template-columns: 1fr;
    }

    .festival-timeline::before {
        left: 20px;
    }

    .festival-item::before {
        left: 20px;
    }

    .festival-content {
        padding: 1rem;
    }

    .festival-customs {
        grid-template-columns: 1fr;
    }

    .destination-card {
        grid-template-columns: 1fr;
    }

    .destination-content {
        padding: 1rem;
    }

    .destination-gallery {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .news-content {
        padding: 1rem;
    }

    .news-gallery {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .craft-item {
        grid-template-columns: 1fr;
    }

    .craft-content {
        padding: 1rem;
    }

    .craft-process {
        grid-template-columns: 1fr;
    }

    .masters-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 1rem;
    }

    /* 显示汉堡菜单按钮 */
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s linear;
    }

    /* 移动端导航样式 */
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #8B0000;
        padding-top: 60px;
        transition: 0.3s;
        z-index: 5;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 显示遮罩层 */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 4;
    }

    .overlay.active {
        display: block;
    }
} 