/* ============================================
   Florida Family Trip 2026 — Mobile-First Styles
   ============================================ */

:root {
  /* Day-type accent colors */
  --color-disney: #1565C0;
  --color-disney-light: #E3F2FD;
  --color-transition: #6A1B9A;
  --color-transition-light: #F3E5F5;
  --color-seaworld: #00838F;
  --color-seaworld-light: #E0F7FA;
  --color-ksc: #E65100;
  --color-ksc-light: #FFF3E0;
  --color-travel: #424242;
  --color-travel-light: #F5F5F5;

  /* Base palette */
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #555555;
  --border: #E0E0E0;

  /* Celiac callout */
  --celiac-bg: #E8F5E9;
  --celiac-border: #2E7D32;
  --celiac-text: #1B5E20;

  /* Alert */
  --alert-bg: #FFF8E1;
  --alert-border: #F57F17;
  --alert-text: #E65100;

  /* Info callout */
  --info-bg: #E3F2FD;
  --info-border: #1565C0;
  --info-text: #0D47A1;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Border radius */
  --radius: 8px;
  --radius-sm: 4px;
}

/* ---- Reset & Base ---- */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a:active {
  opacity: 0.7;
}

img { max-width: 100%; }

/* ---- Typography ---- */

h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p, li {
  margin-bottom: var(--space-sm);
}

ul, ol {
  padding-left: var(--space-lg);
}

strong {
  font-weight: 700;
}

/* ---- Top Nav Bar ---- */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: rgba(21,101,192,0.95);
  color: #FFFFFF;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.top-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.top-nav .top-nav-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.top-nav .top-menu-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.3rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---- Layout ---- */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  text-align: center;
}

.page-header .subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: var(--space-xs);
  font-weight: 600;
}

/* ---- Sticky Day Nav ---- */

.day-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.day-nav a {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  text-decoration: none;
}

.day-nav a:hover {
  background: rgba(255,255,255,0.2);
}

.day-nav a.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.day-nav .day-nav-title {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 var(--space-sm);
}

/* Day-type nav colors */
.day-nav--disney { background: rgba(21,101,192,0.95); }
.day-nav--transition { background: rgba(106,27,154,0.95); }
.day-nav--seaworld { background: rgba(0,131,143,0.95); }
.day-nav--ksc { background: rgba(230,81,0,0.95); }
.day-nav--travel { background: rgba(66,66,66,0.95); }

/* ---- Section Spacing ---- */

.section {
  margin-bottom: var(--space-xl);
}

.section-title {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}

/* ---- Day Header ---- */

.day-header {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-lg);
}

.day-header .day-number {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.day-header h1 {
  margin-bottom: var(--space-sm);
}

.day-header .day-location {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Day-type header colors */
.day-header--disney .day-number { color: var(--color-disney); }
.day-header--transition .day-number { color: var(--color-transition); }
.day-header--seaworld .day-number { color: var(--color-seaworld); }
.day-header--ksc .day-number { color: var(--color-ksc); }
.day-header--travel .day-number { color: var(--color-travel); }

/* ---- Cards (index page) ---- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  border-left: 5px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--text);
  min-height: 44px;
  transition: box-shadow 0.15s;
}

.card:active {
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

.card--disney { border-left-color: var(--color-disney); }
.card--transition { border-left-color: var(--color-transition); }
.card--seaworld { border-left-color: var(--color-seaworld); }
.card--ksc { border-left-color: var(--color-ksc); }
.card--travel { border-left-color: var(--color-travel); }

.card .card-day {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.card--disney .card-day { color: var(--color-disney); }
.card--transition .card-day { color: var(--color-transition); }
.card--seaworld .card-day { color: var(--color-seaworld); }
.card--ksc .card-day { color: var(--color-ksc); }
.card--travel .card-day { color: var(--color-travel); }

.card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

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

.card.today {
  box-shadow: 0 0 0 3px var(--color-disney), 0 2px 8px rgba(0,0,0,0.12);
}

.card.past-day {
  opacity: 0.5;
}

/* Today banner */
.today-banner {
  display: block;
  background: var(--color-disney);
  color: #FFFFFF;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--space-md);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.today-banner:active {
  opacity: 0.85;
}

/* Past days section */
.past-days-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
}

.past-days-grid .card {
  opacity: 0.6;
}

/* ---- Countdown ---- */

.countdown {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  margin-bottom: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.countdown .countdown-number {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 800;
  color: var(--color-disney);
  line-height: 1.1;
}

.countdown .countdown-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: var(--space-xs);
}

/* ---- Celiac Dining Callout ---- */

.celiac-callout {
  background: var(--celiac-bg);
  border-left: 6px solid var(--celiac-border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}

.celiac-callout .celiac-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--celiac-text);
  margin-bottom: var(--space-xs);
}

.celiac-callout h3 {
  color: var(--celiac-text);
  margin-bottom: var(--space-sm);
}

.celiac-callout p,
.celiac-callout li {
  color: #2E3B2E;
}

.celiac-callout .celiac-warning {
  font-weight: 700;
  color: #B71C1C;
  margin-top: var(--space-sm);
}

/* Extra-prominent variant (Sharks) */
.celiac-callout--critical {
  border: 3px solid var(--celiac-border);
  border-left-width: 8px;
  padding: var(--space-lg);
}

.celiac-callout--critical h3 {
  font-size: clamp(1.15rem, 4vw, 1.35rem);
}

/* ---- Alert Banner ---- */

.alert-banner {
  background: var(--alert-bg);
  border: 2px solid var(--alert-border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
  font-weight: 700;
  color: var(--alert-text);
  font-size: 0.95rem;
}

.alert-banner a {
  color: var(--alert-text);
  text-decoration: underline;
}

/* ---- Info Callout ---- */

.info-callout {
  background: var(--info-bg);
  border-left: 5px solid var(--info-border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
  color: var(--info-text);
}

.info-callout strong {
  color: #0D47A1;
}

/* ---- Timeline ---- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

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

.timeline-time {
  flex-shrink: 0;
  width: 85px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  padding-top: 1px;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-content strong {
  display: inline;
}

.timeline-content .timeline-detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Active/current timeline item */
.timeline-item.now {
  background: #FFF9C4;
  border-radius: var(--radius);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  margin: 0 calc(-1 * var(--space-sm));
}

.timeline-item .badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-sm);
  vertical-align: middle;
}

.badge--now {
  background: #F57F17;
  color: #FFFFFF;
}

.badge--next {
  background: var(--color-disney);
  color: #FFFFFF;
}

/* ---- Flight Card ---- */

.flight-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.flight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-disney);
}

.flight-card .flight-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.flight-card .flight-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.flight-card .flight-city {
  text-align: center;
}

.flight-card .flight-code {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.flight-card .flight-city-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.flight-card .flight-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.flight-card .flight-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: var(--space-md) 0;
}

.flight-card .flight-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.flight-card .flight-detail-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.flight-card .flight-detail-value {
  font-weight: 700;
}

/* ---- Collapsible ---- */

.collapsible {
  margin-bottom: var(--space-sm);
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px var(--space-md);
  background: var(--color-travel-light);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 44px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.collapsible-header::after {
  content: '\25B8';
  font-size: 1rem;
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: transform 0.2s ease;
}

.collapsible-header[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.collapsible-content .collapsible-inner {
  padding: var(--space-md);
}

/* Expanded by default (no JS fallback) */
.collapsible-content[data-expanded="true"] {
  max-height: none;
}

/* ---- Contact Link ---- */

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-disney);
  text-decoration: none;
  margin: var(--space-xs) 0;
}

.contact-link:active {
  background: var(--color-disney-light);
}

/* ---- Contacts List ---- */

.contacts-list {
  list-style: none;
  padding: 0;
}

.contacts-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.contacts-list li:last-child {
  border-bottom: none;
}

.contacts-list .contact-name {
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* ---- Calendar Download Button ---- */

.calendar-btn {
  display: block;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-disney);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  min-height: 52px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.calendar-btn:active {
  opacity: 0.85;
}

.calendar-btn-hint {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ---- Packing / Checklist ---- */

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '\2610';
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

/* ---- Day Navigation Footer ---- */

.day-nav-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
  border-top: 2px solid var(--border);
}

.day-nav-footer a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
}

.day-nav-footer a:active {
  background: var(--color-travel-light);
}

/* ---- Park Info Banner ---- */

.park-banner {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
  border: 1px solid var(--border);
}

.park-banner .park-hours {
  font-size: 1.1rem;
  font-weight: 700;
}

.park-banner .park-notes {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---- Encounter Table ---- */

.encounter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: var(--space-md) 0;
}

.encounter-table th {
  text-align: left;
  padding: var(--space-sm);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.encounter-table td {
  padding: var(--space-sm);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.encounter-table tr:last-child td {
  border-bottom: none;
}

/* ---- Utility ---- */

.text-muted { color: var(--text-muted); }
.text-bold { font-weight: 700; }
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ---- Week Calendar Visual ---- */

.week-cal {
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.week-cal table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.75rem;
  table-layout: fixed;
}

.week-cal th {
  padding: 6px 4px;
  text-align: center;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
}

.week-cal td {
  vertical-align: top;
  padding: 2px;
  border-right: 1px solid var(--border);
  height: 1px; /* allows children to stretch */
}

.week-cal td:last-child {
  border-right: none;
}

.week-cal .cal-block {
  display: block;
  border-radius: 4px;
  padding: 4px 6px;
  margin-bottom: 2px;
  font-size: 0.7rem;
  line-height: 1.3;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  min-height: 22px;
}

.week-cal .cal-block:active { opacity: 0.8; }

.week-cal .cal-time {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.85;
}

.cal-travel { background: var(--color-travel); }
.cal-disney { background: var(--color-disney); }
.cal-pool { background: #0097A7; }
.cal-transition { background: var(--color-transition); }
.cal-seaworld { background: var(--color-seaworld); }
.cal-ksc { background: var(--color-ksc); }
.cal-dining { background: #2E7D32; }
.cal-home { background: #795548; }

.week-cal .cal-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  padding: 4px 0 2px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

/* ---- Bottom Nav Bar ---- */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: var(--space-xs) 0;
  padding-bottom: env(safe-area-inset-bottom, var(--space-xs));
  box-shadow: 0 -1px 4px rgba(0,0,0,0.08);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav a .nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.bottom-nav a.active {
  color: var(--color-disney);
}

/* Menu button in bottom nav */
.bottom-nav .menu-toggle {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav .menu-toggle .nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Slide-up menu panel */
.nav-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-menu-overlay.open {
  visibility: visible;
  opacity: 1;
}

.nav-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 301;
  background: var(--bg-card);
  border-radius: 16px 16px 0 0;
  padding: var(--space-md) var(--space-md);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.25s ease-out;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.nav-menu-overlay.open .nav-menu {
  transform: translateY(0);
}

.nav-menu .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.nav-menu .menu-header h3 {
  margin: 0;
  font-size: 1rem;
}

.nav-menu .menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu .menu-section {
  margin-bottom: var(--space-md);
}

.nav-menu .menu-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.nav-menu .menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu .menu-links a {
  display: block;
  padding: 10px var(--space-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-menu .menu-links a:active {
  background: var(--color-travel-light);
}

.nav-menu .menu-links .menu-tag {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Add padding to body so content isn't hidden behind bottom nav */
body.has-bottom-nav {
  padding-bottom: 70px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu {
    transition: none;
  }
}

/* ---- Footer ---- */

.site-footer {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
}

/* ============================================
   Tablet (768px+)
   ============================================ */

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-time {
    width: 100px;
  }

  .flight-card .flight-route {
    gap: var(--space-xl);
  }

  .flight-card .flight-code {
    font-size: 2rem;
  }

  .day-nav-footer a {
    padding: var(--space-sm) var(--space-lg);
  }
}

/* ============================================
   Desktop (1024px+)
   ============================================ */

@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }

  .container {
    padding: 0 var(--space-xl);
  }
}

/* ============================================
   Reduced Motion
   ============================================ */

/* ============================================
   Weather Link
   ============================================ */

.weather-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-disney);
  text-decoration: none;
  min-height: 44px;
}

.weather-link:active {
  background: var(--color-disney-light);
}

/* ============================================
   Night Mode (auto after 8 PM)
   ============================================ */

.night-mode {
  --bg: #121212;
  --bg-card: #1E1E1E;
  --text: #E0E0E0;
  --text-muted: #999999;
  --border: #333333;
  --celiac-bg: #1B3A1B;
  --celiac-border: #4CAF50;
  --celiac-text: #81C784;
  --alert-bg: #3E2723;
  --alert-border: #FF9800;
  --alert-text: #FFB74D;
  --info-bg: #0D2137;
  --info-border: #42A5F5;
  --info-text: #90CAF9;
  --color-travel-light: #2A2A2A;
}

.night-mode .flight-card {
  border-color: #444;
}

.night-mode .collapsible-header {
  background: #2A2A2A;
  color: var(--text);
}

.night-mode .day-nav {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.night-mode .top-nav {
  background: rgba(21,101,192,0.85);
}

.night-mode .bottom-nav {
  background: #1E1E1E;
  border-top-color: #333;
}

.night-mode .bottom-nav a,
.night-mode .bottom-nav .menu-toggle {
  color: #999;
}

.night-mode .nav-menu {
  background: #1E1E1E;
}

.night-mode .nav-menu .menu-links a {
  color: var(--text);
}

.night-mode .nav-menu .menu-links a:active {
  background: #333;
}

.night-mode .countdown {
  background: #1E1E1E;
}

.night-mode .card {
  background: #1E1E1E;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.night-mode .park-banner {
  background: #1E1E1E;
  border-color: #444;
}

.night-mode .contact-link {
  background: #1E1E1E;
  border-color: #444;
}

.night-mode .calendar-btn {
  opacity: 0.9;
}

.night-mode .weather-link {
  background: #1E1E1E;
  border-color: #444;
}

.night-mode .today-banner {
  opacity: 0.9;
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .collapsible-header::after {
    transition: none;
  }
  .collapsible-content {
    transition: none;
  }
  .nav-menu {
    transition: none;
  }
}
