/* ============================================
   MOUNTAIN CAT CLUB - Outdoor Website Styles
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --color-primary: #1a5c38;
  --color-primary-dark: #0f3d24;
  --color-primary-light: #2d8a56;
  --color-accent: #d4a843;
  --color-accent-warm: #e8915a;
  --color-bg: #fafaf7;
  --color-bg-alt: #f0efe8;
  --color-bg-dark: #1a1d17;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-muted: #999;
  --color-white: #ffffff;
  --color-border: #e2e0d8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-zh: 'Noto Sans SC', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-zh);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-xl);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 28px;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 10px 26px;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-slides {
  position: absolute;
  inset: 0;
}

.splash-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease, transform 8s ease;
}

.splash-slide.active {
  opacity: 1;
  transform: scale(1);
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 15, 0.7) 0%,
    rgba(10, 20, 10, 0.5) 50%,
    rgba(15, 25, 20, 0.65) 100%
  );
  z-index: 1;
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 40px;
}

.splash-logo-mark {
  margin-bottom: 30px;
  animation: fadeInDown 1s ease 0.3s both;
}

.splash-logo-img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

.splash-title {
  margin-bottom: 16px;
  animation: fadeInDown 1s ease 0.5s both;
}

.splash-title-en {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.splash-title-zh {
  display: block;
  font-family: var(--font-zh);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  margin-top: 12px;
  opacity: 0.85;
}

.splash-tagline {
  font-family: var(--font-zh);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: 50px;
  animation: fadeInDown 1s ease 0.7s both;
}

.splash-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  padding: 16px 40px;
  border-radius: var(--radius-xl);
  font-family: var(--font-zh);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.9s both;
}

.splash-enter:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.splash-enter svg {
  transition: transform 0.3s ease;
}
.splash-enter:hover svg {
  transform: translateX(4px);
}

.splash-scroll-hint {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease infinite;
}

.splash-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 3;
}

.splash-progress-bar {
  height: 100%;
  background: rgba(255,255,255,0.5);
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.header.scrolled .logo,
.header.scrolled .nav-link,
.header.scrolled .mobile-menu-btn span {
  color: var(--color-text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--color-primary);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
}

.logo-icon {
  color: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.logo-sub {
  font-family: var(--font-zh);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
  font-weight: 300;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-zh);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-zh);
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
}
.hero .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.hero-stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.6;
  animation: bounce 2s ease infinite;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-zh);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  background: rgba(26, 92, 56, 0.08);
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-zh);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   ROUTE FILTERS
   ============================================ */
.route-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-zh);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   ROUTE CARDS
   ============================================ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.route-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.route-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.route-card.filtered-out {
  display: none;
}

.route-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.route-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.route-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.route-card:hover .route-card-img img {
  transform: scale(1.08);
}

.route-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
}

.badge-hard {
  background: #e74c3c;
  color: white;
}

.badge-moderate {
  background: var(--color-accent);
  color: white;
}

.badge-easy {
  background: var(--color-primary-light);
  color: white;
}

.route-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.route-province {
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.route-card-body {
  padding: 20px;
}

.route-name {
  font-family: var(--font-zh);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.route-highlight {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.route-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.route-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.route-meta-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.route-season {
  margin-bottom: 16px;
}

.season-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 12px;
  background: rgba(26, 92, 56, 0.06);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.route-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
}
.route-link:hover {
  color: var(--color-primary-dark);
  gap: 8px;
}

.routes-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 15, 0.65);
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.parallax-quote {
  font-family: var(--font-zh);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 2;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--color-bg);
  box-shadow: var(--shadow-md);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.exp-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.about-content .section-tag {
  display: inline-block;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(26, 92, 56, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: var(--font-zh);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-section {
  background: var(--color-bg-alt);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.community-card {
  background: var(--color-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.community-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.community-card-icon {
  width: 72px;
  height: 72px;
  background: rgba(26, 92, 56, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin: 0 auto 24px;
}

.community-card h3 {
  font-family: var(--font-zh);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.community-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  padding: 80px 0;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--color-white);
}

.newsletter-content h2 {
  font-family: var(--font-zh);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-content p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-input {
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  font-size: 0.95rem;
  font-family: var(--font-zh);
  width: 280px;
  outline: none;
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
}

.newsletter-form .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  white-space: nowrap;
}
.newsletter-form .btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: var(--font-zh);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
  }

  .nav.open {
    display: flex;
  }

  .nav.open .nav-link {
    color: var(--color-text);
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 101;
  }

  .header-actions .btn {
    display: none;
  }

  .routes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-secondary {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -60px;
    margin-left: auto;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter-box {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
  }

  .hero-stats {
    gap: 32px;
  }

  .hero-stat-num {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .parallax-divider {
    height: 300px;
    background-attachment: scroll;
  }

  .hero-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .splash-title-en {
    font-size: 2rem;
    letter-spacing: 0.08em;
  }

  .splash-title-zh {
    font-size: 0.9rem;
  }

  .hero-title .line {
    font-size: 1.6rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .route-card-img {
    height: 180px;
  }
}

/* === MAIN SITE INITIAL STATE === */
.main-site {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.main-site.visible {
  opacity: 1;
  visibility: visible;
}

/* === LOGO IMAGE === */
.logo-img {
  height: 50px;
  width: auto;
}

.splash-logo-img {
  width: 200px;
  height: auto;
}

/* === DROPDOWN NAVIGATION === */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-link {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  min-width: 180px;
  padding: 12px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 200;
  margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 400;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(26, 92, 56, 0.08);
  color: var(--color-primary);
}

.header.scrolled .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(26, 92, 56, 0.05);
    margin: 8px 0;
    display: none;
  }
  
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
}

/* === NAV ALIGNMENT FIX === */
.nav {
  align-items: center;
}

.nav > a,
.nav > .nav-dropdown {
  display: flex;
  align-items: center;
}

.nav-dropdown > .nav-link {
  display: block;
}

/* === SPLASH LOGO CENTER === */
.splash-logo-mark {
  display: flex;
  justify-content: center;
}

.splash-logo-img {
  margin: 0 auto;
}
