/* Western Coast Global - Custom Modern Logistics CSS */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --navy-900: #0b1329;
    --navy-800: #132247;
    --navy-700: #1d3368;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Maritime map radar pulse effect */
@keyframes radar-pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 16px rgba(2, 132, 199, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}

.radar-pin {
    animation: radar-pulse 2.2s infinite;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.glass-panel-dark {
    background: rgba(11, 19, 41, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Leaflet Custom Marker & Popup Styles */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 2px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.leaflet-popup-content {
    margin: 12px !important;
    line-height: 1.5 !important;
}

.custom-shipment-marker {
    background: transparent;
    border: none;
}

/* Interactive timeline connection line */
.timeline-stem {
    position: relative;
}
.timeline-stem::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 19px;
    width: 2px;
    background: #e2e8f0;
}
.timeline-stem:last-child::before {
    display: none;
}

/* Card hover transitions */
.hover-lift {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}
