/**
 * Djassa Auto - Micro-Interactions Additional Styles
 * Includes: Animated Gradients, Hover Glows, Glassmorphism Enhancements, Lazy Loading Reveals
 */

/* --- 1. Animated Gradients --- */
.animated-gradient-bg {
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(25, 25, 25, 0.2), rgba(255, 77, 0, 0.05));
    background-size: 200% 200%;
    animation: gradientPan 8s ease infinite;
}

@keyframes gradientPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 2. Advanced Glow Hover --- */
.glow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.25), 0 0 40px rgba(255, 77, 0, 0.1);
    transform: translateY(-2px);
}

/* --- 3. Enhanced Glassmorphism Utilities --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .glass-panel {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- 4. Lazy Loading Image Reveals --- */
.img-lazy-blur {
    filter: blur(10px);
    opacity: 0.5;
    transition: filter 0.5s ease-out, opacity 0.5s ease-out;
    will-change: filter, opacity;
}

.img-revealed {
    filter: blur(0);
    opacity: 1;
}

/* --- 5. Accessibility overrides --- */
@media (prefers-reduced-motion: reduce) {
    .animated-gradient-bg {
        animation: none;
    }
    .glow-hover {
        transition: none;
    }
    .glow-hover:hover {
        transform: none;
    }
}
