/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f5f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #8b0000;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 英雄区域样式 */
.hero {
    text-align: center;
    padding: 60px 0;
    background-color: #fff;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 2.2em;
    color: #8b0000;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 特色区域样式 */
.features {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5em;
    color: #8b0000;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
}

/* 视频区域样式 */
.video-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.video-section h2 {
    font-size: 2em;
    color: #8b0000;
    margin-bottom: 30px;
}

.video-section video {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 简介区域样式 */
.intro {
    padding: 60px 0;
    background-color: #fff;
}

.intro-content {
    text-align: center;
}

.intro-content h2 {
    font-size: 2em;
    color: #8b0000;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 1.1em;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.intro-feature {
    padding: 20px;
    background-color: #f9f5f0;
    border-radius: 8px;
    transition: transform 0.3s;
}

.intro-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 15px;
}

.intro-feature h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

/* 最新活动区域样式 */
.news {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.news h2 {
    text-align: center;
    font-size: 2em;
    color: #8b0000;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #8b0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #660000;
}

/* 图片画廊样式 */
.gallery {
    padding: 60px 0;
    background-color: #fff;
}

.gallery h2 {
    text-align: center;
    font-size: 2em;
    color: #8b0000;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* 页脚样式更新 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .feature-item {
        margin-bottom: 20px;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background: #fff;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }

    .carousel-button {
        padding: 10px 15px;
        font-size: 16px;
    }
}

/* 茶文化页面样式 */
.page-hero {
    text-align: center;
    padding: 60px 0;
    background-color: #fff;
}

.page-hero .hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tea-history {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.history-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
}

.history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.timeline-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.timeline-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.history-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tea-ceremony {
    padding: 60px 0;
    background-color: #fff;
}

.ceremony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ceremony-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f5f0;
    border-radius: 8px;
    transition: transform 0.3s;
}

.ceremony-item:hover {
    transform: translateY(-5px);
}

.ceremony-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ceremony-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.tea-types {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.tea-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tea-category {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tea-category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-content {
    padding: 20px;
}

.category-content h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.category-content p {
    color: #666;
    margin-bottom: 15px;
}

.category-content ul {
    list-style: none;
    padding-left: 0;
}

.category-content ul li {
    color: #666;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.category-content ul li::before {
    content: "•";
    color: #8b0000;
    position: absolute;
    left: 0;
}

.tea-performance {
    padding: 60px 0;
    background-color: #fff;
}

.video-wrapper {
    margin-bottom: 30px;
}

.video-wrapper video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.performance-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.performance-info h3 {
    color: #8b0000;
    margin-bottom: 15px;
}

.performance-info p {
    color: #666;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #8b0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #660000;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .history-content {
        grid-template-columns: 1fr;
    }

    .history-image {
        order: -1;
    }

    .ceremony-grid {
        grid-template-columns: 1fr;
    }

    .tea-categories {
        grid-template-columns: 1fr;
    }
}

/* 书法艺术页面样式 */
.calligraphy-intro {
    padding: 60px 0;
    background-color: #fff;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
}

.style-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.style-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f5f0;
    border-radius: 8px;
    transition: transform 0.3s;
}

.style-item:hover {
    transform: translateY(-5px);
}

.style-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.style-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.calligraphy-schools {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.school-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.school-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.school-content {
    padding: 20px;
}

.school-content h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.school-content p {
    color: #666;
    line-height: 1.6;
}

.calligraphy-tools {
    padding: 60px 0;
    background-color: #fff;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tool-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f5f0;
    border-radius: 8px;
    transition: transform 0.3s;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.tool-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.masterworks {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.works-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.work-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.calligraphy-learning {
    padding: 60px 0;
    background-color: #fff;
}

.learning-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.learning-info {
    text-align: center;
}

.learning-info h3 {
    color: #8b0000;
    margin-bottom: 15px;
}

.learning-info p {
    color: #666;
    margin-bottom: 20px;
}

.interactive-experience {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.experience-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.experience-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.experience-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.experience-item h3 {
    color: #8b0000;
    margin: 20px 0 10px;
}

.experience-item p {
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

.experience-item .cta-button {
    margin: 0 20px 20px;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .learning-content {
        grid-template-columns: 1fr;
    }

    .learning-info {
        order: -1;
    }

    .experience-content {
        grid-template-columns: 1fr;
    }
}

/* 传统节日页面样式 */
.festivals-intro {
    padding: 60px 0;
    background-color: #fff;
}

.festival-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.timeline-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f5f0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item .month {
    display: block;
    color: #8b0000;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.timeline-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.major-festivals {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.festival-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.festival-item:hover {
    transform: translateY(-5px);
}

.festival-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.festival-content {
    padding: 20px;
}

.festival-content h3 {
    color: #8b0000;
    margin-bottom: 15px;
}

.festival-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.customs-list {
    list-style: none;
    padding-left: 0;
}

.customs-list li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.customs-list li::before {
    content: "•";
    color: #8b0000;
    position: absolute;
    left: 0;
}

.festival-customs {
    padding: 60px 0;
    background-color: #fff;
}

.customs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.custom-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f5f0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.custom-item:hover {
    transform: translateY(-5px);
}

.custom-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.custom-item h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

.festival-food {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.food-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.food-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.food-item:hover img {
    transform: scale(1.1);
}

.food-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
}

.festival-activities {
    padding: 60px 0;
    background-color: #fff;
}

.activities-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.activities-info {
    text-align: center;
}

.activities-info h3 {
    color: #8b0000;
    margin-bottom: 15px;
}

.activities-info p {
    color: #666;
    margin-bottom: 20px;
}

.interactive-events {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-item h3 {
    color: #8b0000;
    margin: 20px 0 10px;
}

.event-item p {
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

.event-item .cta-button {
    margin: 0 20px 20px;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .activities-content {
        grid-template-columns: 1fr;
    }

    .activities-info {
        order: -1;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .festival-timeline {
        grid-template-columns: 1fr;
    }

    .festivals-grid {
        grid-template-columns: 1fr;
    }

    .customs-grid {
        grid-template-columns: 1fr;
    }

    .food-slider {
        grid-template-columns: 1fr;
    }
} 