/* ===== 全站公共样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; background: #f5f5f0; color: #333; }

/* 顶部全局导航 */
.global-nav {
  background: #c0392b;
  display: flex;
  align-items: center;
  padding: 0 30px;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.global-nav .logo {
  color: #fff;
  font-size: 1.2em;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 2px;
  margin-right: 30px;
  white-space: nowrap;
}
.global-nav .logo span { color: #f9ca24; }
.global-nav .region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  flex: 1;
}
.global-nav .region-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  transition: all 0.2s;
  white-space: nowrap;
}
.global-nav .region-links a:hover { background: rgba(255,255,255,0.15); color: #f9ca24; }
.global-nav .home-btn {
  color: #f9ca24;
  text-decoration: none;
  font-size: 0.85em;
  padding: 6px 14px;
  border: 1px solid rgba(249,202,36,0.5);
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}
.global-nav .home-btn:hover { background: #f9ca24; color: #c0392b; }

/* Hero Banner */
.hero {
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #f5f5f0);
}
.hero h1 { font-size: 3em; font-weight: 900; text-shadow: 2px 2px 10px rgba(0,0,0,0.4); letter-spacing: 4px; }
.hero p { font-size: 1.2em; margin-top: 15px; opacity: 0.9; letter-spacing: 2px; }
.hero .badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero .badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.88em;
  backdrop-filter: blur(4px);
}

/* 页内导航 */
.page-nav {
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 52px;
  z-index: 100;
}
.page-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 12px 20px;
  font-size: 0.9em;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}
.page-nav a:hover { color: #f9ca24; border-bottom-color: #f9ca24; }

/* 主容器 */
.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

/* 版块标题 */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.7em;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 3px solid;
}

/* 信息横幅 */
.info-banner {
  border-left: 5px solid;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 15px;
}
.info-item { display: flex; align-items: center; gap: 10px; }
.info-item .label { font-size: 0.82em; opacity: 0.7; }
.info-item .value { font-weight: 600; font-size: 0.95em; }

/* 景点卡片 */
.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.spot-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.spot-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.13); }
.spot-card-header { padding: 20px 20px 0; display: flex; align-items: center; gap: 12px; }
.spot-emoji { font-size: 2.2em; }
.spot-card h3 { font-size: 1.15em; color: #222; }
.spot-card .tag {
  display: inline-block;
  font-size: 0.73em;
  padding: 2px 10px;
  border-radius: 10px;
  margin-top: 4px;
}
.spot-card p { padding: 12px 20px 18px; color: #666; line-height: 1.7; font-size: 0.93em; }
.spot-card .tips {
  margin: 0 20px 18px;
  border-left: 3px solid #f0a500;
  background: #fffde7;
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 0.86em;
  color: #795548;
}

/* 路线时间轴 */
.timeline { position: relative; padding-left: 40px; margin-bottom: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 3px;
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-dot {
  position: absolute;
  left: -40px; top: 6px;
  width: 28px; height: 28px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 700;
}
.timeline-card {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}
.timeline-card h4 { font-size: 1.02em; margin-bottom: 7px; }
.timeline-card p { color: #666; font-size: 0.92em; line-height: 1.7; }
.route-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.route-tag {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.82em;
  color: #555;
}

/* 美食网格 */
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}
.food-card {
  background: white;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}
.food-card:hover { transform: translateY(-3px); }
.food-icon { font-size: 2.3em; margin-bottom: 9px; }
.food-card h4 { font-size: 0.97em; margin-bottom: 5px; }
.food-card p { color: #888; font-size: 0.8em; line-height: 1.5; }
.food-price { font-weight: 600; font-size: 0.88em; margin-top: 7px; color: #e67e22; }

/* 预算表格 */
.budget-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  margin-bottom: 40px;
}
.budget-table th { color: white; padding: 13px 18px; text-align: left; font-weight: 600; }
.budget-table td { padding: 12px 18px; border-bottom: 1px solid #f0f0f0; color: #555; font-size: 0.95em; }
.budget-table tr:last-child td { border-bottom: none; font-weight: 700; }
.budget-table tr:hover td { background: #fafafa; }

/* 注意事项 */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.tip-card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  border-top: 4px solid;
}
.tip-card h4 { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 0.98em; }
.tip-card ul { list-style: none; }
.tip-card ul li { padding: 4px 0 4px 16px; color: #666; font-size: 0.88em; position: relative; line-height: 1.5; }
.tip-card ul li::before { content: '·'; position: absolute; left: 0; font-size: 1.4em; line-height: 1; }

/* 页脚 */
footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 28px;
  font-size: 0.86em;
}
footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
footer a:hover { color: #f9ca24; }

section { margin-bottom: 50px; }

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 { font-size: 2em; }
  .global-nav .region-links { display: none; }
  .container { padding: 25px 15px; }
}
