/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto Slab", serif;
  color: #2c2c2c;
  background: #f7f5f2;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; }

/* ========== 顶部导航 ========== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  color: #fff;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: 1px;
}

.navbar .logo span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1.5px solid #fff;
  border-radius: 50%;
}

.navbar nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
}

.navbar nav a {
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 14px;
  transform-origin: center;
}

.navbar nav a:hover {
  opacity: 1;
  transform: scale(1.2);
  color: #70c7f6;
}

.navbar nav a.active {
  transform: scale(1.2);
  color: #70c7f6;
  opacity: 1;
  font-weight: bold;
}

/* ========== 按钮通用样式 ========== */
button,
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

/* 返回按钮额外外边距 */
a.back-btn {
  margin: 40px 60px;
}

button:hover,
.back-btn:hover {
  background: #70c7f6;
  transform: translateX(-4px);
  box-shadow: 0 8px 20px rgba(112, 199, 246, 0.3);
}

/* ========== Hero 大图区 ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  background: url('assets/hero.webp') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.9;
  font-style: italic;
}

/* ========== 筛选条 ========== */
.filter-bar {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 16px 24px;
  gap: 36px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.filter-item .label {
  color: #999;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.filter-item .value {
  color: #2c2c2c;
  font-size: 13px;
  font-weight: 500;
}

/* ========== 诗句区 ========== */
.poem-section {
  text-align: center;
  padding: 90px 40px;
}

.poem-section h2 {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.4;
  color: #2c2c2c;
  max-width: 800px;
  margin: 0 auto 20px;
}

.poem-section .dot {
  width: 20px;
  height: 20px;
  border: 1.5px solid #999;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}

.poem-section .dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #999;
  border-radius: 50%;
}

/* ========== 三卡片区 ========== */
.cards-section {
  display: flex;
  gap: 60px;
  padding: 80px 60px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.cards-text { flex: 1; }

.cards-text .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cards-text h3 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cards-text p {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}

.cards-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

/* 悬停：卡片上浮 */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card:hover img {
  transform: scale(1.1);
}

/* 点击：卡片轻微缩小 */
.card:active {
  transform: translateY(-8px) scale(0.97);
}

.card-info { padding: 16px; }

.card-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.card-info p {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
}

/* ========== Pick the Place ========== */
.pick-section {
  padding: 100px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.pick-section .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pick-section h2 {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.pick-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pick-filters .tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 18px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.tag:hover,
.tag.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.place-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.place-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.place-card img {
  height: 200px;
  object-fit: cover;
}

.place-info { padding: 20px; }

.place-info .title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.place-info h4 { font-size: 15px; }

.place-info .rating {
  font-size: 12px;
  color: #f39c12;
}

.place-info .subtitle {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.place-info .meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

/* ========== 底部三个入口 ========== */
.bottom-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 60px 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  text-decoration: none;
}

.entry:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.entry .icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ========== 河流区 ========== */
.river-section {
  position: relative;
  height: 500px;
  background: url('assets/river.webp') center/cover;
  display: flex;
  align-items: center;
  padding: 0 60px;
  color: #fff;
  overflow: hidden;
}

.river-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.river-text {
  position: relative;
  z-index: 2;
  max-width: 500px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.95;
}

.river-title {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: right;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.3;
  color: #fff;
  max-width: 500px;
}

/* ========== Popular Destination ========== */
.popular-section {
  padding: 100px 60px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.popular-section h2 {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.popular-section .dot {
  width: 20px;
  height: 20px;
  border: 1.5px solid #999;
  border-radius: 50%;
  margin: 0 auto 60px;
  position: relative;
}

.popular-section .dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #999;
  border-radius: 50%;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
}

.popular-item {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.popular-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.popular-item:hover img { transform: scale(1.08); }

.popular-item .overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ========== Tourist Route ========== */
.route-section {
  padding: 80px 60px 40px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.route-left h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.3;
  margin-top: 8px;
}

.route-left .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
}

.route-right {
  max-width: 320px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  text-align: right;
}

.route-map {
  max-width: 1280px;
  margin: 0 auto 100px;
  padding: 0 60px;
}

.route-map img {
  width: 100%;
  border-radius: 16px;
}

/* ========== 雕像详情页 ========== */
.statue-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 60px;
}

.statue-page .top-row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 100px;
}

.statue-page .top-images {
  position: relative;
  flex: 1;
  height: 320px;
}

.statue-page .img-back {
  position: absolute;
  top: 0;
  left: 80px;
  width: 70%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.statue-page .img-back.blur img {
  filter: blur(8px);
  transform: scale(1.1);
}

.statue-page .img-front {
  position: absolute;
  top: 40px;
  left: 0;
  width: 60%;
  height: 80%;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.statue-page .top-text {
  flex: 1;
  font-size: 14px;
  color: #444;
  padding-top: 20px;
}

.statue-page .title-section {
  text-align: center;
  margin-bottom: 60px;
}

.statue-page .title-section h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.statue-page .title-section .dot {
  width: 20px;
  height: 20px;
  border: 1.5px solid #999;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}

.statue-page .title-section .dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #999;
  border-radius: 50%;
}

.statue-page .angle-row {
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-start;
}

.statue-page .angle-row.right {
  justify-content: flex-end;
}

.statue-page .angle-img {
  width: 55%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.statue-page .bottom-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 80px;
}

.statue-page .bottom-left,
.statue-page .bottom-right {
  flex: 1;
}

.statue-page .bottom-middle {
  flex: 1;
  font-size: 14px;
  color: #444;
}

.statue-page .bottom-left img,
.statue-page .bottom-right img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ========== Nature 页面 ========== */
.nature-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  background: url('assets/18.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 60px 60px;
  color: #fff;
}

.nature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.55));
}

.nature-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.nature-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nature-hero p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.95;
}

.nature-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 40px;
}

.text-img-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.text-img-row.reverse {
  flex-direction: row-reverse;
}

.text-col {
  flex: 1;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

.img-col {
  flex: 1;
}

.img-col img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.full-img {
  margin: 40px 0 80px;
}

.full-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.card-quote-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.quote-card {
  flex: 0 0 220px;
  background: #4a5d3a;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 30px;
  border-radius: 16px;
}

.quote-banner {
  background: #7a2e3a;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  padding: 24px 40px;
  border-radius: 12px;
  margin-bottom: 60px;
  text-align: center;
}

.ending {
  margin-top: 80px;
  text-align: center;
}

.ending-text {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: #2c2c2c;
  margin-bottom: 40px;
}

.green-quote {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #4a5d3a;
  font-weight: bold;
  margin-top: 40px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .cards-section { flex-direction: column; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; width: 100%; }
  .place-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-entries { grid-template-columns: 1fr; }
  .river-title { position: static; transform: none; text-align: left; margin-top: 30px; }
  .river-section { flex-direction: column; height: auto; padding: 60px 30px; }
}

@media (max-width: 768px) {
  .navbar { padding: 20px 24px; flex-direction: column; gap: 16px; }
  .navbar nav { gap: 20px; font-size: 12px; }
  .filter-bar { flex-direction: column; gap: 16px; padding: 20px; width: 90%; }
  .cards-section,
  .pick-section,
  .popular-section,
  .route-section { padding: 60px 24px; }
  .bottom-entries { padding: 0 24px 60px; }
  .route-map { padding: 0 24px; }

  .statue-page { padding: 60px 24px; }
  .statue-page .top-row,
  .statue-page .bottom-row {
    flex-direction: column;
    gap: 30px;
  }
  .statue-page .top-images { height: 260px; width: 100%; }
  .statue-page .img-back { left: 60px; width: 70%; }
  .statue-page .img-front { width: 65%; }
  .statue-page .angle-img { width: 100%; }

  .nature-hero { padding: 0 24px 40px; }
  .nature-content { padding: 60px 24px; }
  .text-img-row,
  .text-img-row.reverse {
    flex-direction: column;
    gap: 20px;
  }
  .card-quote-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .quote-card {
    flex: 1 1 auto;
    width: 100%;
  }
  .quote-banner {
    padding: 20px 24px;
    font-size: 1rem;
  }
}

/* ========== 页面入场动画（柔和版） ========== */
.page-enter {
  animation: pageEnter 0.8s ease forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0.6;                 /* 从 60% 透明开始，不是全透明 */
    transform: translateY(8px);   /* 只上移 8px，不是 20px */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 搜索栏 ========== */
.search-box {
  position: relative;              /* 让下拉框相对它定位 */
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 4px 4px 4px 20px;
  margin: 0 30px;
  width: 260px;
  height: 38px;
  z-index: 20;                     /* 提高层级，防止被导航遮挡 */
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 100%;
  font-family: inherit;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box button {
  background: #70c7f6;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0;
  font-size: 16px;                 /* 放大图标 */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
}

.search-box button:hover {
  background: #fff;
  color: #70c7f6;
}

/* ========== 搜索结果下拉框 ========== */
.search-results {
  position: absolute;
  top: 46px;                       /* 放到搜索框正下方 */
  left: 0;
  width: 100%;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;                   /* 最高层，盖住所有 */
  overflow: hidden;
}

.result-item {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item a {
  color: #1a1a1a;
  text-decoration: none;
  display: block;
}

.result-item a:hover {
  color: #70c7f6;
}
html {
  scroll-behavior: smooth;
}