﻿/* =========================================================
   CONTACT PAGINA
   ========================================================= */

.contact-page {
    width: 100%;
    background: #ffffff;
    color: #0b0b0b;
}


/* =========================================================
   CONTENT CONTAINER
   ========================================================= */

.contact-container {
    width: min(840px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 90px;
}


/* =========================================================
   PAGINA TITEL
   ========================================================= */

.contact-page-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 48px;
}


.contact-title-icon {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}


.contact-page-header h1 {
    margin: 0;
    color: #050505;
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.5px;
}


/* =========================================================
   SUCCESMELDING
   ========================================================= */

.contact-success-message {
    margin-bottom: 35px;
    padding: 15px 18px;
    border: 1px solid #179447;
    border-radius: 8px;
    background: #f3fff7;
    color: #135f31;
    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   CONTACT GRID
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}


/* =========================================================
   TITELS
   ========================================================= */

.contact-info-section h2,
.contact-form-section h2 {
    margin: 0 0 18px;
    color: #090909;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.4px;
}


/* =========================================================
   CONTACT INFO
   ========================================================= */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 42px;
}


.contact-info-section p {
    margin: 0 0 7px;
    color: #111111;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}


    .contact-info-section p:last-child {
        margin-bottom: 0;
    }


.contact-organization {
    font-weight: 800 !important;
}


.contact-info-section a {
    color: #111111;
    text-decoration: none;
}


    .contact-info-section a:hover,
    .contact-info-section a:focus {
        color: var(--red, #f20a2e);
        text-decoration: underline;
    }


/* =========================================================
   FORMULIER
   ========================================================= */

.contact-form-section {
    width: 100%;
}


.contact-form {
    width: 100%;
}


.contact-field {
    width: 100%;
    margin-bottom: 18px;
}


    .contact-field label {
        display: block;
        margin-bottom: 7px;
        color: #111111;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
    }


    /* =========================================================
   INPUTS
   ========================================================= */

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        width: 100%;
        padding: 11px 13px;
        border: 1px solid #b8b8b8;
        border-radius: 7px;
        outline: none;
        background: #ffffff;
        color: #111111;
        font-family: inherit;
        font-size: 14px;
        line-height: 1.4;
        transition: border-color .2s ease, box-shadow .2s ease;
    }


    .contact-field input,
    .contact-field select {
        min-height: 43px;
    }


    .contact-field textarea {
        display: block;
        min-height: 130px;
        resize: vertical;
    }


        .contact-field input:focus,
        .contact-field select:focus,
        .contact-field textarea:focus {
            border-color: var(--red, #f20a2e);
            box-shadow: 0 0 0 3px rgba(242, 10, 46, .10);
        }


/* =========================================================
   VALIDATIE
   ========================================================= */

.contact-validation,
.contact-validation-summary {
    color: #c80021;
    font-size: 12px;
    line-height: 1.35;
}


.contact-validation {
    display: block;
    margin-top: 5px;
}


.contact-validation-summary {
    margin-bottom: 15px;
}


    .contact-validation-summary:empty {
        display: none;
    }


/* =========================================================
   TURNSTILE
   ========================================================= */

.contact-turnstile {
    margin: 6px 0 20px;
}


/* =========================================================
   VERZENDKNOP
   ========================================================= */

.contact-submit-button {
    min-width: 105px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 2px solid var(--red, #f20a2e);
    border-radius: 11px;
    background: #ffffff;
    color: #111111;
    font-family: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}


    .contact-submit-button:hover,
    .contact-submit-button:focus {
        background: var(--red, #f20a2e);
        color: #ffffff;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .contact-container {
        width: min(760px, calc(100% - 60px));
        padding-top: 42px;
        padding-bottom: 75px;
    }


    .contact-page-header {
        margin-bottom: 42px;
    }


    .contact-title-icon {
        width: 52px;
        height: 52px;
    }


    .contact-page-header h1 {
        font-size: 44px;
    }


    .contact-grid {
        grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
        gap: 50px;
    }


    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 24px;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 767.98px) {

    .contact-container {
        width: calc(100% - 40px);
        padding-top: 35px;
        padding-bottom: 60px;
    }


    /* Titel */

    .contact-page-header {
        gap: 16px;
        margin-bottom: 38px;
    }


    .contact-title-icon {
        width: 45px;
        height: 45px;
    }


    .contact-page-header h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }


    /* Alles onder elkaar */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }


    .contact-info {
        gap: 32px;
    }


    .contact-info-section h2,
    .contact-form-section h2 {
        margin-bottom: 15px;
        font-size: 25px;
    }


    .contact-info-section p {
        font-size: 14px;
        line-height: 1.5;
    }


    /* Formulier */

    .contact-field {
        margin-bottom: 16px;
    }


        .contact-field input,
        .contact-field select,
        .contact-field textarea {
            font-size: 16px;
        }


    .contact-submit-button {
        width: 100%;
        min-height: 46px;
    }


    /*
       Turnstile kan op heel smalle schermen breder
       zijn dan de container. Hiermee voorkom je
       horizontaal scrollen.
    */
    .contact-turnstile {
        max-width: 100%;
        overflow-x: auto;
    }
}


/* =========================================================
   ZEER KLEINE SMARTPHONE
   ========================================================= */

@media (max-width: 480px) {

    .contact-container {
        width: calc(100% - 32px);
    }


    .contact-page-header h1 {
        font-size: 34px;
    }


    .contact-title-icon {
        width: 41px;
        height: 41px;
    }


    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 23px;
    }


    .contact-grid {
        gap: 40px;
    }
}
