/* Basis Stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigatie Desktop */
nav {
    background: #fff;
    color: #2c3e50;
    min-height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover, nav a.active {
    color: #e74c3c;
}

.lang-switch-top {
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    gap: 12px;
}

.lang-switch-top span {
    transition: transform 0.2s;
    display: inline-block;
}

.lang-switch-top span:hover {
    transform: scale(1.3);
}

/* Hero Sectie */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    color: #fff;
    display: flex;
    padding: 3rem 0;
    text-align: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
}

.big-number {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Secties */
.section {
    padding: 4rem 0;
}

.bg-light {
    background: #fff;
}

h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2c3e50;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Mobile Optimization (Responsive) */
@media (max-width: 768px) {
    /* Navigatie Mobiel */
    nav {
        height: auto;
        padding: 1rem 0;
    }

    nav .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-right {
        align-items: center;
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-right: 0;
        gap: 10px;
    }

    .nav-links li {
        margin-left: 0;
        margin: 0 5px;
    }

    nav a {
.blog-card p { font-size: 0.85rem; margin-bottom: 1.5rem; line-height: 1.6; }
        padding: 5px 8px;
        background: #f8f9fa;
        border-radius: 4px;
    }

    .lang-switch-top {
        order: -1; /* Zet vlaggetjes bovenaan op mobiel */
        margin-bottom: 5px;
    }

    /* Hero Mobiel */
    .hero {
        min-height: auto;
        padding: 2.5rem 0;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Content Mobiel */
    .section {
        padding: 2.5rem 0;
    }

    .grid {
        grid-template-columns: 1fr; /* Alles onder elkaar op mobiel */
        gap: 1.5rem;
    }

    h3 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* Blog Mobiel */
    .blog-post {
        padding: 1.5rem;
    }

    .blog-content p {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}

.socials {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.blog-card p {
    font-size: 0.85rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-author-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #e74c3c;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.blog-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}
