﻿/* Performance Optimizations for PageSpeed Insights */

/* Font Display Optimization - Prevents invisible text during font load */
@font-face {
    font-family: 'Muli';
    font-display: swap;
}

/* Image Optimization - Better rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce Layout Shift - Prevent CLS */
img, video {
    height: auto;
    max-width: 100%;
    display: block;
}

/* Performance: Will-change for animations - GPU acceleration */
.animasyonBukme,
.animasyonAzBukme,
.nefesAl,
.nefesAlAz {
    will-change: transform;
}

/* Optimize font loading */
.font-awesome,
[class^="icon-"],
[class*=" icon-"] {
    font-display: swap;
}



/* Optimize carousel - CSS containment */
.owl-carousel {
    contain: layout style paint;
}

/* Lazy loading placeholder - Prevent layout shift */
img[loading="lazy"] {
    min-height: 1px;
}

/* Prevent FOUC (Flash of Unstyled Content) */
.site-wrap {
    visibility: hidden;
}

.site-wrap.loaded {
    visibility: visible;
}
