/* ============================================
   MODERNE RESPONSIVE BASIS - MOBILE FIRST
   ============================================ */

/* 1. Root font-size: basis voor alle rem-eenheden */
html {
    font-size: 15px; /* Basis voor mobiel (iets kleiner dan 16px) */
}

/* 2. Aanpassing voor tablets en grotere schermen */
@media (min-width: 769px) {
    html {
        font-size: 16px; /* Standaard desktop */
    }
}

/* 3. Aanpassing voor grote desktops */
@media (min-width: 1200px) {
    html {
        font-size: 17px; /* Iets groter voor betere leesbaarheid op grote schermen */
    }
}

/* ============================================
   BASIS STYLING
   ============================================ */

body {
    font-family: Verdana, sans-serif;
    font-size: 1rem; /* = 15px op mobiel, 16px op desktop */
    color: black;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;
    letter-spacing: -0.5px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.Container {
    min-height: 100vh;
    width: 100%;
    margin: 140px auto 0;
    padding: 0;
}

/* ============================================
   NAVIGATIE
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 50%, #C2002F 50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

.nav-logo {
    display: flex;
    align-items: center;
    width: 10%;
    height: 120px;
    background-color: transparent;
}

.Logo {
    height: 120px;
}

/* Center buttons */
.nav-Midden {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}

.nav-MiddenMob {
    display: none;
}

.nav-login {
    display: flex;
    align-items: center;
    width: 10%;
    background-color: transparent;
    padding-right: 20px;
}

.ButtonBoven {
    font-size: 1rem;
    color: black;
    background-color: white;
    text-align: center;
    padding: 10px 30px;
    margin: 0 15px;
    border: 2px solid #C2002F;
    border-radius: 20px;
    cursor: pointer;
}

.ButtonBovenActief {
    font-size: 1rem;
    font-weight: bold;
    color: #C2002F;
    background-color: white;
    text-align: center;
    margin: 0 15px;
    padding: 10px 30px;
    border: 1px solid black;
    border-radius: 20px;
    cursor: pointer;
}

.PaginaKoptekst {
    width: 50%;
    padding: 20px;
    text-align: center;
    border: 2px solid #C2002F;
    border-radius: 20px;
    background-color: #C2002F;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: #C2002F;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    padding: 0;
    margin-right: 30px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger span:nth-child(1) {
    top: 13px;
}

.hamburger span:nth-child(2) {
    top: 19px;
}

.hamburger span:nth-child(3) {
    top: 25px;
}

/* ============================================
   MOBIEL NAVIGATIE
   ============================================ */

/* Alleen zichtbaar op mobiel (max 1024px) */
@media (max-width: 1024px) {
    
    .nav-login {
        display: none; /* Verberg de Inloggen-knop rechtsboven */
    }
    
    .nav-Midden {
        display: none;
    }
    
    .nav-MiddenMob {
        display: none;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 1000;
        padding: 15px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
    }
    
    .nav-MiddenMob.active {
        display: flex;
    }
    
    .nav-MiddenMob .button {
        font-size: 1.6rem;
        font-weight: bold;
        color: white;
        background-color: transparent;
        border: none;
        text-align: left;
        cursor: pointer;
        padding: 15px;
        width: 200px;
    }
    
.nav-logo {
    display: flex;
    align-items: center;
    width: 10%;
    height: 80px;
    background-color: transparent;
}


    .Logo {
        height: 80px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .PaginaKoptekst {
        width: 90%;
        padding: 15px;
        text-align: center;
        border: 2px solid #C2002F;
        border-radius: 20px;
        background-color: #C2002F;
        color: white;
        font-size: 1.4rem;
        font-weight: bold;
    }
}

/* ============================================
   INPUT, SELECT, TEXTAREA STYLING
   ============================================ */

input[type=text], 
input[type=search], 
input[type=email], 
input[type=date], 
input[type=time], 
textarea, 
select {
    width: 100%;
    height: 40px;
    border: 2px solid #C2002F;
    border-radius: 5px;
    outline: black;
    padding-left: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Placeholder styling */
input::placeholder {
    color: grey;
    font-size: 1rem;
    font-style: italic;
}

/* Extra mobiele optimalisatie voor invoervelden */
@media (max-width: 1024px) {
    input[type=text], 
    input[type=search], 
    input[type=email], 
    input[type=date], 
    input[type=time], 
    textarea, 
    select {
        font-size: 1rem; /* Minimaal 16px voorkomt zoom op iOS */
        height: 44px; /* Groter voor betere aantikbaarheid */
    }
    
    input::placeholder {
        font-size: 0.875rem;
    }
}