:root {
    --primary-color: #2c3e50; /* 石墨黑 */
    --accent-color: #8e44ad;  /* 皖山紫 - 呼应紫气 */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --gold: #c5a059; /* 金色点缀 */
    --font-serif: "Noto Serif SC", "SimSun", "Songti SC", serif;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- 导航栏 --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--gold);
    font-size: 0.8em;
    margin-left: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* --- Hero Section (首屏) --- */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- 通用区块样式 --- */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.section-title p::before, .section-title p::after {
    content: '—';
    margin: 0 10px;
    color: var(--gold);
}

/* --- 首页特定 --- */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-card {
    background: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.intro-card:hover {
    transform: translateY(-10px);
}

.intro-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

/* --- 绝美景观页 --- */
.scenery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.scenery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
}

.scenery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.scenery-item:hover img {
    transform: scale(1.1);
}

.scenery-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* --- 人文历史页 --- */
.culture-block {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    gap: 4rem;
}

.culture-block:nth-child(even) {
    flex-direction: row-reverse;
}

.culture-img {
    flex: 1;
    height: 400px;
    background-color: #ddd; /* 占位色 */
    background-size: cover;
    background-position: center;
    box-shadow: 15px 15px 0 var(--bg-light), 15px 15px 0 2px var(--gold);
}

.culture-content {
    flex: 1;
}

.quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    margin: 1.5rem 0;
}

/* --- 页脚 --- */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 2rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .scenery-grid, .culture-block { grid-template-columns: 1fr; flex-direction: column; }
    .culture-block:nth-child(even) { flex-direction: column; }
    nav ul { gap: 1rem; font-size: 0.9rem; }
}
