/* ============================================
   style.css - 湖州导游 胡敏
   "晨雾"轻暖风格
   ============================================ */

/* --- CSS Variables --- */
:root {
  --mist-rose:    #c49b95;
  --mist-green:   #7a9a7e;
  --tea-gold:     #b8945a;
  --rice-paper:   #fdfaf5;
  --warm-white:   #fefefb;
  --text-warm:    #4a3f3a;
  --text-soft:    #8a7f7a;
  --shadow-sm:    0 2px 8px rgba(74,63,58,0.06);
  --shadow-md:    0 4px 20px rgba(74,63,58,0.10);
  --shadow-lg:    0 8px 40px rgba(74,63,58,0.12);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --max-width:    1200px;
  --header-h:     72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--rice-paper);
  color: var(--text-warm);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', 'STSong', 'SimSun', serif;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-warm);
}

a { color: var(--mist-rose); text-decoration: none; transition: color .3s; }
a:hover { color: var(--tea-gold); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-warm);
}
.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--mist-rose);
  color: #fff;
  border-color: var(--mist-rose);
}
.btn-primary:hover {
  background: #b48780;
  border-color: #b48780;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--mist-rose);
  border-color: var(--mist-rose);
}
.btn-outline:hover {
  background: var(--mist-rose);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--mist-rose); }
.btn-sm { padding: 8px 20px; font-size: .875rem; }

/* --- Header / Nav --- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(253,250,245,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,155,149,0.15);
  z-index: 1000;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mist-rose);
  display: flex; align-items: center; gap: 10px;
}
.logo span { color: var(--text-warm); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  color: var(--text-soft);
  font-size: .95rem;
  border-radius: 8px;
  transition: all .3s;
}
.nav a:hover,
.nav a.active {
  color: var(--mist-rose);
  background: rgba(196,155,149,0.08);
}
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--text-warm);
  cursor: pointer;
  padding: 8px;
}

/* --- Hero --- */
.hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--rice-paper) 0%, #f5ece8 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-avatar {
  width: 320px; height: 320px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-white);
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.hero-content .slogan {
  font-size: 1.2rem;
  color: var(--mist-rose);
  margin-bottom: 20px;
  font-family: 'Noto Serif SC', serif;
}
.hero-content .desc {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag-chip {
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(196,155,149,0.12);
  color: var(--mist-rose);
  font-size: .875rem;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Stats Cards --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stat-card .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mist-rose);
  font-family: 'Noto Serif SC', serif;
}
.stat-card .label {
  color: var(--text-soft);
  margin-top: 8px;
  font-size: .95rem;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  display: block;
}
.card-body { padding: 20px; }
.card-body .cat {
  display: inline-block;
  font-size: .8rem;
  color: var(--mist-rose);
  font-weight: 500;
  margin-bottom: 8px;
}
.card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-body h3 a { color: var(--text-warm); }
.card-body h3 a:hover { color: var(--mist-rose); }
.card-body p { color: var(--text-soft); font-size: .9rem; line-height: 1.6; }
.card-body .meta {
  color: var(--text-soft);
  font-size: .85rem;
  margin-top: 12px;
}
.card-body .price {
  color: var(--mist-rose);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 12px;
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card .stars { color: var(--tea-gold); margin-bottom: 12px; font-size: 1rem; }
.review-card blockquote {
  color: var(--text-warm);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}
.review-card .author {
  display: flex; align-items: center; gap: 12px;
}
.review-card .author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card .author .name { font-weight: 600; font-size: .9rem; }
.review-card .author .date { color: var(--text-soft); font-size: .8rem; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--mist-rose) 0%, #b48780 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}
.cta-section p {
  opacity: .9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--mist-rose);
  border-color: #fff;
}
.cta-section .btn-primary:hover {
  background: transparent;
  color: #fff;
}

/* --- Footer --- */
.footer {
  background: #f0ebe6;
  padding: 48px 0 32px;
}
.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-warm);
}
.footer p, .footer a {
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.8;
}
.footer .qr {
  width: 120px; height: 120px;
  background: #ddd;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  font-size: .8rem;
}
.footer-bottom {
  border-top: 1px solid rgba(74,63,58,0.08);
  padding-top: 24px;
  margin-top: 32px;
  text-align: center;
  color: var(--text-soft);
  font-size: .85rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: calc(var(--header-h) + 24px) 0 16px;
  font-size: .9rem;
  color: var(--text-soft);
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--mist-rose); }
.breadcrumb .sep { margin: 0 8px; }

/* --- Page Hero Inner --- */
.page-hero {
  padding: calc(var(--header-h) + 40px) 0 48px;
  background: linear-gradient(135deg, var(--rice-paper) 0%, #f5ece8 100%);
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p { color: var(--text-soft); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.about-intro img {
  width: 100%; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-text h2 { font-size: 1.5rem; margin-bottom: 16px; }
.about-text p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; }
.about-stat { text-align: center; padding: 20px; background: var(--warm-white); border-radius: var(--radius-sm); }
.about-stat .num { font-size: 2rem; font-weight: 700; color: var(--mist-rose); }
.about-stat .label { color: var(--text-soft); font-size: .85rem; margin-top: 4px; }
.about-qual { margin-top: 48px; }
.about-qual h3 { margin-bottom: 20px; font-size: 1.3rem; }
.qual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qual-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--warm-white); border-radius: var(--radius-sm); }
.qual-item i { color: var(--mist-green); font-size: 1.2rem; width: 24px; text-align: center; }

/* --- Blog List --- */
.blog-filters {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center;
}
.filter-btn {
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(196,155,149,0.3);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .3s;
  font-family: inherit;
  font-size: .9rem;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--mist-rose);
  color: #fff;
  border-color: var(--mist-rose);
}

/* --- Blog Detail --- */
.blog-detail-article { max-width: 780px; margin: 0 auto; }
.blog-detail-article .featured-img {
  width: 100%; max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}
.blog-detail-article h1 { font-size: 2rem; margin-bottom: 12px; }
.blog-detail-article .meta { color: var(--text-soft); margin-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.blog-detail-article .body { line-height: 1.9; color: var(--text-warm); }
.blog-detail-article .body h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.blog-detail-article .body h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.blog-detail-article .body p { margin-bottom: 16px; }
.blog-detail-article .body ul, .blog-detail-article .body ol { margin: 12px 0 16px 24px; }
.blog-detail-article .body li { margin-bottom: 8px; }
.blog-detail-article .body blockquote {
  border-left: 4px solid var(--mist-rose);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(196,155,149,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-soft);
}
.author-card {
  display: flex; gap: 20px; align-items: center;
  padding: 24px; background: var(--warm-white); border-radius: var(--radius-md);
  margin: 40px 0; box-shadow: var(--shadow-sm);
}
.author-card img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
}
.author-card .info h4 { margin-bottom: 4px; }
.author-card .info p { color: var(--text-soft); font-size: .9rem; }
.related-posts { margin-top: 48px; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.gallery-grid .gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-grid .gallery-item:nth-child(2),
.gallery-grid .gallery-item:nth-child(5) {
  grid-row: span 2;
}
.gallery-grid .gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.5));
  color: #fff; font-size: .9rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox .close {
  position: absolute; top: 24px; right: 24px;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none;
  font-family: inherit;
}

/* --- Route Detail --- */
.route-detail { max-width: 780px; margin: 0 auto; }
.route-detail .hero-img {
  width: 100%; max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.route-detail h1 { font-size: 2rem; margin-bottom: 8px; }
.route-meta { display: flex; gap: 24px; color: var(--text-soft); margin-bottom: 24px; }
.route-meta i { margin-right: 6px; color: var(--mist-rose); }
.route-detail .price-big { font-size: 1.5rem; color: var(--mist-rose); font-weight: 700; margin-bottom: 32px; }
.route-detail h2 { font-size: 1.4rem; margin: 32px 0 16px; }
.route-detail .body p { margin-bottom: 16px; color: var(--text-soft); line-height: 1.8; }
.route-detail .body ul { list-style: none; margin: 16px 0; }
.route-detail .body ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-soft);
}
.route-detail .body ul li::before {
  content: "•";
  color: var(--mist-rose);
  position: absolute; left: 0;
  font-weight: bold;
}
.tip-box {
  background: rgba(196,155,149,0.08);
  border-left: 4px solid var(--mist-rose);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.tip-box h4 { color: var(--mist-rose); margin-bottom: 8px; }
.tip-box p { color: var(--text-soft); }

/* --- Reviews Page --- */
.summary-score {
  text-align: center;
  padding: 40px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.summary-score .score { font-size: 3rem; color: var(--tea-gold); font-weight: 700; }
.summary-score .stars { font-size: 1.3rem; color: var(--tea-gold); margin: 8px 0; }
.summary-score .count { color: var(--text-soft); }
.review-form-box {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 48px;
  box-shadow: var(--shadow-sm);
}
.review-form-box h3 { font-size: 1.3rem; margin-bottom: 24px; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 24px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.contact-item i {
  font-size: 1.3rem;
  color: var(--mist-rose);
  width: 24px; text-align: center;
  margin-top: 4px;
}
.contact-item .info { }
.contact-item .info .label { font-size: .85rem; color: var(--text-soft); }
.contact-item .info .value { font-weight: 500; }
.contact-qr {
  width: 160px; height: 160px;
  background: #eee;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: .85rem;
  margin-top: 16px;
}
.contact-form-box { background: var(--warm-white); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .9rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(74,63,58,0.15);
  border-radius: var(--radius-sm);
  background: var(--rice-paper);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .3s;
  color: var(--text-warm);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mist-rose);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- Submit Page --- */
.submit-page { text-align: center; padding: 120px 0; }
.submit-page .icon {
  font-size: 4rem;
  color: var(--mist-green);
  margin-bottom: 24px;
}
.submit-page h1 { font-size: 2rem; margin-bottom: 16px; }
.submit-page p { color: var(--text-soft); margin-bottom: 32px; }

/* --- FAQ --- */
details.faq-item {
  background: var(--warm-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
details.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .8rem;
  color: var(--text-soft);
  transition: transform .3s;
}
details.faq-item[open] summary::after { transform: rotate(180deg); }
details.faq-item .faq-body { padding: 0 24px 18px; color: var(--text-soft); line-height: 1.7; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-avatar { width: 200px; height: 200px; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .about-intro { grid-template-columns: 1fr; text-align: center; }
  .about-intro img { max-width: 300px; margin: 0 auto; }
  .footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--rice-paper); padding: 16px; border-bottom: 1px solid rgba(196,155,149,0.15); box-shadow: var(--shadow-md); }
  .nav-toggle { display: block; }
  .stats-grid,
  .card-grid,
  .reviews-grid,
  .about-stats,
  .qual-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .gallery-grid .gallery-item:nth-child(2),
  .gallery-grid .gallery-item:nth-child(5) { grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .footer .container { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-avatar { width: 160px; height: 160px; }
  .page-hero h1 { font-size: 1.8rem; }
  .blog-detail-article h1 { font-size: 1.5rem; }
}
/* GEO 规范已适配 */
