/* ── Gallery Cover Banner ── */
.cover-wrapper {
    position: relative;
    width: 100%;
}

.gallery-cover-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
    filter: brightness(0.55);
}

.gallery-cover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-cover-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
    font-family: Arial, sans-serif;
    margin: 0;
}

/* ── Gallery Section ── */
.gallery-section {
    padding: 50px 30px 80px;
    background-color: #ffffff;
}

/* ── 2-column masonry-style grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Each tile ── */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.gallery-item img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.45s ease;
    filter: brightness(0.75);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.5);
}

/* ── Label overlay ── */
.gallery-label {
    position: absolute;
    bottom: 22px;
    left: 24px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gallery-item img {
        height: 240px;
    }

    .gallery-cover-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .gallery-section {
        padding: 30px 12px 60px;
    }

    .gallery-label {
        font-size: 0.95rem;
        bottom: 14px;
        left: 14px;
    }
}
