@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&family=Poppins:wght@400;600;700&display=swap');

/* Root */

:root {
    --color-body: #b6cbce;
    --color-heading: #eef3db;
    --color-base: #033f47;
    --color-base2: #022a30;
    --color-brand: #e0f780;
    --color-brand2: #deff58;
    --font-base: "Bai Jamjuree", sans-serif;
    --font-heading: "Poppins", sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* neemt alle ruimte */
}

.site-header {
    background-color: var(--color-base);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
}

/* links */

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

.nav-links a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 500;
}

/* toggle */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 2rem;
    color: var(--color-heading);
    cursor: pointer;
}
/* gsm */

@media (max-width: 768px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: var(--color-base);
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        display: none;
    }

   .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Tablet */
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    padding: 1rem;
    border-radius: 10px;
    color: var(--color-base);
    font-style: var(--font-heading);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

/* Extra tekst onder de cards */
.card-extra {
    font-style: var(--font-base);
    font-size: 0.9rem;
    color: var(--color-base2);
    margin-top: 0.5rem;
}

.site-footer {
    background-color: var(--color-base);
    color: var(--color-body);
    margin-top: auto;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-text a {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center; /* voor mobile */
}

@media (min-width: 601px) {
    .social-icons {
        justify-content: flex-end; /* desktop rechts */
    }
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--color-heading);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-brand);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}