/* ============================================================================
   GlobalTrack Logistics - Professional Clean Design
   Supports Light and Dark Themes
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* === DARK THEME (Default) === */
:root, .theme-dark {
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-border: #334155;
  --color-primary: #3b82f6;
  --color-accent: #f59e0b;
  --color-success: #22c55e;
  --color-danger: #ef4444;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --text-dark: #64748b;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-bg: #020617;
  --nav-bg: #0f172a;
  --footer-bg: #020617;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
}

/* === LIGHT THEME === */
.theme-light {
  --color-bg: #f1f5f9;
  --color-surface: #ffffff;
  --color-border: #cbd5e1;
  --color-primary: #2563eb;
  --color-accent: #d97706;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --text-white: #0f172a;
  --text-gray: #475569;
  --text-dark: #64748b;
  --header-bg: #ffffff;
  --nav-bg: #f8fafc;
  --footer-bg: #0f172a;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-white);
  background: var(--color-bg);
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  padding: 12px 0;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
}

.logo-mark {
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.logo-text {
  font-weight: 600;
  font-size: 16px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--text-white);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.header-tracking-form {
  display: flex;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.theme-light .header-tracking-form {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
}

.header-tracking-form input {
  background: transparent;
  border: none;
  color: var(--text-white);
  padding: 8px 12px;
  font-size: 13px;
  width: 160px;
  outline: none;
}

.header-tracking-form input::placeholder {
  color: var(--text-dark);
}

.header-tracking-form button {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.header-tracking-form button:hover {
  background: #1d4ed8;
}

/* Navigation */
.main-nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--color-border);
}

.theme-light .main-nav {
  border-top: 1px solid var(--color-border);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 8px 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s;
}

.nav-links a:hover {
  color: var(--text-white);
  background: var(--color-surface);
}

.theme-light .nav-links a:hover {
  background: var(--color-border);
  color: var(--text-white);
}

.nav-links .has-dropdown { position: relative; }

.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px;
  min-width: 180px;
  list-style: none;
  display: none;
  z-index: 50;
  box-shadow: var(--shadow);
}

.nav-links .has-dropdown:hover .dropdown {
  display: block;
}

.nav-links .dropdown a {
  padding: 8px 12px;
  font-size: 13px;
}

/* === MAIN === */
.site-main {
  padding: 24px 0 48px;
  min-height: 60vh;
}

/* === HERO FULL (with background image) === */
.hero-full {
  position: relative;
  background: var(--color-surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin-bottom: 32px;
  overflow: hidden;
  min-height: 400px;
}

.hero-full.has-bg-image {
  min-height: 480px;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

.theme-light .hero-full-overlay {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-full.has-bg-image .hero-full-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.theme-light .hero-full.has-bg-image .hero-full-overlay {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-full-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  width: 100%;
}

.hero-full-content {
  max-width: 600px;
}

/* Hero Slider */
.hero-slider-wrap {
  position: relative;
}

.hero-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.theme-light .hero-slider {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.hero-slide.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.image-placeholder--hero-slide {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.image-placeholder--hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder--hero-slide .image-placeholder__label {
  padding: 24px;
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.theme-light .hero-slider-dots {
  background: rgba(0, 0, 0, 0.05);
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-slider-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.theme-light .hero-slider-dot {
  background: rgba(0, 0, 0, 0.2);
}

.theme-light .hero-slider-dot:hover {
  background: rgba(0, 0, 0, 0.3);
}

.theme-light .hero-slider-dot.is-active {
  background: var(--color-primary);
}

.hero-full-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.theme-light .hero-full-badge {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.hero-full h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-white);
}

.hero-full p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 24px;
  max-width: 550px;
}

.hero-full .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-full-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 2px;
}

/* === HERO (card style) === */
.hero {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: #1d4ed8;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-gray);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border);
  color: var(--text-white);
  text-decoration: none;
}

/* Image placeholder */
.image-placeholder {
  background: var(--color-bg);
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder--hero { height: 200px; }
.image-placeholder--wide { height: 160px; }
.image-placeholder--card { height: 120px; margin-bottom: 12px; }

.image-placeholder__label {
  color: var(--text-dark);
  font-size: 12px;
}

/* Hero slider */
.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: grid; }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 32px;
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--color-primary);
  width: 20px;
  border-radius: 4px;
}

/* === SECTIONS === */
.section {
  margin-bottom: 32px;
}

.section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}

.section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 8px;
  border-radius: 2px;
}

.page-section-subtitle {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

/* === CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}

.card p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 12px;
}

.card a {
  font-size: 13px;
  font-weight: 500;
}

/* === STATS === */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-gray);
  box-shadow: var(--shadow-sm);
}

/* === TRACK SECTION === */
.track-section-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.theme-light .track-section-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, #e0e7ff 100%);
  border: 2px solid var(--color-primary);
}

.track-section-icon { font-size: 48px; margin-bottom: 16px; }

.track-section-card h2 { 
  margin-bottom: 8px; 
  color: var(--text-white);
}
.track-section-card h2::after { display: none; }

.track-section-card p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.track-section-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.track-section-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--text-white);
  font-size: 15px;
}

.theme-light .track-section-form input {
  background: white;
  border: 2px solid var(--color-border);
}

.track-section-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.track-section-form .btn-primary {
  white-space: nowrap;
  padding: 14px 24px;
  font-size: 15px;
}

/* === LAYOUTS === */
.page-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.page-columns--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-tracking-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

/* === TRACKING RESULT === */
.tracking-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.tracking-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.tracking-summary h2 {
  font-size: 16px;
  margin-bottom: 16px;
}

.tracking-summary h2::after { display: none; }

.tracking-summary p {
  margin-bottom: 8px;
  color: var(--text-gray);
  font-size: 14px;
}

.tracking-summary strong {
  color: var(--text-white);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.in-transit {
  background: rgba(37, 99, 235, 0.15);
  color: #2563eb;
}

.theme-dark .status-badge.in-transit {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.status-badge.delivered {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}

.theme-dark .status-badge.delivered {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.status-badge.pending {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
}

.theme-dark .status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* Timeline */
.timeline {
  margin: 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
}

.timeline-item {
  position: relative;
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-dot {
  position: absolute;
  left: -27px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-surface);
}

.timeline-item p {
  margin: 2px 0;
  font-size: 13px;
  color: var(--text-gray);
}

.timeline-item p:first-child {
  color: var(--text-white);
  font-weight: 500;
}

/* Map panel */
.tracking-map-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tracking-map-header {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  color: var(--text-white);
}

#tracking-map { height: 250px; }

/* Fees panel */
.fees-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

.fees-panel h3 {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.fees-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fees-panel th, .fees-panel td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.fees-panel th {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
}

.fees-panel td {
  color: var(--text-gray);
}

.fee-status { font-weight: 600; font-size: 12px; }
.fee-status.paid { color: var(--color-success); }
.fee-status.pending { color: var(--color-accent); }
.fee-status.overdue { color: var(--color-danger); }

.fee-actions { white-space: nowrap; }
.fee-action-btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary);
  color: white !important;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.15s;
}
.fee-action-btn:hover {
  opacity: 0.9;
}
.fee-action-btn--pay {
  background: #1e40af;
}
.fee-action-btn--pay:hover {
  background: #1d4ed8;
}
.fee-action-btn--receipt {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--text-gray) !important;
}
.fee-action-btn--receipt:hover {
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
}

/* Action bar */
.action-bar {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.action-bar a {
  padding: 10px 16px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 6px;
  color: var(--text-gray);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}

.action-bar a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg);
}

/* Preview card */
.tracking-preview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.tracking-preview-card h3 {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.tracking-preview-mini-timeline {
  list-style: none;
}

.tracking-preview-mini-timeline li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-gray);
  border-bottom: 1px solid var(--color-border);
}

.tracking-preview-mini-timeline li:last-child {
  border-bottom: none;
}

/* Image strip */
.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

/* === FOOTER === */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid #334155;
  padding: 40px 0 24px;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer .logo { margin-bottom: 16px; }

.site-footer .logo-text,
.site-footer .logo-mark {
  color: white;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.6;
}

.site-footer h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #e2e8f0;
}

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 10px; }

.site-footer ul a {
  color: #94a3b8;
  font-size: 13px;
  transition: color 0.15s;
}

.site-footer ul a:hover { color: #ffffff; text-decoration: none; }

.footer-hours {
  color: #64748b;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-actions {
  display: flex;
  gap: 12px;
}

.footer-actions a {
  padding: 8px 14px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  font-size: 13px;
  color: #94a3b8;
  transition: all 0.15s;
}

.footer-actions a:hover {
  color: #ffffff;
  border-color: #475569;
  text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .page-columns, .page-columns--reverse, .page-tracking-hero { grid-template-columns: 1fr; }
  .tracking-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .header-tracking-form { display: none; }
  .logo-text { display: none; }
  
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 12px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links .dropdown {
    position: static;
    display: block;
    border: none;
    padding: 0;
    margin-top: 4px;
    background: transparent;
    box-shadow: none;
  }
  
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 22px; }
  .hero-dots { left: 20px; bottom: 16px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  
  /* Hero full responsive */
  .hero-full { min-height: auto; border-radius: 8px; }
  .hero-full.has-bg-image { min-height: auto; }
  .hero-full-inner { 
    grid-template-columns: 1fr; 
    padding: 24px 16px; 
    gap: 24px;
  }
  .hero-slider-wrap { order: 2; }
  .hero-full-content { order: 1; max-width: 100%; }
  .hero-full h1 { font-size: 24px; }
  .hero-full p { font-size: 14px; }
  .hero-full-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat-value { font-size: 20px; }
  .hero-full .hero-actions { margin-bottom: 20px; }
  .image-placeholder--hero-slide { height: 200px; }
  
  .cards-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  
  .track-section-form { flex-direction: column; }
  .track-section-card { padding: 24px 16px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-actions { justify-content: center; }
  
  .section h2 { font-size: 18px; }
  .card { padding: 16px; }
}

/* Leaflet map styling */
.leaflet-container { background: var(--color-bg); }

.leaflet-control-zoom a {
  background: var(--color-surface) !important;
  color: var(--text-white) !important;
  border-color: var(--color-border) !important;
}

.leaflet-popup-content-wrapper {
  background: var(--color-surface);
  color: var(--text-white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.leaflet-popup-tip { background: var(--color-surface); }

.theme-light .leaflet-popup-content-wrapper {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
