:root {
  --bg: #FAF8F5;
  --bg2: #FFFFFF;
  --ink: #2C2825;
  --muted: #8C857D;
  --rule: #E6E2DC;
  --accent: #C8956C;
  --accent2: #6B9B7E;
  --accent-light: #F5E8DA;
  --accent2-light: #E8F2EB;
  --dark: #1A1715;
  --warn: #E8A87C;
  --warn-bg: #FFF5EC;
  --info: #5B8FB9;
  --info-bg: #EAF2F8;
  --nav-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,0.92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: 0.05em; white-space: nowrap; }
.nav-logo a { color: var(--ink); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: 0.85rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--ink); padding: 0.2rem 0.5rem; }

.hero {
  position: relative; min-height: 520px; display: flex; align-items: flex-end;
  padding-bottom: 3.5rem; padding-top: 2rem; overflow: hidden; border-radius: 0 0 24px 24px;
  margin-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.55);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,21,0.85) 0%, transparent 60%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tag {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 20px;
  background: rgba(200,149,108,0.2); color: var(--accent-light);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; border: 1px solid rgba(200,149,108,0.3);
}
.hero h1 { font-size: 2.6rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; line-height: 1.25; }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.hero-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-meta span { color: rgba(255,255,255,0.6); font-size: 0.85rem; display: flex; align-items: center; gap: 0.3rem; }
.hero-meta span::before { content: "·"; color: var(--accent); font-weight: 700; }

section { padding: 3.5rem 0; }
.section-title {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-title .line { flex: 1; height: 1px; background: var(--rule); }
.section-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }

.overview-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.ov-card {
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.4rem; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.ov-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.ov-card .ov-num { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.ov-card .ov-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--rule); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; background: var(--bg2); min-width: 640px; }
.data-table thead tr { background: var(--accent-light); }
.data-table th { padding: 0.8rem 1rem; text-align: left; font-size: 0.85rem; }
.data-table td { padding: 0.7rem 1rem; font-size: 0.85rem; border-bottom: 1px solid var(--rule); }
.data-table tbody tr:last-child td { border-bottom: none; }
.tag { font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 10px; font-weight: 600; display: inline-block; }
.tag-local { background: var(--accent2-light); color: var(--accent2); }
.tag-trip { background: var(--accent-light); color: #A67C4E; }

.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--rule);
}
.day-block { position: relative; padding-left: 70px; margin-bottom: 2.5rem; }
.day-dot {
  position: absolute; left: 15px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--bg2); border: 3px solid var(--accent);
  z-index: 2;
}
.day-dot.trip { border-color: #D4956A; background: #FFF0E6; }
.day-dot.morning { border-color: var(--accent2); background: var(--accent2-light); }
.day-header-row { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.day-header-row h3 { font-size: 1.15rem; font-weight: 700; }
.day-header-row .day-date { color: var(--muted); font-size: 0.85rem; }
.day-header-row .day-tag {
  font-size: 0.7rem; padding: 0.15rem 0.6rem; border-radius: 12px;
  font-weight: 600; margin-left: auto;
}

.day-card-body {
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px;
  overflow: hidden;
}
.day-card-top { display: flex; gap: 0; }
.day-card-top.reverse { flex-direction: row-reverse; }
.day-img-wrap {
  width: 320px; min-height: 220px; flex-shrink: 0; overflow: hidden; position: relative;
}
.day-img-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.day-info { flex: 1; padding: 1.5rem; min-width: 0; }
.day-info .stay-info {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 0.8rem;
  padding: 0.3rem 0.7rem; background: var(--bg); border-radius: 8px;
}
.day-info .stay-info strong { color: var(--ink); }

.schedule-list { list-style: none; }
.schedule-list li {
  display: flex; gap: 1rem; padding: 0.7rem 0;
  border-bottom: 1px dashed var(--rule);
}
.schedule-list li:last-child { border-bottom: none; }
.schedule-list .sch-time {
  min-width: 55px; font-weight: 600; font-size: 0.8rem; color: var(--accent);
  flex-shrink: 0;
}
.schedule-list .sch-content { flex: 1; min-width: 0; }
.schedule-list .sch-content strong { font-weight: 600; color: var(--ink); }
.schedule-list .sch-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.schedule-list .food-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.food-tag {
  font-size: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 10px;
  background: var(--accent-light); color: #8B6914;
}

.rest-bar {
  background: var(--bg); border-radius: 10px; padding: 0.6rem 1rem;
  color: var(--muted); font-size: 0.85rem; text-align: center;
  margin: 0.5rem 0; border: 1px dashed var(--rule);
}

.info-box {
  background: var(--info-bg); border-left: 4px solid var(--info);
  border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin: 1rem 0;
}
.info-box-title { font-weight: 700; font-size: 0.88rem; color: var(--info); margin-bottom: 0.5rem; }
.info-box .info-row { display: flex; gap: 0.5rem; font-size: 0.82rem; margin-bottom: 0.3rem; flex-wrap: wrap; }
.info-box .info-label { color: var(--muted); min-width: 60px; flex-shrink: 0; }
.info-box .info-val { color: var(--ink); }
.info-box .info-val a { font-weight: 600; }

.entrance-guide {
  background: #FFF9F0; border: 1px solid #F0DDB8; border-radius: 12px;
  padding: 1rem 1.2rem; margin: 0.8rem 0;
}
.entrance-guide .eg-title { font-weight: 700; font-size: 0.85rem; color: #B8860B; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.3rem; }
.entrance-guide .eg-step { font-size: 0.82rem; color: var(--ink); margin-bottom: 0.3rem; padding-left: 1.2rem; position: relative; }
.entrance-guide .eg-step::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.entrance-guide .eg-warn { font-size: 0.78rem; color: var(--warn); margin-top: 0.5rem; padding: 0.4rem 0.6rem; background: var(--warn-bg); border-radius: 6px; }

.attractions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.attr-card {
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px;
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.attr-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.attr-img { height: 180px; overflow: hidden; position: relative; }
.attr-img img { width: 100%; height: 100%; object-fit: cover; }
.attr-body { padding: 1.2rem; }
.attr-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.attr-body .attr-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; }
.attr-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.attr-links { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.attr-links a {
  font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 6px;
  border: 1px solid var(--rule); color: var(--muted);
}
.attr-links a:hover { border-color: var(--accent); color: var(--accent); }
.attr-links a.official { background: var(--accent); color: #fff; border-color: var(--accent); }

.warn-card {
  background: var(--warn-bg); border: 1px solid var(--warn);
  border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 2rem;
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.warn-icon { font-size: 1.2rem; color: var(--warn); flex-shrink: 0; }
.warn-text { font-size: 0.85rem; color: var(--ink); }
.warn-text strong { color: var(--warn); }

.food-section { background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent2-light) 100%); border-radius: 20px; padding: 2.5rem; }
.food-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.food-card {
  background: var(--bg2); border-radius: 14px; padding: 1.4rem;
  border: 1px solid var(--rule);
}
.food-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.food-card h4::before { content: ""; width: 4px; height: 16px; background: var(--accent); border-radius: 2px; }
.food-card .shop-item { padding: 0.5rem 0; border-bottom: 1px dashed var(--rule); }
.food-card .shop-item:last-child { border-bottom: none; }
.food-card .shop-name { font-weight: 600; font-size: 0.88rem; }
.food-card .shop-addr { font-size: 0.78rem; color: var(--muted); }
.food-card .shop-price { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.tip-card {
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px; padding: 1.5rem;
}
.tip-card h4 { font-size: 1rem; font-weight: 700; color: var(--accent2); margin-bottom: 0.7rem; }
.tip-card ul { padding-left: 1.2rem; }
.tip-card li { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; line-height: 1.6; }

.day-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.day-nav a {
  padding: 0.4rem 0.9rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500;
  border: 1px solid var(--rule); color: var(--muted); background: var(--bg2);
}
.day-nav a:hover { border-color: var(--accent); color: var(--accent); }
.day-nav a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

footer { margin-top: 2rem; padding: 2rem 0; border-top: 1px solid var(--rule); text-align: center; }
footer .sources { text-align: left; max-width: 900px; margin: 0 auto; padding-top: 1.5rem; }
footer .sources h3 { font-size: 1rem; margin-bottom: 1rem; }
footer .sources ol { padding-left: 1.2rem; font-size: 0.8rem; color: var(--muted); }
footer .sources li { margin-bottom: 0.4rem; }
footer .sources a { color: var(--accent); word-break: break-all; }

.map-card {
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.map-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.8rem; }
.map-card .route-item {
  display: flex; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--rule);
}
.map-card .route-item:last-child { border-bottom: none; }
.map-card .route-time { min-width: 80px; font-size: 0.8rem; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.map-card .route-info { flex: 1; font-size: 0.85rem; min-width: 0; }
.map-card .route-note { font-size: 0.78rem; color: var(--muted); }

.price-badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 8px;
  font-size: 0.75rem; font-weight: 600; margin-left: 0.4rem;
}
.price-free { background: var(--accent2-light); color: var(--accent2); }
.price-pay { background: var(--accent-light); color: #A67C4E; }

.btn-primary {
  display: inline-block; padding: 0.6rem 1.4rem; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #B5855C; text-decoration: none; }

@media (max-width: 900px) {
  .overview-cards { grid-template-columns: repeat(2, 1fr); }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); }
  .day-card-top { flex-direction: column !important; }
  .day-card-top.reverse { flex-direction: column !important; }
  .day-img-wrap { width: 100%; height: 200px; min-height: 200px; }
  .day-img-wrap img { position: static; }
  .food-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .food-section { padding: 1.5rem; }
}
@media (max-width: 600px) {
  :root { --nav-h: 50px; }
  .hero { min-height: 380px; padding-bottom: 2.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-meta { gap: 0.8rem; }
  .hero-meta span { font-size: 0.78rem; }
  .overview-cards { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .ov-card { padding: 1rem 0.5rem; }
  .ov-card .ov-num { font-size: 1.5rem; }
  .attractions-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--rule); padding: 0.5rem 1.5rem 1rem; gap: 0.3rem; box-shadow: 0 8px 16px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-links a { padding: 0.5rem 0; font-size: 0.9rem; }
  section { padding: 2rem 0; }
  .section-title { font-size: 1.3rem; }
  .container { padding: 0 1rem; }
  .day-block { padding-left: 42px; }
  .timeline::before { left: 15px; }
  .day-dot { left: 6px; width: 18px; height: 18px; }
  .day-header-row h3 { font-size: 1rem; }
  .day-header-row .day-tag { margin-left: 0; }
  .day-info { padding: 1rem; }
  .schedule-list li { gap: 0.6rem; }
  .schedule-list .sch-time { min-width: 42px; font-size: 0.75rem; }
  .schedule-list .sch-note { font-size: 0.76rem; }
  .info-box { padding: 0.8rem 1rem; }
  .info-box .info-row { font-size: 0.78rem; }
  .entrance-guide { padding: 0.8rem 1rem; }
  .entrance-guide .eg-step { font-size: 0.78rem; }
  .map-card { padding: 1rem; }
  .map-card .route-item { flex-direction: column; gap: 0.2rem; }
  .map-card .route-time { min-width: auto; }
  .data-table { min-width: 500px; }
  .food-section { padding: 1.2rem; border-radius: 14px; }
  .tip-card { padding: 1.2rem; }
}
