/* ============================================================================
   ABOUT SECTION (Detail Page)
   ============================================================================ */


.about {
    width: 100%;
    min-height: 60vh;
    background-color: var(--color-bg);
    padding: var(--spacing-2xl) var(--spacing-lg);

    display: flex;
    align-items: center;
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about__container--reverse {
    grid-template-columns: 1fr 1fr;
}

.about__container--reverse .about__image {
    order: -1;
}

.about__heading {
    margin-bottom: var(--spacing-lg);
}

.about__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

.about__image {
    width: 100%;
}

.about__image-img {
    max-width: 428px;
    height: auto;
    display: block;
    border-radius: 4px;
}


/* ============================================================================
   INSPIRATION SECTION (Detail Page)
   ============================================================================ */

.inspiration {
    width: 100%;
    background-color: var(--color-bosmos);
    color: #fff;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.inspiration__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

/* --- Gallery layout zoals artists gallery --- */
.inspiration__gallery {
    display: grid;
    grid-template-columns: 331px 331px;
    /* vaste breedtes */
    grid-template-rows: auto 340px;
    /* grote foto hoogte */
    gap: var(--spacing-md);
}

.inspiration__gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.inspiration__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inspiration__gallery-item:hover .inspiration__gallery-img {
    transform: scale(1.05);
}

/* Grote foto onderaan */
.inspiration__gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.inspiration__heading {
    margin-bottom: var(--spacing-lg);
    color: #fff;
}

.inspiration__text {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}


/* ============================================================================
   PHILOSOPHY SECTION (Detail Page)
   ============================================================================ */

.philosophy {
    width: 100%;
    background-color: var(--color-bg);
    padding: var(--spacing-2xl) var(--spacing-lg);

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

.philosophy__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.philosophy__heading {
    margin-bottom: var(--spacing-lg);
}

.philosophy__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

.philosophy__image {
    max-width: 428px;
}

.philosophy__image-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}


/* ============================================================================
   GALLERY SECTION (Detail Page)
   ============================================================================ */

.gallery-section {
    background-color: var(--color-honingklei);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.gallery-section__heading {
    padding-bottom: 2rem;
}

.gallery-section__container {
    max-width: 1038px;
    margin: 0 auto;
    width: 100%;
}

.gallery-section__grid {
    display: grid;
    grid-template-columns: 338px 338px 338px;
    grid-template-rows: 380px 300px;
    gap: var(--spacing-md);
    max-width: 1038px;
    margin: 0 auto;
}

/* 1 — plate (links boven, breed) */
.gallery-section__item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    width: 697px;
    height: 380px;
}

/* 2 — horn (links onder) */
.gallery-section__item:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 338px;
    height: 300px;
}

/* 3 — doll (rechts onder links) */
.gallery-section__item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 338px;
    height: 300px;
}

/* 4 — cowhorn (grote verticale rechts) */
.gallery-section__item:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    width: 338px;
    height: 705px;
}

.gallery-section__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   RESPONSIVE LAYOUT
   ============================================================================ */

/* Phone */
@media (max-width: 767px) {

    .about,
    .inspiration,
    .philosophy,
    .gallery-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about,
    .philosophy {
        min-height: auto;
    }

    .about__container,
    .inspiration__container,
    .philosophy__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about__container--reverse .about__image {
        order: 0;
    }

    .about__image-img,
    .philosophy__image {
        max-width: 100%;
    }

    .inspiration__gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 340px;
    }

    .inspiration__gallery-item--large {
        grid-column: auto;
        grid-row: auto;
        height: auto;
    }

    .gallery-section__container {
        max-width: 100%;
    }

    .gallery-section__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 420px;
        gap: 16px;
        margin: 0 auto;
    }

    .gallery-section__item:nth-child(1),
    .gallery-section__item:nth-child(2),
    .gallery-section__item:nth-child(3),
    .gallery-section__item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
    }

    .gallery-section__img {
        aspect-ratio: 4 / 3;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {

    .about,
    .inspiration,
    .philosophy,
    .gallery-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .about,
    .philosophy {
        min-height: auto;
    }



    .about__container,
    .inspiration__container,
    .philosophy__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__container--reverse .about__image {
        order: 0;
    }

    .about__image-img,
    .philosophy__image {
        max-width: 300px;
    }


    .gallery-section__container,
    .gallery-section__grid {
        max-width: 760px;
    }

    .gallery-section__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
        margin: 0 auto;
    }

    .gallery-section__item:nth-child(1),
    .gallery-section__item:nth-child(2),
    .gallery-section__item:nth-child(3),
    .gallery-section__item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
    }

    .gallery-section__img {
        aspect-ratio: 4 / 3;
    }
}

/* Larger than desktop */
@media (min-width: 1440px) {

    .about__container,
    .inspiration__container,
    .philosophy__container {
        max-width: 1360px;
    }

    .inspiration__gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 420px;
    }

    .gallery-section__container,
    .gallery-section__grid {
        max-width: 1240px;
    }

    .gallery-section__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 1fr 1fr;
    }

    .gallery-section__item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        width: 100%;
        height: 100%;
    }

    .gallery-section__item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        width: 100%;
        height: 100%;
    }

    .gallery-section__item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: 100%;
        height: 100%;
    }

    .gallery-section__item:nth-child(4) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
        width: 100%;
        height: 100%;
    }
}