/* ================================================
   Homepage hero — fullscreen video met groene fallback,
   gecentreerde content en zoekbalk-overlay
   ================================================ */
.home-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--color-primary, #00532D);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 140px 24px 32px;
    box-sizing: border-box;
}

.hero-scroll-cue {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 15px;
    text-decoration: none !important;
    animation: heroScrollBounce 2s ease-in-out infinite;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-scroll-cue:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}
@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

.home-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background-color: var(--color-primary, #00532D);
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

/* content + zoekbalk vormen samen één gecentreerde groep, zoekbalk zit direct onder de content */

.hero-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-cta, #C9A96E);
}

.hero-rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--color-cta, #C9A96E);
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 39px;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 22px;
}

.hero-subtext {
    font-family: var(--font-sans);

    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto;
}

/* ================================================
   Zoekbalk-overlay
   ================================================ */
.home-hero-search {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin-top: 40px;
}

.home-hero-search form {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.hero-search-field {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    min-width: 0;
}

.hero-search-field-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 2px;
}

.hero-search-field input,
.hero-search-field select {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.hero-search-field input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.hero-search-field input:disabled,
.hero-search-field select:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.hero-search-field select option {
    color: #2C3B2A;
}

/* ================================================
   Custom dropdown (vervangt de native <select>) — opent boven de zoekbalk
   ================================================ */
.hero-dropdown {
    position: relative;
}

.hero-dropdown-trigger {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.hero-dropdown-trigger:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

/* position:fixed + JS-berekende top/left/width (zie custom.js): de zoekbalk zelf heeft
   overflow:hidden voor haar eigen afgeronde hoeken, wat een absoluut/relatief gepositioneerd
   menu dat erboven uitsteekt zou afsnijden — fixed positionering omzeilt dat volledig. */
.hero-dropdown-menu {
    position: fixed;
    z-index: 1000;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    display: none;
}

.hero-dropdown-menu.is-open {
    display: block;
}

.hero-dropdown-option {
    padding: 5px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.hero-dropdown-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-dropdown-option.is-all {
    color: var(--color-cta, #C9A96E);
}

.hero-search-btn {
    flex: 0 0 auto;
    width: 72px;
    border: 0;
    background: var(--color-primary-dark, #C9A96E);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.hero-search-btn:hover {
    background: var(--color-cta-hover, #B8935A);
}

/* Vierkante zoek-toggle voor smalle schermen — enkel zichtbaar via de 767px-mediaquery */
.hero-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 16px;
    bottom: 24px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 4px;
    background: var(--color-primary-dark, #C9A96E);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.hero-search-toggle:hover {
    background: var(--color-cta-hover, #B8935A);
}

/* verborgen disclaimer — voorlopig niet tonen, bewust bewaard voor latere activatie */
.home-hero-disclaimer {
    display: none;
}

/* ================================================
   Responsief
   ================================================ */
@media (max-width: 991px) {
    .hero-headline {
        font-size: 35px;
    }

    .home-hero-search form {
        flex-wrap: wrap;
    }

    .hero-search-field {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-search-btn {
        width: 100%;
        line-height: 2;
    }

    .hero-dropdown-menu {
        background: var(--color-primary-dark, #003d21);
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: 100vh;
        padding: 120px 16px 80px;
    }

    .hero-kicker {
        font-size: 11px;
        gap: 10px;
    }

    .hero-headline {
        font-size: 30px;
    }

    .hero-subtext {
        font-size: 15px;
    }

    .home-hero-search {
        margin-top: 32px;
        display: none;
    }
    .home-hero-search.is-open {
        display: block;
    }

    .hero-search-field {
        flex: 1 1 100%;
        border-right: 0;
    }

    .hero-search-toggle {
        display: flex;
    }
}
