/* =========================
   BASIS LAYOUT — STABIEL
========================= */

html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: block;   /* GEEN FLEX */
}


/* =========================
   NAVBAR
========================= */

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.85) !important;
}

.navbar-nav {
    width: 100%;
}


/* =========================
   CARDS
========================= */

.card {
    border: none;
    border-radius: 20px;
    transition: .3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.vehicle-card {
    transition: .3s ease;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}


/* =========================
   HELPERS
========================= */

.overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05));
}

.container-90 {
    width: 90%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.link-clean {
    text-decoration: none !important;
    color: inherit !important;
}

.link-clean:hover {
    text-decoration: underline;
}


/* =========================
   SEARCH
========================= */

.search-form {
    position: relative;
}

#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    display: none;
}


/* =========================
   MOBILE NAV
========================= */

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* =========================
   EVENTS
========================= */

.event-box {
    max-width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    word-wrap: break-word;
    cursor: pointer;
    transition: background 0.3s;
}

.event-header h3 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
}

.event-header .dates {
    font-weight: bold;
    font-size: 13px;
    color: #555;
}

.event-content {
    display: none;
    margin-top: 8px;
    font-size: 14px;
}

.event-box .forum-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 13px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.event-box .forum-btn:hover {
    background-color: #004c99;
}


/* =========================
   FOOTER — KAN NIET MEER BREKEN
========================= */

.footer-modern {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.footer-bg {
    position: relative;
    background: url('https://publicvoyage.nl/assets/inc/functions/fotoget/get_photo.php?id=83') center/cover no-repeat;
    
    /* HOOGTE GARANTIE */
    padding: 40px 0;
    min-height: 160px;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(79,70,229,0.6),
        rgba(6,182,212,0.6)
    );
}

.footer-bg .container {
    position: relative;
    z-index: 2;
}