/**
 * Pagina-blokken (ACF Flexible Content) — Goorse Wintermarkt.
 * Exacte Figma-waarden (PK-Markt landingspagina).
 *
 * @package Goor
 */

/* ==========================================================================
   Hero (brede foto + overlay + gecentreerde titel)
   ========================================================================== */
.goor-hero {
    position: relative;
    width: 100%;
    min-height: 519px;          /* Figma: 518.72px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.goor-hero__bg { position: absolute; inset: 0; }
.goor-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.goor-hero__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--goor-overlay);   /* rgba(104,104,104,0.65) — Figma */
}
.goor-hero__inner { position: relative; z-index: 2; padding: 24px; }
.goor-hero__title {
    font-family: var(--goor-font-display);
    font-weight: 400;
    font-size: var(--goor-h1);          /* 68px */
    color: var(--goor-white);
    margin: 0;
    line-height: 1.1;
}
.goor-hero__underline {
    width: 81px; height: 3px;            /* Figma: 81px lijn */
    background: var(--goor-white);
    margin: 18px auto 0;
    border: 0;
}
.goor-hero__subtitle {
    color: var(--goor-white);
    font-family: var(--goor-font-nav);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 18px 0 0;
}

/* --- Hero: titel links + zwevende foto-kaarten (Home, lichte achtergrond) --- */
.goor-hero--split {
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.goor-hero--split .goor-hero__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.45) 38%, rgba(255,255,255,0) 70%);
}
.goor-hero__split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    width: 100%;
}
.goor-hero__text { text-align: left; }
.goor-hero__eyebrow {
    font-family: var(--goor-font-nav);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--goor-terra);
    margin: 0 0 14px;
}
.goor-hero__title--split {
    color: var(--goor-terra);
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.05;
    margin: 0;
}
.goor-hero__underline--left { margin-left: 0; margin-right: 0; background: var(--goor-terra); width: 110px; }
.goor-hero__subtitle--dark { color: var(--goor-terra-dark); }

.goor-hero__cards { position: relative; display: flex; flex-direction: column; gap: 22px; }
.goor-hero__card {
    margin: 0;
    border-radius: var(--goor-radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.goor-hero__card img { width: 100%; height: auto; display: block; }
.goor-hero__card--0 { width: 66%; align-self: flex-end; }
.goor-hero__card--1 { width: 54%; align-self: flex-start; margin-top: -8px; }

@media (max-width: 900px) {
    .goor-hero--split { min-height: 0; padding-block: 60px; }
    .goor-hero__split { grid-template-columns: 1fr; gap: 32px; }
    .goor-hero__cards { flex-direction: row; }
    .goor-hero__card--0, .goor-hero__card--1 { width: 50%; align-self: auto; margin-top: 0; }
}

/* ==========================================================================
   Tekst + afbeelding ("Meld je aan voor de PK-markt")
   ========================================================================== */
.goor-textimg { padding-block: var(--goor-section-y); }
.goor-textimg__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.goor-textimg--img-left .goor-textimg__media { order: -1; }
.goor-textimg__title {
    font-family: var(--goor-font-display);
    font-weight: 400;
    font-size: var(--goor-h2);          /* 39px */
    color: var(--goor-terra);
    margin: 0 0 22px;
}
.goor-textimg__body {
    color: var(--goor-brown-text);      /* #7f6650 */
    font-size: var(--goor-fs-body);
    line-height: var(--goor-lh-body);
}
.goor-textimg__body p { margin: 0 0 1em; }
.goor-textimg__body p:last-child { margin-bottom: 0; }
.goor-textimg__cta { margin-top: 30px; }
.goor-textimg__media img {
    width: 100%;
    height: auto;
    border-radius: var(--goor-radius);   /* 10px */
    object-fit: cover;
}

/* Terracotta-variant (Figma: "Waarom doen wij dit?" / "Goede doel") */
.goor-textimg--terra { background: var(--goor-terra); }
.goor-textimg--terra .goor-textimg__title { color: var(--goor-white); }
.goor-textimg--terra .goor-textimg__body { color: rgba(255,255,255,.92); }
.goor-textimg--terra .goor-btn--terra { background: var(--goor-white); color: var(--goor-terra-dark); border-color: var(--goor-white); }
.goor-textimg--terra .goor-btn--terra:hover { background: rgba(255,255,255,.88); }

/* ==========================================================================
   Voordelen-grid (iconen)
   ========================================================================== */
.goor-voordelen { padding-block: var(--goor-section-y); }
.goor-voordelen__title { color: var(--goor-terra); font-size: var(--goor-h2); text-align: center; margin: 0 0 44px; }
.goor-voordelen__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}
.goor-voordelen__item { text-align: left; }
.goor-voordelen__icon { color: var(--goor-terra); display: inline-flex; }
.goor-voordelen__icon svg, .goor-voordelen__icon img { width: 50px; height: 50px; }
.goor-voordelen__item-title {
    font-family: var(--goor-font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--goor-text);
    margin: 18px 0 10px;
    line-height: 1.25;
}
.goor-voordelen__item-text { color: var(--goor-brown-text); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 1100px) { .goor-voordelen__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .goor-voordelen__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 460px)  { .goor-voordelen__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Donatieformulier
   ========================================================================== */
.goor-donatie { padding-block: var(--goor-section-y); background: #faf6f2; }
.goor-donatie__card {
    max-width: 1070px;
    margin-inline: auto;
    background: var(--goor-white);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.10);
    padding: 40px clamp(20px, 4vw, 64px) 48px;
}
.goor-donatie__title { color: var(--goor-terra); font-size: var(--goor-h2); text-align: center; margin: 0 0 32px; }

.goor-donatie__freq { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.goor-donatie__freq-opt {
    flex: 1 1 0; min-width: 160px; max-width: 310px;
    text-align: center; cursor: pointer;
    border: 2px solid var(--goor-terra);
    border-radius: 10px; padding: 13px 10px;
    font-family: var(--goor-font-display); font-weight: 700; color: var(--goor-terra);
    transition: background-color .18s ease, color .18s ease;
}
.goor-donatie__freq-opt input { position: absolute; opacity: 0; pointer-events: none; }
.goor-donatie__freq-opt.is-active { background: var(--goor-terra); color: #fff; }

.goor-donatie__amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.goor-donatie__amount {
    cursor: pointer; text-align: center;
    border: 2px solid #e2d5c9; border-radius: 12px;
    padding: 16px 8px 14px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    transition: border-color .18s ease, background-color .18s ease;
}
.goor-donatie__amount input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.goor-donatie__amount.is-active { border-color: var(--goor-terra); background: rgba(162,116,87,.07); }
.goor-donatie__flokken { color: #6aa3d6; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; min-height: 30px; align-items: center; }
.goor-donatie__flokken svg { width: 22px; height: 22px; }
.goor-donatie__euro { font-family: var(--goor-font-display); font-weight: 700; font-size: 22px; color: var(--goor-text); }
.goor-donatie__amount-label { font-size: 12px; color: var(--goor-text-muted); }
.goor-donatie__anders-input { width: 80px; padding: 6px 8px; border: 1px solid #e2d5c9; border-radius: 8px; text-align: center; }

.goor-donatie__sub { font-family: var(--goor-font-display); font-weight: 700; color: var(--goor-text); margin: 0 0 14px; }
.goor-donatie__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.goor-donatie__fields input { width: 100%; font-family: var(--goor-font-body); font-size: 16px; padding: 13px 16px; border: 1.5px solid #e2d5c9; border-radius: 10px; background: #fff; }
.goor-donatie__fields input:focus { outline: none; border-color: var(--goor-terra); box-shadow: 0 0 0 3px rgba(162,116,87,.15); }
.goor-donatie__hp { position: absolute; left: -9999px; }
.goor-donatie__actions { display: flex; justify-content: flex-end; }

@media (max-width: 820px) {
    .goor-donatie__amounts { grid-template-columns: repeat(3, 1fr); }
    .goor-donatie__fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .goor-donatie__amounts { grid-template-columns: repeat(2, 1fr); }
    .goor-donatie__actions { justify-content: stretch; }
    .goor-donatie__actions .goor-btn { width: 100%; }
}

/* ==========================================================================
   FAQ-accordeon (terracotta band, witte pillen)
   ========================================================================== */
.goor-faq {
    background: var(--goor-terra);       /* #a27457 — Figma */
    padding-block: 64px 72px;
}
.goor-faq__title {
    font-family: var(--goor-font-display);
    font-weight: 400;
    font-size: var(--goor-h2);          /* 39px */
    color: var(--goor-white);
    text-align: center;
    margin: 0 0 44px;
}
.goor-faq__list {
    max-width: 615px;                    /* Figma: pil-breedte 615px */
    margin-inline: auto;
    display: grid;
    gap: 30px;                           /* Figma: 95px stap − 65px hoogte = 30px */
}
.goor-faq__item {
    background: var(--goor-white);
    border-radius: var(--goor-radius);   /* 10px */
    overflow: hidden;
}
.goor-faq__q {
    width: 100%;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 65px;                    /* Figma: 65px */
    padding: 12px 24px 12px 30px;        /* Figma: tekst op x+30 */
    text-align: left;
    font-family: var(--goor-font-display);
    font-weight: 700;                    /* Comfortaa Bold */
    font-size: 15px;                     /* Figma */
    color: var(--goor-terra);
    line-height: 1.3;
}
.goor-faq__q .goor-faq__icon {
    flex: 0 0 auto;
    width: 21px; height: 21px;
    color: var(--goor-terra);
    transition: transform .25s ease;
}
.goor-faq__item.is-open .goor-faq__icon { transform: rotate(180deg); }
.goor-faq__a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
}
.goor-faq__a-inner {
    padding: 0 30px 22px;
    color: var(--goor-brown-text);
    font-family: var(--goor-font-body);
    font-size: 15px;
    line-height: 1.6;
}
.goor-faq__item.is-open .goor-faq__a { max-height: 600px; }

/* ==========================================================================
   Algemene blokken (tekst gecentreerd / brede afbeelding / formulier)
   ========================================================================== */
.goor-text-center { padding-block: var(--goor-section-y); text-align: center; }
.goor-text-center__title { color: var(--goor-terra); margin-bottom: .5em; }
.goor-text-center__body { max-width: 760px; margin-inline: auto; color: var(--goor-text); }

/* Knoppen-rij */
.goor-buttons { padding-block: var(--goor-section-y); text-align: center; }
.goor-buttons--terra { background: var(--goor-terra); color: var(--goor-white); }
.goor-buttons__title { color: var(--goor-terra); font-size: var(--goor-h2); margin: 0 0 16px; }
.goor-buttons--terra .goor-buttons__title { color: var(--goor-white); }
.goor-buttons__intro { max-width: 760px; margin: 0 auto 30px; color: var(--goor-brown-text); }
.goor-buttons--terra .goor-buttons__intro { color: var(--goor-white); }
.goor-buttons__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Fotogalerij */
.goor-gallery { padding-block: var(--goor-section-y); }
.goor-gallery__title { color: var(--goor-terra); font-size: var(--goor-h2); text-align: center; margin: 0 0 36px; }
.goor-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.goor-gallery__item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--goor-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #fff;
    padding: 16px;
    border: 1px solid rgba(0,0,0,.07);
}
.goor-gallery__item img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.goor-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 780px) { .goor-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

.goor-wide-img { padding-block: 40px; }
.goor-wide-img--bleed { padding-inline: 0; }
.goor-wide-img img { width: 100%; border-radius: var(--goor-radius); }
.goor-wide-img--bleed img { border-radius: 0; }

.goor-form { padding-block: var(--goor-section-y); }
.goor-form__title { color: var(--goor-terra); text-align: center; margin-bottom: 1em; }
.goor-form__inner { max-width: 760px; margin-inline: auto; }

/* ==========================================================================
   Ingebouwd contactformulier
   ========================================================================== */
.goor-contact { padding-block: var(--goor-section-y); }
.goor-contact__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}
.goor-contact__grid--single { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.goor-contact__title { color: var(--goor-terra); font-size: var(--goor-h2); margin: 0 0 18px; }
.goor-contact__intro { color: var(--goor-brown-text); margin-bottom: 28px; }

.goor-contact__details { display: grid; gap: 16px; margin: 0 0 26px; }
.goor-contact__details li { display: flex; align-items: center; gap: 14px; }
.goor-contact__details a { color: var(--goor-text); }
.goor-contact__details a:hover { color: var(--goor-terra); text-decoration: none; }
.goor-contact__ic {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--goor-terra);
    color: var(--goor-white);
    display: inline-flex; align-items: center; justify-content: center;
}
.goor-contact__ic svg { width: 18px; height: 18px; }
.goor-contact__social { display: flex; gap: 12px; }
.goor-contact__social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--goor-terra); }
.goor-contact__social svg { width: 32px; height: 32px; }

/* Formulier */
.goor-cform__row { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; }
.goor-cform label {
    font-family: var(--goor-font-nav);
    font-weight: 600;
    font-size: 14px;
    color: var(--goor-text);
}
.goor-cform input[type="text"],
.goor-cform input[type="email"],
.goor-cform textarea {
    width: 100%;
    font-family: var(--goor-font-body);
    font-size: 16px;
    color: var(--goor-text);
    background: #fff;
    border: 1.5px solid #e2d5c9;
    border-radius: var(--goor-radius);
    padding: 13px 16px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.goor-cform input:focus,
.goor-cform textarea:focus {
    outline: none;
    border-color: var(--goor-terra);
    box-shadow: 0 0 0 3px rgba(162,116,87,.15);
}
.goor-cform textarea { resize: vertical; min-height: 130px; }
.goor-cform__actions { margin-top: 6px; }
.goor-cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.goor-cform__success {
    background: rgba(162,116,87,.12);
    border: 1.5px solid var(--goor-terra);
    color: var(--goor-terra-dark);
    border-radius: var(--goor-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-weight: 600;
}

@media (max-width: 860px) {
    .goor-contact__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .goor-textimg__grid { grid-template-columns: 1fr; gap: 32px; }
    .goor-textimg--img-left .goor-textimg__media { order: 0; }
    .goor-hero { min-height: 360px; }
}
@media (max-width: 680px) {
    .goor-hero { min-height: 280px; }
    .goor-faq__list { gap: 18px; }
}
