/* =========================
   Reset & Basis
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

:root {
    --green: #207a00;
    --green-dark: #1a6600;
    --bg: #f0f2ee;
    --text: #1f1f1f;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --border: #e0e0e0;
    --font-body: "Dosis", "Open Sans", Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.5;
}

/* =========================
   Container
   ========================= */
.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

/* =========================
   🔥 ARC GIS FULL WIDTH FIX
   ========================= */
.arcgis-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* =========================
   Groene bovenlijn
   ========================= */
.site-topline {
    height: 6px;
    background: var(--green);
}

/* =========================
   Topbar
   ========================= */
.site-topbar {
    background: var(--gray-light);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    padding: 0.75rem 0;
}

.site-topbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.site-topbar a {
    color: #555;
    text-decoration: none;
}

.site-topbar a:hover {
    text-decoration: underline;
}

.site-topbar__phone {
    background: var(--green);
    padding: 0.45rem 1.1rem;
    border-radius: 3px;
    font-weight: 700;
    color: var(--white) !important;
}

.site-topbar__phone:hover {
    background: var(--green-dark);
}

/* =========================
   Header
   ========================= */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.site-header__logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__logos img {
    display: block;
    height: 70px;
    width: auto;
}

.site-header__logos > *:nth-child(2) img {
    height: 35px;
}

/* =========================
   Navigatie
   ========================= */
.site-nav {
    width: 100%;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-nav a {
    display: block;
    padding: 0.6rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
}

.site-nav a:hover,
.site-nav .active > a {
    background: var(--green);
    color: var(--white);
}

/* =========================
   Main content
   ========================= */
main.container {
    flex: 1 0 auto;
    background: var(--white);
    margin: 1.25rem auto;
    padding: 1.25rem;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

main h1,
main h2,
main h3 {
    color: var(--green);
}

main a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

/* =========================
   Footer
   ========================= */
.contact-footer {
    background: var(--green);
    padding: 3rem 0;
    color: var(--white);
}

.contact-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-footer,
.contact-footer a,
.contact-footer a:visited,
.contact-footer a:active {
    color: var(--white) !important;
    text-decoration: none;
}

.contact-footer a:hover {
    text-decoration: underline;
}

.contact-footer a[href^="tel"],
.contact-footer a[href^="mailto"] {
    display: block;
}

.contact-footer a[href^="tel"] {
    margin-top: 0.5rem;
}

.contact-footer a[href^="mailto"] {
    margin-top: 0.2rem;
}

/* =========================
   QUICKLINKS (Ga snel naar)
   ========================= */
.contact-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-footer__quicklinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-footer__quicklinks a {
    display: block;
}

/* =========================
   Tablet & Desktop
   ========================= */
@media (min-width: 768px) {
    .site-header .container {
        flex-direction: row;
        align-items: center;
    }

    .site-nav {
        margin-left: auto;
        width: auto;
    }

    .site-nav ul {
        flex-direction: row;
    }

    .site-header__logos img {
        height: 90px;
    }

    .site-header__logos > *:nth-child(2) img {
        height: 45px;
    }

    main.container {
        padding: 2rem;
    }

    .contact-footer__inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1100px) {
    .site-header__logos img {
        height: 120px;
    }

    .site-header__logos > *:nth-child(2) img {
        height: 60px;
    }
}

/* =========================
   Mobiel extra fijnstelling
   ========================= */
@media (max-width: 480px) {
    .site-header__logos {
        gap: 0.75rem;
    }

    .site-header__logos img {
        height: 56px;
    }

    .site-header__logos > *:nth-child(2) img {
        height: 28px;
    }

    .contact-footer__inner {
        gap: 1.5rem;
    }
}