/* Lazy Loading Styles */
.lazy-placeholder {
    background-color: #f0f0f0;
    transition: opacity 0.3s ease;
    opacity: 0.5;
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.lazy-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.lazyloaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Card Image Placeholders */
.card-image .lazy-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-color: #f5f5f5;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Gallery Image Placeholders */
.gallery-main .lazy-placeholder {
    min-height: 400px;
}

.gallery-thumbnail.lazy-placeholder {
    min-height: 80px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .lazy-placeholder::before {
        animation: none;
    }
}