@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Pacifico&display=swap');

:root {
    --blue: #082b58;
    --pink: #b73762;
    --dark-pink: #86233f;
    --cream: #f8f0e8;
    --paper: #fff9f2;
    --sand: #ead8c9;
    --text: #16233a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(183,55,98,.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(8,43,88,.10), transparent 35%),
        var(--cream);
    color: var(--text);
    border-top: 10px solid var(--dark-pink);
}

img {
    max-width: 100%;
}

.hero {
    padding: 26px 18px 10px;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr) 245px;
    gap: 26px;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.small-label {
    display: inline-block;
    margin: 0 0 4px;
    padding: 7px 16px;
    color: var(--pink);
    font-weight: 800;
    border-radius: 999px;
    background: rgba(183,55,98,.10);
}

h1 {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -2px;
}

h1 span,
.script-line,
.signature {
    font-family: Pacifico, cursive;
    color: var(--pink);
    font-weight: 400;
}

h1 span {
    font-size: .72em;
}

.intro-card,
.progress-card,
.card {
    background: rgba(255,249,242,.90);
    border: 1px solid rgba(134,35,63,.12);
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(8,43,88,.10);
}

.intro-card {
    padding: 24px;
}

.intro-card p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.65;
    margin: 0 0 12px;
}

.intro-card strong,
.news-card strong {
    color: var(--pink);
}

.script-line {
    font-size: clamp(1.45rem, 3.2vw, 2.6rem) !important;
    line-height: 1.25 !important;
}

.progress-card {
    margin-top: 20px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.progress-card::before {
    content: "";
    position: absolute;
    inset: auto 8% 86px 8%;
    height: 78px;
    background: var(--sand);
    opacity: .78;
    border-radius: 55% 45% 55% 45%;
    z-index: 0;
}

.progress-card > * {
    position: relative;
    z-index: 1;
}

.progress-card h2 {
    color: var(--blue);
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    line-height: 1.18;
    margin: 0 0 18px;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.amount-row strong {
    color: var(--pink);
    font-size: 1.7rem;
}

.progress-bar {
    height: 18px;
    border-radius: 999px;
    background: rgba(8,43,88,.12);
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pink), var(--blue));
}

.target {
    margin: 8px 0 18px;
    font-weight: 700;
}

.donate-box {
    background: var(--blue);
    color: white;
    border-radius: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 135px auto;
    gap: 16px;
    align-items: center;
    text-align: left;
}

.donate-box p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.78);
}

.donate-box img {
    width: 135px;
    background: white;
    padding: 8px;
    border-radius: 12px;
}

.button,
button {
    display: inline-block;
    background: var(--pink);
    color: white;
    border: 0;
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

.photo-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.photo-stack img {
    aspect-ratio: 1 / .68;
    object-fit: cover;
    border-radius: 999px;
    border: 9px solid rgba(255,255,255,.75);
    box-shadow: 0 15px 35px rgba(8,43,88,.15);
}

.photo-stack .portrait {
    aspect-ratio: .72 / 1;
}
/* Fijnafstelling foto's */
.photo-stack .janna-photo {
    object-position: center 35%;
}

.photo-stack .zorg-photo {
    width: 230px;
    aspect-ratio: 1 / .65;
    object-position: center top;
}

.photo-stack.right .zorg-photo {
    align-self: center;
}


.info-section,
.reaction-section {
    max-width: 1180px;
    margin: 26px auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    padding: 26px;
}

.card h2 {
    color: var(--blue);
    font-size: 1.75rem;
    margin: 0 0 12px;
}

.site-link {
    color: var(--pink);
    font-size: clamp(1.3rem, 3vw, 2.1rem);
    font-weight: 800;
    word-break: break-word;
}

.signature {
    font-size: 1.9rem;
    line-height: 1.4;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-weight: 800;
    color: var(--blue);
}

label small {
    display: block;
    font-weight: 400;
    color: #666;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(8,43,88,.18);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: white;
}

textarea {
    resize: vertical;
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
}

.checkbox input {
    width: auto;
}

.notice,
.error {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}

.notice {
    background: #e8f7ec;
    color: #1b7032;
}

.error {
    background: #ffe5e5;
    color: #9b1c3d;
}

.reaction {
    border-left: 5px solid var(--pink);
    background: white;
    padding: 17px;
    border-radius: 16px;
    margin-top: 14px;
}

.reaction h3 {
    margin: 0 0 8px;
    color: var(--blue);
}

.reaction p {
    line-height: 1.55;
}

.donation-pill {
    display: inline-block;
    background: rgba(183,55,98,.12);
    color: var(--pink);
    padding: 6px 11px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 8px;
}

.reaction small {
    display: block;
    color: #777;
}

footer {
    text-align: center;
    padding: 28px 18px 36px;
    color: var(--pink);
    font-weight: 800;
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .photo-stack {
        flex-direction: row;
        justify-content: center;
        order: 2;
    }

    .photo-stack.right {
        order: 3;
    }

    .photo-stack img {
        width: min(42vw, 220px);
    }

    .photo-stack .janna-photo {
        object-position: center 28%;
    }

    .photo-stack .zorg-photo {
        width: min(42vw, 220px);
        aspect-ratio: 1 / .75;
        object-position: center top;
    }

    .info-section,
    .reaction-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    body {
        border-top-width: 7px;
    }

    .hero {
        padding: 18px 10px 4px;
    }

    h1 {
        letter-spacing: -1px;
    }

    .intro-card,
    .progress-card,
    .card {
        border-radius: 20px;
        padding: 18px;
    }

    .donate-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .amount-row {
        flex-direction: column;
        align-items: center;
    }

    .photo-stack {
        gap: 10px;
    }

    .photo-stack img {
        width: 44vw;
        height: 112px;
        border-width: 5px;
        object-fit: cover;
    }

    .photo-stack .janna-photo {
        object-position: center 22%;
    }

    .photo-stack .zorg-photo {
        height: 112px;
        object-position: center top;
    }

    .photo-stack .portrait {
        height: 220px;
        object-position: center top;
    }

    .info-section,
    .reaction-section {
        padding: 0 10px;
        gap: 14px;
    }
}

.video-section {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 18px;
}

.video-card {
    background: rgba(255,249,242,.9);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(8,43,88,.12);
    text-align: center;
}

.video-card h2 {
    color: var(--blue);
    margin-bottom: 15px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.update-note {
    font-size: 0.85rem;
    color: rgba(8,43,88,.6);
    margin-top: 6px;
    font-style: italic;
}

.update-timestamp {
    font-size: 0.8rem;
    color: rgba(8,43,88,.5);
    margin: -4px 0 10px;
    font-style: italic;
}


/* =========================================
   BEDRIJFSLOGO'S / SPONSORS
   ========================================= */

/* Container van de hele sectie */
.sponsor-section {
    max-width: 1180px;
    margin: 26px auto;
    padding: 0 18px;
}

/* Card styling */
.sponsor-card {
    text-align: center;
}

/* Tekst boven de logo's */
.sponsor-card p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Roze hartje */
.heart {
    color: var(--pink);
    font-size: 1.15em;
    display: inline-block;
    transform: translateY(1px);
}

/* Grid van logo's */
.logo-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

/* Individueel logo blok */
.logo-item {
    height: 140px; /* vaste hoogte → alles schaalt mooi */
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(8,43,88,.10);
    border-radius: 18px;
    padding: 16px;

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

    box-shadow: 0 8px 22px rgba(8,43,88,.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect (optioneel maar mooi) */
.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(8,43,88,.12);
}

/* Klikbaar maken */
.logo-item a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* Logo afbeelding */
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Geen logo's fallback */
.logo-empty {
    margin-top: 18px;
    font-style: italic;
    color: rgba(8,43,88,.62);
}


/* =========================================
   REACTIES SCROLLBAR
   ========================================= */

.reactions {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 12px;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(183, 55, 98, 0.5) transparent;
}

/* Chrome / Edge / Safari */
.reactions::-webkit-scrollbar {
    width: 6px;
}

.reactions::-webkit-scrollbar-thumb {
    background: rgba(183, 55, 98, 0.5);
    border-radius: 10px;
}


/* =========================================
   MOBILE FIXES
   ========================================= */

@media (max-width: 650px) {

    /* Iets compacter maar nog goed zichtbaar */
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Belangrijk: vaste hoogte behouden */
    .logo-item {
        height: 110px;
        padding: 10px;
        border-radius: 15px;
    }

    /* Logo volledig laten vullen */
    .logo-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .sponsor-section {
        padding: 0 10px;
    }
}

.news-card{
    background:#f6f0eb;
    border:2px solid #c24671;
    border-radius:24px;
    padding:24px;
    margin:24px 0;
}

.news-card h2{
    margin-top:0;
}

.highlight-line{
    font-weight:700;
    text-align:center;
    font-size:1.1rem;
}
.news-card h2 {
    font-family: Pacifico, cursive;
    color: var(--pink);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin: 0 0 20px;
}

.news-card p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.65;
    margin: 0 0 12px;
}