/* DIN Pro Font Face Declarations */

/* DIN Pro Regular */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* DIN Pro Medium */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro_medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* DIN Pro Bold */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro_bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* DIN Pro Black */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro_black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* DIN Pro Light */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* DIN Pro Italic */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro_italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* DIN Pro Bold Italic */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/din-pro/dinpro_bolditalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Güçlü CSS kuralları - DIN Pro'yu zorla kullan */
* {
    font-family: 'DIN Pro', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body, html, div, span, p, h1, h2, h3, h4, h5, h6, a, button, input, textarea, select, label, li, ul, ol, table, td, th, tr {
    font-family: 'DIN Pro', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* İKONLAR İÇİN ÖZEL KURALLAR - ÇOK GÜÇLÜ */
/* Tüm ikon elementlerini koru */
i[class*="icon-"],
span[class*="icon-"],
div[class*="icon-"],
[class*="icon-"] {
    font-family: icomoon !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Site özel ikonları için - çok spesifik */
.icon-mobile,
.icon-call3,
.icon-arrow-right,
.icon-phone,
.icon-envelope,
.icon-location,
.icon-clock,
.icon-user,
.icon-search,
.icon-menu,
.icon-close,
.icon-calculator,
.icon-shield,
.icon-car,
.icon-home,
.icon-heart,
.icon-star {
    font-family: icomoon !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* FontAwesome ikonları için */
[class*="fa-"], 
.fa, .fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
}

/* SON ÇARE - TÜM İKONLARI ZORLA DÜZELT */
/* Bu kurallar en son yüklenir ve en yüksek önceliğe sahiptir */
html body *[class*="icon-"] {
    font-family: icomoon !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Popup menüdeki ikonlar için özel kural */
.popup-menu *[class*="icon-"],
.quick-access *[class*="icon-"],
.modal *[class*="icon-"] {
    font-family: icomoon !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Sigorta kartları için DIN Pro fontu */
.insurance-card,
.insurance-card span,
.insurance-card div,
.insurance-card a {
    font-family: 'DIN Pro', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-feature-settings: "kern" 1 !important;
}

/* Sigorta kartlarındaki tüm yazılar için */
.insurance-card * {
    font-family: 'DIN Pro', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* Sigorta kartlarındaki FontAwesome ikonları için özel kural */
.insurance-card .fas,
.insurance-card .fa,
.insurance-card i[class*="fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Sigorta kartlarındaki ikonları zorla düzelt - EN GÜÇLÜ KURAL */
.insurance-card i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Material Icons için */
.material-icons {
    font-family: 'Material Icons' !important;
}
