/* =====================================================
   BASIS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f6f1e8;
    color: #281b16;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =====================================================
   HEADER HOMEPAGE
===================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 22px 0;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


/* HEADER LOGO */

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    width: 120px;
    height: auto;
    max-height: 80px;
    display: block;
    object-fit: contain;
}


/* DESKTOP NAVIGATIE */

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.7;
}


/* =====================================================
   HAMBURGER MENU
===================================================== */

/* STANDAARD VERBORGEN OP DESKTOP */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;
    padding: 8px;

    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;

    background: white;
    border-radius: 2px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* STREEPJES WORDEN KRUISJE */

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* MOBIELE MENU STANDAARD VERBORGEN */

.mobile-menu {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    color: white;

    background:
        linear-gradient(
            rgba(34, 21, 16, 0.42),
            rgba(34, 21, 16, 0.68)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    padding-top: 70px;
}

.subtitle,
.small-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold;
}

.subtitle {
    margin-bottom: 22px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(54px, 8vw, 95px);
    line-height: 1;
    font-weight: normal;
    max-width: 800px;
    margin-bottom: 28px;
}

.description {
    max-width: 600px;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 38px;
}


/* =====================================================
   BUTTONS
===================================================== */

.button {
    display: inline-block;
    background: #efe1ca;
    color: #281b16;
    padding: 16px 28px;

    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;

    font-size: 12px;
    font-weight: bold;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: white;
}


/* =====================================================
   SMAKEN
===================================================== */

.flavours-section {
    padding: 110px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-heading h2,
.about-section h2,
.order-section h2 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: normal;
    margin: 14px 0 20px;
}

.section-heading > p:last-child {
    color: #6b5d55;
    font-size: 17px;
}

.flavour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.flavour-card {
    background: white;
    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.flavour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(40, 27, 22, 0.12);
}

.flavour-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #dfd0bc;
    overflow: hidden;
}

.flavour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    transition: transform 0.45s ease;
}

.flavour-card:hover .flavour-image img {
    transform: scale(1.04);
}

.flavour-info {
    padding: 24px;
}

.flavour-info h3 {
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: normal;
    margin-bottom: 6px;
}

.flavour-info p {
    color: #74665e;
    font-size: 14px;
}


/* =====================================================
   OVER KARIVÉ
===================================================== */

.about-section {
    background: #e8dccd;
    padding: 110px 0;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: #5e5048;
}

.about-text p + p {
    margin-top: 20px;
}


/* =====================================================
   BESTELLEN CTA HOMEPAGE
===================================================== */

.order-section {
    background: #281b16;
    color: white;
    padding: 95px 0;
}

.order-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.order-wrap > div {
    max-width: 720px;
}

.order-wrap > div > p:last-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
}

.light {
    color: #d8c7b3;
}

.light-button {
    background: white;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #17100d;
    color: rgba(255, 255, 255, 0.65);
    padding: 70px 0 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 70px;
    padding-bottom: 55px;
}

.footer-logo {
    color: white;
    font-family: Georgia, serif;
    letter-spacing: 7px;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 18px;
}

.footer-brand p {
    line-height: 1.8;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h3 {
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 9px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    color: rgba(255, 255, 255, 0.42);
}


/* =====================================================
   BESTELPAGINA HEADER
===================================================== */

.order-page {
    background: #f6f1e8;
}

.order-header {
    background: #281b16;
    padding: 24px 0;
}

.order-logo {
    color: white;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 24px;
    letter-spacing: 7px;
    text-transform: uppercase;
}

.order-nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 14px;
}

.order-nav a:hover {
    color: white;
}


/* =====================================================
   BESTELPAGINA INTRO
===================================================== */

.checkout-main {
    padding: 80px 0 110px;
}

.checkout-intro {
    max-width: 760px;
    margin-bottom: 55px;
}

.checkout-intro h1 {
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: normal;
    line-height: 1.08;
    margin: 14px 0 20px;
}

.checkout-intro > p:last-of-type {
    color: #665950;
    font-size: 18px;
    max-width: 680px;
}

.mix-notice {
    margin-top: 30px;
    padding: 20px 22px;
    background: #ebe0d2;
    border-left: 4px solid #281b16;
}

.mix-notice strong,
.mix-notice span {
    display: block;
}

.mix-notice span {
    margin-top: 4px;
    color: #675951;
}


/* =====================================================
   DOOSJES
===================================================== */

.box-selection {
    display: grid;
    gap: 16px;
    margin-bottom: 50px;
}

.box-option-content {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 24px;

    padding: 24px;
    background: white;
    border: 2px solid transparent;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.box-option-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(40, 27, 22, 0.08);
}

.box-number {
    width: 58px;
    height: 58px;
    border-radius: 50%;

    background: #281b16;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Georgia, serif;
    font-size: 24px;
}

.box-details h2 {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: normal;
    margin-bottom: 4px;
}

.box-details p {
    color: #74665e;
    font-size: 14px;
}


/* =====================================================
   PRIJS + AANTAL PER DOOS
===================================================== */

.box-order-area {
    display: flex;
    align-items: center;
    gap: 24px;
}

.box-price {
    font-family: Georgia, serif;
    font-size: 25px;
    white-space: nowrap;
    min-width: 85px;
    text-align: right;
}

.quantity-control {
    display: flex;
    align-items: center;

    background: white;
    border: 1px solid #ded4c9;
}

.quantity-control button {
    width: 48px;
    height: 48px;

    border: 0;
    background: white;
    color: #281b16;

    font-size: 23px;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.quantity-control button:hover {
    background: #281b16;
    color: white;
}

.quantity-control span {
    min-width: 48px;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
}


/* =====================================================
   KLANTGEGEVENS
===================================================== */

.customer-section {
    background: white;
    padding: 42px;
}

.customer-heading {
    max-width: 650px;
    margin-bottom: 32px;
}

.customer-heading h2 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: normal;
    line-height: 1.1;
    margin-top: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
    width: 100%;

    border: 1px solid #d7cdc2;
    background: #fff;
    color: #281b16;

    padding: 14px 15px;
    font: inherit;
    outline: none;

    transition: border-color 0.2s ease;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #281b16;
}


/* =====================================================
   BETALING
===================================================== */

.payment-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;

    margin-top: 30px;
    padding: 22px;

    background: #f4eee6;
}

.payment-icon {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;

    background: #281b16;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Georgia, serif;
    font-size: 21px;
}

.payment-box strong {
    display: block;
    margin-bottom: 5px;
}

.payment-box p {
    color: #6f6259;
    font-size: 14px;
}


/* =====================================================
   BESTEL OVERZICHT
===================================================== */

.order-summary {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;

    border-top: 1px solid #ddd4ca;
    margin-top: 30px;
    padding-top: 28px;
}

.order-summary span {
    display: block;
    color: #74665e;
    font-size: 13px;
    margin-bottom: 5px;
}

.order-summary strong {
    font-size: 18px;
}

#summaryProduct {
    display: block;
    line-height: 1.8;
}

.summary-total {
    text-align: right;
}

.summary-total strong {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    white-space: nowrap;
}


/* =====================================================
   BESTELLEN KNOP
===================================================== */

.checkout-button {
    width: 100%;
    border: 0;
    margin-top: 28px;

    background: #281b16;
    color: white;

    padding: 18px 24px;

    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: bold;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.checkout-button:hover {
    transform: translateY(-2px);
    background: #4a342b;
}

.checkout-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* =====================================================
   BEDANKPAGINA
===================================================== */

.thankyou-page {
    background: #f6f1e8;
}

.thankyou-main {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.thankyou-card {
    max-width: 820px;
    margin: 0 auto;

    background: white;
    padding: 70px 60px;
    text-align: center;

    box-shadow:
        0 18px 55px rgba(40, 27, 22, 0.08);
}

.thankyou-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;

    border-radius: 50%;
    background: #281b16;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;
    font-family: Georgia, serif;
}

.thankyou-card h1 {
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 66px);
    font-weight: normal;
    line-height: 1.08;
    margin: 12px 0 24px;
}

.thankyou-intro {
    max-width: 620px;
    margin: 0 auto;

    color: #665950;
    font-size: 18px;
}

.thankyou-info {
    margin: 40px 0;
    border-top: 1px solid #e3d9cf;
    border-bottom: 1px solid #e3d9cf;
}

.thankyou-info-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;

    text-align: left;
    padding: 20px 0;
}

.thankyou-info-item + .thankyou-info-item {
    border-top: 1px solid #eee5dc;
}

.thankyou-info-item span {
    color: #7a6b62;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thankyou-info-item strong {
    font-weight: 600;
}

.thankyou-note {
    color: #665950;
    margin-bottom: 30px;
}

.thankyou-button {
    background: #281b16;
    color: white;
}

.thankyou-button:hover {
    background: #4a342b;
}


/* =====================================================
   TABLET + MOBIEL MENU
===================================================== */

@media (max-width: 850px) {

    /* DESKTOP MENU VERBERGEN */

    .main-nav {
        display: none;
    }


    /* HEADER */

    .nav-wrap {
        justify-content: center;
        min-height: 70px;
    }


    /* HAMBURGER LINKS */

    .menu-toggle {
        display: flex;

        position: absolute;
        left: 0;
        top: 50%;

        transform: translateY(-50%);
    }


    /* LOGO MIDDEN */

    .logo-link {
        margin: 0 auto;
    }

    .header-logo {
        width: 110px;
    }


    /* MOBIEL MENU */

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background:
            rgba(23, 16, 13, 0.98);

        border-top:
            1px solid rgba(255, 255, 255, 0.12);

        display: flex;
        flex-direction: column;

        padding: 0 5%;

        max-height: 0;
        overflow: hidden;

        opacity: 0;
        visibility: hidden;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    /* MENU OPEN */

    .mobile-menu.open {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }


    /* LINKS */

    .mobile-menu a {
        color: white;
        text-decoration: none;

        font-family: Georgia, serif;
        font-size: 21px;

        padding: 19px 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);
    }

    .mobile-menu a:last-child {
        border-bottom: 0;

        color: #ead2a6;
    }

    .mobile-menu a:hover {
        opacity: 0.7;
    }


    /* SMAKEN */

    .flavour-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* OVER */

    .about-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    /* CTA */

    .order-wrap {
        flex-direction: column;
        align-items: flex-start;
    }


    /* DOOSJES */

    .box-option-content {
        grid-template-columns: 60px 1fr;
    }

    .box-order-area {
        grid-column: 2;
        justify-content: space-between;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =====================================================
   MOBIEL
===================================================== */

@media (max-width: 560px) {

    /* HEADER */

    .site-header {
        padding: 10px 0;
    }

    .nav-wrap {
        min-height: 66px;
    }

    .menu-toggle {
        left: 0;
    }

    .header-logo {
        width: 95px;
        max-height: 65px;
    }


    /* MOBIEL MENU */

    .mobile-menu {
        padding-left: 5%;
        padding-right: 5%;
    }

    .mobile-menu a {
        font-size: 19px;
        padding: 17px 0;
    }


    /* HERO */

    .hero {
        min-height: 650px;
        background-position: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .description {
        font-size: 17px;
    }


    /* SMAKEN */

    .flavour-grid {
        grid-template-columns: 1fr;
    }

    .flavours-section,
    .about-section {
        padding: 80px 0;
    }

    .order-section {
        padding: 75px 0;
    }


    /* BESTEL HEADER */

    .order-header .nav-wrap {
        gap: 20px;
    }

    .order-logo {
        font-size: 19px;
        letter-spacing: 5px;
    }

    .order-nav a {
        font-size: 12px;
    }


    /* BESTELPAGINA */

    .checkout-main {
        padding: 55px 0 80px;
    }

    .checkout-intro {
        margin-bottom: 40px;
    }


    /* DOOSJES */

    .box-option-content {
        grid-template-columns: 50px 1fr;

        padding: 20px 18px;
        gap: 16px;
    }

    .box-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .box-details h2 {
        font-size: 22px;
    }

    .box-order-area {
        grid-column: 1 / -1;

        display: flex;
        justify-content: space-between;
        align-items: center;

        margin-top: 6px;
    }

    .box-price {
        text-align: left;
        min-width: auto;
        font-size: 22px;
    }

    .quantity-control button {
        width: 44px;
        height: 44px;
    }

    .quantity-control span {
        min-width: 42px;
    }


    /* KLANTGEGEVENS */

    .customer-section {
        padding: 28px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: auto;
    }


    /* BETALING */

    .payment-box {
        padding: 18px;
    }


    /* OVERZICHT */

    .order-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-total {
        text-align: left;
    }


    /* FOOTER */

    .footer {
        padding: 55px 0 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }


    /* BEDANKPAGINA */

    .thankyou-main {
        padding: 50px 0;
    }

    .thankyou-card {
        padding: 45px 24px;
    }

    .thankyou-info-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}