/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --primary-light: #4a8c3f;
    --accent-color: #c8a95c;
    --accent-dark: #a8883c;
    --text-dark: #2c3e50;
    --text-light: #6c7a89;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e8e8e8;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== 顶部导航 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(44,95,45,0.3);
}

.logo-text h1 {
    font-size: 26px;
    color: var(--primary-color);
    letter-spacing: 3px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-box:focus-within {
    border-color: var(--primary-color);
}

.search-box input {
    border: none;
    padding: 8px 16px;
    width: 200px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    border: none;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary-light);
}

.weather-widget {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s;
}

.weather-widget a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.weather-widget a:hover {
    color: var(--primary-color);
}

.weather-refresh {
    font-size: 12px;
    opacity: 0.5;
    margin-left: 2px;
    transition: transform 0.4s, opacity 0.3s;
}

.weather-widget:hover .weather-refresh {
    opacity: 1;
}

#weatherTemp {
    font-size: 15px;
}

#weatherTempRange {
    display: inline-block;
    min-width: 58px;
}

/* 主导航 */
.main-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.nav-list {
    display: flex;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: 14px 22px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
}

.nav-list li a:hover,
.nav-list li.active a {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-list li a:hover::after,
.nav-list li.active a::after {
    width: 60%;
}

/* ===== Banner轮播 ===== */
.banner-section {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.banner-btn {
    display: inline-block;
    padding: 12px 36px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(200,169,92,0.4);
}

.banner-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,169,92,0.5);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: #fff;
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 快捷入口 ===== */
.quick-links {
    padding: 50px 0 30px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.quick-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quick-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 26px;
    color: #fff;
}

.quick-card h3 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quick-card p {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== 通用区块标题 ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-dark);
    position: relative;
    padding-left: 16px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: linear-gradient(var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.more-link {
    color: var(--text-light);
    font-size: 14px;
}

.more-link:hover {
    color: var(--primary-color);
}

/* ===== 新闻资讯 ===== */
.news-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* ===== 左侧：图片轮播图（自适应图片比例） ===== */
.news-carousel {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #1a1a2e;
    cursor: pointer;
    aspect-ratio: 3 / 2;
}

.news-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s;
    text-decoration: none;
    color: #fff;
    display: block;
}

.news-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.news-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.news-carousel-slide.active .news-carousel-img {
    transform: scale(1.06);
}

.news-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 28px 36px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%);
    z-index: 3;
}

.news-carousel-content {
    max-width: 90%;
}

.news-carousel-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-carousel-content h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-carousel-content p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-carousel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-carousel-date {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.news-carousel-more {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.news-carousel-slide:hover .news-carousel-more {
    opacity: 1;
    transform: translateX(4px);
}

/* 左右切换按钮 */
.news-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.news-carousel:hover .news-carousel-nav {
    opacity: 1;
}

.news-carousel-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.15);
}

.news-carousel-nav.prev {
    left: 12px;
}

.news-carousel-nav.next {
    right: 12px;
}

/* 圆点指示器 */
.news-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 28px;
    display: flex;
    gap: 7px;
    z-index: 10;
}

.news-carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.news-carousel-dots .dot:hover {
    background: rgba(255,255,255,0.7);
}

.news-carousel-dots .dot.active {
    background: var(--accent-color);
    transform: scale(1.35);
    box-shadow: 0 0 6px rgba(200,169,92,0.6);
}

/* ===== 右侧：新闻目录列表 ===== */
.news-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.news-tag.small {
    font-size: 11px;
    padding: 2px 8px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.news-date {
    font-size: 13px;
    color: #999;
}

.news-directory {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #fff;
}

.news-dir-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    transition: all 0.3s;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.news-dir-item:last-child {
    border-bottom: none;
}

.news-dir-date {
    width: 44px;
    height: 50px;
    flex-shrink: 0;
    background: var(--bg-light);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.news-dir-date .dir-day {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.news-dir-date .dir-month {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 1px;
}

.news-dir-body {
    flex: 1;
    min-width: 0;
}

.news-dir-body h4 {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-dir-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-dir-item:hover {
    background: var(--bg-light);
}

.news-dir-item:hover .news-dir-body h4 {
    color: var(--primary-color);
}

.news-dir-item.active {
    background: #f0f7f0;
}

.news-dir-item.active .news-dir-date {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.news-dir-item.active .news-dir-date .dir-day,
.news-dir-item.active .news-dir-date .dir-month {
    color: #fff;
}

.news-dir-item.active .news-dir-body h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== 古镇概况 ===== */
.overview-section {
    padding: 50px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.overview-text .lead {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 16px;
}

.overview-text p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 2;
}

.overview-text strong {
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.stat-item {
    text-align: center;
    padding: 16px 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(44,95,45,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,95,45,0.4);
}

.overview-image {
    width: 100%;
    height: 400px;
}

/* ===== 特色景点 ===== */
.attractions-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.attraction-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}

.attraction-card:hover h3 {
    color: var(--primary-color);
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.attraction-image {
    width: 100%;
    height: 200px;
}

.attraction-info {
    padding: 16px;
}

.attraction-info h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.attraction-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 友情链接（简单文字列表） ===== */
.friend-links {
    background: #f8f9f8;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.friend-links-title {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    line-height: 2;
}

.friend-links-list a {
    display: inline-block;
    padding: 0 12px;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.friend-links-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.friend-links-list .link-sep {
    color: #ccc;
    font-size: 13px;
}

@media (max-width: 480px) {
    .link-board-grid {
        grid-template-columns: 1fr;
    }
    .link-marquee-item {
        padding: 6px 10px;
    }
    .link-marquee-item span {
        font-size: 11px;
    }
}

.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ===== 页面通用样式 ===== */
.page-banner {
    height: 300px;
    background: linear-gradient(135deg, rgba(44,95,45,0.8), rgba(200,169,92,0.6)), url('https://picsum.photos/1920/400?random=40') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 36px;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-banner p {
    font-size: 16px;
    margin-top: 10px;
    opacity: 0.9;
}

.page-content {
    padding: 50px 0;
}

.page-section {
    margin-bottom: 50px;
}

.page-section h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.page-section p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 16px;
}

.content-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.content-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.info-table th,
.info-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.info-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

.info-table tr:nth-child(even) {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-year {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 6px;
}

.timeline-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    .header-tools {
        width: 100%;
        justify-content: space-between;
    }
    .search-box input {
        width: 140px;
    }
    .weather-widget {
        display: none;
    }
    .nav-list {
        overflow-x: auto;
        white-space: nowrap;
    }
    .banner-section {
        height: 320px;
    }
    .banner-content h2 {
        font-size: 26px;
    }
    .banner-content p {
        font-size: 14px;
    }
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-carousel {
        aspect-ratio: 16 / 10;
    }
    .news-carousel-content h2 {
        font-size: 17px;
    }
    .news-carousel-content p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .news-directory {
        max-height: 400px;
        overflow-y: auto;
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .logo-text h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .quick-card {
        padding: 16px 10px;
    }
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    .banner-section {
        height: 260px;
    }
    .banner-content h2 {
        font-size: 22px;
    }
    .section-header h2 {
        font-size: 20px;
    }
}

/* ===== 新页面样式 ===== */

/* 页面介绍文字 */
.page-intro {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

.page-intro strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 版块标题 */
.story-category {
    margin-bottom: 40px;
}

.story-category h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0e8;
}

/* 景点详情卡片（文旅页） */
.attractions-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.attraction-detail-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.attraction-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44,85,48,0.1);
}

.attraction-detail-image {
    width: 200px;
    flex-shrink: 0;
    min-height: 150px;
}

.attraction-detail-info {
    flex: 1;
    padding: 20px;
}

.attraction-detail-info h3 {
    font-size: 19px;
    color: #222;
    margin-bottom: 10px;
}

.attraction-detail-info .tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.attraction-detail-info .tags span {
    background: #f0f7f0;
    color: var(--primary-color);
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
}

.attraction-detail-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

/* 美食卡片 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.food-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.food-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44,85,48,0.1);
}

.food-image {
    width: 100%;
    height: 220px;
}

.food-info {
    padding: 22px;
}

.food-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.food-info h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 12px;
}

.food-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.food-tip {
    font-size: 13px;
    color: var(--primary-color);
    background: #f0f7f0;
    padding: 8px 12px;
    border-radius: 6px;
}

/* 非遗卡片 */
.intangible-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.intangible-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.intangible-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44,85,48,0.1);
}

.intangible-image {
    width: 100%;
    height: 220px;
}

.intangible-info {
    padding: 22px;
}

.intangible-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.intangible-info h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 6px;
}

.intangible-level {
    font-size: 13px;
    color: #c0392b;
    font-weight: 500;
    margin-bottom: 12px;
}

.intangible-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.intangible-meta {
    border-top: 1px solid #eee;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.intangible-meta span {
    font-size: 13px;
    color: #777;
}

/* 赶集日历 */
.market-calendar {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
}

.market-calendar h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.calendar-tip {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.calendar-month {
    background: #f8faf8;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    border: 1px solid #e8f0e8;
}

.calendar-month h4 {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.calendar-dates {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* 赶集亮点 */
.market-highlights {
    margin-bottom: 36px;
}

.market-highlights h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0e8;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.market-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
    text-align: center;
    transition: transform 0.3s;
}

.market-card:hover {
    transform: translateY(-3px);
}

.market-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.market-card h4 {
    font-size: 17px;
    color: #222;
    margin-bottom: 10px;
}

.market-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 赶集见闻 */
.market-stories h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0e8;
}

.story-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
}

.story-date {
    flex-shrink: 0;
    width: 80px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
}

.story-content h4 {
    font-size: 17px;
    color: #222;
    margin-bottom: 8px;
}

.story-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* 故事卡片（人文趣事） */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.story-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
    transition: transform 0.3s;
}

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

.story-image {
    width: 100%;
    height: 200px;
}

.story-body {
    padding: 20px;
}

.story-body h4 {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
}

.story-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* 联系页面样式 */
.contact-section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 15px rgba(44,85,48,0.04);
}

.contact-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0e8;
}

.contact-section p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.highlight-card {
    text-align: center;
    padding: 20px 14px;
    background: #f8faf8;
    border-radius: 10px;
    border: 1px solid #e8f0e8;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
    color: #fff;
}

.highlight-card h4 {
    font-size: 15px;
    color: #222;
    margin-bottom: 6px;
}

.highlight-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    color: #222;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.social-link {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f7f0;
    color: var(--primary-color);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 响应式 */
@media (max-width: 900px) {
    .attractions-grid-full,
    .food-grid,
    .intangible-grid {
        grid-template-columns: 1fr;
    }
    .attraction-detail-card {
        flex-direction: column;
    }
    .attraction-detail-image {
        width: 100%;
        height: 180px;
    }
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .market-grid,
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .intro-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .market-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    .story-item {
        flex-direction: column;
        gap: 12px;
    }
    .story-date {
        width: auto;
        align-self: flex-start;
    }
}

/* 首页美食推荐版块 */
.food-section {
    padding: 60px 0;
    background: #fff;
}

.food-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.food-section-card {
    background: #f8faf8;
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8f0e8;
}

.food-section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(44,85,48,0.1);
}

.food-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
    color: #fff;
}

.food-section-card h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}

.food-section-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .food-section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .food-section-grid {
        grid-template-columns: 1fr;
    }
}
