/* ===== RESET & BASE STYLES ===== */
/* Reset alle default browser styling voor consistente weergave */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Padding en border worden meegeteld in de totale breedte/hoogte */
}

/* ===== LAYOUT ===== */
main{
    display: flex; /* Flexbox voor horizontale layout (nav + content) */
    min-height: calc(100vh - 60px); /* Volle viewport hoogte minus header (60px) */
}

.main-container{
    flex: 1; /* Neemt alle resterende ruimte in naast de navigatie */
    width: 100%;
    padding: 2.5rem;
    background-color: #f8f9fa;
    overflow-y: auto; /* Verticaal scrollen indien content te groot is */
}
/* ===== WELKOM SECTIE ===== */
.welkom-div{
    /* Gradient van donkergrijs (2c2c2c) naar nog donkerder grijs (1a1a1a) onder 135° hoek */
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    padding: 2rem 2.5rem;
    /* Dubbele schaduw: grotere zachte schaduw + kleinere subtiele schaduw voor diepte-effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border: none;
}

.welkom-titel{
    margin-bottom: 0.5rem;
}

.welkom-titel h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.welkom-zin p {
    font-size: 1rem;
    opacity: 0.9;
}

.kleur{
    color: white;
}
/* ===== STATISTIEK BOXES ===== */
.vier-container{
    display: grid; /* CSS Grid voor flexibele layout */
    /* auto-fit: zoveel mogelijk kolommen die passen, minmax(250px, 1fr): elke kolom minimaal 250px, maximaal gelijk verdeeld */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; 
    margin-bottom: 2rem;
}

.box{
    background-color: white;
    border-radius: 16px;
    min-height: 140px;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Items vullen de volledige hoogte */
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease; /* Vloeiende animatie voor alle veranderingen (0.3 seconden) */
    border: 1px solid #f0f0f0;
}

.box:hover {
    /* Grotere schaduw bij hover voor 'lift' effect */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px); /* Beweeg 2px omhoog voor zweef-effect */
}

.links-box{
    flex: 1; /* Neemt alle beschikbare ruimte in naast rechts-box */
    display: flex;
    flex-direction: column; /* Stapelt items verticaal */
    justify-content: space-between; /* Verdeelt items gelijkmatig over de beschikbare ruimte */
    gap: 0.5rem;
}

.test{
    display: flex;
    flex-direction: row;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.aantal{
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0.25rem 0;
}

.zin{
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

.rechts-box{
    display: flex;
    align-items: flex-start; 
    justify-content: center; 
    margin-left: 1rem;
}

.kleine-div{
    background-color: #ede7e3; /* Lichte beige achtergrond */
    height: 48px;
    width: 48px;
    min-width: 48px; /* Voorkomt dat de box kleiner wordt dan 48px */
    display: flex;
    justify-content: center; 
    align-items: center;
    color: #9B6A6c; 
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Hover effect: wanneer je over de box hovert, verandert de kleine-div van kleur */
.box:hover .kleine-div {
    background-color: #9B6A6c; 
    color: white;
}
/* ===== DEADLINES SECTIE ===== */
.deadlines{
    background-color: white;
    border-radius: 20px;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.linker-deadline{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.deadline-titel{
    gap: 0.75rem;
    display: flex;
    flex-direction: row;
}
.deadline-zin{
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.deadline-1, .deadline-2, .deadline-3{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ef4444; /* Rode accent balk aan linkerkant voor urgentie */
    transition: all 0.3s ease;
}

.deadline-1:hover, .deadline-2:hover, .deadline-3:hover {
    background-color: #f1f3f5; /* Iets donkerder bij hover */
    transform: translateX(4px); /* Schuift 4px naar rechts voor interactief effect */
}

.deadline-1 p:first-of-type, 
.deadline-2 p:first-of-type, 
.deadline-3 p:first-of-type {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

.deadline-1 .zin, 
.deadline-2 .zin, 
.deadline-3 .zin {
    font-size: 0.875rem;
    margin: 0;
}

.bol{
    display: none; /* Vervangen door border-left */
}
/* ===== UREN OVERZICHT ===== */
.uren{
    background-color: rgb(255, 255, 255);
    height: 200px;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
}
.uren-links{
    height: 200px;
    width: 50%;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.zin-uren{
    color: grey;
    margin-bottom: 10px;
}
.uren-titel{
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.uren-balk1{
    width: 95%;
    height: 50px;
    background-color: rgba(41, 197, 224, 0.63);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 20px;
}
.uren-rechtse{
    height: 200px;
    width: 50%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.uren-balk2{
    width: 95%;
    height: 50px;
    background-color: rgba(48, 221, 146, 0.63);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    padding: 20px;
    margin-top: 52px;
}
.effe{
    margin-left: auto;
    margin-right: 20px;
    font-size: 1.2rem;
}
.uren-woord2{
    color: grey;
    text-align: right;
    margin-right: 55px;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Media queries voor verschillende schermformaten - van groot naar klein */

/* Tablets en kleine laptops (max 1024px breed) */
@media (max-width: 1024px) {
    .main-container {
        padding: 2rem; /* Minder padding op kleinere schermen */
    }
    
    .vier-container {
        grid-template-columns: repeat(2, 1fr); /* 2 kolommen in plaats van auto-fit */
    }
    
    .uren {
        grid-template-columns: 1fr; /* Volledige breedte */
    }
}

/* Tablets en grote smartphones (max 768px breed) */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem;
    }
    
    .vier-container {
        grid-template-columns: 1fr; /* Stapelt alle boxes onder elkaar (1 kolom) */
    }
    
    .welkom-div {
        padding: 1.5rem;
    }
    
    .welkom-titel h2 {
        font-size: 1.5rem; /* Kleinere tekst voor kleinere schermen */
    }
    
    .box {
        padding: 1.25rem;
    }
    
    .aantal {
        font-size: 2rem; /* Kleinere cijfers */
    }
    
    .deadline-titel h2,
    .uren-titel h2 {
        font-size: 1.25rem;
    }
}

/* Kleine smartphones (max 480px breed) */
@media (max-width: 480px) {
    .main-container {
        padding: 1rem; /* Minimale padding */
    }
    
    .box {
        flex-direction: column; /* Stapelt links-box en rechts-box verticaal ipv horizontaal */
        gap: 1rem;
    }
    
    .rechts-box {
        margin-left: 0; /* Geen margin nodig bij verticale layout */
        align-items: flex-start;
    }
    
    .uren-balk1 h2, 
    .uren-balk2 h2 {
        font-size: 0.95rem; /* Kleinere tekst in uren balken */
    }
    
    .effe {
        font-size: 1.25rem; /* Kleinere cijfers */
    }
}