/* SECTION */
.gallery-section {
    padding: 80px 0;
}

.gallery-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

/* TITLE */
.gallery-title {
    text-align: center;
    font-size: 36px;
    color: #0a5ea8;
    margin-bottom: 10px;
}

.gallery-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: #555;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* IMAGE */
.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER EFFECT */
.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 35px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .gallery-grid img {
        height: 200px;
    }

    .gallery-title {
        font-size: 28px;
    }
}
/* ===============================
   IMAGE DIALOG MODAL
================================ */

.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dialog-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.dialog-box img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 10px;
    display: block;
}

/* CLOSE BUTTON */
.dialog-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    background: #0a5ea8;
    color: #ffffff;
    font-size: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .dialog-box {
        padding: 10px;
    }
}
