/* styles.css - Complete versie voor Stallingzoeken.nl */

:root {
    --primary: #3964FE;
    --primary-dark: #2a4fd8;
    --primary-light: #5d82fe;
    --gradient: linear-gradient(135deg, #3964FE 0%, #5d82fe 100%);
    --gradient-hover: linear-gradient(135deg, #2a4fd8 0%, #4a6df8 100%);
    --shadow: 0 8px 30px rgba(57, 100, 254, 0.12);
    --shadow-hover: 0 15px 40px rgba(57, 100, 254, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-large: 24px;
    --white: #FFFFFF;
    --light: #F8F9FF;
    --dark: #1A1D2E;
    --gray: #6C757D;
    --gray-light: #E9ECEF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== */
/* ANIMATED P BACKGROUND */
/* ==================== */
.p-bg-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.p-bg-element {
    position: absolute;
    color: rgba(57, 100, 254, 0.08);
    animation: floatP 25s linear infinite;
    pointer-events: none;
    will-change: transform;
}

@keyframes floatP {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* ==================== */
/* 3D ACHTERGROND ELEMENTEN */
/* ==================== */
.bg-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(57, 100, 254, 0.05) 0%, rgba(93, 130, 254, 0.03) 100%);
    filter: blur(40px);
}

.el-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.el-2 { width: 300px; height: 300px; bottom: -50px; left: -50px; }

/* ==================== */
/* LOGIN/LOGOUT BUTTONS */
/* ==================== */
.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: var(--shadow);
    min-height: 44px;
}

.login-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: var(--shadow);
    width: 100%;
    margin-top: 20px;
}

.mobile-login-btn:hover,
.mobile-login-btn:active {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: #ef4444 !important;
    color: white !important;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.12);
    min-height: 44px;
}

.logout-btn:hover {
    background: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #ef4444 !important;
    color: white !important;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.12);
    width: 100%;
    margin-top: 20px;
}

.mobile-logout-btn:hover {
    background: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
}

/* ==================== */
/* HERO SECTION */
/* ==================== */
.hero {
    padding: 140px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    order: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(57, 100, 254, 0.1);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 100, 254, 0.2);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.1;
}

.hero-title .typing-text {
    color: var(--primary);
    position: relative;
    display: inline-block;
    min-width: 100px;
}

.hero-title .typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary);
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-register {
    background: #10b981 !important;
    color: white !important;
}

.btn-register:hover {
    background: #0da271 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    padding: 20px;
    order: 2;
}

.steps-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-content h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 4px;
    text-align: left;
}

.step-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    text-align: left;
}

/* ==================== */
/* LIVE MAP SECTIE */
/* ==================== */
.live-map-section {
    padding: 40px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.map-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.map-header-center {
    max-width: 800px;
}

.map-title {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
}

.map-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 5px;
}

.map-subtitle #stallCountText {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.live-map-container {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 500px;
    background-color: #111;
}

#live-map {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-large);
    touch-action: manipulation;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    max-width: 280px;
    z-index: 500;
    border: 1px solid rgba(226,232,240,0.5);
}

.map-overlay h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-overlay h3 i {
    color: var(--primary);
}

.map-overlay p strong {
    color: var(--primary);
}

.map-overlay .stall-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.map-overlay .stall-count span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.map-overlay .stall-count i {
    color: var(--primary);
}

/* ==================== */
/* FEATURES SECTION */
/* ==================== */
.features-section {
    padding: 100px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-large);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(57, 100, 254, 0.1) 0%, rgba(93, 130, 254, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ==================== */
/* ANIMATED WAVE DIVIDER */
/* ==================== */
.animated-wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    margin-bottom: -1px;
    z-index: 1;
}

.animated-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.animated-wave-divider .wave-1 {
    fill: var(--primary);
    opacity: 0.25;
    animation: waveFloat 8s ease-in-out infinite;
}

.animated-wave-divider .wave-2 {
    fill: var(--primary);
    opacity: 0.5;
    animation: waveFloat 12s ease-in-out infinite 2s;
}

.animated-wave-divider .wave-3 {
    fill: var(--primary);
    animation: waveFloat 10s ease-in-out infinite 1s;
}

@keyframes waveFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Floating dots */
.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-dots .dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.dot-1 {
    top: 20%;
    left: 10%;
    animation: floatUp 10s ease-in-out infinite;
}

.dot-2 {
    top: 40%;
    left: 25%;
    animation: floatUp 12s ease-in-out infinite 1s;
}

.dot-3 {
    top: 30%;
    left: 50%;
    animation: floatUp 15s ease-in-out infinite 2s;
}

.dot-4 {
    top: 60%;
    left: 70%;
    animation: floatUp 11s ease-in-out infinite 3s;
}

.dot-5 {
    top: 50%;
    left: 85%;
    animation: floatUp 13s ease-in-out infinite 4s;
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-10px) translateX(10px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(0);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.6;
    }
}

/* ==================== */
/* MOBILE MENU */
/* ==================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1300;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    flex-shrink: 0;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.mobile-logo span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:active {
    background: var(--light);
    transform: rotate(90deg);
}

.mobile-menu-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.mobile-menu-link:active {
    background: var(--light);
    color: var(--primary);
    transform: translateX(5px);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    text-align: center;
    flex-shrink: 0;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.mobile-social a {
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
}

.mobile-social a:active {
    transform: translateY(-2px);
    color: var(--white);
    background: var(--primary);
}

.mobile-copyright {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 12px;
}

/* ==================== */
/* NAVIGATION */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo span {
    color: #1e293b;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-desktop ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
}

.nav-desktop ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-desktop ul li a:hover,
.nav-desktop ul li a.active {
    color: var(--primary);
}

.nav-desktop ul li a:hover:after,
.nav-desktop ul li a.active:after {
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1100;
    border: none;
    display: none;
}

.hamburger .bar {
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger:active {
    transform: scale(0.95);
}

/* ==================== */
/* LEAFLET MAP STYLES */
/* ==================== */
.caravan-marker {
    background: #00e5ff;
    border: 2px solid white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 8px rgba(0,229,255,0.7);
    transition: all 0.2s;
}

.caravan-marker:hover {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(0,229,255,0.9);
}

@keyframes throwMarker {
    0% { opacity: 0; transform: scale(0.1) translateY(-100px); }
    30% { opacity: 1; transform: scale(1.2) translateY(0); }
    50% { transform: scale(0.9) translateY(10px); }
    70% { transform: scale(1.1) translateY(-5px); }
    100% { transform: scale(1) translateY(0); }
}

.marker-throw {
    animation: throwMarker 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== */
/* LEAFLET POPUP STYLES */
/* ==================== */
.leaflet-popup-content-wrapper {
    background: white !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18) !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    max-width: 300px !important;
    min-width: 260px !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
    padding: 14px 16px !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.4 !important;
    font-size: 13px !important;
}

.leaflet-popup-tip {
    background: white !important;
    box-shadow: -3px -3px 8px rgba(0,0,0,0.1) !important;
}

.leaflet-container a.leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
}

.popup-container {
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.popup-header h3 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.popup-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-city {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
}

.popup-city i {
    color: var(--primary);
}

.popup-spots {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
}

.popup-prices {
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span:first-child {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-row span:last-child {
    font-weight: 600;
    color: #1e293b;
}

.popup-availability {
    background: #f0f9ff;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 11px;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #bae6fd;
}

.popup-reserve-btn,
.popup-details-btn,
.popup-login-btn {
    display: block !important;
    width: 100% !important;
    background: var(--gradient) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin: 8px 0 !important;
    text-align: center !important;
    transition: all 0.3s !important;
    min-height: 44px !important;
    touch-action: manipulation !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.popup-reserve-btn:hover,
.popup-details-btn:hover,
.popup-login-btn:hover {
    background: var(--gradient-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-hover) !important;
}

.popup-details-btn {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.popup-details-btn:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.popup-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==================== */
/* FOOTER */
/* ==================== */
footer {
    background: white;
    padding: 70px 5% 30px;
    border-top: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-column h3 {
    color: #1e293b;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-column ul li a i {
    font-size: 0.8rem;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-logo span {
    color: #1e293b;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 26px;
}

.footer-description {
    color: #64748b;
    line-height: 1.7;
}

/* ==================== */
/* REGISTRATION PAGE STYLES */
/* ==================== */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 5% 80px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.auth-header {
    background: var(--gradient);
    padding: 40px 40px 30px;
    color: white;
    text-align: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.auth-logo i {
    margin-right: 12px;
    font-size: 32px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.auth-card form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(57, 100, 254, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.password-toggle {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.password-toggle-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.password-strength {
    margin-top: 12px;
}

.strength-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.strength-value {
    font-weight: 600;
}

.strength-meter {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #ef4444;
    transition: all 0.3s;
}

.password-strength.strength-weak .strength-fill {
    width: 30%;
    background: #ef4444;
}

.password-strength.strength-medium .strength-fill {
    width: 60%;
    background: #f59e0b;
}

.password-strength.strength-strong .strength-fill {
    width: 100%;
    background: #10b981;
}

.vehicle-section {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.vehicle-section h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicle-section h3 i {
    color: var(--primary);
}

.vehicle-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.vehicle-option {
    position: relative;
}

.vehicle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vehicle-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.vehicle-option label i {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 8px;
}

.vehicle-option label span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
}

.vehicle-option input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: rgba(57, 100, 254, 0.05);
}

.vehicle-option input[type="radio"]:checked + label i {
    color: var(--primary);
}

.vehicle-option input[type="radio"]:checked + label span {
    color: var(--primary);
    font-weight: 600;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.terms-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.terms-checkbox label {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

.terms-checkbox a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.auth-footer {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-to-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
}

.back-to-home:hover {
    color: var(--primary);
    background: #f8fafc;
}

/* ==================== */
/* CTA SECTION */
/* ==================== */
.cta-section {
    padding: 80px 5%;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 30px;
}

@media (min-width: 576px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ==================== */
/* CONSTRUCTION BANNER */
/* ==================== */
.construction-banner {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #3964FE 0%, #2a4fd8 50%, #3964FE 100%);
    color: white;
    z-index: 999;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollBanner 30s linear infinite;
    padding-top: 2px;
}

.banner-icon {
    margin: 0 15px;
    color: #ffd700;
    font-size: 16px;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Adjust hero margin for banner */
.hero {
    margin-top: 40px;
    transition: margin-top 0.3s ease;
}

/* Map Notice */
.map-notice {
    background: #fef3c7;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #92400e;
    font-size: 0.95rem;
}

.map-notice i {
    color: #d97706;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ==================== */
/* RESPONSIVE STYLES */
/* ==================== */
@media (min-width: 768px) {
    .hero {
        padding: 160px 5% 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .hero-content {
        order: 1;
        text-align: left;
        margin: 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin: 0 0 40px 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .btn {
        width: auto;
        max-width: none;
    }
    
    .hero-stats {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }
    
    .hero-visual {
        order: 2;
        padding: 40px;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav-desktop {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .hero {
        padding: 110px 4% 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .live-map-section {
        padding: 30px 4% 60px;
    }
    
    .map-title {
        font-size: 1.5rem;
    }
    
    .map-subtitle {
        font-size: 1rem;
    }
    
    .live-map-container {
        height: 400px;
    }
    
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin: 20px auto;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .auth-container {
        padding: 100px 4% 60px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .auth-header {
        padding: 30px 20px;
    }
    
    .auth-card form {
        padding: 30px 20px;
    }
    
    .vehicle-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .live-map-container {
        height: 350px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .auth-header {
        padding: 25px 15px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 1rem;
    }
}

/* ==================== */
/* ACCESSIBILITY & TOUCH */
/* ==================== */
.leaflet-container {
    touch-action: manipulation;
}

html {
    scroll-behavior: smooth;
}

@media (hover: hover) and (pointer: fine) {
    .hamburger:hover {
        transform: scale(1.05);
    }
    
    .mobile-menu-link:hover {
        background: var(--light);
        color: var(--primary);
        transform: translateX(5px);
    }
    
    .mobile-social a:hover {
        transform: translateY(-2px);
        color: var(--white);
        background: var(--primary);
    }
    
    .login-btn:hover,
    .mobile-login-btn:hover {
        background: var(--gradient-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }
    
    .logout-btn:hover,
    .mobile-logout-btn:hover {
        background: #dc2626 !important;
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
    }
    
    .popup-reserve-btn:hover,
    .popup-details-btn:hover,
    .popup-login-btn:hover {
        transform: translateY(-2px) !important;
    }
}
/* ==================== */
/* REGISTER BUTTON STYLES */
/* ==================== */

/* Registreren knop in navigatie (zelfde als originele login-btn) */
.nav-desktop .login-btn {
    background: var(--gradient);
    color: white;
}

.nav-desktop .login-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Registreren knop in mobiel menu (zelfde als originele mobile-login-btn) */
.mobile-login-btn {
    background: var(--gradient);
    color: white;
}

.mobile-login-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Registreren knop in hero sectie (groene kleur behouden) */
.btn-register {
    background: #10b981 !important;
    color: white !important;
}

.btn-register:hover {
    background: #0da271 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Kleine registreren knop op kaart */
.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 10px;
    background: var(--gradient);
    color: white;
}

.btn-small:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media print {
    .navbar,
    .mobile-menu,
    .p-bg-elements,
    .bg-elements {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .features-section,
    .live-map-section,
    footer {
        padding: 20px !important;
        margin: 0 !important;
    }
}