/* ============================================
   NORTH FORK ADVENTURE - STYLES
   Outdoor/rugged vibe: dark tones, earthy colors,
   topo textures, trail guide feel
   ============================================ */

:root {
  --bg-dark: #1a1d17;
  --bg-darker: #14160f;
  --bg-card: #232820;
  --bg-card-hover: #2a3024;
  --bg-section-alt: #1e2219;
  --text-primary: #e8e4db;
  --text-secondary: #b5b0a3;
  --text-muted: #8a8577;
  --accent-green: #6b9e5a;
  --accent-green-bright: #8bc373;
  --accent-gold: #c9a84c;
  --accent-gold-dim: #a88e3d;
  --accent-red: #c45a4a;
  --accent-red-dim: #9e4a3d;
  --accent-blue: #5a8fb5;
  --accent-teal: #5aaa8a;
  --border-color: #3a3d33;
  --border-light: #4a4d40;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --nav-height: 56px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--accent-green-bright);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-gold); }

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

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

/* ============================================
   NAVIGATION
   ============================================ */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 22, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--nav-height);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-gold) !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(107, 158, 90, 0.15);
}

.nav-links a.active {
  color: var(--accent-green-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  background: var(--bg-darker);
  background-image: url('images/hero-seneca-rocks.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.topo-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url('images/topo-texture.png');
  background-size: 300px 300px;
  background-repeat: repeat;
  pointer-events: none;
  mix-blend-mode: overlay;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 15, 0.65);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(107, 158, 90, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent-green-bright);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent-green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-green-bright);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-dim);
}
.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent-gold);
}

.btn-small {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-small:hover {
  background: rgba(196, 90, 74, 0.15);
  color: var(--accent-red);
  border-color: var(--accent-red-dim);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-section-alt);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-green);
  margin-top: 12px;
  border-radius: 2px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ============================================
   THE RIVER
   ============================================ */

.river-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.river-text p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.river-text strong { color: var(--text-primary); }

.river-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gauge-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-blue);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.gauge-box strong { color: var(--text-primary); }

.gauge-icon {
  flex-shrink: 0;
  color: var(--accent-blue);
  margin-top: 2px;
}

/* ============================================
   MAP
   ============================================ */

#route-map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  z-index: 1;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-line {
  display: inline-block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.badge-rec {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent-green);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* ============================================
   ROUTE CARDS
   ============================================ */

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.route-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}

.route-card-recommended {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green), 0 4px 24px rgba(107, 158, 90, 0.15);
}

.route-recommended-tag {
  background: var(--accent-green);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  padding: 4px;
  letter-spacing: 1.5px;
}

.route-header {
  padding: 20px 20px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.route-header h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.route-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

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

.route-stat-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.route-stat {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.route-stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.route-breakdown {
  width: 100%;
  font-size: 0.85rem;
  margin-bottom: 16px;
  border-collapse: collapse;
}

.route-breakdown td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.route-breakdown td:first-child {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  width: 50px;
}

.route-breakdown td:last-child {
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-green-bright);
  white-space: nowrap;
}

.route-pros-cons {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.route-pros-cons p { margin-bottom: 6px; }
.route-pros-cons strong { color: var(--text-primary); }

.route-meta {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* ============================================
   DAY PLAN
   ============================================ */

.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.day-number {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-green-bright);
  background: rgba(107, 158, 90, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.day-meta h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.day-stats {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.day-body {
  padding: 24px;
}

.day-body > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.day-highlights {
  margin-bottom: 20px;
}

.day-highlights h4 {
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.day-highlights ul {
  list-style: none;
  padding: 0;
}

.day-highlights li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.day-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  opacity: 0.6;
}

.day-camp {
  background: rgba(107, 158, 90, 0.08);
  border: 1px solid rgba(107, 158, 90, 0.2);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.day-camp strong { color: var(--accent-green-bright); }

.day-warning {
  background: rgba(196, 90, 74, 0.1);
  border: 1px solid rgba(196, 90, 74, 0.25);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

.day-warning strong { color: var(--accent-red); }

/* ============================================
   GEAR CHECKLIST
   ============================================ */

.gear-legend {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.essential-badge, .nice-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.essential-badge {
  background: rgba(196, 90, 74, 0.2);
  color: var(--accent-red);
}

.nice-badge {
  background: rgba(90, 143, 181, 0.2);
  color: var(--accent-blue);
}

.gear-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gear-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.gear-progress-fill {
  height: 100%;
  background: var(--accent-green);
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s;
}

.gear-category {
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.gear-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: var(--text-primary);
}

.gear-category-header:hover {
  background: rgba(255,255,255,0.02);
}

.gear-category-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.gear-category-count {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gear-category-chevron {
  color: var(--text-muted);
  transition: transform 0.2s;
  margin-left: 12px;
}

.gear-category.collapsed .gear-category-chevron {
  transform: rotate(-90deg);
}

.gear-category-items {
  padding: 0 20px 12px;
}

.gear-category.collapsed .gear-category-items {
  display: none;
}

.gear-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  cursor: pointer;
}

.gear-item:last-child { border-bottom: none; }

.gear-item input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--accent-green);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.gear-item-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gear-item.checked .gear-item-text {
  text-decoration: line-through;
  opacity: 0.5;
}

.gear-item-name { color: var(--text-primary); font-weight: 500; }
.gear-item-note { font-size: 0.82rem; color: var(--text-muted); display: block; margin-top: 2px; }

.gear-item-priority {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 4px;
}

.priority-e {
  background: rgba(196, 90, 74, 0.2);
  color: var(--accent-red);
}

.priority-n {
  background: rgba(90, 143, 181, 0.15);
  color: var(--accent-blue);
}

/* ============================================
   HISTORY & CULTURE
   ============================================ */

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.history-card:hover {
  border-color: var(--border-light);
}

.history-icon {
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.history-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.history-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.history-fact {
  background: rgba(201, 168, 76, 0.08);
  border-left: 3px solid var(--accent-gold-dim);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.history-fact strong { color: var(--accent-gold); }

/* ============================================
   SAFETY & LOGISTICS
   ============================================ */

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.safety-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.safety-block h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.safety-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.safety-block strong { color: var(--text-primary); }

.safety-block ul {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.safety-block li { margin-bottom: 6px; }

.safety-warning {
  border-color: var(--accent-gold-dim);
  border-left: 3px solid var(--accent-gold);
}

.safety-critical {
  border-color: var(--accent-red-dim);
  border-left: 3px solid var(--accent-red);
}

.safety-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.safety-table td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
}

.safety-table td:first-child {
  white-space: nowrap;
  padding-right: 16px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 500;
}

.warning-text { color: var(--accent-red) !important; }

.safety-abort {
  background: rgba(196, 90, 74, 0.08);
  border: 1px solid rgba(196, 90, 74, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
}

.safety-abort h4 {
  font-size: 0.85rem;
  color: var(--accent-red);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.safety-abort ul { font-size: 0.85rem; }

/* ============================================
   SHUTTLE PLAN
   ============================================ */

.shuttle-timeline {
  position: relative;
  padding-left: 28px;
  margin-bottom: 40px;
}

.shuttle-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.shuttle-step {
  position: relative;
  margin-bottom: 24px;
  padding-left: 24px;
}

.shuttle-step::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid var(--bg-section-alt);
}

.shuttle-time {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.shuttle-content h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.shuttle-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shuttle-content strong { color: var(--text-primary); }

.shuttle-parking, .shuttle-drives {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.shuttle-parking h3, .shuttle-drives h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.shuttle-parking ul {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shuttle-parking li { margin-bottom: 6px; }
.shuttle-parking strong { color: var(--text-primary); }

/* ============================================
   TIMING & CONDITIONS
   ============================================ */

.timing-grid {
  display: grid;
  gap: 24px;
}

.timing-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.timing-block h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.timing-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.weekend-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.weekend-card {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.weekend-card strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.weekend-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.weekend-prime {
  border-color: var(--accent-green);
  background: rgba(107, 158, 90, 0.08);
}
.weekend-prime strong { color: var(--accent-green-bright); }

.weekend-good {
  border-color: var(--accent-gold-dim);
  background: rgba(201, 168, 76, 0.06);
}
.weekend-good strong { color: var(--accent-gold); }

.weekend-ok {
  border-color: var(--border-color);
  background: rgba(255,255,255,0.02);
}

.decision-steps {
  display: grid;
  gap: 12px;
}

.decision-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}

.decision-when {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
  min-width: 100px;
}

.decision-step p {
  margin: 0;
  font-size: 0.9rem;
}

.decision-step strong { color: var(--accent-green-bright); }

.cfs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cfs-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: 10px 8px;
  border-bottom: 2px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cfs-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.cfs-nogo td { opacity: 0.6; }
.cfs-nogo td:last-child { color: var(--accent-red); font-weight: 600; opacity: 1; font-family: var(--font-heading); }
.cfs-marginal td:last-child { color: var(--accent-gold); font-weight: 600; font-family: var(--font-heading); }
.cfs-go td:last-child { color: var(--accent-green-bright); font-weight: 600; font-family: var(--font-heading); }
.cfs-ideal td:last-child { color: var(--accent-green-bright); font-weight: 700; font-family: var(--font-heading); }
.cfs-caution td:last-child { color: var(--accent-gold); font-weight: 600; font-family: var(--font-heading); }

.timing-gauge-link {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
}

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

.footer-reminder {
  font-size: 1rem;
  color: var(--accent-gold);
  padding: 20px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  align-self: start;
}

.footer-links h4, .footer-contacts h4 {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links ul, .footer-contacts ul {
  list-style: none;
}

.footer-links li, .footer-contacts li {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.footer-contacts li {
  color: var(--text-secondary);
}

.footer-credit {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .route-cards { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .river-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 52px; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(20, 22, 15, 0.98);
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .nav-toggle { display: flex; }

  .section { padding: 56px 0; }

  #route-map { height: 380px; }

  .day-header {
    flex-direction: column;
    gap: 8px;
  }

  .shuttle-parking, .shuttle-drives {
    overflow-x: auto;
  }

  .weekend-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-step {
    flex-direction: column;
    gap: 4px;
  }

  .decision-when { min-width: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .river-stats { grid-template-columns: 1fr 1fr; }
  .weekend-cards { grid-template-columns: 1fr; }
  .hero-desc { font-size: 0.95rem; }
  .timing-gauge-link { flex-direction: column; }
  .timing-gauge-link .btn { text-align: center; }
}

/* ============================================
   LEAFLET OVERRIDES
   ============================================ */

.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}

.leaflet-popup-content {
  font-family: var(--font-heading) !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  color: var(--text-secondary) !important;
  margin: 12px 16px !important;
}

.leaflet-popup-content strong { color: var(--text-primary); }

.leaflet-popup-tip {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--text-muted) !important;
}

.leaflet-control-layers {
  background: var(--bg-card) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.leaflet-control-layers label {
  font-family: var(--font-heading) !important;
  font-size: 0.82rem !important;
}

.leaflet-control-zoom a {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--bg-card-hover) !important;
}

/* ============================================
   PHOTO CREDITS
   ============================================ */

.photo-credit {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
  opacity: 0.7;
}

/* ============================================
   RIVER SECTION IMAGES
   ============================================ */

.river-hero-image {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.river-hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.river-secondary-image {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.river-secondary-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ============================================
   ROUTE CORRIDOR IMAGE
   ============================================ */

.route-corridor-image {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.route-corridor-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* ============================================
   DAY CARD IMAGES
   ============================================ */

.day-card-image {
  position: relative;
  overflow: hidden;
}

.day-card-image > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.day-card-image > .photo-credit {
  position: absolute;
  bottom: 8px;
  right: 12px;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin: 0;
}

.day-card-image-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.day-card-image-duo > div {
  position: relative;
  overflow: hidden;
}

.day-card-image-duo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.day-card-image-duo .photo-credit {
  position: absolute;
  bottom: 6px;
  right: 8px;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin: 0;
  font-size: 0.62rem;
}

.day-camp-image {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.day-camp-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ============================================
   HISTORY CARD IMAGES
   ============================================ */

.history-card-image {
  margin: -28px -28px 20px -28px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.history-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.history-card-image .photo-credit {
  position: absolute;
  bottom: 6px;
  right: 10px;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin: 0;
}

/* ============================================
   SHUTTLE SATELLITE IMAGES
   ============================================ */

.shuttle-sat-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.shuttle-sat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}

.shuttle-sat-card h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 16px 16px 12px;
}

.shuttle-sat-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.shuttle-sat-card .photo-credit {
  padding: 8px 16px 12px;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, border-color 0.2s;
}

.gallery-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-green);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
  z-index: 10000;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 16px;
  text-align: center;
  max-width: 600px;
}

/* ============================================
   IMAGE RESPONSIVE OVERRIDES
   ============================================ */

@media (max-width: 900px) {
  .shuttle-sat-images { grid-template-columns: 1fr; }
  .day-card-image-duo { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .river-hero-image img { height: 240px; }
  .river-secondary-image img { height: 200px; }
  .day-card-image > img { height: 200px; }
  .day-card-image-duo img { height: 180px; }
  .history-card-image img { height: 160px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .gallery-item img { height: 160px; }
  .lightbox-overlay { padding: 20px; }
  .lightbox-image { max-width: 95vw; max-height: 75vh; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item img { height: 120px; }
  .day-card-image > img { height: 160px; }
}

/* ============================================
   MAP LINKS & LOCATION BUTTONS
   ============================================ */
.inline-map-link {
  color: #8fbc6a;
  text-decoration: none;
  border-bottom: 1px dashed #8fbc6a;
  transition: color 0.2s, border-color 0.2s;
}
.inline-map-link:hover {
  color: #b5d89a;
  border-color: #b5d89a;
}

.map-link-wrap {
  display: block;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
.map-link-wrap:hover .map-link-badge {
  opacity: 1;
}
.map-link-wrap:hover img {
  filter: brightness(1.1);
}
.map-link-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(55, 80, 40, 0.9);
  color: #e8dcc8;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: opacity 0.2s;
  backdrop-filter: blur(4px);
}

.location-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  flex: 1;
  justify-content: center;
}
.btn-apple {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
}
.btn-apple:hover {
  background: #333;
  border-color: #666;
}
.btn-google {
  background: #1a3d1a;
  color: #8fbc6a;
  border: 1px solid #375028;
}
.btn-google:hover {
  background: #264026;
  border-color: #4a7030;
}
.sat-coords {
  color: #a09880;
  font-size: 0.8rem;
  font-family: monospace;
  margin: 6px 0 4px;
}
.shuttle-sat-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Parking cards */
.parking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.parking-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid #3a3830;
  border-radius: 10px;
  padding: 20px;
}
.parking-card h3 {
  color: #e8dcc8;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.parking-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.parking-card li {
  padding: 6px 0;
  color: #c0b8a8;
  font-size: 0.88rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.parking-card li:last-child {
  border-bottom: none;
}
.parking-card .location-links {
  margin-top: 12px;
}
.parking-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.parking-informal {
  background: rgba(243,156,18,0.15);
  color: #f39c12;
}
.parking-formal {
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
}
.parking-card-bailout {
  border-color: rgba(46,204,113,0.25);
}

.shuttle-services {
  margin-top: 24px;
}
.shuttle-services h3 {
  color: #e8dcc8;
  margin-bottom: 12px;
}

/* ============================================
   ROUTE SELECTOR CONTROL (Map)
   ============================================ */
.route-selector {
  background: rgba(30, 28, 24, 0.95);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  min-width: 200px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  font-family: inherit;
}
.route-selector-title {
  color: #e8dcc8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.route-btn {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.05);
  color: #c0b8a8;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 8px 10px;
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.route-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #e8dcc8;
}
.route-btn-active {
  background: rgba(143,188,106,0.15);
  color: #b5d89a;
  border-color: rgba(143,188,106,0.3);
  font-weight: 600;
}
.route-selector-divider {
  border: none;
  border-top: 1px solid #444;
  margin: 8px 0;
}
.route-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a09880;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 0;
}
.route-toggle input[type="checkbox"] {
  accent-color: #8fbc6a;
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.route-toggle:hover {
  color: #e8dcc8;
}

@media (max-width: 600px) {
  .route-selector {
    min-width: 160px;
    padding: 8px;
  }
  .route-btn {
    font-size: 0.75rem;
    padding: 6px 8px;
  }
}

/* ============================================
   LIVE USGS GAUGE WIDGET
   ============================================ */
.gauge-widget {
  background: rgba(30, 28, 24, 0.85);
  border: 1px solid #444;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  backdrop-filter: blur(8px);
}
.gauge-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.gauge-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8dcc8;
  font-size: 0.95rem;
}
.gauge-site-name {
  color: #a09880;
  font-size: 0.8rem;
  font-weight: 400;
}
.gauge-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(143,188,106,0.15);
  color: #8fbc6a;
  border: 1px solid rgba(143,188,106,0.3);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.gauge-refresh-btn:hover {
  background: rgba(143,188,106,0.25);
}
.gauge-refresh-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}
.gauge-refresh-sm {
  padding: 4px 8px;
  font-size: 0;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.gauge-readings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.gauge-reading-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.gauge-reading-label {
  display: block;
  color: #a09880;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.gauge-reading-value {
  display: block;
  color: #e8dcc8;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: monospace;
  line-height: 1.2;
}
.gauge-reading-unit {
  display: block;
  color: #a09880;
  font-size: 0.75rem;
}
.gauge-verdict {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.gauge-time {
  font-size: 0.85rem;
  font-weight: 400;
}
.verdict-nogo { color: #e74c3c !important; }
.verdict-marginal { color: #f39c12 !important; }
.verdict-go { color: #2ecc71 !important; }
.verdict-ideal { color: #8fbc6a !important; }
.verdict-caution { color: #e67e22 !important; }

.gauge-chart-wrap {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 10px;
}
.gauge-chart-wrap canvas {
  width: 100%;
  display: block;
}
.gauge-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.gauge-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a09880;
  font-size: 0.72rem;
}
.gauge-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Timing section mini gauge */
.timing-gauge-live {
  background: rgba(30,28,24,0.85);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.timing-gauge-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e8dcc8;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.timing-gauge-readout {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.timing-gauge-cfs {
  font-size: 2rem;
  font-weight: 800;
  font-family: monospace;
  color: #e8dcc8;
}
.timing-gauge-verdict {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .gauge-readings {
    grid-template-columns: repeat(2, 1fr);
  }
  .gauge-widget-title {
    flex-wrap: wrap;
  }
  .gauge-site-name {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .gauge-reading-value {
    font-size: 1.3rem;
  }
  .timing-gauge-cfs {
    font-size: 1.5rem;
  }
}

/* ============================================
   WEATHER SECTION
   ============================================ */
.weather-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.weather-block {
  background: rgba(30, 28, 24, 0.7);
  border: 1px solid #3a3830;
  border-radius: 10px;
  padding: 20px;
}
.weather-block h3 {
  color: #e8dcc8;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.weather-block-wide {
  grid-column: 1 / -1;
}
.weather-loading {
  color: #a09880;
  font-style: italic;
}
.weather-note {
  color: #a09880;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.weather-current-grid {
  display: flex;
  align-items: center;
  gap: 20px;
}
.weather-current-temp {
  font-size: 3rem;
  font-weight: 800;
  color: #e8dcc8;
  font-family: monospace;
  line-height: 1;
}
.weather-current-temp span {
  font-size: 1.2rem;
  font-weight: 400;
}
.weather-current-details {
  color: #c0b8a8;
  font-size: 0.9rem;
  line-height: 1.6;
}
.weather-detail strong {
  color: #e8dcc8;
}
.weather-forecast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.weather-forecast-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.weather-night {
  background: rgba(0,0,0,0.2);
}
.weather-forecast-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a09880;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.weather-forecast-temp {
  font-size: 1.5rem;
  font-weight: 800;
  color: #e8dcc8;
  font-family: monospace;
}
.weather-forecast-desc {
  font-size: 0.78rem;
  color: #c0b8a8;
  margin: 4px 0;
  line-height: 1.3;
}
.weather-forecast-wind {
  font-size: 0.7rem;
  color: #a09880;
}

/* Historical weather */
.weather-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.weather-history-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.weather-history-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a09880;
  margin-bottom: 4px;
}
.weather-history-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #e8dcc8;
  font-family: monospace;
  line-height: 1.2;
}
.weather-history-note {
  display: block;
  font-size: 0.72rem;
  color: #a09880;
  margin-top: 4px;
}

/* What to expect */
.weather-expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.weather-expect-item {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
}
.weather-expect-item strong {
  display: block;
  color: #e8dcc8;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.weather-expect-item p {
  color: #c0b8a8;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.weather-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 600px) {
  .weather-current-temp {
    font-size: 2.2rem;
  }
  .weather-forecast-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================
   CONTINGENCY PAGE STYLES
   ============================================ */

/* Comparison table */
.comparison-table {
  overflow-x: auto;
  margin: 30px 0;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comparison-table th {
  color: #e8dcc8;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.04);
}
.comparison-table td {
  color: #c0b8a8;
}
.comparison-table td:first-child {
  color: #a09880;
  white-space: nowrap;
}
.comparison-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

/* Why block */
.why-block {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
}
.why-block h3 {
  color: #e8dcc8;
  margin-bottom: 12px;
}
.why-block p {
  color: #c0b8a8;
  line-height: 1.7;
  margin-bottom: 10px;
}
.why-block p:last-child {
  margin-bottom: 0;
}

/* Decision flowchart */
.decision-flow {
  max-width: 700px;
  margin: 0 auto;
}
.decision-node {
  background: rgba(30,28,24,0.85);
  border: 1px solid #3a3830;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.decision-node h4 {
  color: #e8dcc8;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.decision-node p {
  color: #a09880;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.decision-gauge-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.decision-gauge-value {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: monospace;
  color: #e8dcc8;
}
.decision-gauge-label {
  font-size: 0.85rem;
  color: #a09880;
  font-weight: 600;
}
.gauge-refresh-sm {
  padding: 4px 8px;
  font-size: 0.75rem;
}
.decision-branches {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.decision-branch {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3a3830;
}
.decision-condition {
  min-width: 160px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  font-family: monospace;
}
.decision-result {
  flex: 1;
  padding: 16px;
  background: rgba(30,28,24,0.7);
}
.decision-result strong {
  display: block;
  color: #e8dcc8;
  margin-bottom: 4px;
}
.decision-result p {
  color: #a09880;
  font-size: 0.85rem;
  margin: 0;
}
.decision-go .decision-condition {
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
}
.decision-maybe .decision-condition {
  background: rgba(243,156,18,0.15);
  color: #f39c12;
}
.decision-switch .decision-condition {
  background: rgba(231,76,60,0.15);
  color: #e74c3c;
}
.decision-gauge-inline {
  font-weight: 700;
  font-family: monospace;
  font-size: 1.1rem;
}
.decision-gb-check {
  border-color: rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.06);
}
.decision-note {
  color: #e67e22 !important;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Safety grid */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.safety-block {
  background: rgba(30,28,24,0.7);
  border: 1px solid #3a3830;
  border-radius: 10px;
  padding: 20px;
}
.safety-block h3 {
  color: #e8dcc8;
  margin-bottom: 12px;
  font-size: 1rem;
}
.safety-block p {
  color: #c0b8a8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.safety-warning {
  border-color: rgba(231,76,60,0.3);
  background: rgba(231,76,60,0.06);
}
.safety-table {
  width: 100%;
  border-collapse: collapse;
}
.safety-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #c0b8a8;
  font-size: 0.85rem;
}
.safety-table td:first-child {
  white-space: nowrap;
  color: #e8dcc8;
  font-family: monospace;
}

/* CFS reference table */
.cfs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.cfs-table th,
.cfs-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cfs-table thead th {
  color: #a09880;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cfs-table td {
  color: #c0b8a8;
}
.cfs-nogo td:first-child { color: #e74c3c; font-weight: 700; }
.cfs-marginal td:first-child { color: #f39c12; font-weight: 700; }
.cfs-go td:first-child { color: #2ecc71; font-weight: 700; }
.cfs-ideal td:first-child { color: #3b82f6; font-weight: 700; }
.cfs-caution td:first-child { color: #e67e22; font-weight: 700; }
.cfs-nogo td:last-child,
.cfs-marginal td:last-child,
.cfs-go td:last-child,
.cfs-ideal td:last-child,
.cfs-caution td:last-child {
  font-weight: 700;
}
.cfs-nogo td:last-child { color: #e74c3c; }
.cfs-marginal td:last-child { color: #f39c12; }
.cfs-go td:last-child { color: #2ecc71; }
.cfs-ideal td:last-child { color: #3b82f6; }
.cfs-caution td:last-child { color: #e67e22; }

/* Shuttle timeline */
.shuttle-timeline {
  position: relative;
  padding-left: 30px;
  margin: 30px 0;
}
.shuttle-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}
.shuttle-step {
  position: relative;
  margin-bottom: 24px;
}
.shuttle-step::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #1a1816;
}
.shuttle-time {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.shuttle-content h4 {
  color: #e8dcc8;
  font-size: 1rem;
  margin-bottom: 6px;
}
.shuttle-content p {
  color: #a09880;
  font-size: 0.88rem;
  line-height: 1.6;
}
.inline-map-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}
.inline-map-link:hover {
  text-decoration: underline;
}

/* Shuttle drives */
.shuttle-drives {
  margin-top: 30px;
}
.shuttle-drives h3 {
  color: #e8dcc8;
  margin-bottom: 12px;
}

/* Trough grid */
.trough-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.trough-image {
  position: relative;
}
.trough-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.trough-info h3 {
  color: #e8dcc8;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.trough-info ul {
  list-style: none;
  padding: 0;
}
.trough-info li {
  color: #c0b8a8;
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trough-info li:last-child {
  border-bottom: none;
}

/* River secondary image */
.river-secondary-image {
  margin: 24px 0;
  position: relative;
}
.river-secondary-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Photo credits */
.photo-credit {
  display: block;
  font-size: 0.7rem;
  color: #a09880;
  margin-top: 6px;
  text-align: right;
}

/* Contingency callout in primary page */
.contingency-callout {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}
.contingency-callout h3 {
  color: #e8dcc8;
  margin-bottom: 10px;
}
.contingency-callout p {
  color: #c0b8a8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.nav-contingency-link {
  color: #3b82f6 !important;
  font-weight: 600 !important;
}

/* Contingency theme nav accent */
.contingency-theme .nav-brand {
  opacity: 0.6;
}
.nav-back-link {
  color: #3b82f6 !important;
  font-weight: 600;
}

/* Parking cards */
.parking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.parking-card {
  background: rgba(30,28,24,0.7);
  border: 1px solid #3a3830;
  border-radius: 10px;
  padding: 20px;
}
.parking-card h3 {
  color: #e8dcc8;
  font-size: 1rem;
  margin-bottom: 8px;
}
.parking-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.parking-card li {
  color: #c0b8a8;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 4px 0;
}
.parking-card-bailout {
  border-color: rgba(26,188,156,0.3);
}
.parking-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.parking-formal {
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
}
.parking-informal {
  background: rgba(243,156,18,0.15);
  color: #f39c12;
}

/* Map link buttons */
.location-links {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn-map {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-apple {
  background: rgba(255,255,255,0.08);
  color: #e8dcc8;
}
.btn-apple:hover {
  background: rgba(255,255,255,0.15);
}
.btn-google {
  background: rgba(66,133,244,0.15);
  color: #4285f4;
}
.btn-google:hover {
  background: rgba(66,133,244,0.25);
}

/* Contingency-specific responsive */
@media (max-width: 768px) {
  .trough-grid {
    grid-template-columns: 1fr;
  }
  .decision-branch {
    flex-direction: column;
  }
  .decision-condition {
    min-width: auto;
    padding: 10px;
  }
  .safety-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .decision-gauge-value {
    font-size: 1.6rem;
  }
  .comparison-table {
    font-size: 0.8rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
  }
}
