/*
Theme Name: Kadence Child Theme
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Description: MFY Legal High-Performance Child Theme - CWV & UX Optimized.
Version: 1.2.10.1731614936
Updated: 2026-01-22 15:50:00
*/

/* ============================================================
   BÖLÜM 1: PERFORMANS & CWV (CORE WEB VITALS)
   ============================================================ */

/* CLS (Cumulative Layout Shift) Koruması: Görsel kaymaları engeller */
img { height: auto; max-width: 100%; }

/* LCP (Largest Contentful Paint) Koruması: Header render hızını artırır */
.kadence-header { 
    content-visibility: auto; 
    contain-intrinsic-size: 1px 60px; 
}

/* iOS Zoom Fix: Mobilde form odaklanınca ekranın istemsiz büyümesini engeller */
@media screen and (max-width: 767px) {
    input, textarea, select { font-size: 16px !important; }
}

/* ============================================================
   BÖLÜM 2: MOBİL UX & DÖNÜŞÜM ODAKLI TASARIM
   ============================================================ */

/* Mobil Hız: Yan sütunları mobilde DOM'dan tamamen gizleyerek hızı artırır */
@media (max-width: 767px) {
    #secondary, .sidebar, .widget-area { display: none !important; }
}

/* Sticky Mobile Footer: İletişim butonlarını (WhatsApp/Ara) ekrana sabitler */
@media (max-width: 767px) {
    .site-bottom-footer-wrap, .footer-bottom-row { 
        position: fixed; bottom: 0; left: 0; width: 100%; z-index: 99999; 
        background: #ffffff; box-shadow: 0 -3px 15px rgba(0,0,0,0.1); padding: 5px 0;
    }
    body { padding-bottom: 75px; } /* Butonların içeriği kapatmaması için */
}

/* Mobil Menü (Off-Canvas) Hizalama: Dil seçici ve aramayı sola yaslar */
.header-off-canvas-area .widget, 
.header-off-canvas-area .search-form,
.header-off-canvas-area .wpml-ls {
    text-align: left !important;
    width: 100%;
    margin: 5px 0;
}

/* Post Meta Düzeni: Tarih ve Okuma süresini yan yana hizalar */
.entry-meta .posted-on, .reading-time { 
    display: inline; 
    margin-right: 15px; 
}

/* ============================================================
   BÖLÜM 3: FLUENT FORMS KURUMSAL TASARIM (EMAAR STİLİ)
   ============================================================ */

/* Input Alanları: Belirgin gri çerçeve ve profesyonel iç boşluk */
.ff_conv_container input.ff-el-form-control,
.ff_conv_container textarea.ff-el-form-control,
.fluentform .ff-el-form-control { 
    border: 1px solid #c0c0c0 !important; border-radius: 4px; padding: 12px 15px;
    font-size: 16px; box-shadow: none !important; width: 100%;
}

/* Telefon Ülke Listesi Hizalaması */
.fluentform .ff-el-input--content .ff_country_list {
    border: 1px solid #c0c0c0 !important; border-radius: 4px;
    padding: 12px 0px 12px 10px; font-size: 16px;
}

/* CTA (Gönder) Butonu: Kurumsal Lacivert (#0d2c4b) */
.ff-btn-submit {
    background-color: #0d2c4b !important; color: #ffffff !important;
    font-size: 18px !important; font-weight: 700 !important;
    padding: 15px 30px !important; border-radius: 5px !important;
    width: 100%; margin-top: 20px; transition: background-color 0.3s ease;
}
.ff-btn-submit:hover { background-color: #1a426b !important; }

/* Form Etiket Aralığı: Kompakt görünüm için boşlukları sıfırlar */
.ff-el-input--label { margin-bottom: 0px !important; }
.ff_conv_container .ff-el-group { margin-bottom: 15px !important; }

/* Placeholder (İpucu) Renkleri */
::placeholder { color: #a0a0a0 !important; opacity: 1; }

/* LCP Görselini Mobil İçin Öne Çıkar (High IQ Boost) */
@media (max-width: 767px) {
    .kb-row-layout-id4136_cc54cc-55 {
        background-attachment: scroll !important; /* Parallax varsa mobilde kapat, hızı artırır */
        content-visibility: visible !important;
    }
}