/* =========================================
   1. BASIS INSTELLINGEN (De basis voor alles)
   ========================================= */
* {
    box-sizing: border-box; /* Zorgt dat paddings de boel niet breder maken */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* De landen-strip bovenaan */
.country-ribbon {
    width: 100%;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(to right, 
        #0057b7 0% 20%, #ffd700 20% 40%, #e31e24 40% 60%, #ffffff 60% 80%, #009639 80% 100%
    );
}

/* =========================================
   2. HEADER: LOGO + ROND PORTRET
   ========================================= */
.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.main-logo {
    display: block;
    width: 280px !important; /* Forceert de breedte */
    max-width: 280px !important;
    height: auto;
}

.header-profile-pic {
    width: 110px !important;  /* Forceert breedte */
    height: 110px !important; /* Forceert hoogte */
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0; /* Zorgt dat de foto niet geplet wordt */
}

/* =========================================
   3. LAYOUT (Kolommen)
   ========================================= */
.container {
    display: flex;
    max-width: 1000px;
    margin: 20px auto 40px auto;
    gap: 60px;
    padding: 0 20px;
    align-items: flex-start;
}

/* Linker kolom (Sidebar) */
.sidebar {
    flex: 0 0 240px; /* Houdt de zijbalk altijd op 240px breedte */
}

.sidebar-header {
    font-size: 1em;
    color: #003366;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Rechter kolom (Content) */
.content {
    flex: 1; /* Neemt de rest van de ruimte in */
    min-width: 0; /* Cruciaal: voorkomt dat grote plaatjes de kolom uitrekken */
}

/* =========================================
   4. AFBEELDINGEN BEVEILIGING (De Fix)
   ========================================= */
img {
    max-width: 100%; /* Afbeeldingen kunnen NOOIT breder dan hun kolom zijn */
    height: auto;
    display: block;
}

.feature-photo {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 4px;
    margin: 30px 0;
}

/* =========================================
   5. CONTACT & SOCIALS
   ========================================= */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

.email-link {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95em;
    word-break: break-all; /* Voorkomt dat e-mailadres de zijbalk uitrekt */
}

.phone-number {
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
}

.sidebar-subheader {
    font-size: 0.85em;
    color: #003366;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-socials {
    display: flex;
    gap: 15px;
}

.sidebar-socials img {
    width: 28px !important;
    height: 28px !important;
    opacity: 0.7;
}

/* =========================================
   6. TEKST & FOOTER
   ========================================= */
h1 { font-size: 2.2em; margin: 0 0 20px 0; line-height: 1.2; }
h2 { font-size: 1.4em; color: #003366; margin-top: 40px; }

.portfolio-cta {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #0056b3;
}

footer { padding: 40px 0; text-align: center; }
.footer-line { border: 0; border-top: 1px solid #eee; margin-bottom: 20px; }
.copyright { font-size: 0.8em; color: #999; }

/* =========================================
   7. MOBIEL (Responsive)
   ========================================= */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 20px; }
    .container { flex-direction: column; }
    .sidebar { flex: none; width: 100%; text-align: center; }
    .contact-item, .sidebar-socials { justify-content: center; }
}