/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 头部样式 */
header {
    background: #fff;
    padding: 20px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    color: #c41230;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language a {
    text-decoration: none;
    color: #666;
    padding: 5px 10px;
    margin-left: 10px;
}

.language a.active {
    color: #c41230;
    font-weight: bold;
}

.search input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.search button {
    padding: 8px 15px;
    background: #c41230;
    color: white;
    border: none;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
}

/* 导航样式 */
nav {
    background: #c41230;
    padding: 0 50px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav > ul > li {
    position: relative;
    float: left;
}

nav > ul > li > a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 16px;
}

nav > ul > li > a:hover,
nav > ul > li > a.active {
    background: #a30f28;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 轮播图样式 */
.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.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;
}

.slide-text {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* 内容区域样式 */
main {
    padding: 50px;
}

.featured h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #c41230;
    font-size: 28px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-grid article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.featured-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-grid h3 {
    padding: 15px;
    color: #c41230;
}

.featured-grid p {
    padding: 0 15px 15px;
    color: #666;
}

/* 底部样式 */
footer {
    background: #333;
    color: white;
    padding: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-links h3 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-links a:hover {
    color: white;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
}

/* 联系我们页面样式 */
.contact-page {
    padding: 50px;
    background: #f9f9f9;
}

.contact-page h2 {
    text-align: center;
    color: #c41230;
    margin-bottom: 40px;
    font-size: 32px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3,
.contact-form h3 {
    color: #c41230;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

.contact-info strong {
    color: #333;
}

.contact-image {
    margin-top: 30px;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
}

.contact-form 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: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.submit-btn,
.reset-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn {
    background: #c41230;
    color: white;
}

.submit-btn:hover {
    background: #a30f28;
}

.reset-btn {
    background: #666;
    color: white;
}

.reset-btn:hover {
    background: #555;
}

/* 传统艺术页面样式 */
.art-page {
    background: #f9f9f9;
}

.art-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.art-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: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 24px;
}

.art-section {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.art-section:nth-child(even) {
    background: white;
}

.art-section h2 {
    text-align: center;
    color: #c41230;
    font-size: 36px;
    margin-bottom: 40px;
}

.art-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.art-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.art-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature h4 {
    color: #c41230;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    margin-bottom: 0;
    font-size: 14px;
}

.art-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.art-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.art-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .art-content {
        grid-template-columns: 1fr;
    }
    
    .art-features {
        grid-template-columns: 1fr;
    }
    
    .art-gallery {
        grid-template-columns: 1fr;
    }
} 

/* 传统节日页面样式 */
.festival-page {
    background: #f9f9f9;
}

.festival-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.festival-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.festival-banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.festival-banner p {
    font-size: 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.festival-intro {
    padding: 60px 0;
    text-align: center;
}

.festival-intro h2 {
    color: #c41230;
    font-size: 36px;
    margin-bottom: 30px;
}

.festival-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.festival-content {
    padding: 40px 0;
}

.festival-item {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.festival-item h3 {
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.festival-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.festival-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.festival-features {
    list-style: none;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.festival-features li {
    margin-bottom: 15px;
    color: #666;
}

.festival-features li:last-child {
    margin-bottom: 0;
}

.festival-features strong {
    color: #333;
    margin-right: 10px;
}

.festival-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.festival-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.festival-images img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .festival-grid {
        grid-template-columns: 1fr;
    }
    
    .festival-images {
        grid-template-columns: 1fr;
    }
    
    .festival-images img {
        height: 200px;
    }
    
    .festival-item {
        padding: 20px;
    }
} 

/* 饮食文化页面样式 */
.food-page {
    background: #f9f9f9;
}

.food-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.food-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.food-banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.food-banner p {
    font-size: 24px;
}

.food-intro {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.food-intro h2 {
    color: #c41230;
    font-size: 36px;
    margin-bottom: 30px;
}

.food-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.food-content {
    padding: 40px 0;
}

.food-item {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.food-item h3 {
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.food-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.food-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.food-features {
    list-style: none;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.food-features li {
    margin-bottom: 15px;
    color: #666;
}

.food-features li:last-child {
    margin-bottom: 0;
}

.food-features strong {
    color: #333;
    margin-right: 10px;
}

.food-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.food-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.food-images img:hover {
    transform: scale(1.05);
}

.food-culture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.culture-quote {
    text-align: center;
    color: #c41230;
}

.culture-quote p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.culture-quote span {
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .food-grid {
        grid-template-columns: 1fr;
    }
    
    .food-images {
        grid-template-columns: 1fr;
    }
    
    .food-item {
        padding: 20px;
    }
    
    .food-culture {
        padding: 20px;
    }
} 

/* 服饰文化页面样式 */
.clothing-page {
    background: #f9f9f9;
}

.clothing-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.clothing-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clothing-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.clothing-banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.clothing-banner p {
    font-size: 24px;
}

.clothing-intro {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.clothing-intro h2 {
    color: #c41230;
    font-size: 36px;
    margin-bottom: 30px;
}

.clothing-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.clothing-content {
    padding: 40px 0;
}

.clothing-item {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.clothing-item h3 {
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.clothing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.clothing-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.clothing-features {
    list-style: none;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.clothing-features li {
    margin-bottom: 15px;
    color: #666;
}

.clothing-features li:last-child {
    margin-bottom: 0;
}

.clothing-features strong {
    color: #333;
    margin-right: 10px;
}

.clothing-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.clothing-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.clothing-images img:hover {
    transform: scale(1.05);
}

.clothing-culture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.clothing-culture .culture-quote {
    text-align: center;
    color: #c41230;
}

.clothing-culture .culture-quote p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.clothing-culture .culture-quote span {
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .clothing-grid {
        grid-template-columns: 1fr;
    }
    
    .clothing-images {
        grid-template-columns: 1fr;
    }
    
    .clothing-item {
        padding: 20px;
    }
    
    .clothing-culture {
        padding: 20px;
    }
} 

/* 建筑文化页面样式 */
.architecture-page {
    background: #f9f9f9;
}

.architecture-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.architecture-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.architecture-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.architecture-banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.architecture-banner p {
    font-size: 24px;
}

.architecture-intro {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.architecture-intro h2 {
    color: #c41230;
    font-size: 36px;
    margin-bottom: 30px;
}

.architecture-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.architecture-content {
    padding: 40px 0;
}

.architecture-item {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.architecture-item h3 {
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.architecture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.architecture-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.architecture-features {
    list-style: none;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.architecture-features li {
    margin-bottom: 15px;
    color: #666;
}

.architecture-features li:last-child {
    margin-bottom: 0;
}

.architecture-features strong {
    color: #333;
    margin-right: 10px;
}

.architecture-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.architecture-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.architecture-images img:hover {
    transform: scale(1.05);
}

.architecture-culture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.architecture-culture .culture-quote {
    text-align: center;
    color: #c41230;
}

.architecture-culture .culture-quote p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.architecture-culture .culture-quote span {
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .architecture-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-images {
        grid-template-columns: 1fr;
    }
    
    .architecture-item {
        padding: 20px;
    }
    
    .architecture-culture {
        padding: 20px;
    }
} 

/* 文学经典页面样式 */
.literature-page {
    background: #f9f9f9;
}

.literature-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.literature-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.literature-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.literature-banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.literature-banner p {
    font-size: 24px;
}

.literature-intro {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.literature-intro h2 {
    color: #c41230;
    font-size: 36px;
    margin-bottom: 30px;
}

.literature-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.literature-content {
    padding: 40px 0;
}

.literature-item {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.literature-item h3 {
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.literature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.literature-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.literature-features {
    list-style: none;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.literature-features li {
    margin-bottom: 15px;
    color: #666;
}

.literature-features li:last-child {
    margin-bottom: 0;
}

.literature-features strong {
    color: #333;
    margin-right: 10px;
}

.literature-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.literature-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.literature-images img:hover {
    transform: scale(1.05);
}

.literature-culture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.literature-culture .culture-quote {
    text-align: center;
    color: #c41230;
}

.literature-culture .culture-quote p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.literature-culture .culture-quote span {
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .literature-grid {
        grid-template-columns: 1fr;
    }
    
    .literature-images {
        grid-template-columns: 1fr;
    }
    
    .literature-item {
        padding: 20px;
    }
    
    .literature-culture {
        padding: 20px;
    }
} 