/* ========================================
   Bento Gallery — en/hr pages
   ======================================== */

.gallery {
    padding: 60px 0 20px;
    background-color: var(--white);
}

.gallery__header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 8px;
}

.gallery__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--dark-brown);
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.bento__item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 180px;
}

.bento__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bento__item:hover img {
    transform: scale(1.04);
}

/* Placeholder gradient (until real photos) */
.bento__placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

/* Bento layout: 2 large + 4 small */
.bento__item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    min-height: 370px;
}

.bento__item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.bento__item:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

.bento__item:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

.bento__item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 3 / 5;
    min-height: 370px;
}

.bento__item:nth-child(5) img {
    object-position: center 30%;
}

.bento__item:nth-child(6) {
    grid-column: 1;
    grid-row: 4;
}

/* Tablet */
@media (max-width: 768px) {
    .gallery {
        padding: 40px 0 10px;
    }

    .bento {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 16px;
    }

    .bento__item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
        min-height: 240px;
    }

    .bento__item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        min-height: 160px;
    }

    .bento__item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        min-height: 160px;
    }

    .bento__item:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
        min-height: 160px;
    }

    .bento__item:nth-child(5) {
        grid-column: 2;
        grid-row: 3 / 5;
        min-height: 328px;
    }

    .bento__item:nth-child(6) {
        grid-column: 1;
        grid-row: 4;
        min-height: 160px;
    }
}
