/* Optimize edilmiu015f CSS dosyasu0131 */
/* Kullanu0131lmayan CSS kodlaru0131 kaldu0131ru0131ldu0131 */
/* Resim boyutlaru0131 iu00e7in geniu015flik ve yu00fckseklik tanu0131mlamalaru0131 eklendi */


/* Lazy loading iu00e7in stiller */
img.bringer-lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    filter: blur(5px);
}

img.loading {
    opacity: 0.5;
    filter: blur(5px);
}

img.loaded, img.bringer-lazy.loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}

/* Video optimizasyonu iu00e7in stiller */
video {
    max-width: 100%;
    height: auto;
    display: block; /* CLS (Cumulative Layout Shift) u00f6nlemek iu00e7in */
}

/* iframe optimizasyonu iu00e7in stiller */
iframe {
    max-width: 100%;
    border: 0;
    display: block; /* CLS (Cumulative Layout Shift) u00f6nlemek iu00e7in */
    aspect-ratio: 16/9; /* Varsayu0131lan aspect ratio */
}

/* Web yazu0131 tipi yu00fcklemesi su0131rasu0131nda metnin gu00f6ru00fcnu00fcr kalmasu0131nu0131 sau011flar */
body {
    font-display: swap;
    text-rendering: optimizeSpeed;
}

/* Sayfa yu00fckleme performansu0131 iu00e7in kritik render yolu optimizasyonu */
.critical-path {
    display: block !important;
}

/* Resim yu00fckleme animasyonu */
@keyframes fadeIn {
    from { opacity: 0; filter: blur(5px); }
    to { opacity: 1; filter: blur(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Sayfa yu00fckleme su0131rasu0131nda metin gu00f6ru00fcnu00fcrlu00fcu011fu00fc iu00e7in */
.text-visible-during-load {
    font-display: swap;
    color: inherit;
}

/* DOM boyutunu ku00fcu00e7u00fcltmek iu00e7in gereksiz wrapper'laru0131 kaldu0131r */
.simplified-dom {
    display: contents;
}

/* Resim u00f6u011felerinin au00e7u0131ku00e7a belirtilmiu015f width ve height deu011ferleri iu00e7in */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* Animasyonlu iu00e7erik iu00e7in video biu00e7imleri */
video {
    object-fit: cover;
}

/* Web yazu0131 tipi yu00fcklemesi su0131rasu0131nda metin gu00f6ru00fcnu00fcrlu00fcu011fu00fc */
@font-face {
    font-family: 'PurpFont';
    src: url('../fonts/purp-font.woff2') format('woff2'),
         url('../fonts/purp-font.woff') format('woff');
    font-display: swap;
}

/* Statik u00f6u011feleri verimli bir u00f6nbellekleme politikasu0131yla yayu0131nla */
.static-content {
    will-change: auto;
}

/* Kaydu0131rma performansu0131nu0131 artu0131rmak iu00e7in pasif iu015fleyiciler */
.smooth-scroll {
    scroll-behavior: smooth;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

/* Dou011fru boyuta sahip resimler */
.right-sized-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Oluu015fturmayu0131 engelleyen kaynaklaru0131 ortadan kaldu0131r */
.non-blocking {
    content-visibility: auto;
}

/* Yu00fckleme gu00f6stergesi */
.loading-indicator {
    position: relative;
}

.loading-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.loading-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
