/* =========================================================
   Sitenin Bootstrap 5 üzerindeki temel ayarları
   Bootstrap 5'ten SONRA, tema CSS'inden ÖNCE yüklenir.
   ========================================================= */

/* .row içindeki col olmayan elemanlar: BS5'in width:100% + padding vermesini engelle */
.row > :not([class^="col"]):not([class*=" col"]) {
    width: auto; max-width: none; flex-shrink: 1;
    padding-left: 0; padding-right: 0; margin-top: 0;
}

/* Linkler: altı çizgisiz, hover'da çizgili */
a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* Container: 1400px+ ekranlarda da 1140px */
@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1140px; }
}

/* Gutter: 30px */
.row, .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl { --bs-gutter-x: 30px; }

/* Başlıklar: sabit boyutlar */
h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Label */
label { display: inline-block; margin-bottom: .5rem; }

/* Preloader */
.preloader {
    display: flex; background-color: #f4f6f9; height: 100vh; width: 100%;
    transition: height 200ms linear; position: fixed; left: 0; top: 0;
    z-index: 1037; overflow: hidden;
}
.animation__shake { animation: shake 1500ms; }
@keyframes shake {
    0%   { transform: translate(2px, 1px) rotate(0deg); }
    10%  { transform: translate(-1px, -2px) rotate(-1deg); }
    20%  { transform: translate(-3px, 0) rotate(1deg); }
    30%  { transform: translate(0, 2px) rotate(0deg); }
    40%  { transform: translate(1px, -1px) rotate(1deg); }
    50%  { transform: translate(-1px, 2px) rotate(-1deg); }
    60%  { transform: translate(-3px, 1px) rotate(0deg); }
    70%  { transform: translate(2px, 1px) rotate(-1deg); }
    80%  { transform: translate(-1px, -1px) rotate(1deg); }
    90%  { transform: translate(2px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* Kolonlar: BS4'teki gibi position:relative (tema left/top ile kaydırma kullanıyor) */
.col, [class*="col-"] { position: relative; }

/* AdminLTE'den gelen renk sınıfı (footer'daki CP YEM linki) */
.text-green { color: #28a745 !important; }

/* g-0 / gx-0 / gy-0: yukarıdaki 30px gutter kuralının bunları ezmemesi için */
.row.g-0, .row.gx-0 { --bs-gutter-x: 0; }
.row.g-0, .row.gy-0 { --bs-gutter-y: 0; }

/* #13 Footer hızlı linkler: sadece kayma animasyonu (kalınlık kademeli atlıyordu), ikon kalınlığı sabit */
body #footer ul.quick-links li { transition: margin-left .25s ease; }
body #footer ul.quick-links li a i,
body #footer ul.quick-links li:hover a i { font-weight: 900; }

/* #14 Sayfa üstündeki "Anasayfa / ..." çubuğu: banner ile çizgi arasında dikeyde ortalı */
body .vizyon-misyon-under, body .turkiyedecp-under, body .dunyadacp-under,
body .kalite-under, body .buyukbas-under {
    padding: 14px 0;
    margin-bottom: 0;
}

/* #7 #8 .row dışındaki kolonlar: BS4'teki gibi iki yanda 15px boşluk (kart/çuval listeleri <ul> içinde) */
:not(.row) > .col:not(.row),
:not(.row) > [class*="col-"]:not(.row) {
    padding-left: 15px;
    padding-right: 15px;
}
