/* Gallery Page Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

.gallery-section{
    margin-top: 100px;
}

/* Title Styling */
.gallery-title {
    font-size: 40px;
    color: #333A8B;
    font-weight: bold;
    margin: 10px 0;
}

/* Category Title */
.gallery-category h3 {
    font-size: 24px;
    color: #333;
    text-align: left;
    margin-left: 5px;
}

/* Gallery Grid */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;  
    padding-left: 5px;
    max-width: 1200px;
    margin: auto;
}

.gallery-grid img {
    width: 290px;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid img {
        width: 90%;
        height: auto;
    }
}



/* Lightbox (Popup) */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

#close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    background: red;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
}