@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-bg: #050914;
  --secondary-bg: #0b101d;
  --card-bg: rgba(14, 21, 38, 0.7);
  --card-border: rgba(244, 185, 66, 0.18);
  --card-border-active: rgba(244, 185, 66, 0.8);
  --gold: #f4b942;
  --gold-dark: #b8860b;
  --gold-glow: rgba(244, 185, 66, 0.35);
  --gold-light: #fff2cc;
  --white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #475569;
  
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-blue: #3b82f6;

  --font-title: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --hero-bg: url('https://images.unsplash.com/photo-1605640840605-14ac1855827b?auto=format&fit=crop&w=1200&q=80');
}

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

body {
  background-color: var(--primary-bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: #151f32;
  border-radius: 4px;
  border: 1px solid var(--card-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  letter-spacing: 1px;
}

p {
  font-weight: 300;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--white);
  text-shadow: 0 0 10px var(--gold-glow);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 10px auto 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.glass-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  padding: 30px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.glass-panel:hover {
  border-color: rgba(244, 185, 66, 0.35);
}

/* Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 9, 20, 0.85);
  border-bottom: 1px solid rgba(244, 185, 66, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
}

.nav-logo-icon {
  font-size: 1.6rem;
  color: var(--gold);
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

.nav-logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
  text-shadow: 0 0 5px var(--gold-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
  box-shadow: 0 0 4px var(--gold);
}

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

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Cinematic Home Default Section with Parallax Background & Clouds */
.hero-default-home {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.3) 0%, rgba(5, 9, 20, 0.95) 100%), var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Floating Clouds layer */
.clouds-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cloud {
  position: absolute;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  filter: blur(20px);
  border-radius: 50%;
}

.cloud-1 {
  width: 500px;
  height: 150px;
  top: 15%;
  left: -20%;
  animation: floatClouds 90s linear infinite;
}

.cloud-2 {
  width: 700px;
  height: 200px;
  top: 45%;
  right: -30%;
  animation: floatClouds 120s linear infinite reverse;
}

.hero-home-content {
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  text-align: center;
}

.maa-devotion-box {
  background: rgba(11, 16, 29, 0.55);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 0 25px rgba(244, 185, 66, 0.12);
}

.maa-devotion-box::before {
  content: '🔱';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  background: var(--primary-bg);
  padding: 0 15px;
}

.devotion-chant {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-shadow: 0 0 8px var(--gold-glow);
  animation: glowDevotion 4s ease-in-out infinite alternate;
}

.devotion-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 20%, var(--gold-light) 65%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6));
}

.devotion-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #050914;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--gold);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Global Controls Bar */
.global-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(18, 26, 44, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px 25px;
  margin-bottom: 30px;
}

/* Altitude Toggle Switch */
.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1e293b;
  transition: .4s;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--gold);
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 0 5px var(--gold-glow);
}

input:checked + .slider {
  background-color: var(--secondary-bg);
  border-color: var(--gold);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: var(--white);
  box-shadow: 0 0 5px var(--white);
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.countdown-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.countdown-digits {
  display: flex;
  gap: 8px;
}

.time-box {
  background: #0f172a;
  border: 1px solid var(--card-border);
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  min-width: 55px;
}

.time-val {
  display: block;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

.time-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Section styling */
.section {
  padding: 80px 0;
  position: relative;
}

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

/* Dashboard Grid Layout (Stacked/Fluid Grid) */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.left-col, .right-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Dual Map Viewer: Elevation vs Satellite Map */
.topo-map-panel {
  position: relative;
}

.map-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.map-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  font-family: var(--font-body);
}

.map-tab-btn.active {
  background: var(--gold);
  color: #050914;
  border-color: var(--gold);
  font-weight: bold;
}

.map-view-container {
  display: none;
  position: relative;
  width: 100%;
  height: 340px;
  background: radial-gradient(circle at center, #10192a 0%, #070c17 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.map-view-container.active {
  display: block;
}

/* Elevation Profile Background Image integration */
#view-elevation {
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.88) 0%, rgba(5, 9, 20, 0.98) 100%), var(--hero-bg);
  background-size: cover;
  background-position: center;
  transition: background 0.5s ease;
}

.elevation-profile-svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Satellite Map Simulation */
.sat-map-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1605640840605-14ac1855827b?auto=format&fit=crop&w=1200&q=80') no-repeat center center;
  background-size: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sat-map-overlay-contour {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5,9,20,0.6) 0%, rgba(11,16,29,0.3) 100%);
  pointer-events: none;
}

/* Glowing Pin Marker on Satellite Map */
.sat-map-marker {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
  z-index: 10;
}

.sat-pin-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 10px var(--gold-glow);
  position: relative;
}

.sat-pin-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(244, 185, 66, 0.4);
  animation: pulsePin 1.5s infinite;
  pointer-events: none;
  display: none;
}

.sat-map-marker.active .sat-pin-core {
  background-color: var(--white);
  border-color: var(--gold);
  transform: scale(1.3);
}

.sat-map-marker.active .sat-pin-pulse {
  display: block;
}

.sat-pin-label {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 8px;
  font-family: var(--font-title);
  background: rgba(5, 9, 20, 0.85);
  border: 1px solid var(--card-border);
  padding: 2px 6px;
  border-radius: 10px;
  color: var(--text-muted);
  pointer-events: none;
}

.sat-map-marker.active .sat-pin-label {
  color: var(--gold);
  border-color: var(--gold);
  font-weight: bold;
}

/* Simulated Google Map Doli/Palanquin overlay Pin */
/* Simulated Google Map Doli/Palanquin overlay Pin */
.sat-doli-palanquin {
  position: absolute;
  z-index: 20;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 1.7rem;
  filter: drop-shadow(0 0 8px var(--gold));
  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1), top 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.sat-doli-palanquin-inner {
  animation: satDoliBob 2.5s ease-in-out infinite;
  display: inline-block;
}

.svg-doli-inner {
  animation: svgDoliBob 2.5s ease-in-out infinite;
}

@keyframes satDoliBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-1deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-3px) rotate(1deg);
  }
}

@keyframes svgDoliBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-1.5px) rotate(-0.5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-1.5px) rotate(0.5deg);
  }
}

/* Map Zoom Indicator Panel */
.map-zoom-status {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(5, 9, 20, 0.8);
  border: 1px solid var(--card-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--white);
  pointer-events: none;
  font-weight: 500;
}

/* Route Plot Path */
.elevation-filled-path {
  fill: url(#elevation-gradient);
  opacity: 0.2;
}

.elevation-line-path-bg {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 3;
  fill: none;
}

.elevation-line-path-active {
  stroke: var(--gold);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.4s ease-out;
  filter: drop-shadow(0 0 4px var(--gold-glow));
}

.topo-grid-lines {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-dasharray: 4,4;
}

.yatra-marker-node circle.outer {
  fill: rgba(244, 185, 66, 0.12);
  stroke: var(--gold);
  stroke-width: 1;
  transition: all 0.3s;
}

.yatra-marker-node circle.inner {
  fill: var(--gold);
  transition: all 0.3s;
}

.yatra-marker-node.active circle.outer {
  fill: rgba(244, 185, 66, 0.4);
  stroke-width: 2;
  r: 15;
}

.yatra-marker-node.active circle.inner {
  fill: var(--white);
  r: 6.5;
}

.yatra-node-text {
  font-family: var(--font-title);
  font-size: 8px;
  fill: var(--text-dark);
  text-anchor: middle;
  transition: all 0.3s;
}

.yatra-marker-node.active + .yatra-node-text {
  fill: var(--gold);
  font-weight: bold;
  font-size: 9.5px;
}

/* Stepper & Slider Component */
.stepper-slider-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.range-day-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}

.range-day-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--primary-bg);
  box-shadow: 0 0 8px var(--gold-glow);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-day-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

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

.step-btn {
  background: rgba(18, 26, 44, 0.8);
  border: 1px solid var(--card-border);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.step-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.step-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.current-day-badge {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
}

/* Dynamic Itinerary Info Card */
.itinerary-card {
  border-left: 4px solid var(--gold);
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
  flex-wrap: wrap;
}

.campsite-title-sub {
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.campsite-name {
  font-size: 1.8rem;
  font-weight: 700;
}

.card-warning-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-none {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
}

.badge-acclimatize {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-warning);
  color: var(--accent-warning);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-danger);
  color: var(--accent-danger);
}

/* Itinerary Image frame showing photos */
.itinerary-photo-frame {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #000;
  position: relative;
}

.itinerary-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, filter 0.5s ease;
}

/* HUD Overlay Styles on Photo Frame */
.hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 5;
}

/* Dynamic Tint Layer for unique coloring and moods per day */
.hud-tint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: color;
  opacity: 0.35;
  transition: background 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.hud-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hud-badge {
  background: rgba(6, 11, 22, 0.7);
  border: 1px solid var(--card-border);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: bold;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hud-camp-icon-badge {
  border-color: var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
  padding: 4px 6px;
}

.hud-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.hud-milestone-tag {
  background: rgba(244, 185, 66, 0.85);
  border: 1px solid var(--gold);
  color: #050914;
  padding: 4px 10px;
  border-radius: 12px;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 0 10px var(--gold-glow);
}

.hud-stats-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-stat-line {
  background: rgba(6, 11, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-family: var(--font-body);
  backdrop-filter: blur(4px);
}

.hud-stat-line span {
  color: var(--white);
  font-weight: bold;
}

/* Metadata Stats Grid */
.itinerary-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.meta-box-item {
  text-align: center;
}

.meta-box-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.meta-box-val {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--white);
  font-weight: bold;
}

.itinerary-desc-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-text-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.info-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-section-body {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Fitness Readiness Widget */
.fitness-score-area {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.progress-ring-container {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.progress-ring-svg {
  transform: rotate(-90deg);
  width: 80px;
  height: 80px;
}

.progress-ring-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 6;
}

.progress-ring-circle-fill {
  fill: none;
  stroke: var(--accent-emerald);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-ring-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent-emerald);
}

.fitness-text-box {
  flex-grow: 1;
}

.fitness-score-title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 3px;
}

.fitness-score-status {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Checklist items */
.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.3);
}

.check-item input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--text-dark);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.check-item input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 5px var(--accent-emerald-glow);
}

.checkbox-custom::after {
  content: '✓';
  color: #060b16;
  font-size: 12px;
  font-weight: bold;
  display: none;
}

.check-item input[type="checkbox"]:checked + .checkbox-custom::after {
  display: block;
}

.check-text-wrapper {
  display: flex;
  flex-direction: column;
}

.check-main-text {
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.check-item input[type="checkbox"]:checked ~ .check-text-wrapper .check-main-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

.check-sub-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Packing & Safety Widget */
.packing-progress-bar-wrapper {
  height: 6px;
  width: 100%;
  background: #111827;
  border-radius: 3px;
  margin: 15px 0 20px;
  overflow: hidden;
  position: relative;
}

.packing-progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Pre-starting Permits & Help Resources Grid */
.prestart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.help-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.help-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 18px;
  transition: border-color 0.2s;
}

.help-item:hover {
  border-color: rgba(244, 185, 66, 0.3);
}

.help-item-title {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 5px;
  font-weight: bold;
}

.help-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Soundboard board */
.synth-sound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.synth-pad {
  background: rgba(18, 26, 44, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  position: relative;
}

.synth-pad:hover {
  background: rgba(18, 26, 44, 0.65);
  border-color: rgba(244, 185, 66, 0.4);
}

.synth-pad.playing {
  border-color: var(--gold);
  background: rgba(244, 185, 66, 0.08);
  box-shadow: 0 0 15px var(--gold-glow);
}

.synth-pad-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.synth-pad-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.synth-pad-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.soundboard-footer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 20px;
  padding-top: 15px;
  flex-wrap: wrap;
  gap: 20px;
}

.master-mute-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.8rem;
}

.master-mute-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Footer styling */
.footer {
  border-top: 1px solid rgba(244, 185, 66, 0.15);
  padding: 40px 0;
  text-align: center;
  background: #04070e;
}

.footer-mantra {
  font-family: var(--font-title);
  color: var(--gold-dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dark);
}

/* Keyframe Animations */
@keyframes floatClouds {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50px) translateY(10px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes glowDevotion {
  0% {
    text-shadow: 0 0 5px rgba(244, 185, 66, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(244, 185, 66, 0.7);
  }
}

@keyframes pulsePin {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Transit & Access Panel Styles */
.transit-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  margin-top: 20px;
}

.transit-controls-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
}

.transit-card-title {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(244, 185, 66, 0.15);
  padding-bottom: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.transit-select {
  background: #0f172a;
  border: 1px solid var(--card-border);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.transit-select:focus {
  border-color: var(--gold);
}

.transit-result-card {
  background: rgba(11, 16, 29, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transit-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.transit-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.transit-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  padding-left: 20px;
}

.transit-steps-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(244, 185, 66, 0.15);
}

.transit-step {
  position: relative;
}

.transit-step::before {
  content: '●';
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--gold);
  font-size: 0.9rem;
  filter: drop-shadow(0 0 3px var(--gold));
}

.transit-step.trek-step::before {
  color: var(--accent-emerald);
  filter: drop-shadow(0 0 3px var(--accent-emerald));
}

.transit-step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.transit-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.transit-summary-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
}

.transit-summary-item {
  text-align: center;
}

.transit-summary-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.transit-summary-val {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: bold;
}

/* Developer Section Styles */
.dev-panel-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-left: 4px solid var(--accent-emerald);
}

.dev-profile-header {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.dev-avatar-sphere {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--secondary-bg) 0%, #152238 100%);
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px var(--gold-glow);
}

.dev-avatar-text {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold-glow);
}

.dev-avatar-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid rgba(244, 185, 66, 0.3);
  animation: pulsePin 2.5s infinite;
  pointer-events: none;
}

.dev-bio-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dev-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.dev-title {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 500;
}

.dev-affiliation {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dev-grid-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 35px;
}

.dev-section-heading {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.dev-paragraph {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  text-align: justify;
}

.dev-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.dev-link-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dev-link-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  background: rgba(244, 185, 66, 0.03);
  box-shadow: 0 4px 10px rgba(244, 185, 66, 0.08);
}

.dev-skills-toolkit {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dev-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-skill-tag {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.dev-quote-box {
  background: rgba(11, 16, 29, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  padding: 15px 20px;
  border-radius: 4px 8px 8px 4px;
  margin-top: 15px;
}

.dev-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}


/* ==========================================
   RESPONSIVE STYLING (MEDIA QUERIES)
   ========================================== */

/* Ultra-wide Screen optimization */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }
}

/* Desktop and Tablet layout wrap */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .prestart-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .transit-panel-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .dev-grid-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .synth-sound-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Drawer & Small Screen Adjustments */
@media (max-width: 768px) {
  .section {
    padding: 45px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    margin-bottom: 25px;
  }
  .container {
    padding: 0 15px;
  }
  
  /* Mobile Navbar Drawer */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(5, 9, 20, 0.96);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-y: auto;
    gap: 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Typography */
  .devotion-title {
    font-size: 2.2rem;
  }
  .devotion-chant {
    font-size: 1.15rem;
    letter-spacing: 1px;
  }
  
  /* Map container height optimization */
  .map-view-container {
    height: 280px;
  }
}

/* Small Smart Phones & Portrait Adjustments */
@media (max-width: 576px) {
  .section {
    padding: 35px 0;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .devotion-title {
    font-size: 1.65rem;
  }
  .devotion-desc {
    font-size: 0.95rem;
  }
  .maa-devotion-box {
    padding: 20px 15px;
  }
  .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }
  .hero-btn-group {
    flex-direction: column;
    gap: 12px;
  }
  .map-view-container {
    height: 220px;
  }
  .synth-sound-grid {
    grid-template-columns: 1fr;
  }
  .itinerary-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  .transit-summary-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  
  /* HUD Overlay styling */
  .hud-badge {
    font-size: 0.65rem;
  }
  .hud-camp-icon-badge {
    font-size: 0.8rem;
  }

  /* Controls layout */
  .global-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px;
  }
  .countdown-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .countdown-digits {
    width: 100%;
    justify-content: space-between;
  }
  .time-box {
    min-width: 0;
    flex: 1;
    padding: 4px;
  }
  .time-val {
    font-size: 0.95rem;
  }

  /* Day controls */
  .stepper-controls {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .step-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .current-day-badge {
    font-size: 1.1rem;
    order: -1;
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  .slider-container {
    gap: 8px;
  }

  /* About developer adjustments */
  .dev-profile-header {
    gap: 15px;
  }
  .dev-name {
    font-size: 1.5rem;
  }
  .dev-avatar-sphere {
    width: 70px;
    height: 70px;
  }
  .dev-avatar-text {
    font-size: 1.7rem;
  }
  .dev-social-links {
    justify-content: center;
  }
}

/* Micro-screen / iPhone SE adjustment */
@media (max-width: 360px) {
  .devotion-title {
    font-size: 1.45rem;
  }
  .section-title {
    font-size: 1.25rem;
  }
  .devotion-chant {
    font-size: 0.95rem;
  }
}
