/* ==========================================================================
   LIVINGSTONE ADVENTURE - VICTORIA FALLS HELICOPTER FLIGHT
   Design System & Styling for africa.acton.au
   ========================================================================== */

:root {
  /* Color System */
  --bg-dark: #07090D;
  --bg-primary: #0C1017;
  --bg-secondary: #131A24;
  --bg-card: rgba(19, 26, 36, 0.75);
  --bg-card-hover: rgba(28, 38, 52, 0.85);
  
  --gold-primary: #F5A623;
  --gold-light: #FFC266;
  --gold-dark: #C97E06;
  --gold-glow: rgba(245, 166, 35, 0.25);
  --gold-gradient: linear-gradient(135deg, #FFB834 0%, #E68A00 100%);
  
  --zambezi-teal: #00BFA5;
  --zambezi-blue: #0288D1;
  --zambezi-gradient: linear-gradient(135deg, #00BFA5 0%, #0288D1 100%);
  
  --crimson: #FF4757;
  --text-pure: #FFFFFF;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 166, 35, 0.35);
  --border-active: rgba(245, 166, 35, 0.8);
  
  --glass-bg: rgba(12, 16, 23, 0.72);
  --glass-blur: blur(20px);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 30px -10px rgba(245, 166, 35, 0.4);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Animated Ambient Background Mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 20% 15%, rgba(245, 166, 35, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 191, 165, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(2, 136, 209, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-main);
  margin-bottom: 1rem;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--gold-primary);
}

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0A0D12;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(245, 166, 35, 0.6);
  color: #000;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--glass-blur);
  border-color: var(--border-subtle);
  color: var(--text-pure);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.badge-teal {
  background: rgba(0, 191, 165, 0.12);
  color: var(--zambezi-teal);
  border: 1px solid rgba(0, 191, 165, 0.3);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0D12;
  font-size: 1.25rem;
  box-shadow: var(--shadow-gold);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-pure);
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.8rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.audio-toggle-btn.playing {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  animation: pulse-glow 2s infinite ease-in-out;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: brightness(0.65) contrast(1.1);
  animation: hero-ken-burns 25s infinite alternate ease-in-out;
}
@keyframes hero-ken-burns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1%, -1%); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(7, 9, 13, 0.4) 0%, 
    rgba(7, 9, 13, 0.75) 60%, 
    rgba(7, 9, 13, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(245, 166, 35, 0.12);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-title .text-gold {
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-main);
  margin-bottom: 2.2rem;
  max-width: 680px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Flight Telemetry Bar */
.flight-telemetry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  background: rgba(19, 26, 36, 0.65);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-lg);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.telemetry-val {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-pure);
}

.telemetry-val small {
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 500;
  margin-left: 0.2rem;
}

/* Section Header */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   INTERACTIVE FLIGHT RADAR & MAP SECTION
   ========================================================================== */
.map-radar-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

#flight-map-container {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-sidebar-title {
  font-size: 1.1rem;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.waypoints-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: 440px;
  padding-right: 0.4rem;
}

.waypoints-list::-webkit-scrollbar {
  width: 4px;
}
.waypoints-list::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 4px;
}

.waypoint-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.waypoint-card:hover, .waypoint-card.active {
  background: rgba(245, 166, 35, 0.08);
  border-color: var(--gold-primary);
  transform: translateX(4px);
}

.waypoint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.waypoint-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-pure);
}

.waypoint-number {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waypoint-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   PHOTO & VIDEO GALLERY SECTION
   ========================================================================== */
.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2rem;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
  background: var(--gold-gradient);
  color: #0A0D12;
  box-shadow: var(--shadow-gold);
}

.gallery-extra-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.gallery-search-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-pure);
  font-size: 0.85rem;
  padding: 0.55rem 1rem 0.55rem 2.2rem;
  outline: none;
  transition: all var(--transition-fast);
  width: 180px;
}
.gallery-search-input:focus {
  border-color: var(--gold-primary);
  width: 230px;
  background: rgba(255, 255, 255, 0.09);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.media-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
}

.media-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(110deg, #090C11 8%, #161D29 18%, #090C11 33%);
  background-size: 200% 100%;
  animation: shimmer-bg 1.8s infinite linear;
  overflow: hidden;
}
@keyframes shimmer-bg {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.media-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition: opacity 0.35s ease, transform var(--transition-slow);
}

.media-thumb-img.loaded {
  opacity: 1;
}

.media-card:hover .media-thumb-img {
  transform: scale(1.06);
}

.media-card-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
}

.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: var(--glass-blur);
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--transition-fast);
  z-index: 3;
}

.media-card:hover .video-play-indicator {
  background: var(--gold-primary);
  color: #000;
  transform: translate(-50%, -50%) scale(1.12);
}

.media-overlay-actions {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  display: flex;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 3;
}

.media-card:hover .media-overlay-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.quick-action-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

.media-info {
  padding: 1.2rem;
}

.media-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  display: box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.media-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.media-meta-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* ==========================================================================
   CINEMA VIDEO THEATER
   ========================================================================== */
.video-theater-container {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.cinema-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.cinema-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cinema-custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cinema-screen-container:hover .cinema-custom-controls {
  opacity: 1;
}

.cinema-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.cinema-progress-filled {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
  width: 0%;
}

.cinema-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cinema-controls-left, .cinema-controls-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cinema-control-btn {
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.cinema-control-btn:hover {
  color: var(--gold-primary);
}

.cinema-time-display {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

/* ==========================================================================
   FLIGHT JOURNAL & MEMORIES STORY SECTION
   ========================================================================== */
.story-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.story-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-fast);
  position: relative;
}
.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.story-card:hover::before {
  opacity: 1;
}

.story-icon {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-pure);
  margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #05070A;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-brand h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-links h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: var(--text-pure);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.8rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================================================== */
button, a, .filter-tab, .waypoint-card, .quick-action-btn, .lightbox-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1024px) {
  .map-radar-wrapper {
    grid-template-columns: 1fr;
  }
  #flight-map-container {
    height: 400px;
  }
  .waypoints-list {
    max-height: 250px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .navbar-inner {
    padding: 0 0.5rem;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(10, 13, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero {
    padding: 6.5rem 0 3.5rem;
    min-height: auto;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }
  .gallery-extra-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .search-input-wrapper {
    width: 100%;
  }
  .gallery-search-input {
    width: 100% !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .brand-text span {
    display: none;
  }
  .brand-text h1 {
    font-size: 1.05rem;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  #share-experience-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
  .flight-telemetry {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    gap: 0.8rem;
  }
  .telemetry-val {
    font-size: 1.15rem;
  }
  .story-card {
    padding: 1.4rem;
  }
  #flight-map-container {
    height: 320px;
  }
  .video-theater-container {
    padding: 0.75rem;
  }
}

/* ==========================================================================
   MOBILE LANDSCAPE ORIENTATION SUPPORT (Screen Rotation)
   ========================================================================== */
@media (orientation: landscape) and (max-height: 600px) {
  .navbar {
    padding: calc(0.35rem + env(safe-area-inset-top, 0px)) 0;
  }
  .navbar-inner {
    padding: 0 calc(1rem + env(safe-area-inset-right, 0px)) 0 calc(1rem + env(safe-area-inset-left, 0px));
  }
  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .brand-text h1 {
    font-size: 0.95rem;
  }
  .brand-text span {
    font-size: 0.65rem;
  }
  .hero {
    min-height: auto;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 0 2.5rem;
  }
  .hero-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    margin-bottom: 0.8rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
    line-height: 1.5;
  }
  .hero-cta-group {
    flex-direction: row;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group .btn {
    width: auto;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }
  .flight-telemetry {
    grid-template-columns: repeat(5, 1fr);
    padding: 0.8rem 1.2rem;
    gap: 0.6rem;
  }
  .telemetry-label {
    font-size: 0.68rem;
  }
  .telemetry-val {
    font-size: 1.05rem;
  }
  .map-radar-wrapper {
    grid-template-columns: 1fr 280px;
    padding: 1rem;
  }
  #flight-map-container {
    height: 280px;
  }
  .waypoints-list {
    max-height: 230px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .story-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .video-theater-container {
    max-width: 800px;
  }
}
