



        /* =========================
           GALLERY SECTION
        ========================= */

        .gallery-section {
            max-width: 1400px;
            margin: 0 auto;
            padding: 60px 30px;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .gallery-header h1 {
            font-size: 42px;
            font-weight: 600;
            letter-spacing: -1px;
            margin-bottom: 10px;
        }

        .gallery-header p {
            color: #777;
            font-size: 16px;
        }

        /* 4 IMAGES PER ROW */

        .gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 8%;
        }

        .gallery-item {
            position: relative;
            aspect-ratio: 4 / 5;
            overflow: hidden;
            cursor: pointer;
            background: #ddd;
            border-radius: 8px;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        /* Hover effect */

        .gallery-item::after {
            content: "View";
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;

            background: rgba(0, 0, 0, 0.25);
            color: white;

            font-size: 15px;
            letter-spacing: 1px;

            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.06);
        }

        .gallery-item:hover::after {
            opacity: 1;
        }


        /* =========================
           LIGHTBOX
        ========================= */

        .lightbox {
            position: fixed;
            inset: 0;

            background: rgba(0, 0, 0, 0.96);

            display: flex;
            align-items: center;
            justify-content: center;

            opacity: 0;
            visibility: hidden;

            transition: opacity 0.3s ease;

            z-index: 9999;
        }

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-image {
            max-width: 88vw;
            max-height: 86vh;

            object-fit: contain;

            border-radius: 4px;

            transform: scale(0.95);
            transition: transform 0.3s ease;
        }

        .lightbox.active .lightbox-image {
            transform: scale(1);
        }


        /* =========================
           CLOSE BUTTON
        ========================= */

        .lightbox-close {
            position: absolute;

            top: 25px;
            right: 30px;

            width: 45px;
            height: 45px;

            border: none;
            background: rgba(255,255,255,0.12);

            color: white;

            font-size: 30px;
            font-weight: 300;

            border-radius: 50%;

            cursor: pointer;

            display: flex;
            align-items: center;
            justify-content: center;

            transition: background 0.2s ease;
        }

        .lightbox-close:hover {
            background: rgba(255,255,255,0.25);
        }


        /* =========================
           PREVIOUS / NEXT BUTTONS
        ========================= */

        .lightbox-prev,
        .lightbox-next {
            position: absolute;

            top: 50%;
            transform: translateY(-50%);

            width: 55px;
            height: 55px;

            border: none;

            background: rgba(255,255,255,0.12);

            color: white;

            font-size: 34px;
            font-weight: 200;

            border-radius: 50%;

            cursor: pointer;

            display: flex;
            align-items: center;
            justify-content: center;

            transition: background 0.2s ease;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: rgba(255,255,255,0.25);
        }

        .lightbox-prev {
            left: 25px;
        }

        .lightbox-next {
            right: 25px;
        }


        /* =========================
           IMAGE COUNTER
        ========================= */

        .lightbox-counter {
            position: absolute;

            bottom: 25px;
            left: 50%;

            transform: translateX(-50%);

            color: white;

            font-size: 14px;
            letter-spacing: 1px;

            background: rgba(0,0,0,0.35);

            padding: 8px 14px;

            border-radius: 20px;
        }


        /* =========================
           TABLET
        ========================= */

        @media (max-width: 1000px) {

            .gallery {
                grid-template-columns: repeat(2, 1fr);
            }

            .gallery-section {
                padding: 50px 25px;
            }

            .gallery-header h1 {
                font-size: 36px;
            }
        }


        /* =========================
           MOBILE
        ========================= */

        @media (max-width: 600px) {

            .gallery-section {
                padding: 40px 15px;
            }

            .gallery {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .gallery-header {
                margin-bottom: 25px;
            }

            .gallery-header h1 {
                font-size: 30px;
            }

            .gallery-header p {
                font-size: 14px;
            }

            .lightbox-image {
                max-width: 94vw;
                max-height: 78vh;
            }

            .lightbox-close {
                top: 15px;
                right: 15px;

                width: 40px;
                height: 40px;

                font-size: 26px;
            }

            .lightbox-prev,
            .lightbox-next {
                width: 42px;
                height: 42px;

                font-size: 27px;
            }

            .lightbox-prev {
                left: 10px;
            }

            .lightbox-next {
                right: 10px;
            }

            .lightbox-counter {
                bottom: 18px;
                font-size: 13px;
            }
        }

