/**
 * Landgoed Het Grote Zand
 * CTA / Reserveren
 *
 * Blocksy Child Theme
 * Bestand:
 * /assets/css/cta.css
 */


/* -----------------------------------------
   CTA
----------------------------------------- */

.hgz-cta {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 150px;

    margin: 0;

    overflow: hidden;

    background: #173d29;
}


/* -----------------------------------------
   Achtergrond
----------------------------------------- */

.hgz-cta__background {
    position: absolute;

    inset: 0;

    z-index: 0;
}

.hgz-cta__background img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center 55%;
}


/* -----------------------------------------
   Overlay
----------------------------------------- */

.hgz-cta__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background: rgba(8, 25, 16, 0.68);
}


/* -----------------------------------------
   Content
----------------------------------------- */

.hgz-cta__content {
    position: relative;

    z-index: 2;

    width: min(900px, calc(100% - 40px));

    padding: 28px 20px 30px;

    text-align: center;
}


/* -----------------------------------------
   Section label
----------------------------------------- */

.hgz-cta__content .hgz-section-label {
    margin: 0 0 8px;

    color: rgba(255, 255, 255, .88);

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

    letter-spacing: .1em;

    line-height: 1.4;

    text-transform: uppercase;
}


/* -----------------------------------------
   Titel
----------------------------------------- */

.hgz-cta__content h2 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

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

    line-height: 1.2;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .25);
}


/* -----------------------------------------
   Decoratieve lijn
----------------------------------------- */

.hgz-cta__line {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin: 7px 0 5px;
}

.hgz-cta__line span {
    display: block;

    width: 42px;
    height: 1px;

    background: rgba(255, 255, 255, .75);
}


/* -----------------------------------------
   Tekst
----------------------------------------- */

.hgz-cta__text {
    margin: 0 0 13px;

    color: #ffffff;

    font-size: 11px;

    line-height: 1.45;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .25);
}


/* -----------------------------------------
   Button
----------------------------------------- */

.hgz-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 34px;

    padding: 8px 20px;

    border: 1px solid #3d8a4d;

    border-radius: 4px;

    background: #3d8a4d;

    color: #ffffff;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.2;

    text-decoration: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        gap .2s ease;
}

.hgz-cta__button span {
    font-size: 15px;

    line-height: 1;
}

.hgz-cta__button:hover,
.hgz-cta__button:focus {
    background: #2f713e;

    border-color: #2f713e;

    color: #ffffff;

    gap: 11px;

    transform: translateY(-1px);
}

.hgz-cta__button:focus-visible {
    outline: 2px solid #ffffff;

    outline-offset: 3px;
}


/* -----------------------------------------
   Tablet
----------------------------------------- */

@media (max-width: 900px) {

    .hgz-cta {
        min-height: 145px;
    }

    .hgz-cta__content h2 {
        font-size: 23px;
    }

}


/* -----------------------------------------
   Mobiel
----------------------------------------- */

@media (max-width: 767px) {

    .hgz-cta {
        min-height: 190px;
    }

    .hgz-cta__content {
        width: calc(100% - 28px);

        padding: 32px 14px;
    }

    .hgz-cta__content .hgz-section-label {
        font-size: 9px;
    }

    .hgz-cta__content h2 {
        font-size: 24px;

        line-height: 1.25;
    }

    .hgz-cta__line {
        margin: 8px 0 7px;
    }

    .hgz-cta__text {
        font-size: 12px;

        line-height: 1.5;
    }

    .hgz-cta__button {
        min-height: 38px;

        padding: 9px 19px;

        font-size: 12px;
    }

}


/* -----------------------------------------
   Kleine mobiele schermen
----------------------------------------- */

@media (max-width: 400px) {

    .hgz-cta {
        min-height: 200px;
    }

    .hgz-cta__content {
        padding: 30px 10px;
    }

    .hgz-cta__content h2 {
        font-size: 22px;
    }

}
