@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&family=Roboto+Condensed:wght@400;700;800&display=swap');

/* ============================================================
   LOGEERHUIS KAPSTOK - STYLE.CSS
   Eenvoudig, responsive en zonder oud Joomla-framework
   ============================================================ */

/* 1. Basiskleuren en algemene opmaak — ruimere desktoplayout */
:root {
    --groen: #d6df22;
    --bruin: #603813;
    --tekst: #171717;
    --donker: #131313;
    --breedte: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--tekst);
    font: 17px/1.75 "Open Sans", Arial, sans-serif;
}
a { color: var(--bruin); text-decoration: none; }
a:hover, a:focus { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--bruin);
    outline-offset: 3px;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 {
    color: var(--bruin);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
h1 { font-size: 31px; }
h2 { font-size: 25px; }
h3 { font-size: 21px; }
.container {
    width: 100%;
    max-width: var(--breedte);
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. Header: bovenstrook met zoekfunctie */
.topstrip {
    background: linear-gradient(90deg, #fff 0 24%, var(--groen) 24% 100%);
}
.topstrip .container {
    display: grid;
    grid-template-columns: 24% 76%;
    height: 34px;
    padding: 0;
}
.searchbar {
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    margin-right: 10%;
    background: var(--bruin);
}
.searchbar button {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 20px;
    cursor: pointer;
}
.searchbar input {
    width: 185px;
    max-width: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    transition: .2s;
}
.searchbar:focus-within input,
.searchbar.open input {
    max-width: 185px;
    padding: 5px 8px;
    opacity: 1;
}

/* 3. Header: echt logo links, hoofdmenu rechts */
.mainstrip {
    background: linear-gradient(90deg, var(--groen) 0 24%, #fff 24% 100%);
}
.mainstrip .container {
    display: grid;
    grid-template-columns: 24% 76%;
    padding: 0;
}
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 3px 10px;
    background: var(--groen);
}
.brand img {
    display: block;
    width: auto;
    max-width: 225px;
    max-height: 64px;
}
/* Tekstlogo (indien aanwezig) */
.brand-name {
    color: var(--bruin);
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
}
.brand-name b { color: #fff; font-weight: 400; }
.nav-area {
    display: flex;
    align-items: center;
    min-width: 0;
    background: #fff;
}
.nav-area nav { width: 100%; min-width: 0; }
.nav-toggle { display: none; }
.mainnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    width: 100%;
    padding: 0 13px;
    margin: 0;
    list-style: none;
}

.mainnav a {
    color: var(--bruin);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}

/* Hover */
.mainnav a:hover,
.mainnav a:focus-visible {
    color: #8b9720;
    background: transparent;
}

/* Actieve menupagina */
.mainnav a[aria-current="page"] {
    color: var(--bruin);
}

/* Ook bij hover op actieve pagina */
.mainnav a[aria-current="page"]:hover {
    color: #8b9720;
}

/* 4. Fotobanners: homepage hoger dan binnenpagina's */
.hero {
    height: 128px;
    background: #fff url('../images/header-bomen.jpg') center 45% / cover no-repeat;
}
.home .hero {
    height: clamp(420px, 42vw, 650px);
    background-image: url('../images/header-logeerhuiskapstok.png');
    background-position: center center;
}

/* 5. Pagina-inhoud en homepage */
.site-content {
    min-height: 360px;
    padding: 52px 0 85px;
}
.home .site-content { padding-top: 30px; }
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(310px, .85fr);
    gap: 64px;
}
.article p {
    margin: 0 0 18px;
    font-size: 16.5px;
    line-height: 1.6;
}
.article h1 { margin: 0 0 20px; }
.article h2, .article h3 { margin-top: 25px; }
.inner-article { max-width: 1160px; }
.inner-article h1 { margin-bottom: 22px; }
.sidebar > * { margin-bottom: 28px; }
.sidebar h2 { margin: 0 0 10px; }
.sidebar .panel {
    border-bottom: 1px solid #ddd;
    padding-bottom: 22px;
}
.sidebar p { line-height: 1.65; }
.partner-logos {
    display: flex;
    gap: 16px;
    margin-top: 45px;
}
.partner-logos img {
    width: 46%;
    border: 1px solid #eee;
    padding: 15px;
    object-fit: contain;
}
.placeholder-photo {
    display: grid;
    place-content: center;
    min-height: 115px;
    padding: 28px 16px;
    background: #f4f4f4;
    border: 1px dashed #bbb;
    color: #777;
    text-align: center;
}
.sidebar .placeholder-photo { min-height: 130px; }
.cta-link {
    display: block;
    padding: 16px;
    background: var(--bruin);
    color: #fff;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}
.cta-link:hover { color: var(--groen); }
.content-note {
    padding: 14px;
    background: #fafafa;
    border-left: 4px solid var(--groen);
}

/* 6. Logo en YouTube-video in rechterkolom */
.video-section {
    width: 100%;
    margin: 25px 0;
    text-align: center;
}
.video-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}
.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ========================================
   7. FORMULIEREN - LOGEERHUIS KAPSTOK
   Speelse uitlijning zoals origineel
   ======================================== */

.kapstok-form {
    width: 100%;
    max-width: 900px;
    margin: 25px 0;
}

.kapstok-form .form-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 35px;
}

.kapstok-form .form-row label {
    flex: 0 0 auto;
    padding-top: 8px;
    color: var(--bruin);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.kapstok-form .form-row input,
.kapstok-form .form-row textarea,
.kapstok-form .form-row select {
    flex: 0 1 345px;
    width: 345px;
    max-width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--bruin);
    border-radius: 0;
    background: #fff;
    color: var(--tekst);
    font: 17px "Open Sans", Arial, sans-serif;
}

.kapstok-form .form-row input {
    min-height: 50px;
}

.kapstok-form .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.formulier-titel {
    color: var(--groen);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.formulier-intro,
.formulier-melding {
    font-family: "Roboto Condensed", Arial, sans-serif;
    color: var(--bruin);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.kapstok-form .form-action {
    margin-left: 0;
}

.kapstok-form .btn-kapstok {
    padding: 12px 17px;
    background: var(--bruin);
    border: 0;
    color: var(--groen);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.kapstok-form .btn-kapstok:hover {
    background: #44270c;
}

/* Mobiele weergave */
@media (max-width: 1020px) {

    .kapstok-form .form-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 25px;
    }

    .kapstok-form .form-row label {
        font-size: 20px;
        padding-top: 0;
    }

    .kapstok-form .form-row input,
    .kapstok-form .form-row textarea,
    .kapstok-form .form-row select {
        flex: 0 1 auto;
        width: 100%;
        font-size: 18px;
    }

    .formulier-intro,
    .formulier-melding {
        font-size: 19px;
    }

    .kapstok-form .btn-kapstok {
        font-size: 21px;
    }
}


/* 8. Footer */
.footer { background: var(--donker); color: #969696; }
.footer a { color: #999; }
.footer a:hover { color: var(--groen); }
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 50px;
    padding-top: 32px;
    padding-bottom: 40px;
    position: relative;
}
.footer h2 {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.footer p { margin: 0 0 12px; font-size: 14px; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer li { margin: 4px 0; font-size: 14px; }
.footer li::before { content: '▪'; color: #999; margin-right: 9px; font-size: 10px; }
.footer .tel {
    color: var(--groen);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}
.footer .mail { font-size: 12px; }
.footer input[type="email"] {
    width: 100%;
    max-width: 220px;
    padding: 8px;
    margin-bottom: 8px;
    border: 0;
}
.footer .submit {
    padding: 8px 13px;
    background: var(--groen);
    color: #fff;
    border: 0;
    font-weight: bold;
}
.anbi {
    margin-top: 24px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.1;
}
.backtotop {
    position: absolute;
    top: 11px;
    right: 20px;
    color: #fff !important;
    font-size: 11px;
    text-transform: uppercase;
}
.copyright { background: #0a0a0a; font-size: 11px; padding: 15px 0; }
.copyright p { margin: 0; }

/* 9. Specifieke paginatitel Haak aan */
.haak-aan-title {
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--bruin);
}

/* 10. Kleinere laptops: menu passend houden */
@media (max-width: 1180px) {
    .mainnav { gap: 8px; padding: 0 10px; }
    .mainnav a { font-size: 16px; }
    .brand img { max-width: 190px; }
    .content-layout { gap: 36px; }
}

/* 11. Tablet en mobiel: layout en leesbaarheid */
@media (max-width: 1020px) {
    /* Header / mobiel menu */
    .topstrip { background: var(--bruin); }
    .topstrip .container { height: 36px; display: block; }
    .topstrip .spacer-left { display: none; }
    .searchbar { height: 36px; margin: 0; padding-right: 15px; }
    .mainstrip { background: var(--groen); }
    .mainstrip .container { display: block; }
    .brand { min-height: 70px; justify-content: flex-start; }
    .brand img { max-width: 185px; }
    .nav-area { display: block; }
    .nav-toggle {
        display: block;
        width: 100%;
        padding: 12px 18px;
        background: #fff;
        border: 0;
        color: var(--bruin);
        font: 700 18px/1.4 "Roboto Condensed", Arial, sans-serif;
        text-align: left;
        cursor: pointer;
    }
    .mainnav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 3px 18px 15px;
    }
    .mainnav.is-open { display: flex; }
    .mainnav li { border-top: 1px solid #eee; }
    .mainnav a { display: block; font-size: 18px; padding: 10px 0; }

    /* Fotobanners / kolommen */
    .hero { height: 100px; }
    .home .hero { height: clamp(220px, 40vw, 340px); }
    .site-content { padding: 32px 0 55px; }
    .content-layout { display: block; }
    .sidebar { margin-top: 40px; }

    /* Dezelfde prettige tekstgrootte in álle contentonderdelen */
    body { font-size: 19px; line-height: 1.8; }
    .site-content p,
    .site-content li,
    .site-content dd,
    .site-content dt,
    .site-content blockquote,
    .content-note,
    .sidebar,
    .sidebar a {
        font-size: 19px;
        line-height: 1.8;
    }
    h1 { font-size: 32px; }
    h2 { font-size: 27px; }
    h3 { font-size: 23px; }
    .haak-aan-title { font-size: 36px; }
    .cta-link { font-size: 19px; }

    /* Footer: alle varianten van tekst en links */
    .footer { font-size: 18px; line-height: 1.75; }
    .footer p,
    .footer li,
    .footer li a,
    .footer .mail,
    .footer .mail a,
    .footer label,
    .footer input,
    .footer .submit {
        font-size: 18px;
        line-height: 1.75;
    }
    .footer h2 { font-size: 20px; line-height: 1.4; }
    .footer .tel,
    .footer .tel a { font-size: 25px; line-height: 1.3; }
    .footer .backtotop { font-size: 14px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-inner > section:last-of-type { grid-column: 1 / -1; }
    .copyright, .copyright p, .copyright a { font-size: 14px; }

    /* Formulieren: labels en velden goed leesbaar */
    .form-row label { font-size: 16px; }
    .form-row input,
    .form-row textarea,
    .form-row select { font-size: 17px; }
    .btn-kapstok { font-size: 17px; }
}

/* 12. Kleine telefoons: alleen indeling aanpassen, niet tekst verkleinen */
@media (max-width: 460px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .home .hero { height: 200px; }
    .brand img { max-width: 175px; }
    .site-content { min-height: 280px; }
    .partner-logos { gap: 10px; flex-wrap: wrap; }
    .partner-logos img { width: calc(50% - 5px); }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-inner > section:last-of-type { grid-column: auto; }
}

/* ==========================================
   VRIEND WORDEN - FORMULIER
   ========================================== */

.vriend-aanmelden {
    width: 100%;
    max-width: 950px;
    margin: 30px 0 50px;
}

.vriend-form {
    width: 100%;
    max-width: 850px;
}

/* Labels links en velden rechts */
.vriend-form .form-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 25px;
}

.vriend-form .form-row > .form-label {
    padding-top: 8px;
    color: var(--bruin);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Keuzevelden */
.vriend-form .form-control {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 10px;
}

/* Radiobutton + tekst naast elkaar */
.vriend-form .form-control .keuze {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    padding: 0;
    margin: 0;
    color: var(--tekst);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
}

/* Radiobuttons niet laten uitrekken */
.vriend-form .form-control .keuze input[type="radio"] {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-height: 0;
    max-width: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    accent-color: var(--bruin);
}

/* Gewone invoervelden */
.vriend-form .form-control > input {
    display: block;
    flex: none;
    width: 100%;
    max-width: 350px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #bba99d;
    background: #fff;
    color: var(--tekst);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
}

/* Bedrag nog niet beschikbaar */
.vriend-form .form-control > input:disabled {
    background: #f3f3f3;
    cursor: not-allowed;
}

/* Betaalinformatie */
.betaal-informatie {
    margin: 25px 0 35px;
    font-size: 16px;
    line-height: 1.7;
}

/* Verzendknop */
.vriend-form .form-action {
    margin-left: 220px;
}

/* Mobiel */
@media (max-width: 1020px) {

    .vriend-form .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 25px;
    }

    .vriend-form .form-row > .form-label {
        font-size: 20px;
        padding-top: 0;
    }

    .vriend-form .form-control .keuze {
        font-size: 18px;
    }

    .vriend-form .form-control > input {
        max-width: 100%;
        font-size: 18px;
    }

    .vriend-form .form-action {
        margin-left: 0;
    }

    .betaal-informatie {
        font-size: 18px;
    }
}


/* ========================================
   GASTEN - AANVRAAGFORMULIER
   ======================================== */

.gasten-aanmelden {
    max-width: 900px;
    margin: 35px 0 50px;
}

.gasten-form {
    width: 100%;
    max-width: 800px;
}

.gasten-form .form-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    margin-bottom: 25px;
}

.gasten-form .form-row label {
    padding-top: 10px;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--bruin);
    text-transform: uppercase;
    line-height: 1.3;
}

.gasten-form .form-row > input,
.gasten-form .form-row textarea {
    width: 100%;
    max-width: 440px;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #bba99d;
    background: #fff;
    color: var(--tekst);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
}

.gasten-form .form-row textarea {
    min-height: 140px;
    resize: vertical;
}

.gasten-invoer {
    min-width: 0;
}

.gasten-invoer small {
    display: block;
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.gasten-form .form-action {
    margin-left: 250px;
}

.gasten-toelichting {
    margin-top: 45px;
    font-size: 16px;
}

/* Mobiele weergave */
@media (max-width: 1020px) {
    .gasten-form .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 24px;
    }

    .gasten-form .form-row label {
        padding-top: 0;
        font-size: 20px;
    }

    .gasten-form .form-row > input,
    .gasten-form .form-row textarea {
        max-width: 100%;
        font-size: 18px;
    }

    .gasten-form .form-action {
        margin-left: 0;
    }

    .gasten-toelichting {
        font-size: 18px;
    }
}