/* =========================
   GALLERY PAGE
========================= */

/* Hero Banner */
.gallery-hero-banner {
    width: 100%;
    height: 420px;
    background: #eaeaea url("../images/gallery-1536x683.webp") center/cover no-repeat;
}

/* Page Wrapper */
.gallery-page {
    padding: 60px 0;
    background: #ffffff;
}

/* Header */
.gallery-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.gallery-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
}

/* =========================
   MASONRY GRID
========================= */

.gallery-grid {
    column-count: 4;
    column-gap: 15px;
}

/* Gallery Item */
.gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;

    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
}

/* Image */
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
      .gallery-hero-banner {
    height: 295px;
    }
    
}

@media (max-width: 576px) {
    .gallery-hero-banner {
    height: 170px;
    }
    
    .gallery-grid {
        column-count: 1;
    }

    .gallery-header h1 {
        font-size: 26px;
    }
}
