/* =========================================================
   MY GIFT FOR YOU
   Centrale stylesheet
   ========================================================= */


/* =========================================================
   1. ALGEMENE INSTELLINGEN
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f4f1;
    color: #222222;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.site-header {
    width: 100%;
    min-height: 72px;
    background: #171717;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;
}

.site-brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s ease;
}

.site-header nav a:hover {
    opacity: 0.7;
}


/* =========================================================
   3. ALGEMENE CONTAINER
   ========================================================= */

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}


/* =========================================================
   4. HOMEPAGE - HERO
   ========================================================= */

.homepage {
    background: #f7f6f3;
}

.home-hero {
    background: #ffffff;
    padding: 85px 20px;
    text-align: center;
}

.home-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.home-kicker {
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
}

.home-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1;
    letter-spacing: 1px;
}

.home-hero p {
    margin: 0 auto;
    max-width: 750px;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   5. HOMEPAGE - COLLECTIES
   ========================================================= */

.home-categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 25px;
}

.home-section-title {
    text-align: center;
    margin-bottom: 45px;
}

.home-section-title p {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.home-section-title h2 {
    margin: 12px 0 0;
    font-size: 36px;
}


/* =========================================================
   6. HOMEPAGE - CATEGORIE TEGELS
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.category-card {
    display: block;
    overflow: hidden;

    background: #ffffff;
    color: #222222;

    text-decoration: none;

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, 0.10);
}


/* =========================================================
   7. HOMEPAGE - CATEGORIE AFBEELDING
   ========================================================= */

.category-image {
    height: 330px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #eceae6;
}

.category-image img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    /*
       BELANGRIJK:
       contain zorgt ervoor dat foto's NIET worden afgesneden
       of vervormd.
    */
    object-fit: contain;
}

.image-placeholder {
    position: absolute;
    z-index: 1;

    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #777777;
}


/* =========================================================
   8. HOMEPAGE - CATEGORIE TEKST
   ========================================================= */

.category-content {
    padding: 25px 28px 30px;
}

.category-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #777777;
}

.category-content h3 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.category-content p {
    margin: 0 0 20px;
    line-height: 1.5;
    color: #444444;
}

.category-link {
    font-weight: 700;
}


/* =========================================================
   9. HOMEPAGE - ONDERSTE BLOK
   ========================================================= */

.home-extra {
    background: #171717;
    color: #ffffff;

    text-align: center;

    padding: 70px 25px;
}

.home-extra h2 {
    margin: 0;
    font-size: 32px;
}

.home-extra p {
    max-width: 700px;

    margin: 17px auto 0;

    line-height: 1.7;

    color: #eeeeee;
}


/* =========================================================
   10. THEMA / CATEGORIE PAGINA
   bijvoorbeeld Halloween
   ========================================================= */

.theme-hero {
    background: #ffffff;

    padding: 60px 20px;

    text-align: center;
}

.theme-hero p {
    margin: 0 0 15px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.theme-hero h1 {
    margin: 0 0 15px;

    font-size: clamp(40px, 6vw, 70px);
}

.theme-hero .theme-description {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.6;
}


/* =========================================================
   11. PRODUCTOVERZICHT
   4 PRODUCTEN NAAST ELKAAR
   ========================================================= */

.products-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 60px 25px 80px;
}

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   12. PRODUCTKAART
   ========================================================= */

.product-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 4px 16px
        rgba(0, 0, 0, 0.05);
}

.product-image {
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f0efed;
}

.product-image img {
    width: 100%;
    height: 100%;

    /*
       Productfoto blijft volledig zichtbaar.
       Geen vervorming en geen afsnijding.
    */
    object-fit: contain;
}

.product-image-placeholder {
    padding: 20px;

    text-align: center;

    font-weight: 700;

    color: #777777;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    padding: 18px;
}

.product-info h2,
.product-info h3 {
    margin: 0 0 10px;

    font-size: 20px;
}

.product-info p {
    margin: 0 0 15px;

    line-height: 1.5;
}

.product-price {
    margin-top: auto;
    margin-bottom: 15px;

    font-size: 21px;
    font-weight: 800;
}


/* =========================================================
   13. KNOPPEN
   ========================================================= */

.product-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 15px;

    border: 0;
    border-radius: 6px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.btn-light {
    background: #eeeeee;
    color: #222222;
}

.btn-dark {
    background: #171717;
    color: #ffffff;
}

.btn:hover {
    opacity: 0.82;
}


/* =========================================================
   14. AFZONDERLIJKE PRODUCTPAGINA
   ========================================================= */

.product-detail {
    max-width: 1100px;

    margin: 0 auto;

    padding: 70px 25px;
}

.product-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 60px;

    align-items: start;
}

.product-detail-image {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;
}

.product-detail-image img {
    width: 100%;
    height: 500px;

    object-fit: contain;
}

.product-detail-content h1 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 42px;
}

.product-detail-price {
    margin: 0 0 25px;

    font-size: 28px;
    font-weight: 800;
}

.product-detail-description {
    margin-bottom: 30px;

    font-size: 17px;
    line-height: 1.7;
}

.back-link {
    display: inline-block;

    margin-bottom: 25px;

    color: #555555;

    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.site-footer {
    background: #111111;
    color: #ffffff;

    padding: 45px 25px;

    text-align: center;
}

.site-footer p {
    margin: 5px 0;

    color: #cccccc;

    font-size: 14px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   16. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-detail-grid {
        gap: 35px;
    }

}


/* =========================================================
   17. MOBIEL
   ========================================================= */

@media (max-width: 750px) {

    .site-header {
        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        padding: 20px;
    }

    .site-header nav {
        width: 100%;

        flex-wrap: wrap;

        gap: 14px 20px;
    }

    .home-hero {
        padding: 55px 20px;
    }

    .home-hero p {
        font-size: 16px;
    }

    .home-categories {
        padding: 50px 18px;
    }

    .home-section-title h2 {
        font-size: 30px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 260px;
    }

    .products-section {
        padding: 40px 18px 60px;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 14px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .product-detail {
        padding: 40px 18px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .product-detail-image {
        min-height: 350px;
    }

    .product-detail-image img {
        height: 350px;
    }

    .product-detail-content h1 {
        font-size: 34px;
    }

}


/* =========================================================
   18. KLEINE TELEFOONS
   ========================================================= */

@media (max-width: 450px) {

    .home-hero h1 {
        font-size: 40px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 260px;
    }

}