.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
}

.gallery-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-thumb::before {
    opacity: 1;
}

.gallery-content {
    padding: 15px;
    background: #fff;
    text-align: center;
}

.gallery-content h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.lightbox-overlay {
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    animation: zoomIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 