/**
 * RDE Logistics B.V. - Main Stylesheet (Modern BEM Architecture)
 * Version: 2.0 (2026 Standards)
 */

/* ==========================================================================
   1. BASE & RESET
   ========================================================================== */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0A2342;
    overflow-x: hidden;
}

/* Prevent iOS input auto-zoom on mobile */
input, textarea, select, button {
    font-size: 16px;
}

@media (min-width: 640px) {
    input, textarea, select {
        font-size: 15px;
    }
}

/* ==========================================================================
   2. HERO & BACKGROUNDS
   ========================================================================== */
@media (min-width: 1024px) {
    .hero-desktop-bg {
        background-image: url('../images/hero-bg.webp'), url('../images/hero-bg.jpg');
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
    }
}

/* ==========================================================================
   3. COMPONENTS (BEM ARCHITECTURE)
   ========================================================================== */

/* Navigation Glass Header */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Service Cards */
.service-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-4px);
        border-color: #F59E0B;
        box-shadow: 0 20px 35px -10px rgba(10, 35, 66, 0.1);
    }
}

/* Leaflet Map Customization */
.leaflet-popup-content-wrapper {
    background: #0A2342;
    color: #ffffff;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.leaflet-popup-tip {
    background: #0A2342;
}

/* Map Pulse Radar Effect */
.map-pulse {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Test Mode Visual Accents */
.test-mode-active {
    outline: 4px solid #F59E0B;
}

/* Anti-Spam Hidden Honeypot Field */
.honeypot-field {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}
