/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

/* Fade-in animation for photos */
.photo-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.photo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox transitions */
#lightbox {
    transition: opacity 0.3s ease;
}

#lightbox.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#lightbox:not(.active) {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Image hover zoom */
.photo-card img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.05);
}

/* Loading shimmer */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}