 .gallery1 {
            column-count: 3;
            column-gap: 1rem;
            margin: 1rem;
        }
        .gallery1 img {
            width: 100%;
            display: block;
            margin-bottom: 1rem;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .gallery1 img:hover {
            transform: scale(1.05);
        }
        /* Lightbox styles */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s, visibility 0.3s;
        }
        .lightbox img {
            max-width: 90%;
            max-height: 80%;
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
        }
        .lightbox:target {
            visibility: visible;
            opacity: 1;
        }
        .lightbox:target img {
            animation: zoomIn 0.5s;
        }
        @keyframes zoomIn {
            from {
                transform: scale(0.7);
            }
            to {
                transform: scale(1);
            }
        }
        /* Close button */
        .lightbox:target .close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            color: white;
            font-size: 2rem;
            text-decoration: none;
        }