/* Decor Canvas - Animations & Shimmer Effects */

/* Lazy Loading Shimmer Placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

img[loading="lazy"]:not([src]) {
    background: linear-gradient(90deg, #f3ede7 25%, #e8dfd5 50%, #f3ede7 75%);
    background-size: 200% 100%;
    animation: shimmerLoading 1.5s infinite;
}

@keyframes shimmerLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 91, 60, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(230, 91, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 91, 60, 0);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-float {
    animation: floatSlow 4s ease-in-out infinite;
}

.pulse-button {
    animation: pulseGlow 2s infinite;
}

/* Notification Toast Animation */
.notification-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--dark);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-toast.show {
    transform: translateY(0);
    opacity: 1;
}
