/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Karla', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    position: relative;
    height: 200px;
    background: url('images/gallery-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.page-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 114, 0.473);
}

.banner-content {
    position: relative;
    color: #fff;
    padding-left: 8%;
}

.banner-content h1 {
    font-size: 42px;
    font-weight: 700;
}

.banner-content h1 span {
    color: #ff9800;
}

.banner-content p {
    margin-top: 10px;
    font-size: 16px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: #f8f9fb;
    padding: 70px 0;
}

/* Gallery-container (NO flex) */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

/* ===== GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    justify-content: center;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 30px;
    }

    .gallery-grid img {
        height: 200px;
    }
}

/* ===== LIGHTBOX POPUP ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
