/* --- LOKAL GOOGLE FONTLARI --- */
/* Playfair Display - 700 Normal */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin_latin-ext-700.woff2') format('woff2');
}
/* Playfair Display - 700 Italic */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin_latin-ext-700italic.woff2') format('woff2');
}
/* Playfair Display - 900 Normal */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin_latin-ext-900.woff2') format('woff2');
}
/* Playfair Display - 900 Italic */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin_latin-ext-900italic.woff2') format('woff2');
}
/* Inter - 900 Normal */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-900.woff2') format('woff2');
}

:root {
    /* Kurumsal Mavi Tonları - Güven Veren Renkler */
    --primary-color: #0f172a; /* Çok Koyu Lacivert (Midnight Blue) - Premium Otorite */
    --secondary-color: #2563eb; /* Royal Blue - Daha Tok ve Kurumsal */
    --accent-color: #f0f9ff; /* Buz Mavisi - Ferahlık */
    --text-dark: #1e293b; /* Tam siyah değil, koyu gri - Göz yormaz */
    --text-light: #ffffff;
    --border-color: #e2e8f0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- GLOBAL GÖRSEL KESKİNLİK (ANTI-BLUR) AYARLARI --- */
img {
    /* Tarayıcının resmi sündürmesini engelleyip kontrastı optimize eder */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* GPU (Donanım Ekran Kartı) hızlandırmasını tetikleyerek bulanıklığı yok eder */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* --- GLOBAL ERİŞİLEBİLİRLİK (A11y) VE DOKUNMATİK OPTİMİZASYONU --- */
a, button, input, select, textarea, .mobile-toggle, .close-menu-btn {
    /* Mobildeki 300ms tıklama gecikmesini iptal eder, anında tepki verir */
    touch-action: manipulation;
}

/* Klavye ile (Tab tuşu) gezinirken elemanların belirgin olması (SEO ve A11y için 100 Puan) */
*:focus-visible {
    outline: 2px solid var(--secondary-color) !important;
    outline-offset: 4px !important;
    border-radius: 4px;
    transition: outline-offset 0.2s ease;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8fafc;
    overflow-x: hidden; /* Mobilde sağa sola kaymayı engeller */
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   PREMIUM PRELOADER (ÖN YÜKLEYİCİ)
   ========================================================================== */
.prd-preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 999999; /* Sitedeki her şeyin en üstünde */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.5s;
}

.prd-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-brand {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dönen Lüks Çerçeve */
.preloader-ring {
    position: absolute;
    inset: 0;
    border: 3px solid #f1f5f9;
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin-ring 1s linear infinite;
}

/* Nefes Alan (Pulse) Logo */
.preloader-logo {
    width: 60px;
    height: auto;
    animation: pulse-logo 2s ease-in-out infinite;
    /* Arka planının beyaz kare kalmaması için */
    mix-blend-mode: multiply; 
}

@keyframes spin-ring {
    to { transform: rotate(360deg); }
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}