/* =============================================================================
   De Polderhaan - "De omgeving" page stylesheet
   =============================================================================
   Reuses the hero-split pattern, centered intro tagline, and the .split-block
   (two-column dark-brown-grey sections with image + text). Ten split-blocks
   alternate left/right on this page.
   ============================================================================= */


/* =============================================================================
   1. HERO - split variant (matches de-polderhaan / faciliteiten-tarieven)
   ============================================================================= */
.hero--split {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    color: var(--color-white);
    padding: calc(var(--header-height) + var(--space-lg))
             var(--space-xl)
             var(--space-xl);
    overflow: hidden;
}

.hero--split .hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero--split .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.hero--split .hero__content {
    position: relative;
    z-index: 1;
    align-self: start;
    text-align: left;
    padding-left: var(--space-xl);
    padding-top: var(--space-lg);
    order: 1;
}

.hero--split .hero__title {
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    color: var(--color-white);
}

.hero__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(44, 44, 44, 0.9);
    color: var(--color-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 760px;
    justify-self: end;
    align-self: end;
    order: 2;
    margin-bottom: 0;
}
.hero__card .btn {
    align-self: flex-end;
}
.hero__card-heading {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--color-white);
    margin: 0 0 var(--space-xs) 0;
}
.hero__card-body {
    margin: 0 0 var(--space-md) 0;
    line-height: 1.5;
}


/* =============================================================================
   2. INTRO - centered italic tagline, dark foreground on white
   ============================================================================= */
.intro {
    padding: var(--space-xxl) 0;
    text-align: center;
    background: var(--color-white);
}
.intro__heading {
    color: var(--color-dark-bg);
    font-size: var(--fs-h1);
    margin: 0;
}


/* =============================================================================
   3. SPLIT BLOCK - two-column dark section with image + text
   ============================================================================= */
.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-dark-bg);
    color: var(--color-white);
    min-height: 480px;
}

.split-block__text {
    padding: var(--space-xxl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-block__image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.split-block__heading {
    color: var(--color-orange);
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
}

.split-block__body {
    max-width: 560px;
    margin-bottom: var(--space-md);
}

.split-block__text .btn {
    align-self: flex-start;
    margin-top: var(--space-md);
}

/* Reverse variant: image column first, text column second. */
.split-block--reverse .split-block__image {
    order: -1;
}


/* =============================================================================
   4. RESPONSIVE
   ============================================================================= */
@media (max-width: 960px) {
    .hero--split {
        grid-template-columns: 1fr;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    .hero--split .hero__content {
        padding-left: 0;
        text-align: center;
        order: 0;
    }
    .hero__card {
        justify-self: stretch;
        max-width: 100%;
        order: 0;
    }

    .split-block {
        grid-template-columns: 1fr;
    }
    .split-block__image {
        order: -1;
    }
}

@media (max-width: 560px) {
    .hero__card {
        padding: var(--space-lg);
    }
    .split-block__text {
        padding: var(--space-xl) var(--space-lg);
    }
}
