/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #159895;
    --accent-color: #57c5b6;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header样式 */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: bold;
}

.tagline {
    font-size: 12px;
    color: var(--text-light);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 特性区域 */
.features {
    padding: 80px 20px;
    background: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.feature-card a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* 推荐区域 */
.highlights {
    padding: 80px 20px;
}

.highlights h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.highlight-list {
    max-width: 900px;
    margin: 0 auto;
}

.highlight-item {
    background: var(--white);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.highlight-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight-item p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.highlight-item a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* 统计区域 */
.stats {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    padding: 60px 20px;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Footer样式 */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 内容区域样式 */
.content-section {
    padding: 60px 20px;
}

.featured-section {
    margin-bottom: 60px;
}

.featured-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

/* 时间线样式 */
.timeline {
    max-width: 800px;
    margin: 0 auto 60px;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 150px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
    padding-top: 5px;
}

.timeline-content {
    flex-grow: 1;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 风景网格 */
.scenic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.scenic-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.scenic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.scenic-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.scenic-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 街道网格 */
.street-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.street-card {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.street-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
}

.street-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.street-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.street-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 特色网格 */
.feature-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-small {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.feature-small h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-small p {
    color: var(--text-light);
    font-size: 14px;
}

/* 民俗卡片 */
.customs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.customs-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.customs-card:hover {
    transform: translateY(-3px);
}

.customs-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.customs-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.customs-time {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 工艺列表 */
.crafts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.craft-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.craft-item h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.craft-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 美食网格 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.food-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.food-card:hover {
    transform: translateY(-3px);
}

.food-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.food-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.food-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 小吃列表 */
.snack-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.snack-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.snack-item h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.snack-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 建筑网格 */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.arch-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.arch-card:hover {
    transform: translateY(-3px);
}

.arch-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.arch-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.arch-year {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}

/* 特色内容 */
.feature-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 传说列表 */
.legend-list {
    max-width: 900px;
    margin: 0 auto 60px;
}

.legend-item {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.legend-item h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.legend-summary {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    font-style: italic;
}

.legend-content p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 15px;
}

.legend-location {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 照片画廊 */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.photo-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-3px);
}

.photo-placeholder {
    background: var(--bg-light);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.photo-info {
    padding: 20px;
}

.photo-info h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.photo-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.photo-date {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
}

/* 介绍框 */
.intro-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 60px;
    text-align: center;
}

.intro-box p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 16px;
}

.note {
    font-style: italic;
    color: var(--text-light) !important;
    font-size: 14px !important;
}

/* 访谈列表 */
.interview-list {
    max-width: 900px;
    margin: 0 auto 60px;
}

.interview-item {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.interview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.interviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interviewer-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.interviewer-details h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 5px;
}

.interviewer-age {
    color: var(--text-light);
    font-size: 14px;
}

.interview-date {
    color: var(--text-light);
    font-size: 14px;
}

.interview-content h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.interview-content p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 15px;
}

.interview-tags {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 关于部分 */
.about-section {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 25px;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 15px;
}

/* 使命列表 */
.mission-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.mission-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.mission-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.mission-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* 联系信息 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 14px;
}

/* 加入列表 */
.join-list {
    margin: 30px 0;
    padding-left: 20px;
}

.join-list li {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 10px;
}

.join-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    margin-top: 20px;
}

/* 特性框 */
.feature-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.feature-box h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-box p {
    line-height: 1.9;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .features h2,
    .highlights h2 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .timeline-year {
        width: 100px;
        font-size: 16px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-content {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--secondary-color);
        padding-top: 15px;
    }

    .crafts-list,
    .snack-list,
    .feature-content,
    .interview-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }

    .nav-menu {
        gap: 5px;
    }

    .nav-menu a {
        font-size: 12px;
        padding: 5px 8px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 60px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .street-grid,
    .food-grid,
    .architecture-grid {
        grid-template-columns: 1fr;
    }

    .legend-item,
    .interview-item {
        padding: 25px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}
