
        :root {
        
            --text-color: #18181b;

            --overlay-bg: rgba(0, 0, 0, 0.5);
            --transition-speed: 0.3s;
        }

      
        /* Grid Layout */
        .gbox_grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
            max-width: 1200px;
            margin: 0 auto;
            margin-bottom:60px;
        }

        .gbox_item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            aspect-ratio: 4/3;
            background: #e4e4e7;
        }

        .gbox_item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .gbox_item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .gbox_item:hover img {
            transform: scale(1.05);
        }

        /* Overlay in Grid */
        .gbox_overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 20px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .gbox_item:hover .gbox_overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .gbox_title {
            color: white;
            font-weight: 600;
            font-size: 1rem;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }

        /* Lightbox Modal */
        .gbox_lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--overlay-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition-speed) ease;
            backdrop-filter: blur(5px);
        }

        .gbox_lightbox.active {
            opacity: 1;
            pointer-events: all;
        }

        .gbox_lightbox_content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .gbox_lightbox_img_container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gbox_lightbox_img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 4px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }

        .gbox_lightbox.active .gbox_lightbox_img {
            transform: scale(1);
        }

        /* Controls */
        .gbox_lightbox_close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 10px;
            transition: color 0.2s;
            z-index: 1001;
        }

        .gbox_lightbox_close:hover {
            color: var(--accent-color);
        }

        .gbox_lightbox_nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
            backdrop-filter: blur(4px);
        }

        .gbox_lightbox_nav:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-50%) scale(1.1);
        }

        .gbox_lightbox_prev { left: -80px; }
        .gbox_lightbox_next { right: -80px; }

        .gbox_lightbox_counter {
            position: absolute;
            bottom: -40px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            font-variant-numeric: tabular-nums;
        }

        .gbox_lightbox_caption {
            margin-top: 15px;
            color: white;
            font-size: 1.1rem;
            text-align: center;
            max-width: 600px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }
        
        .gbox_lightbox.active .gbox_lightbox_caption {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .gbox_lightbox_prev { left: 10px; }
            .gbox_lightbox_next { right:10px; }
            .gbox_grid { grid-template-columns: 1fr; }
        }

        /* Animation classes */
        .gbox_fade_enter { opacity: 0; transform: scale(0.95); }
        .gbox_fade_enter_active { opacity: 1; transform: scale(1); transition: all 0.3s ease-out; }
        .gbox_fade_exit { opacity: 1; transform: scale(1); }
        .gbox_fade_exit_active { opacity: 0; transform: scale(0.95); transition: all 0.3s ease-in; }
        
        .gbox_slide_left { animation: gbox_slideLeft 0.3s ease forwards; }
        .gbox_slide_right { animation: gbox_slideRight 0.3s ease forwards; }

        @keyframes gbox_slideLeft {
            from { opacity: 1; transform: translateX(0); }
            to { opacity: 0; transform: translateX(-50px); }
        }
        @keyframes gbox_slideRight {
            from { opacity: 1; transform: translateX(0); }
            to { opacity: 0; transform: translateX(50px); }
        }