/* ===== CSS Variables - Spacing System ===== */
:root {
  /* Spacing Scale (based on 8px) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Section Spacing */
  --section-padding-y: 96px;
  --section-padding-y-mobile: 64px;
  --section-padding-x: 24px;
  --section-padding-x-mobile: 20px;
  
  /* Container */
  --container-max-width: 1100px;
  --container-gap: 32px;
  --container-gap-mobile: 20px;
  
  /* Card Spacing */
  --card-padding: 32px 24px;
  --card-padding-mobile: 24px 20px;
  --card-gap: 32px;
  --card-gap-mobile: 20px;
  
  /* Title Spacing */
  --title-margin-bottom: 12px;
  --subtitle-margin-bottom: 48px;
  --subtitle-margin-bottom-mobile: 32px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #3a3a3a;
  background: #faf9f7;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
figure { margin: 0; }

/* ===== Page Loader ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: #faf9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}
.loader-content p {
  color: #5a7d5a;
  font-size: 16px;
  letter-spacing: 4px;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(250, 249, 247, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--container-max-width); margin: 0 auto;
  padding: var(--space-md) var(--section-padding-x);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 20px; font-weight: 600;
  color: #5a7d5a;
  letter-spacing: 1px;
}
.nav-links { 
  list-style: none; display: flex; gap: var(--space-xl); 
}
.nav-links a {
  font-size: 14px; color: #666;
  transition: color 0.2s;
  position: relative;
  padding: var(--space-sm) 0;
}
.nav-links a:hover { color: #5a7d5a; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #5a7d5a;
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #5a7d5a;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  background: url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative; text-align: center; color: #fff;
  padding: var(--space-lg);
  max-width: 700px;
  animation: heroFadeIn 1s ease-out;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  font-size: 13px; letter-spacing: 4px;
  opacity: 0.85; margin-bottom: var(--space-md);
  text-transform: uppercase;
}
.hero-content h1 {
  font-size: 56px; font-weight: 300;
  letter-spacing: 8px; margin-bottom: var(--space-lg);
}
.hero-sub {
  font-size: 17px; line-height: 1.9;
  opacity: 0.9; margin-bottom: var(--space-2xl);
}
.btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  font-size: 14px; letter-spacing: 2px;
  color: #fff;
  transition: all 0.3s;
}
.btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}
.scroll-indicator span {
  display: block;
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Section Common ===== */
.section { 
  padding: var(--section-padding-y) var(--section-padding-x); 
}
.container { 
  max-width: var(--container-max-width); 
  margin: 0 auto; 
}
.section-title {
  text-align: center;
  font-size: 28px; font-weight: 400;
  color: #3a3a3a; letter-spacing: 3px;
  margin-bottom: var(--title-margin-bottom);
}
.section-sub {
  text-align: center;
  font-size: 14px; color: #999;
  letter-spacing: 1px; 
  margin-bottom: var(--subtitle-margin-bottom);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== About ===== */
.about { background: #faf9f7; }
.about-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}
.about-card {
  text-align: center; 
  padding: var(--card-padding);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.about-icon { font-size: 42px; margin-bottom: var(--space-md); }
.about-card h3 {
  font-size: 17px; font-weight: 500;
  color: #5a7d5a; margin-bottom: var(--space-sm);
}
.about-card p { font-size: 14px; color: #777; line-height: 1.8; }

/* ===== Gallery ===== */
.gallery { background: #f3f1ed; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 12px; aspect-ratio: 4/3;
  cursor: pointer;
  background: #e0ddd8;
}
.gallery-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-color: #e0ddd8;
  transition: transform 0.6s;
}
.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff; font-size: 13px; letter-spacing: 1px;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===== Camp ===== */
.camp { 
  background: #faf9f7;
  padding-bottom: var(--space-2xl);
}
.camp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.camp-item {
  position: relative; overflow: hidden;
  border-radius: 12px;
  background: #e0ddd8;
  aspect-ratio: 4/3;
}
.camp-large {
  /* 单行布局，不再跨列跨行 */
}
.camp-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-color: #e0ddd8;
  transition: transform 0.6s;
}
.camp-item:hover .camp-img { transform: scale(1.05); }
.camp-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
}
.camp-overlay h3 { font-size: 18px; font-weight: 500; margin-bottom: var(--space-xs); }
.camp-overlay p { font-size: 13px; opacity: 0.9; }

/* ===== Contact ===== */
.contact { background: #f3f1ed; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl); align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }
.contact-item { display: flex; gap: var(--space-md); align-items: flex-start; }
.contact-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 {
  font-size: 15px; font-weight: 500;
  color: #5a7d5a; margin-bottom: var(--space-xs);
}
.contact-item p { font-size: 14px; color: #777; }
.contact-item a { color: #5a7d5a; transition: color 0.2s; }
.contact-item a:hover { color: #4a6a4a; }

.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px var(--space-md);
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px; font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: #5a7d5a;
  box-shadow: 0 0 0 3px rgba(90, 125, 90, 0.1);
}
.btn-submit {
  align-self: flex-start;
  background: #5a7d5a; color: #fff;
  border: none; cursor: pointer;
  font-size: 14px; letter-spacing: 2px;
  padding: 14px 40px; border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.btn-submit:hover { background: #4a6a4a; transform: translateY(-1px); }
.btn-submit:disabled {
  opacity: 0.7; cursor: not-allowed;
  transform: none;
}
.form-tip { font-size: 13px; color: #5a7d5a; min-height: 20px; margin-top: var(--space-sm); }

/* ===== Footer ===== */
.footer {
  text-align: center; 
  padding: var(--space-2xl) var(--section-padding-x);
  background: #3a3a3a; color: #ccc;
  font-size: 13px; letter-spacing: 1px;
}
.footer p:first-child {
  margin-bottom: var(--space-sm);
}
.footer-sub {
  margin-top: var(--space-sm); font-size: 12px;
  color: #888; letter-spacing: 2px;
}
.footer-icp {
  margin-top: var(--space-md); font-size: 12px;
  color: #888;
}
.footer-icp a {
  color: #888; text-decoration: none;
  transition: color 0.2s;
}
.footer-icp a:hover {
  color: #ccc;
}
.footer-filing {
  margin-top: var(--space-md);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-filing a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-filing a:hover {
  color: #ccc;
}
.filing-badge {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: var(--space-xs);
  display: inline-block;
  image-rendering: -webkit-optimize-contrast;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: #5a7d5a;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(90, 125, 90, 0.3);
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #4a6a4a;
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 70%; height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s;
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: var(--space-md) 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links a::after { display: none; }
  
  /* Hero */
  .hero-content h1 { font-size: 36px; letter-spacing: 4px; }
  .hero-sub { font-size: 15px; }
  .scroll-indicator { display: none; }
  
  /* Sections */
  .section { 
    padding: var(--section-padding-y-mobile) var(--section-padding-x-mobile); 
  }
  .section-title { font-size: 22px; }
  .section-sub { margin-bottom: var(--subtitle-margin-bottom-mobile); }
  
  /* Grids */
  .about-grid { grid-template-columns: 1fr; gap: var(--card-gap-mobile); }
  .about-card { padding: var(--card-padding-mobile); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .camp-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  
  /* Back to Top */
  .back-to-top {
    bottom: 20px; right: 20px;
    width: 40px; height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .camp-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 32px; font-size: 13px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== Blog Section ===== */
.blog {
  background: linear-gradient(180deg, #faf9f7 0%, #f5f7fa 100%);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-bottom: var(--space-2xl);
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.blog-cover-wrap {
  display: block;
  overflow: hidden;
}
.blog-cover {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #e8f5e9;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-cover {
  transform: scale(1.05);
}
.blog-content {
  padding: var(--space-lg);
}
.blog-category {
  display: inline-block;
  background: #e8f5e9;
  color: #5a7d5a;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}
.blog-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  color: #2c3e50;
}
.blog-title a {
  color: inherit;
  transition: color 0.2s;
}
.blog-title a:hover {
  color: #5a7d5a;
}
.blog-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 13px;
  color: #999;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.blog-author::before {
  content: "✍️";
  font-size: 12px;
}
.blog-date::before {
  content: "📅";
  font-size: 12px;
}
.blog-views::before {
  content: "👁️";
  font-size: 12px;
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.blog-tag {
  background: #f5f5f5;
  color: #666;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 10px;
  font-size: 12px;
  transition: all 0.2s;
}
.blog-tag:hover {
  background: #5a7d5a;
  color: #fff;
}
.blog-more {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .blog-cover {
    height: 180px;
  }
  .blog-content {
    padding: var(--space-md);
  }
  .blog-title {
    font-size: 17px;
  }
}
