/* ============================================
   天泽户外品牌官网 - 共享样式
   品牌: 天泽户外 · 围墙外的学校 · 大自然的孩子
   ============================================ */

/* === Font Faces === */
@font-face {
  font-family: 'NationalPark';
  src: url('./fonts/NationalPark-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'NationalPark';
  src: url('./fonts/NationalPark-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Outfit';
  src: url('./fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Outfit';
  src: url('./fonts/Outfit-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'DMMono';
  src: url('./fonts/DMMono-Regular.ttf') format('truetype');
  font-weight: 400;
}

/* === CSS Variables === */
:root {
  /* Brand colors */
  --bg: #faf7f2;
  --bg2: #f0ebe0;
  --bg3: #e6dfd0;
  --ink: #2d2419;
  --ink-light: #5a4d3e;
  --muted: #8a7d6e;
  --rule: #d9d2c2;
  --accent: #3a7d44;
  --accent-light: #5a9d64;
  --accent2: #c97b3e;
  --accent3: #2d6a8e;
  --sea: #2d6a8e;
  --grass: #3a7d44;
  --sunset: #c97b3e;
  --desert: #c9923e;
  --road: #8a7d6e;

  /* Fonts */
  --font: 'Outfit', 'NationalPark', 'Noto Sans CJK SC', 'PingFang SC', sans-serif;
  --font-display: 'NationalPark', 'Noto Sans CJK SC', serif;
  --font-mono: 'DMMono', monospace;

  /* Layout */
  --max: 1080px;
  --nav-h: 64px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Navigation Bar === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img {
  height: 42px;
  width: auto;
  display: block;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.nav-brand-text .brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 0.3rem;
  margin-left: auto;
  align-items: center;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--ink-light);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: var(--bg2);
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  margin-left: auto;
}

/* 导航下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 0.5rem 0;
  min-width: 180px; z-index: 100; flex-direction: column; gap: 0;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  font-size: 0.85rem; color: var(--ink-light); text-decoration: none;
  padding: 0.6rem 1.2rem; transition: all 0.15s; white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg2); color: var(--accent); }
@media (max-width: 900px) {
  .nav-dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding-left: 1rem; min-width: auto;
  }
  .nav-links.open .nav-dropdown-menu { display: flex; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-links.open .nav-link { padding: 0.8rem 1rem; }
  .nav-mobile-toggle { display: block; }
  .nav-brand img { height: 36px; }
  .nav-brand-text .brand-name { font-size: 0.9rem; }
  .nav-brand-text .brand-sub { font-size: 0.65rem; }
}

/* === Page Container === */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-wide {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(45,36,25,0.5) 0%, rgba(45,36,25,0.3) 50%, rgba(45,36,25,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
}
.hero-logo {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.hero-logo .est {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 0.8rem;
}
.hero-content .subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero-logo { top: 1rem; left: 1rem; }
  .hero-logo img { height: 40px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content .subtitle { font-size: 1rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 28px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.25); border-color: #fff; }
.btn-warm {
  background: var(--accent2);
  color: #fff;
}
.btn-warm:hover { background: #d98e50; transform: translateY(-2px); }
.btn-sea {
  background: var(--sea);
  color: #fff;
}
.btn-sea:hover { background: #3d7da0; transform: translateY(-2px); }

/* === Section === */
.section {
  padding: 4rem 1.5rem;
}
.section.narrow { max-width: 760px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* === Cards === */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45,36,25,0.1);
}
.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 1.5rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.card-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-right: 0.4rem;
}
.badge-recruiting { background: #e8f5e9; color: #2e7d32; }
.badge-past { background: #f5f5f5; color: #757575; }
.badge-evergreen { background: #e3f2fd; color: #1565c0; }
.badge-2026 { background: #fff3e0; color: #e65100; }

/* === Grid === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === Activity Poster === */
.poster {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 3/4;
}
.poster:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  padding: 2rem 1.5rem 1.5rem;
}
.poster-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.poster-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}
.poster-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  z-index: 2;
}

/* === Info Strip === */
.info-strip {
  display: flex;
  gap: 0;
  background: var(--bg2);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.info-strip-item {
  flex: 1;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--rule);
}
.info-strip-item:last-child { border-right: none; }
.info-strip-item .label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.info-strip-item .value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 768px) {
  .info-strip { flex-direction: column; }
  .info-strip-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .info-strip-item:last-child { border-bottom: none; }
}

/* === Trust Evidence === */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg2);
  border-radius: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-light);
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 24px;
  border: 1px solid var(--rule);
}
.trust-item .icon {
  color: var(--accent);
  font-weight: 700;
}

/* === WeChat Contact === */
.wechat-section {
  background: var(--bg2);
  padding: 3rem 1.5rem;
  text-align: center;
}
.wechat-qr {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: block;
  margin: 1.5rem auto;
  object-fit: cover;
}
.wechat-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.8rem;
}
.wechat-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.wechat-tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
}
.wechat-tag:hover { border-color: var(--accent); color: var(--accent); }

/* === Footer === */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
}
.footer-content {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* === Floating CTA === */
.float-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(58,125,68,0.3);
  transition: all 0.25s;
  display: none;
}
.float-cta:hover { background: var(--accent-light); transform: translateY(-2px); }
@media (max-width: 768px) {
  .float-cta { display: inline-flex; }
}

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
  cursor: pointer;
}
.gallery img:hover { transform: scale(1.03); }

/* === Callout === */
.callout {
  background: var(--bg2);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}
.callout p { font-size: 0.92rem; color: var(--ink-light); line-height: 1.7; }

/* === Price Table === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.price-table th {
  text-align: left;
  padding: 0.8rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 2px solid var(--rule);
}
.price-table td {
  padding: 0.8rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.price-table .price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent2);
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rule);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}
.timeline-item .day-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.timeline-item h4 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.timeline-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === Study Card === */
.study-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.study-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.study-card .study-label {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.study-card p {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.study-card .status {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 600;
}
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-candidate { background: #fff3e0; color: #e65100; }
.status-codecide { background: #f3e5f5; color: #7b1fa2; }
