/*
|--------------------------------------------------------------------------
| Contact - Main Section
|--------------------------------------------------------------------------
*/

.contact-section {
    min-height: 76vh;
    padding: 70px 5vw;

    color: #fff;
    background-color: #161616;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ),
        var(--contact-background-image, none);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/*
|--------------------------------------------------------------------------
| Contact - Information
|--------------------------------------------------------------------------
*/

.contact-information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.contact-information h1 {
    margin: 0 0 15px;

    color: #6cb6c3;
    font-family: "Exo", Arial, sans-serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 700;
}

.contact-information-block h2 {
    margin: 0 0 15px;

    color: #6cb6c3;
    font-family: "Exo", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.contact-information-block a {
    display: block;
    margin-bottom: 10px;

    color: #fff;
    text-decoration: none;
}

.contact-information-block a:hover {
    color: #6cb6c3;
}

.contact-information-block address {
    color: #fff;
    font-style: normal;
    line-height: 1.8;
}

/*
|--------------------------------------------------------------------------
| Contact - Form
|--------------------------------------------------------------------------
*/

.contact-form-column {
    width: 100%;
    padding: 35px;

    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 12px 14px;

    color: #222;
    background: #fff;

    border: 1px solid #ddd;
    border-radius: 5px;

    font: inherit;
}

.contact-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: 2px solid #6cb6c3;
    outline-offset: 2px;
}

.contact-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;

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

.contact-privacy input {
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-privacy a {
    color: #6cb6c3;
    text-decoration: underline;
}

.contact-submit {
    align-self: flex-start;

    padding: 12px 30px;

    color: #161616;
    background: #6cb6c3;

    border: 0;
    border-radius: 5px;

    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-submit:hover {
    background: #b5dae1;
}

.contact-form-message {
    margin-bottom: 20px;
    padding: 14px 18px;

    border: 1px solid #fff;
    border-radius: 5px;
}

.contact-form-message.is-success {
    background: rgba(20, 100, 60, 0.7);
}

.contact-form-message.is-error {
    background: rgba(130, 35, 35, 0.7);
}

.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/*
|--------------------------------------------------------------------------
| Contact - Google Maps
|--------------------------------------------------------------------------
*/

.contact-map-section {
    width: 100%;
    height: 30vw;
    min-height: 350px;
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-information {
        align-items: center;
        text-align: center;
    }

    .contact-form-column {
        max-width: 750px;
        margin: 0 auto;
    }

    .contact-map-section {
        height: 45vh;
    }
}

@media (max-width: 600px) {

    .contact-section {
        padding: 50px 20px;
    }

    .contact-form-column {
        padding: 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-map-section {
        min-height: 300px;
    }
}