/* ═══════════════════════════════════
   HootFlight — Kid-Friendly Aviation Theme
   ═══════════════════════════════════ */

:root {
  /* Sky & background */
  --sky-top: #4A90D9;
  --sky-bottom: #87CEEB;
  --cloud-white: #ffffff;

  /* Brand colors */
  --hoot-brown: #8B6914;
  --hoot-brown-light: #A0782C;
  --hoot-gold: #F5DEB3;
  --hoot-orange: #E23D28;
  --scarf-red: #E23D28;

  /* Neutral palette — borders, subtle backgrounds, inputs */
  --border-color: #E0D5C5;
  --subtle-bg: #FFF9EF;
  --input-bg: #FFFAF3;

  /* Buttons */
  --btn-primary: #D32F2F;
  --btn-primary-hover: #B71C1C;
  --btn-secondary: #4A90D9;

  /* Surfaces */
  --card-bg: rgba(255, 255, 255, 0.95);

  /* Text */
  --text-dark: #2C1810;
  --text-medium: #5C4033;
  --text-light: #6B5842;

  /* Status */
  --success: #4CAF50;

  /* Typography */
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Fredoka', sans-serif;

  /* Radii */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 30px;

  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #2C1810, #5C4033);

  /* Shadows */
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ═══ SKIP LINK ═══ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 12px 24px;
  background: var(--btn-primary);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ═══ SCREEN-READER ONLY ═══ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ═══ FOCUS STYLES ═══ */
:focus-visible {
  outline: 3px solid var(--btn-secondary);
  outline-offset: 2px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--btn-secondary);
  outline-offset: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--text-dark);
  overflow-x: hidden;
}

body {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 50%, #B8E6B8 85%, #7BC47F 100%);
  min-height: 100vh;
}

/* ═══ ANIMATED CLOUDS ═══ */
.clouds-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: var(--cloud-white);
  border-radius: 100px;
  opacity: 0.6;
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: var(--cloud-white);
  border-radius: 50%;
}

.cloud-1 {
  width: 200px; height: 60px; top: 8%; left: -200px;
  animation: drift 35s linear infinite;
}
.cloud-1::before { width: 100px; height: 80px; top: -40px; left: 30px; }
.cloud-1::after { width: 120px; height: 70px; top: -30px; left: 80px; }

.cloud-2 {
  width: 160px; height: 50px; top: 20%; left: -160px;
  animation: drift 28s linear infinite 5s;
  opacity: 0.4;
}
.cloud-2::before { width: 80px; height: 60px; top: -30px; left: 20px; }
.cloud-2::after { width: 90px; height: 55px; top: -25px; left: 60px; }

.cloud-3 {
  width: 240px; height: 70px; top: 35%; left: -240px;
  animation: drift 40s linear infinite 12s;
  opacity: 0.5;
}
.cloud-3::before { width: 120px; height: 90px; top: -45px; left: 40px; }
.cloud-3::after { width: 140px; height: 80px; top: -35px; left: 100px; }

.cloud-4 {
  width: 180px; height: 55px; top: 12%; left: -180px;
  animation: drift 32s linear infinite 18s;
  opacity: 0.35;
}
.cloud-4::before { width: 90px; height: 65px; top: -35px; left: 25px; }
.cloud-4::after { width: 100px; height: 60px; top: -28px; left: 70px; }

.cloud-5 {
  width: 150px; height: 45px; top: 45%; left: -150px;
  animation: drift 38s linear infinite 8s;
  opacity: 0.3;
}
.cloud-5::before { width: 70px; height: 55px; top: -30px; left: 20px; }
.cloud-5::after { width: 80px; height: 50px; top: -25px; left: 55px; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 300px)); }
}

/* ═══ HEADER ═══ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--gradient-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-owl {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  animation: owlBob 3s ease-in-out infinite;
}

@keyframes owlBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--hoot-gold);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}

/* ═══ SCREENS ═══ */
.screen {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ═══ BUTTONS ═══ */
.input-group {
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 4px;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 3px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--input-bg);
  transition: border-color 0.2s;
}
.input-group input:focus {
  border-color: var(--btn-primary);
}
.input-group input::placeholder {
  color: #bbb;
}

.btn-primary {
  padding: 12px 24px;
  background: var(--btn-primary);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}
.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-large { width: 100%; padding: 14px; font-size: 20px; }

.btn-secondary {
  padding: 10px 20px;
  background: white;
  color: var(--btn-secondary);
  border: 2px solid var(--btn-secondary);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--btn-secondary);
  color: white;
}

/* ═══ SEARCH SECTION ═══ */
.screen-app {
  align-items: flex-start;
  padding-top: 30px;
  flex-direction: column;
}

#mainContent {
  width: 100%;
}

.search-section, .segment-section, .flight-section, .explore-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.search-card, .segment-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 3px solid var(--hoot-orange);
  max-width: 600px;
  margin: 0 auto;
}

.hoot-speech {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.hoot-mini {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  animation: owlBob 3s ease-in-out infinite;
}

.speech-bubble {
  background: var(--subtle-bg);
  border: 2px solid var(--border-color);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.5;
  position: relative;
}

.search-bar {
  display: flex;
  gap: 10px;
}

.search-bar input {
  flex: 1;
  padding: 14px 18px;
  border: 3px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--input-bg);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: border-color 0.2s;
}
.search-bar input:focus {
  border-color: var(--btn-primary);
}
.search-bar input::placeholder {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 16px;
  color: #bbb;
}

.search-error {
  color: var(--scarf-red);
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  min-height: 20px;
}

#flightDate {
  padding: 14px 12px;
  border: 3px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--input-bg);
  min-width: 140px;
  transition: border-color 0.2s;
}
#flightDate:focus { border-color: var(--btn-primary); }

.search-helper {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}


/* ═══ MODE TOGGLE ═══ */
.mode-toggle {
  display: flex;
  gap: 4px;
  background: rgba(224, 213, 197, 0.8);
  border-radius: var(--radius-pill);
  padding: 4px;
  max-width: 400px;
  margin: 0 auto 16px;
}
.mode-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 26px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}
.mode-btn.active {
  background: white;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.mode-btn:hover:not(.active) {
  background: rgba(255,255,255,0.4);
}

/* ═══ EXPLORE BAR ═══ */
.explore-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.explore-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.explore-input-wrap {
  flex: 1;
  position: relative;
}
.explore-input-wrap input {
  width: 100%;
  padding: 14px 18px;
  border: 3px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--input-bg);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.explore-input-wrap input:focus {
  border-color: var(--btn-primary);
}
.explore-arrow-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.explore-bar .btn-primary {
  align-self: center;
  padding: 14px 40px;
  border-radius: var(--radius-pill);
}

/* Autocomplete suggestions */
.explore-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-height: 200px;
  overflow-y: auto;
  z-index: 50;
}
.explore-suggestion-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.1s;
}
.explore-suggestion-item:hover {
  background: var(--subtle-bg);
}
.explore-suggestion-code {
  font-weight: 700;
  font-family: var(--font-display);
  margin-right: 8px;
  color: var(--btn-primary);
}

/* ═══ EXPLORE RESULTS ═══ */
.explore-route-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--btn-secondary), #2196F3);
  color: white;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.explore-cities {
  font-size: 16px;
  color: var(--text-medium);
  font-weight: 500;
}

/* ═══ SEGMENT DISAMBIGUATION ═══ */
.segment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.segment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--subtle-bg), #FFF3E0);
  border: 3px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.segment-option:hover {
  border-color: var(--btn-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.segment-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.segment-cities {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
}

.segment-arrow {
  font-size: 24px;
}

.segment-details {
  text-align: right;
  font-size: 12px;
  color: var(--text-light);
}

/* ═══ FLIGHT MAP & INFO ═══ */
.flight-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flight-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.map-panel {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--hoot-orange);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.flight-map {
  width: 100%;
  flex: 1;
  min-height: 200px;
  background: var(--sky-bottom);
}

/* Full-width facts section below the map+stats row */
.facts-section-full {
  width: 100%;
}

.map-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gradient-dark);
  flex-wrap: wrap;
}

.map-ctrl-btn {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-ctrl-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.map-ctrl-btn.active {
  background: var(--btn-primary);
  border-color: var(--btn-primary);
}

.speed-display {
  color: var(--hoot-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  min-width: 36px;
  text-align: center;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  min-width: 100px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--btn-primary), #D4A574);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s;
}

/* Info Panel */
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flight-header-info {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--hoot-orange);
}

.flight-number-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--btn-primary), #EF5350);
  color: white;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.flight-route {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.route-arrow { font-size: 20px; }

.aircraft-info {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Tier Indicator */
.tier-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  line-height: 1.4;
  margin-top: 10px;
  animation: popIn 0.3s ease-out;
}
.tier-indicator strong { display: block; margin-bottom: 2px; }
.tier-indicator p { margin: 4px 0 0; font-size: 13px; }
.tier-icon { font-size: 20px; flex-shrink: 0; }
.tier-hoot-icon { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tier-filed { background: #E3F2FD; border: 2px solid #90CAF9; color: #1565C0; }
.tier-historical { background: #FFF3E0; border: 2px solid #FFB74D; color: #E65100; }
.tier-historical-loading { background: #FFF3E0; border: 2px dashed #FFB74D; color: #E65100; }
.tier-cancelled { background: #FFEBEE; border: 2px solid #EF9A9A; color: #C62828; }
.tier-diverted { background: #F3E5F5; border: 2px solid #CE93D8; color: #6A1B9A; }
.route-diverted-label {
  font-size: 12px;
  color: #6A1B9A;
  font-weight: 600;
  background: #F3E5F5;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
}

.stat-icon { font-size: 24px; margin-bottom: 4px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--btn-primary);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Facts Tabs */
.facts-tabs {
  display: flex;
  gap: 4px;
  background: var(--border-color);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 26px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}
.tab.active {
  background: white;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.facts-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 150px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
}

.facts-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  color: var(--text-medium);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--btn-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.facts-list { display: flex; flex-direction: column; gap: 12px; }

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: var(--subtle-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.fact-emoji { font-size: 24px; flex-shrink: 0; }

.fact-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Airport Facts Sections */
.airport-facts-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.airport-facts-section:last-child {
  margin-bottom: 0;
}

.airport-facts-header {
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--btn-secondary), #4A90C4);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.airport-facts-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: white;
}

/* ═══ EXPLORE EXTRAS: Distance Comparisons & Travel Times ═══ */
.explore-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.explore-extras-section {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 3px solid var(--hoot-orange);
}

.explore-extras-title,
.landmarks-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px 0;
  text-align: left;
}

.explore-extras-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.explore-extras-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: var(--subtle-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.explore-extras-card:last-child { margin-bottom: 0; }

.explore-extras-emoji { font-size: 24px; flex-shrink: 0; }

.explore-extras-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
}

.explore-time-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--subtle-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
}

.explore-time-row:last-child { margin-bottom: 0; }

.explore-time-emoji { font-size: 22px; flex-shrink: 0; }

.explore-time-mode {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  min-width: 120px;
}

.explore-time-value {
  font-size: 14px;
  color: var(--text-dark);
  flex: 1;
}

.explore-time-slow {
  background: #FFF3E0;
  border-color: #FFB74D;
}

.explore-time-absurd {
  background: #FFF0F0;
  border-color: #EF9A9A;
}

.explore-time-aside {
  font-style: italic;
  color: #E65100;
  font-weight: 600;
  font-size: 13px;
}

.btn-new-search {
  width: 100%;
  margin-top: 4px;
}

@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ═══ LANDMARKS SECTION ═══ */
.landmarks-section {
  margin-top: 20px;
  padding: 0 8px;
}

.landmarks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landmark-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--subtle-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.landmark-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.landmark-icon {
  font-size: 30px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(211, 47, 47, 0.08);
  border-radius: var(--radius-sm);
}

.landmark-info {
  flex: 1;
  min-width: 0;
}

.landmark-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.landmark-timing {
  font-size: 12px;
  font-weight: 600;
  color: var(--btn-primary);
  margin-bottom: 6px;
}

.landmark-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.landmark-fun-fact {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-light);
  font-style: italic;
  padding-left: 10px;
  border-left: 3px solid var(--hoot-brown);
}

.landmarks-empty {
  text-align: center;
  padding: 24px 16px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border-color);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .landmark-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .landmark-fun-fact {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--hoot-brown);
    padding-top: 6px;
  }
}

/* ═══ LEAFLET OVERRIDES ═══ */
.leaflet-container {
  font-family: var(--font-body) !important;
}


.airport-marker {
  background: var(--text-medium);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.plane-icon {
  transition: transform 0.1s linear;
}

/* ═══ FOOTER ═══ */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: var(--gradient-dark);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.footer-link {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--hoot-gold);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .flight-layout {
    grid-template-columns: 1fr;
  }
  .flight-map { min-height: 300px; flex: 0 0 300px; }
  .header { padding: 10px 16px; }
  .logo-text { font-size: 22px; }
  .search-bar { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .explore-inputs { flex-direction: column; }
  .explore-arrow-icon { transform: rotate(90deg); }
  .mode-toggle { max-width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .logo-owl, .hoot-mini { animation: none; }
  .cloud { animation: none; display: none; }
  .loading-spinner { animation: spin 3s linear infinite; }
}
