/**
 * FDAD — Fastest Drone Aid Delivery
 * Master Custom Stylesheet
 */

:root {
    --fdad-navy: #07111F;
    --fdad-slate: #52606D;
    --fdad-blue: #0066FF;
    --fdad-cyan: #00C8FF;
    --fdad-light: #F4F7FA;
}

/* Glassmorphism Cards */
.fdad-glass {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(7, 17, 31, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px 0 rgba(7, 17, 31, 0.05);
}

.fdad-glass-dark {
    background: rgba(7, 17, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #ffffff;
}

/* Hero Section Interpolation Styling */
.hero-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease-out, transform 0.3s ease-out;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle Grid Background Pattern */
.bg-grid-pattern {
    background-image: radial-gradient(rgba(7, 17, 31, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-grid-dark {
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Radar Sweep Animation */
@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-radar {
    animation: radarSweep 6s linear infinite;
    transform-origin: center;
}

/* Pulse Glow */
.pulse-glow {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    animation: pulseGlowAnim 2s infinite;
}

@keyframes pulseGlowAnim {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

/* Map Containers */
.leaflet-container {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: #eef2f6 !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(7, 17, 31, 0.15) !important;
    padding: 4px !important;
}

/* Custom Marker Styling */
.custom-drone-marker {
    transition: all 1s linear;
}

.custom-drone-icon {
    display: flex;
    align-items: center;
    justify-center: center;
    width: 32px;
    height: 32px;
    background: #0066FF;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.5);
}

.custom-hub-icon {
    width: 36px;
    height: 36px;
    background: #07111F;
    border: 2px solid #00C8FF;
    border-radius: 8px;
    color: #00C8FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(7, 17, 31, 0.4);
}

/* Timeline Step Styling */
.timeline-step-active {
    border-color: #0066FF;
    background-color: #0066FF;
    color: #FFFFFF;
}

.timeline-line-active {
    background-color: #0066FF;
}

