

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #111;
            color: white;
        }

        /* Heading */

        .header {
            text-align: center;
            padding: 35px 20px;
        }

        .header h1 {
            font-size: 40px;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 18px;
            color: #cccccc;
        }

        /* Gallery */

       /* Gallery */

.gallery {
    width: 92%;
    max-width: 1200px;
    margin: 20px auto 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* Image box */

.gallery-item {
    height: 250px;

    overflow: hidden;

    border-radius: 12px;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}


/* Images */

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}


/* Hover */

.gallery-item:hover img {
    transform: scale(1.08);
}
        /* Lightbox */

/* Lightbox */

.lightbox {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.95);

    justify-content: center;
    align-items: center;

    z-index: 1000;
}


/* Large Image */

.lightbox img {
    max-width: 80%;
    max-height: 80%;

    object-fit: contain;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}


/* Close Button */

#closeBtn {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: white;
    color: black;

    font-size: 30px;

    cursor: pointer;
}


/* Navigation Buttons */

.nav-btn {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: white;
    color: black;

    font-size: 28px;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: 0.3s;
}


/* Previous */

.prev {
    left: 30px;
}


/* Next */

.next {
    right: 30px;
}


/* Button Hover */

.nav-btn:hover,
#closeBtn:hover {
    transform: scale(1.1);
}
/* Tablet */

@media (max-width: 768px) {

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 500px) {

    .gallery {
        grid-template-columns: 1fr;
        width: 94%;
    }

    .gallery-item {
        height: 230px;
    }

    .header h1 {
        font-size: 30px;
    }

    .nav-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .lightbox img {
        max-width: 85%;
        max-height: 70%;
    }

}
    
