/*
Theme Name: SCM Tema
Theme URI: https://kafadolu.com
Description: Özel yapımlı bir temadır.
Version: 1.0.0
Author: Şükrü Can Yiğit
Author URI: https://kafadolu.com
Text Domain: kafa-dolu
*/

/* Google Fonts'tan Inter font'u import et */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Tüm elementler için font tanımlaması */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Body için özel tanımlama */
body {
    background-color: #F5F5F7;
    color: #6E6E73;
    margin: 0;
    padding: 40px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}


/* Başlıklar için özel tanımlama */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Input ve button elementleri için */
input, button, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Diğer metin elementleri için */
p, span, div, a, li, td, th, label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Tüm elementler için zorunlu font ayarı */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea, select, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* Tüm sayfa için scrollbar her zaman görünür */
html {
    overflow-y: scroll;
}

/* Scrollbar tasarımı (ince ve oval) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: png;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #DADAE1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C0C0CD;
}

/* Mobil cihazlarda input alanlarına tıklandığında zoom yapılmasını engeller */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
    font-size: 16px !important;
}

/* WordPress özel form alanları */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
.elementor-field-group input,
.elementor-field-group textarea {
    font-size: 16px !important;
}

/* WordPress yorum formları */
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    font-size: 16px !important;
}

/* WordPress arama formları */
.search-field,
input[type="search"],
.wp-block-search input[type="search"] {
    font-size: 16px !important;
}

/* Mobil cihazlar için özel ayarlar */
@media screen and (max-width: 768px) {
    * {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
    }
    
    html {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    }
    
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    }
    
    input, textarea, select, button {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        transform-origin: left top;
        transform: none !important;
    }
}

/* iOS Safari için özel kural */
@supports (-webkit-touch-callout: none) {
    * {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="number"],
    textarea {
        font-size: 16px !important;
    }
}