* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #2c2c2c; background: #f5f0e8; line-height: 1.8; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== Header ===== */
.header {
  background: linear-gradient(135deg, #2d5a27 0%, #1a3a16 100%);
  color: #fff; padding: 0 16px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.logo { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.logo span { color: #f5c842; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { opacity: .85; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: 1; color: #f5c842; }
.menu-toggle { display: none; font-size: 26px; cursor: pointer; }

/* ===== Hero Banner ===== */
.hero {
  position: relative; height: 460px; overflow: hidden;
  background: linear-gradient(135deg, #1a3a16, #2d5a27, #8ec5c1);
  color: #e5b219;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  opacity: 0; transition: opacity 1s;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
}
.hero-content { position: relative; z-index: 1; padding: 20px; }
.hero-content h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-content p { font-size: clamp(14px, 2.5vw, 20px); opacity: .92; max-width: 600px; margin: 0 auto; }
.hero-temp { position: absolute; top: 24px; right: 24px; z-index: 2;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border-radius: 30px; padding: 8px 20px; font-size: 15px; color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-temp strong { font-size: 22px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.hero-dots span.active { background: #f5c842; transform: scale(1.3); }

/* ===== Sections ===== */
.section { padding: 60px 16px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 26px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.section-title span { color: #2d5a27; }
.section-sub { text-align: center; color: #666; margin-bottom: 36px; font-size: 15px; }

/* ===== Tags ===== */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.tag {
  padding: 8px 24px; border-radius: 30px; font-size: 14px; font-weight: 600;
  border: 2px solid; cursor: default; transition: transform .2s;
}
.tag:hover { transform: translateY(-2px); }
.tag-green { border-color: #2d5a27; color: #2d5a27; background: rgba(45,90,39,.06); }
.tag-cyan { border-color: #5a9e9a; color: #2d7a75; background: rgba(90,158,154,.06); }
.tag-gold { border-color: #c9a84c; color: #8a7230; background: rgba(201,168,76,.06); }
.tag-orange { border-color: #d4833a; color: #8a5520; background: rgba(212,131,58,.06); }
.tag-red { border-color: #b5564a; color: #7a332a; background: rgba(181,86,74,.06); }

/* ===== Card Grid ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card-img { height: 190px; display: flex; align-items: center; justify-content: center;
  font-size: 56px; position: relative; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 18px; margin-bottom: 6px; }
.card-body .meta { font-size: 13px; color: #888; margin-bottom: 8px; }
.card-body .meta span { margin-right: 14px; }
.card-body p { font-size: 14px; color: #555; }

/* Card color variants */
.card-green .card-img { background: linear-gradient(135deg, #e8f5e6, #c8e6c7); }
.card-cyan .card-img { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }
.card-gold .card-img { background: linear-gradient(135deg, #fdf5e6, #f5e6c8); }
.card-orange .card-img { background: linear-gradient(135deg, #fde8d0, #f5d6b8); }

/* ===== Route Timeline ===== */
.route { margin-bottom: 40px; }
.route-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.route-day {
  display: inline-block; background: #2d5a27; color: #fff;
  padding: 4px 16px; border-radius: 20px; font-size: 14px; font-weight: 600;
}
.route-title { font-size: 20px; font-weight: 700; }
.route-tag { font-size: 13px; color: #888; }
.route-steps { display: flex; flex-direction: column; gap: 12px; position: relative; padding-left: 32px; }
.route-steps::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: #c8e6c7;
}
.step { position: relative; padding: 16px 20px; background: #fff; border-radius: 12px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.step::before {
  content: ''; position: absolute; left: -25px; top: 22px;
  width: 10px; height: 10px; border-radius: 50%; background: #2d5a27; border: 2px solid #f5f0e8;
}
.step .s-title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.step .s-dist { font-size: 13px; color: #e67e22; font-weight: 500; margin-bottom: 4px; }
.step .s-desc { font-size: 14px; color: #666; }

/* ===== Distance Map SVG ===== */
.map-wrap {
  background: #fff; border-radius: 16px; padding: 30px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06); text-align: center; overflow-x: auto;
}
.map-wrap svg { max-width: 100%; height: auto; }
.map-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; font-size: 13px; }
.map-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }

/* ===== People Routes ===== */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.people-card {
  background: #fff; border-radius: 14px; padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); text-align: center; transition: transform .3s;
}
.people-card:hover { transform: translateY(-4px); }
.people-card .icon { font-size: 42px; margin-bottom: 12px; }
.people-card h4 { font-size: 17px; margin-bottom: 8px; }
.people-card p { font-size: 14px; color: #666; }
.people-card .spots { margin-top: 12px; font-size: 13px; color: #2d5a27; font-weight: 500; }

/* ===== Hotel Highlight ===== */
.hotel-highlight {
  background: linear-gradient(135deg, #fdf5e6, #f5e6c8);
  border: 2px solid #c9a84c; border-radius: 16px; padding: 32px 28px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
}
.hotel-highlight .info { flex: 1; min-width: 200px; }
.hotel-highlight .info h3 { font-size: 20px; color: #5a4010; }
.hotel-highlight .info p { font-size: 14px; color: #7a6020; margin: 6px 0; }
.hotel-highlight .phone {
  background: #e67e22; color: #fff; border: none; padding: 12px 28px;
  border-radius: 30px; font-size: 18px; font-weight: 700; cursor: pointer;
  transition: background .2s; white-space: nowrap;
}
.hotel-highlight .phone:hover { background: #c96a12; }

/* ===== Food Cards ===== */
.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.food-card {
  background: #fff; border-radius: 12px; padding: 24px 18px; text-align: center;
  box-shadow: 0 1px 8px rgba(0,0,0,.05); border-top: 3px solid #d4833a;
}
.food-card .emoji { font-size: 36px; margin-bottom: 8px; }
.food-card h4 { font-size: 16px; margin-bottom: 4px; }
.food-card p { font-size: 13px; color: #888; }

/* ===== Stay Cards ===== */
.stay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.stay-card {
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.stay-card .s-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.stay-card .s-body { padding: 18px; }
.stay-card .s-body h4 { font-size: 17px; margin-bottom: 4px; }
.stay-card .s-body .s-pos { font-size: 13px; color: #888; margin-bottom: 6px; }
.stay-card .s-body p { font-size: 14px; color: #555; }
.stay-card .s-body .s-tel { color: #e67e22; font-weight: 600; font-size: 15px; margin-top: 8px; display: inline-block; }
.stay-highlight { border: 2px solid #c9a84c; position: relative; }
.stay-highlight::after {
  content: '✨ 推荐'; position: absolute; top: 12px; right: 12px;
  background: #c9a84c; color: #fff; font-size: 12px; padding: 2px 12px; border-radius: 12px;
}

/* ===== Tips ===== */
.tips-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tip-item { background: #fff; border-radius: 12px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 1px 6px rgba(0,0,0,.04); }
.tip-item .ti-icon { font-size: 28px; flex-shrink: 0; }
.tip-item h4 { font-size: 15px; margin-bottom: 4px; }
.tip-item p { font-size: 13px; color: #777; }

/* ===== Attractions Table ===== */
.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
th { background: #2d5a27; color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; }
td { padding: 11px 14px; border-bottom: 1px solid #eee; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8faf5; }
td:first-child { font-weight: 600; }
.type-badge { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 10px; }
.type-cave { background: #e0f2f1; color: #00695c; }
.type-nature { background: #e8f5e6; color: #2e7d32; }
.type-grass { background: #fdf5e6; color: #8a6d3b; }
.type-culture { background: #fce4ec; color: #880e4f; }

/* ===== Contact Float ===== */
.float-contact {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-btn {
  display: flex; align-items: center; gap: 8px;
  background: #e67e22; color: #fff; border: none; padding: 12px 20px;
  border-radius: 40px; font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(230,126,34,.4); transition: transform .2s, box-shadow .2s;
}
.float-btn:hover { transform: scale(1.06); box-shadow: 0 6px 24px rgba(230,126,34,.5); }
.float-btn .icon { font-size: 20px; }
.float-btn-wechat { background: #2d5a27; box-shadow: 0 4px 16px rgba(45,90,39,.3); }
.float-btn-wechat:hover { box-shadow: 0 6px 24px rgba(45,90,39,.4); }

/* ===== Footer ===== */
.footer {
  background: #1a3a16; color: rgba(255,255,255,.8); padding: 40px 16px 100px;
  font-size: 14px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; }
.footer h4 { color: #f5c842; font-size: 16px; margin-bottom: 10px; }
.footer p, .footer li { line-height: 2; list-style: none; }
.footer a:hover { color: #f5c842; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: #1a3a16; flex-direction: column; padding: 16px; gap: 12px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { height: 360px; }
  .hero-content h1 { font-size: 26px; }
  .section { padding: 36px 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-highlight { flex-direction: column; text-align: center; }
  .float-btn span { display: none; }
  .float-btn { padding: 14px; border-radius: 50%; }
  .float-btn .icon { margin: 0; }
  .route-steps { padding-left: 24px; }
  .step::before { left: -18px; }
}

@media (max-width: 480px) {
  .people-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
