/* 基础样式 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 封面区域 */
.hero-section {
    height: 500px;
    position: relative;
    background: url('../images/界面六/当归.jpg') no-repeat center center;
    background-size: cover;
    margin-bottom: 60px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 节日展示区域 */
.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

.festival-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.festival-card:hover {
    transform: translateY(-10px);
}

.festival-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.festival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.festival-card:hover .festival-image img {
    transform: scale(1.1);
}

.festival-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(152, 54, 54, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.festival-content {
    padding: 25px;
}

.festival-content h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.festival-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.festival-tags {
    display: flex;
    gap: 10px;
}

.festival-tags span {
    background: #f0f2f5;
    color: #983636;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

/* 民俗文化展示区域 */
.culture-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.culture-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #983636, #c84a4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 2em;
    color: white;
}

.culture-card h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.culture-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.culture-features {
    list-style: none;
    padding: 0;
}

.culture-features li {
    color: #666;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.culture-features li::before {
    content: '•';
    color: #983636;
    position: absolute;
    left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .festivals-grid {
        grid-template-columns: 1fr;
    }

    .culture-cards {
        grid-template-columns: 1fr;
    }
} 

/* 民俗活动展示区样式 */
.folk-activities {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.activity-slider {
    padding: 20px;
    overflow: hidden;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    margin: 20px;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-image {
    position: relative;
    height: 300px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.activity-time {
    color: white;
    font-size: 1.2em;
    font-weight: 500;
}

.activity-info {
    padding: 30px;
}

.activity-details {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.activity-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

/* 民俗传说展示区样式 */
.folk-stories {
    padding: 60px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.story-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #983636, #c84a4a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-card:hover::before {
    opacity: 1;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.story-header i {
    font-size: 2em;
    color: #983636;
    transition: transform 0.3s ease;
}

.story-card:hover .story-header i {
    transform: scale(1.1);
}

.story-header h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 2px solid #983636;
    color: #983636;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.read-more:hover {
    background: #983636;
    color: white;
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 民俗体验区域新样式 */
.folk-experience {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.experience-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
}

.nav-item.active {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #983636, #c84a4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-icon i {
    font-size: 24px;
    color: white;
}

.nav-item span {
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 500;
}

.nav-item:hover .nav-icon {
    transform: translateY(-5px);
}

.tab-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.tab-panel.active {
    display: grid;
}

.panel-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
}

.overlay-content h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.panel-info {
    padding: 40px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.info-header h3 {
    font-size: 1.8em;
    color: #2c3e50;
}

.duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.info-features {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 20px;
    color: #983636;
}

.feature-text h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.feature-text p {
    color: #666;
}

.info-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #983636;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #c84a4a;
    transform: translateX(5px);
}

.book-btn i {
    transition: transform 0.3s ease;
}

.book-btn:hover i {
    transform: translateX(5px);
}

.price {
    font-size: 1.5em;
    font-weight: bold;
    color: #983636;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .experience-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .tab-panel {
        grid-template-columns: 1fr;
    }

    .panel-image {
        height: 300px;
    }

    .panel-info {
        padding: 30px;
    }
}