@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&family=Nunito:wght@400;600&display=swap");

/* Hero section*/

:root {
    --kleur-donkerpaars: #3f366d;
    --kleur-oranje: #de986c;
    --kleur-lichtbeige: #e2d5d0;
    --kleur-wit: #ffffff;
    --kleur-lichtpaars: #928ab3;
    --kleur-grijslicht: #f5f5f5;
    --kleur-bruin: #bd815f;
}

.visueel-verborgen {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


body {
    font-family: "Nunito", sans-serif;
    background-color: var(--kleur-grijslicht);
    color: var(--kleur-donkerpaars);
}

main>section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-family: "Baloo 2", sans-serif;
    color: var(--kleur-donkerpaars);
}

header {
    background-color: var(--kleur-oranje);
    padding: 0.5rem 0;
    position: relative;
    z-index: 5;
    border-bottom: 8px solid var(--kleur-donkerpaars);
}

#intro {
    max-width: 100%;
    margin: 0;
    padding: 0 0 4.5rem;
    background-color: var(--kleur-wit);
    background-image: url("assets/images/hero_bos.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    position: relative;
    border-bottom: 8px solid var(--kleur-donkerpaars);
}




#intro .intro-opmaak {
    padding: 3rem 1.5rem 4rem;
}

.intro-opmaak {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-afbeelding img {
    position: relative;
    z-index: 20;
    pointer-events: none;
}

#intro-titel {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

#intro-titel span {
    display: block;
    font-size: 3rem;
    letter-spacing: 0.05em;
}

.intro-kleine-tekst {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.intro-tekst {
    margin-bottom: 1.5rem;
}


.primaire-knop {
    z-index: 9;
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    background-color: var(--kleur-donkerpaars);
    color: var(--kleur-wit);
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--kleur-donkerpaars);
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(63, 54, 109, 0.6);

}

.primaire-knop:hover,
.primaire-knop:focus-visible {
    background-color: var(--kleur-lichtpaars);
    box-shadow: 0 4px 0 rgba(63, 54, 109, 0.4);
}



.kop-inhoud {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
    height: 45px;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--kleur-donkerpaars);
    text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
    text-decoration: underline;
}


.menu-knop {
    background-color: var(--kleur-donkerpaars);
    color: var(--kleur-wit);
    padding: 0.4rem 1.3rem;
    border-radius: 100px;
    border: none;
    font-weight: 600;
}

.menu-knop:hover,
.menu-knop:focus-visible {
    background-color: var(--kleur-lichtpaars);
}

@media (min-width: 900px) {

    .intro-opmaak {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }

    #intro article {
        flex: 0 0 40%;
        max-width: 430px;
        margin-left: -42rem;
    }

    .intro-afbeelding {
        flex: 0 0 60%;
        display: flex;
        justify-content: flex-end;
    }

    .intro-afbeelding img {
        max-width: 740px;
        margin-top: -495px;
        margin-bottom: -50px;
        padding-left: 360px;
    }

    nav ul {
        gap: 5.4rem;
    }

    nav li:first-child {
        margin-right: 19rem;
    }
    
}


/* Jouw nieuwe favoriete koekje */

#favoriete-koekje {
    max-width: 100%;
    margin: 0;

    padding: 5rem 0 1rem;

    background-color: var(--kleur-lichtbeige);
    background-image: url("assets/images/slinger.png");
    background-repeat: no-repeat;

    background-position: center calc(100% - -10px);

    background-size: 140% auto;
    position: relative;
    z-index: 1;
}

#favoriete-koekje::before {
    content: "";
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--kleur-oranje);
    border-top: 8px solid var(--kleur-donkerpaars);
    border-bottom: 8px solid var(--kleur-donkerpaars);
    z-index: 3;
}

#favoriete-koekje .sectie-opmaak {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.koek-figuur {
    margin: 0;
    position: relative;
    z-index: 2;
    margin-top: 200px;
    margin-left: 18px;
    
}

#favoriete-titel {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

#favoriete-koekje article p + p {
    margin-top: 0.5rem;
}

.koek-figuur img {
    display: block;
    height: auto;
    margin-top: -80px;
}

@media (min-width: 900px) {
    .intro-opmaak {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }

    #intro article {
        flex: 0 0 40%;
        max-width: 430px;
        margin-left: -42rem;
    }

    .intro-afbeelding {
        flex: 0 0 60%;
        display: flex;
        justify-content: flex-end;
    }

    .intro-afbeelding img {
        max-width: 740px;
        margin-top: -495px;
        margin-bottom: -50px;
        padding-left: 360px;
    }

    nav ul {
        gap: 5.4rem;
    }

    nav li:first-child {
        margin-right: 19rem;
    }

#favoriete-koekje .sectie-opmaak {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 3rem 1.5rem 4rem;
}

.koek-figuur {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-start;
}

.koek-figuur img {
    max-width: 520;   
    max-height: 520px;
    margin-top: -590px;
    margin-left: -1rem;
}


#favoriete-koekje article {
    flex: 0 0 55%;
    max-width: 260px;
    text-align: left;
    margin-top: 0rem;
    margin-left: 7rem;
    margin-bottom: 220px;
}

#favoriete-titel {
    text-align: left;
}
}

/* Waarom kiezen voor onze koekjes */

#waarom {
    max-width: 100%;
    margin: 0;
    padding: 4rem 0 4rem;
    background-color: var(--kleur-oranje);
    border-bottom: 8px solid var(--kleur-donkerpaars);
}


#waarom > header {
    margin: 0;
    border: none;
    text-align: center;
    margin-bottom: 3rem;
}

#waarom h2 {
    margin-top: 0;
    font-family: "Baloo 2", sans-serif;
    font-size: 2.2rem;
    margin: 0;
    color: var(--kleur-donkerpaars);
}

.icon-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
}


.icon-kaart {
    background-color: var(--kleur-lichtbeige);
    border-radius: 12px;
    padding: 4.5rem 2rem 2.6rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    text-align: center;
    position: relative;
    overflow: visible;
}


.icon-kaart img {
    width: 80px;
    height: 80px;
    object-fit: contain;

    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-kaart p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--kleur-donkerpaars);
    text-align: center;
    margin: 0;
}


@media (min-width: 900px) {
    .icon-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    #waarom h2 {
        font-family: "Baloo 2", sans-serif;
        font-size: 2.1rem;
        text-align: center;
        margin: 0 0 2rem;
    }
}




/* Extra plezier op de doos */

#extra-doos {
    max-width: 100%;
    margin: 0;
    padding: 3.5rem 0 2rem;
    background-color: var(--kleur-lichtbeige);
    
    background-image: url("assets/images/slinger.png");
    background-repeat: no-repeat;
    background-position: center calc(100% - -10px);
    background-size: 140% auto;

    position: relative;
    z-index: 1;
}

#extra-doos .extra-opmaak {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3rem; 
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.extra-beeld {
    margin: 0;
}

.extra-beeld img {
    max-width: 340px;
    height: auto;
}


#extra-titel {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    line-height: 1.1;
}


#extra-doos article p + p {
    margin-top: 0.7rem;
}


@media (min-width: 900px) {

    #extra-doos .extra-opmaak {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
        padding: 4rem 1.5rem 15rem;
    }

    .extra-beeld {
        flex: 0 0 40%;
        display: flex;
        justify-content: center;
    }

    .extra-beeld img {
        max-width: 340px;
        height: auto;
    }

    .extra-tekst {
        flex: 0 0 60%;
        max-width: 480px;
        text-align: left;
        margin-top: 50px;
    }

    #extra-titel {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}


/* Waar koekjes tot leven komen */

#leven {
    max-width: 100%;
    margin: 0;
    padding: 4rem 0 4rem;
    background-color: var(--kleur-oranje);
    border-bottom: 8px solid var(--kleur-donkerpaars);
}

#leven .leven-opmaak {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 2rem; 
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#leven article {
    text-align: left;
}

#leven h2 {
    font-family: "Baloo 2", sans-serif;
    font-size: 2rem;
    margin: 0 0 1rem;
}

#leven article p + p {
    margin-top: 0.7rem;
    
}

.leven-beeld img {
    display: block;
    max-width: 520px;
    width: 80%;
    height: auto;
}

@media (min-width: 900px) {
    #leven .leven-opmaak {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        padding: 2rem 1.5rem 2rem;
    }

    #leven article {
        flex: 0 0 50%;
        max-width: 520px;
        margin-top: 30px;
    }

    .leven-beeld {
        flex: 0 0 50%;
        display: flex;
        justify-content: flex-end;
    }

    .leven-beeld img {
        max-width: 540px;
        margin-top: -30px;
    }
}



/* Contact + smaken */

#smaken {
    max-width: 100%;
    margin: 0;
}

.smaken-opmaak {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 0;
}

#smaken header {
    background: none;
    padding: 0;
    margin-bottom: 2rem;
    border: none;
}

#smaken h2 {
    font-family: "Baloo 2", sans-serif;
    font-size: 2.1rem;
    margin: 0 0 0.5rem;
    text-align: right;
}

.smaken-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: flex-start;
}

.smaak-kaart {
    position: relative;
    width: 130px;
    height: 230px;
    background-image: url("assets/images/gameboy.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.smaak-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-decoration: none;
    color: var(--kleur-donkerpaars);
    padding-top: 40px;
}

.smaak-naam {
    font-size: 1rem;
    font-weight: 200;
    text-align: center;
    max-width: 60%;
    min-height: 1rem;
    
    margin-top: -14px;
}

.smaak-afbeelding {
    width: 60%;
    aspect-ratio: 6 / 4;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-top: 10px;
}

.smaak-kaart:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.25);
}

#contact {
    max-width: 100%;
    margin: 0;
    padding: 4rem 0 15rem;

    background-color: var(--kleur-lichtbeige);
    background-image: url("assets/images/slinger.png");
    background-repeat: no-repeat;
    background-position: center calc(100% - -10px);
    background-size: 140% auto;
}

#contact .twee-kolommen {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 900px) {
    #contact .twee-kolommen {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    #contact section[aria-labelledby="nieuwsbrief-titel"] {
        flex: 0 0 40%;
    }

    #smaken {
        flex: 0 0 60%;
    }
}

.nieuwsbrief-formulier {
    max-width: 360px;
}

.nieuwsbrief-formulier fieldset {
    border: 0;
    padding:0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
}

.nieuwsbrief-formulier label {
    display: block;
    font-weight: 600;
    margin-top: 0.25rem;
}

.nieuwsbrief-formulier input[type="text"],
.nieuwsbrief-formulier input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}

.selectievak-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#nieuwsbrief-titel {
    font-family: "Baloo 2", sans-serif;
    font-size: 2.1rem;
    margin: 0 0 0.75rem;
}

#contact section[aria-labelledby="nieuwsbrief-titel"] {
    margin-top: 3rem;
}


/* footer */

#site-footer {
    background-color: var(--kleur-oranje);
    color: var(--kleur-donkerpaars);
}

.footer-opmaak {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-kolom p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.footer-logo {
    display: block;
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

#site-footer a {
    color: var(--kleur-donkerpaars);
    text-decoration: none;
    font-weight: 600;
}

#site-footer a:hover,
#site-footer a:focus-visible {
    text-decoration: underline;
}

.footer-disclaimer,
.footer-copy {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 0.75rem;
    font-size: 0.75rem;
}

.footer-disclaimer {
    text-align: left;
    margin-top: 0;
}

.footer-copy {
    text-align: right;
    margin-top: -20px;
    padding-bottom: 40px;
}

@media (min-width: 900px) {
    .footer-opmaak {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-merk {
        max-width: 260px;
    }

    .footer-contact,
    .footer-social {
        display: flex;
        align-items: center;
    }
}
