
/*
|--------------------------------------------------------------------------
| ARBO INTEGRAAL - PUBLIEKE WEBSITE
|--------------------------------------------------------------------------
| Eigen huisstijl, los van de ingelogde VMS-applicatie.
|--------------------------------------------------------------------------
*/

/* --------------------------------------------------
   DESIGN TOKENS
-------------------------------------------------- */

.site-body {
    --site-blue: #103F83;
    --site-blue-dark: #082B63;
    --site-green: #159F83;

    --site-text: #23354A;
    --site-muted: #596F8E;

    --site-light-blue: #EDF4FC;
    --site-light-green: #EAF7F2;

    --site-white: #FFFFFF;
    --site-background: #FAFBFD;

    --site-border: #DFE8F1;

    --site-radius-sm: 10px;
    --site-radius-md: 16px;
    --site-radius-lg: 24px;

    --site-container-width: 1240px;

    font-family: 'Inter', sans-serif;
    color: var(--site-text);
    background: var(--site-white);

    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------
   BASIS / RESET
-------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

.site-body,
.site-body *,
.site-body *::before,
.site-body *::after {
    box-sizing: border-box;
}

.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4 {
    font-family: 'Manrope', sans-serif;
    color: var(--site-blue-dark);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.site-body p {
    line-height: 1.75;
}

.site-body a {
    text-decoration: none;
}

.site-body img {
    max-width: 100%;
    height: auto;
}

.site-body button,
.site-body input,
.site-body textarea,
.site-body select {
    font: inherit;
}

.site-body button,
.site-body a {
    -webkit-tap-highlight-color: transparent;
}

.site-body :focus-visible {
    outline: 3px solid var(--site-green);
    outline-offset: 4px;
}

.site-container {
    width: min(
        calc(100% - 48px),
        var(--site-container-width)
    );

    margin-inline: auto;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

/* --------------------------------------------------
   TOEGANKELIJKHEID
-------------------------------------------------- */

.site-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;

    padding: 12px 18px;

    color: white;
    background: var(--site-blue);
    border-radius: 8px;
}

.site-skip-link:focus {
    top: 16px;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 100;

    background: var(--site-white);
    border-bottom: 1px solid var(--site-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 90px;
    gap: 24px;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header__logo img {
    width: 220px;
    max-height: 62px;
    object-fit: contain;
}

/* Desktop navigatie */

.site-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;
    flex: 1;
}

.site-nav-link {
    position: relative;

    color: var(--site-blue);
    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    padding: 10px 0;

    transition: color 0.2s ease;
}

.site-nav-link:hover {
    color: var(--site-green);
}

.site-nav-link.is-active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;

    height: 3px;
    border-radius: 3px;

    background: var(--site-green);
}

/* Header acties */

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

/* --------------------------------------------------
   KNOPPEN
-------------------------------------------------- */

.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 46px;

    padding: 12px 21px;

    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;

    text-align: center;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.site-button--primary {
    color: white;
    background: var(--site-green);
}

.site-button--primary:hover:not(:disabled) {
    background: #0D876F;
    transform: translateY(-1px);
}

.site-button--outline {
    color: var(--site-blue);
    background: var(--site-white);

    border-color: #C9D9EC;
}

.site-button--outline:hover:not(:disabled) {
    background: var(--site-light-blue);
    border-color: var(--site-blue);
}

.site-button--small {
    min-height: 42px;
    padding: 10px 16px;
}

.site-button--disabled,
.site-button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* --------------------------------------------------
   MOBIELE NAVIGATIE
-------------------------------------------------- */

.site-mobile-nav {
    display: none;
}

.site-mobile-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 44px;
    min-height: 44px;

    padding: 8px 12px;

    border: 1px solid var(--site-border);
    border-radius: 10px;

    color: var(--site-blue);
    background: white;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    list-style: none;
}

.site-mobile-nav__toggle::-webkit-details-marker {
    display: none;
}

.site-mobile-nav__panel {
    display: flex;
    flex-direction: column;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    padding: 16px 24px 24px;

    background: white;
    border-bottom: 1px solid var(--site-border);

    box-shadow: 0 14px 26px rgba(8, 43, 99, 0.08);
}

.site-mobile-nav__panel > a {
    display: flex;
    align-items: center;

    min-height: 44px;

    padding: 11px 8px;

    color: var(--site-blue);
    font-size: 15px;
    font-weight: 600;

    border-bottom: 1px solid #EFF3F7;
}

.site-mobile-nav__panel > a:hover {
    color: var(--site-green);
}

.site-mobile-nav__actions {
    display: flex;
    flex-direction: column;

    gap: 10px;
    margin-top: 18px;
}

.site-mobile-nav__actions .site-button {
    width: 100%;
}

/* --------------------------------------------------
   ALGEMENE WEBSITE-ELEMENTEN
-------------------------------------------------- */

.site-section {
    padding: 88px 0;
}

.site-section--soft {
    background: var(--site-light-blue);
}

.site-section--green {
    background: var(--site-light-green);
}

.site-section__eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: #087A69;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-section__title {
    margin: 0 0 18px;

    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
}

.site-section__intro {
    max-width: 700px;

    color: var(--site-muted);
    font-size: 16px;
}

.site-card {
    padding: 28px;

    background: white;
    border: 1px solid var(--site-border);

    border-radius: var(--site-radius-md);
}

.site-card h3 {
    margin-top: 0;
}

.site-card p {
    color: var(--site-muted);
}

.site-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.site-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* --------------------------------------------------
   HERO BASIS
-------------------------------------------------- */

.site-hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #FFFFFF 0%,
            #F2F7FC 65%,
            #EAF5F4 100%
        );
}

.site-hero__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 48px;
    align-items: center;
}

.site-hero__content {
    position: relative;
    z-index: 2;
}

.site-hero__title {
    margin: 0 0 22px;

    font-size: clamp(36px, 4.2vw, 62px);
    font-weight: 800;
    line-height: 1.1;
}

.site-hero__description {
    max-width: 580px;

    color: var(--site-muted);
    font-size: 18px;
    line-height: 1.75;
}

.site-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
    margin-top: 30px;
}

.site-hero__media {
    position: relative;
    min-width: 0;
}

/* Grote homepage hero */

.site-hero--home {
    padding: 100px 0 105px;
}

/* Compacte hero voor vervolgpagina's */

.site-hero--compact {
    padding: 58px 0 64px;
}

.site-hero--compact .site-hero__title {
    font-size: clamp(30px, 3.6vw, 48px);
}

.site-hero--compact .site-hero__description {
    font-size: 16px;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.site-footer {
    background: #F7FAFD;

    border-top: 1px solid var(--site-border);
}

.site-footer__main {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 70px;

    padding: 72px 0 60px;
}

.site-footer__logo {
    width: 220px;
    max-height: 70px;
    object-fit: contain;
}

.site-footer__brand p {
    max-width: 330px;

    color: var(--site-muted);

    font-size: 14px;
    line-height: 1.8;
}

.site-footer__brand .site-footer__slogan {
    margin-top: 22px;

    color: var(--site-blue);
    font-weight: 700;
}

.site-footer__column h3 {
    margin: 0 0 22px;

    font-size: 17px;
    font-weight: 800;
}

.site-footer__column nav {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    gap: 13px;
}

.site-footer__column a {
    color: var(--site-muted);

    font-size: 14px;
    transition: color 0.2s ease;
}

.site-footer__column a:hover {
    color: var(--site-green);
}

.site-footer__contact {
    display: flex;
    flex-direction: column;

    gap: 12px;

    font-style: normal;

    color: var(--site-muted);
    font-size: 14px;
}

.site-footer__contact strong {
    color: var(--site-blue);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 24px 0;

    border-top: 1px solid var(--site-border);

    color: var(--site-muted);
    font-size: 12px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer__legal a {
    color: var(--site-muted);
}

/* --------------------------------------------------
   RESPONSIVE - TABLET
-------------------------------------------------- */

@media (max-width: 1160px) {

    .site-desktop-nav,
    .site-header__actions {
        display: none;
    }

    .site-mobile-nav {
        display: block;
    }

    .site-header__inner {
        min-height: 76px;
    }

    .site-header__logo img {
        width: 195px;
    }

    .site-hero__grid {
        gap: 30px;
    }

}

/* --------------------------------------------------
   RESPONSIVE - MOBIEL
-------------------------------------------------- */

@media (max-width: 767px) {

    .site-container {
        width: min(calc(100% - 32px), 100%);
    }

    .site-header__inner {
        min-height: 72px;
    }

    .site-header__logo img {
        width: 178px;
    }

    .site-section {
        padding: 58px 0;
    }

    .site-grid-3,
    .site-grid-4 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-hero--home {
        padding: 56px 0 64px;
    }

    .site-hero--compact {
        padding: 42px 0 48px;
    }

    .site-hero__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-hero__title {
        font-size: clamp(33px, 8vw, 44px);
    }

    .site-hero__description {
        font-size: 16px;
    }

    .site-hero__actions {
        flex-direction: column;
    }

    .site-hero__actions .site-button {
        width: 100%;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 34px;

        padding: 54px 0 45px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* --------------------------------------------------
   TOEGANKELIJKHEID - VERMINDERDE ANIMATIES
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .site-body *,
    .site-body *::before,
    .site-body *::after {
        transition: none !important;
        animation: none !important;
    }

}
