/* LiveFerry.city Custom Design System */
:root {
  --color-navy: #0B192C;
  --color-ocean: #008DDA;
  --color-seafoam: #41B3A2;
  --color-foam: #F1F6F9;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Navigation */
.nav-blur {
  background: rgba(11, 25, 44, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero Gradient */
.bg-maritime-gradient {
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 60%, #008DDA 100%);
}

.bg-ocean-mesh {
  background-color: #0B192C;
  background-image: radial-gradient(at 0% 0%, hsla(202,100%,43%,0.3) 0, transparent 50%), 
                    radial-gradient(at 100% 100%, hsla(170,47%,48%,0.2) 0, transparent 50%);
}

/* Wave animation */
@keyframes waveSlow {
  0% { transform: translateX(0); }
  50% { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}

.animate-wave {
  animation: waveSlow 18s ease-in-out infinite;
}

/* Leaflet Map Customizations */
.ferry-map-container {
  height: 480px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

@media (max-width: 640px) {
  .ferry-map-container {
    height: 340px;
  }
}

/* Custom Leaflet Pin */
.custom-pier-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B192C;
  color: #ffffff;
  border: 2px solid #008DDA;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.custom-pier-icon:hover {
  transform: scale(1.15);
}

.custom-pier-terminal {
  background: #008DDA;
  border: 2px solid #ffffff;
}

/* Route dash animation */
.leaflet-interactive.route-path {
  stroke-dasharray: 8, 8;
  animation: dashAnimation 30s linear infinite;
}

@keyframes dashAnimation {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Custom Scrollbar */
::-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;
}
