/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c0392b;
    --secondary-color: #e74c3c;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --accent-gold: #d4a574;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent-gold);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="80" opacity="0.03">🏔️</text></svg>') repeat;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 52, 96, 0.8), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 28px;
    letter-spacing: 8px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 0.6s forwards, bounce 2s ease-in-out infinite 1.5s;
    opacity: 0;
}

.scroll-hint span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* 通用区块样式 */
.section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-dark {
    background: var(--dark-color);
    color: #fff;
}

.section-warm {
    background: linear-gradient(135deg, #2d1b1b 0%, #1a1a2e 100%);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* 历史文化区块 */
.culture-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.culture-intro p {
    font-size: 17px;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
    margin-bottom: 20px;
}

.culture-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.culture-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 风景景点区块 */
.scenery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.scenery-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.scenery-card:hover {
    transform: scale(1.02);
}

.scenery-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder {
    font-size: 80px;
    opacity: 0.8;
}

.scenery-info {
    padding: 30px;
}

.scenery-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.scenery-info p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.scenery-tags, .food-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.scenery-tags span, .food-tags span {
    padding: 5px 15px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-gold);
}

/* 人文风情区块 */
.humanity-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.subsection-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-color);
}

.poems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.poem-card {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.poem-card:hover {
    transform: translateY(-5px);
}

.poem-author {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.poem-title {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.poem-content {
    font-size: 18px;
    line-height: 2.2;
    color: var(--dark-color);
    font-style: italic;
    margin-bottom: 20px;
}

.poem-content p {
    margin: 0;
}

.poem-note {
    font-size: 13px;
    color: var(--text-light);
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.person-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
}

.person-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dark-color), #0f3460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.person-info h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.person-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 特色美食区块 */
.food-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.food-intro p {
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.food-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.food-card:hover {
    transform: translateY(-5px);
}

.food-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-info {
    padding: 30px;
    flex: 1;
}

.food-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.food-info p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* 页脚 */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.footer-logo {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 30px;
    letter-spacing: 5px;
}

.footer-quote {
    margin-bottom: 40px;
}

.footer-quote p {
    font-size: 20px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.quote-author {
    font-size: 14px !important;
    color: var(--accent-gold) !important;
    margin-top: 10px;
}

.footer-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-info p {
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 50px;
        letter-spacing: 10px;
    }
    
    .culture-cards {
        grid-template-columns: 1fr;
    }
    
    .scenery-grid {
        grid-template-columns: 1fr;
    }
    
    .poems-grid {
        grid-template-columns: 1fr;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .food-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 5px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 3px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .people-grid {
        grid-template-columns: 1fr;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
