/* ==============================================
   LAZY LOADING FALLBACK & OPTIMIZATION
   ============================================== */

/* Smooth fade-in pentru imagini când se încarcă */
img[loading="lazy"] {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

/* Aspect ratio boxes pentru a preveni layout shift */
.service-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about-main-image,
.quality-main-image {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.faq-main-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-image-main {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-image-main {
        aspect-ratio: 4 / 3;
    }
    
    img[loading="lazy"] {
        background: none;
    }
}

/* Performance: Reduce motion pentru utilizatorii care preferă */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
