/* Custom enhancements for Alberta 2027 Itinerary Portal */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cabinet+Grotesk:wght@700;800;900&display=swap');

:root {
  --primary: #0f766e;
  --primary-light: #14b8a6;
  --secondary: #d97706;
  --accent: #0284c7;
  --dark-bg: #0b1320;
  --card-bg: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  background-color: #f8fafc;
  color: #1e293b;
}

.font-heading {
  font-family: 'Cabinet Grotesk', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-nav {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-gradient {
  background: linear-gradient(135deg, #091e2b 0%, #0d3b45 40%, #134e4a 75%, #06282d 100%);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Card hover animation */
.card-hover {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(15, 118, 110, 0.12), 0 6px 12px -4px rgba(0, 0, 0, 0.04);
}

/* Leaflet Map customization */
#route-map {
  height: 520px;
  width: 100%;
  border-radius: 1rem;
  z-index: 10;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.2);
  padding: 4px;
}

.leaflet-popup-content {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 12px 14px;
  line-height: 1.4;
}

.custom-marker-icon {
  background: #0f766e;
  border: 2px solid #ffffff;
  color: white;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.custom-marker-icon.race {
  background: #e11d48;
}

.custom-marker-icon.wildlife {
  background: #059669;
}

.custom-marker-icon.badlands {
  background: #d97706;
}

/* Tag & Badges */
.badge-race {
  background-color: #ffe4e6;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.badge-wildlife {
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-alpine {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-badlands {
  background-color: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.badge-drive {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Print view optimization */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
