
    .gallery-item {
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: hidden;
        border-radius: 8px;
        position: relative;
    }
    
    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    
    .gallery-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 8px;
    }
    
    .gallery-item:hover::after {
        opacity: 1;
    }
    
    .gallery-item::before {
        content: '🔍';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: white;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
    }
    
    .gallery-item:hover::before {
        opacity: 1;
    }

    /* Lightbox Styles */
    .lightbox-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .lightbox-container {
        position: relative;
        max-width: 90vw;
        max-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 0 50px rgba(255,255,255,0.1);
    }

    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        font-size: 2rem;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .lightbox-nav:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .lightbox-prev { left: -80px; }
    .lightbox-next { right: -80px; }

    .lightbox-close {
        position: absolute;
        top: -60px;
        right: 0;
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .lightbox-close:hover {
        background: rgba(255,255,255,0.3);
        transform: scale(1.1);
    }

    .lightbox-counter {
        position: absolute;
        bottom: -50px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        background: rgba(0,0,0,0.5);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
    }

    .lightbox-controls {
        position: absolute;
        bottom: -100px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
    }

    .control-btn {
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .control-btn:hover {
        background: rgba(255,255,255,0.3);
    }

    .control-btn.active {
        background: rgba(0,123,255,0.7);
    }

    .progress-bar {
        position: absolute;
        bottom: -140px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 4px;
        background: rgba(255,255,255,0.3);
        border-radius: 2px;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: #007bff;
        width: 0%;
        transition: width 0.1s linear;
    }

    @media (max-width: 768px) {
        .lightbox-nav {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }
        .lightbox-prev { left: -60px; }
        .lightbox-next { right: -60px; }
        .lightbox-controls {
            bottom: -80px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .control-btn {
            padding: 8px 16px;
            font-size: 12px;
        }
    }