/**
 * Erişilebilirlik CSS - Basit Versiyon
 * WCAG 2.1 standartlarına uygun - MOBİL SORUNLARI YOK
 */

/* Desktop - Minimum 14px */
body {
    font-size: 14px;
    line-height: 1.6;
}

/* Başlık Hiyerarşisi */
h1 { font-size: 2.5rem; line-height: 1.4; font-weight: 700; }
h2 { font-size: 2rem; line-height: 1.4; font-weight: 600; }
h3 { font-size: 1.75rem; line-height: 1.4; font-weight: 600; }
h4 { font-size: 1.5rem; line-height: 1.4; font-weight: 600; }
h5 { font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
h6 { font-size: 1rem; line-height: 1.4; font-weight: 500; }

/* Kontrast Oranları */
body {
    color: #333333;
    background-color: #ffffff;
}

a {
    color: #0066cc;
}

a:hover, a:focus {
    color: #004499;
}

/* Mobil - Minimum 16px */
@media (max-width: 768px) {
    body { font-size: 16px; }
    p, li, td, th, span, div { font-size: 16px; }
    input, textarea, select { font-size: 16px; }
    button { font-size: 16px; }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    h6 { font-size: 1rem; }
}

/* Focus göstergeleri - sadece klavye navigasyonunda göster */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Mouse ile tıklamada outline kaldır */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

/* Ekran okuyucu için gizli içerik */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Açılır menü ok ikonu düzeltmesi - Font Awesome 6 uyumluluğu */
.header__menu .main__menu li.has__dropdown > a::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    content: "\f078" !important;
    display: inline-block !important;
    font-size: 11px !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    color: inherit !important;
    opacity: 0.7;
}

.flyoutMenu .flyout-main__menu li.has__dropdown > a::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    content: "\f078" !important;
    display: inline-block !important;
    font-size: 11px !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
}
