* { box-sizing: border-box; }
body, html { margin: 0; padding: 0; height: 100%; font-family: 'Segoe UI', sans-serif; }

/* Volledige achtergrond op de homepagina */
.home-bg {
    background-image: url('Achtergrond.jpg'); /* Zorg dat dit bestand in je map staat */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.overlay {
    background: rgba(0, 0, 0, 0.5); /* Donkere laag over foto voor leesbaarheid */
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-content { text-align: center; }

.profile-img {
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 20px;
}

/* Knoppen op de home */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover { background: #007bff; color: white; }

/* Pagina container voor Familie/Werk/Hobby */
.container-page {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

/* Fotogrid voor Hobby's */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 200px;
    display: block;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.grid-item:hover img { transform: scale(1.1); }

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
    font-size: 0.9rem;
}

.btn-back { display: block; margin-top: 40px; color: #007bff; text-decoration: none; }

/* Tekstblok bovenaan */
.intro-block {
    margin-bottom: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 5px solid #007bff;
}

/* Tijdlijn styling */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.timeline-logo {
    flex: 0 0 80px;
    margin-right: 20px;
}

.timeline-logo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.timeline-content h3 { margin-top: 0; color: #007bff; }
.date { font-size: 0.85rem; color: #888; font-weight: bold; }

/* Opleidingen styling */
.education-section {
    margin-top: 60px;
    text-align: left;
}

.edu-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.edu-card h4 { margin: 0; color: #333; }

.timeline-content p { 
    font-size: 0.95rem; 
    line-height: 1.6; 
    color: #444;
    /* Deze regel zorgt ervoor dat enters in je HTML ook op de pagina zichtbaar zijn: */
    white-space: pre-line; 
    margin-top: 10px;
}
/* Contactsectie Styling */
.contact-section {
    margin-top: 60px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.contact-section h2 {
    color: #007bff;
    margin-bottom: 10px;
}

.contact-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form .btn {
    width: 100%;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 1.1rem;
}

.contact-form .btn:hover {
    background-color: #0056b3;
}