/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'title font';
    src: url(fonts\NovanteRegular.otf);
}

body {
    font-family: Arial, sans-serif;
    color: #373737;
    background-color: #EFE9E7;
}

/* General Header Styling */
/* Stijl voor de link in de header-titel */
.top-nav h1 a {
    font-family: 'NovanteRegular';
    text-decoration: none;
    color: inherit;
}

.top-nav h1 a:hover {
    color: #797979; /* Optionele hoverstijl */
}

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Top Navigation (Title and Right Nav) */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 10px 20px;
}

.top-nav h1 {
    font-size: 2.5em;
    margin: 0;
    font-family: 'NovanteRegular';
}

.right-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.right-nav a {
    text-decoration: none;
    color: #030303;
    font-style: italic;
}

/* Main Navigation (Below Title) */
.main-nav {
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    border-top: 1px solid #000;
    padding-top: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #030303;
    font-weight: bold;
}

.site-header nav a.active {
    position: relative;
}

.recent-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-left: 10%;
    text-align: left; /* Change to center if needed */
    padding-left: 10px;
}


/* Hover and Active States */
.main-nav a:hover,
.right-nav a:hover {
    color: #444444;
}

/*logo's bij de artikelen*/
.filter-bar {
    display: flex;
    justify-content: center; /* Horizontaal centreren */
    align-items: center; /* Verticale uitlijning binnen de container */
    gap: 20px; /* Ruimte tussen de iconen */
    margin: 20px 0;
}

.filter-logo {
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 70px; /* Vergroot de knoppen indien nodig */
    height: 70px;
    padding: 5px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%; /* Maakt de afbeelding rond binnen de knop */
    object-fit: cover; /* Zorgt ervoor dat de afbeelding past binnen de knop */
}

.filter-logo:hover {
    background-color: #f3f3f3;
    transform: scale(1.1);
}

.filter-logo.active {
    background-color: #f3f3f3;
}

/* Main Content Styling */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px; /* Space between content and recent heading */
}

.article-card {
    background: #f3f3f3;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-family: 'NovanteRegular';
}

h2 a {
    color: black; /* Ensures link is also black */
    text-decoration: none; /* Removes underline */
    font-family: 'NovanteRegular';
    ;
}

.article-card p {
    line-height: 1.6;
}

.article-card small {
    color: #373737;
}

/* Ensures that the article card image is properly sized */
.article-card iframe,
.article-card video {
    width: 100%;
    height: 200px; /* Set a fixed height for uniformity */
    object-fit: cover; /* Prevents stretching, crops instead */
    border-radius: 10px; /* Smooth rounded corners */
}

.article-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures even spacing */
    height: 100%; /* Makes sure all cards are the same height */
    padding: 20px;
    background: #e9e9e9;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.article-card img {
    margin-top: auto; /* Pushes the image to the bottom */
    align-self: center; /* Centers the image */
    width: 100%; /* Makes all images fill the container */
    height: 200px; /* Set a fixed height to keep them uniform */
    object-fit: cover; /* Ensures images keep their aspect ratio and fill the space */
    border-radius: 10px; /* Optional: Makes corners rounded */
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
.about-section {
    margin-bottom: 20px;
}

.about-section h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Page Styling */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.contact-section {
    margin-bottom: 30px;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.contact-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #444444;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.contact-form button {
    background-color: #373737;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.contact-form button:hover {
    background-color: #444444;
}

/* Contact Info Section */
.contact-info {
    margin-top: 30px;
    text-align: left;
}

.contact-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 5px;
}


/* --- Existing CSS (unchanged) --- */
/* ... your current code ... */


/* ========================= */
/* 📱 Mobile Responsiveness */
/* ========================= */
@media (max-width: 768px) {
    /* Header and navigation */
    .top-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .top-nav h1 {
        font-size: 1.8em;
        text-align: center;
    }

    .right-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    /* Content grid */
    .content {
        grid-template-columns: 1fr; /* One column on mobile */
        padding: 10px;
    }

    .article-card img,
    .article-card iframe,
    .article-card video {
        height: auto; /* Let images scale naturally */
    }

    .recent-heading {
        font-size: 20px;
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .top-nav h1 {
        font-size: 1.5em;
    }

    .right-nav a,
    .main-nav a {
        font-size: 0.9em;
    }

    .filter-logo {
        width: 50px;
        height: 50px;
    }

    .article-card h2 {
        font-size: 1.2em;
    }

    .about-section h2,
    .contact-section h2 {
        font-size: 1.5em;
    }

    .about-section p,
    .contact-section p {
        font-size: 1em;
    }
}



