@charset "utf-8";
/* ============================================================
   DATABANK — İç sayfalar
   ?PID=x ile modern kabuğun içine yerleşen eski sayfa içerikleri.
   Eski içerik Bootstrap 4 / w3.css / Font Awesome sınıfları kullanır;
   Bootstrap CSS'i bilerek yüklenmez (modern .container/.btn ile çakışır).
   Burada yalnızca kullanılan sınıfların modern karşılıkları vardır ve
   hepsi .legacy içiyle sınırlıdır. Öğe seçicileri :where(.legacy) ile
   yazılır (özgüllük 0) ki içerideki modern bileşenleri (proje kartları
   vb.) ezmesin.
   ============================================================ */

/* ---------- Sayfa başlığı ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 0 40px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.page-hero::after {
    content: "";
    position: absolute;
    top: -200px; right: -160px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, var(--red-glow), transparent 62%);
    filter: blur(20px);
    opacity: .35;
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 500; color: var(--muted);
    margin-bottom: 14px;
}
.crumbs a:hover { color: var(--red); }
.crumbs svg { width: 14px; height: 14px; color: var(--muted-2); }
.crumbs span { color: var(--ink-2); }
.page-title { font-size: clamp(28px, 3.6vw, 44px); margin: 0; max-width: 860px; }

.page-section { padding: 48px 0 72px; }

.page-empty { text-align: center; padding: 40px 0 20px; }
.page-empty p { color: var(--muted); }

/* ---------- Tipografi ---------- */
:where(.legacy) { color: var(--ink-2); }
:where(.legacy) h1 { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 14px; }
:where(.legacy) h2 { font-size: 24px; margin: 8px 0 12px; }
:where(.legacy) h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; letter-spacing: -.01em; }
:where(.legacy) h4 { font-size: 16.5px; font-weight: 600; line-height: 1.45; margin: 0 0 10px; letter-spacing: 0; }
:where(.legacy) h5 { font-size: 15px; font-weight: 500; line-height: 1.5; margin: 0 0 8px; letter-spacing: 0; font-family: var(--font-sans); color: var(--ink-2); }
:where(.legacy) h6 { font-size: 13.5px; font-weight: 600; line-height: 1.5; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
:where(.legacy) b, :where(.legacy) strong { font-weight: 700; }
:where(.legacy) p { color: var(--ink-2); }
:where(.legacy) a { color: var(--red); }
:where(.legacy) a:hover { color: var(--red-700); }
:where(.legacy) hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0 18px; }
:where(.legacy) img { height: auto; }
:where(.legacy) ul, :where(.legacy) ol { padding-left: 1.4em; margin: 0 0 1em; list-style: revert; }
:where(.legacy) sup { font-size: .7em; }
:where(.legacy) [hidden] { display: none !important; }

/* Eski sayfaların ana kutuları */
.legacy #detay, .legacy #about { margin: 0; width: 100%; }
.legacy .baslik { display: block; }
.legacy .about { text-align: left; }
.legacy .red { color: var(--red) !important; }
.legacy .green { color: #1F9D55 !important; }
.legacy .crsr { cursor: pointer; }

/* Büyük içerik görselleri (#imgakreditasyon, #imgegitim ...) */
.legacy [id^="img"] {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    border: 0 !important;
}
.legacy .gtp, .legacy .blm { max-width: 220px; margin: 6px 0 12px; }

/* ---------- Bootstrap ızgara karşılığı ---------- */
.legacy .row { display: flex; flex-wrap: wrap; margin-inline: -14px; }
.legacy .row > * { position: relative; width: 100%; padding-inline: 14px; }
.legacy .col, .legacy [class^="col-"], .legacy [class*=" col-"] { position: relative; width: 100%; padding-inline: 14px; }
.legacy .row > .col { flex: 1 0 0%; }
.legacy .row > * + * { margin-top: 0; }
@media (min-width: 576px) {
    .legacy .col-sm-1  { width: 8.333%;  } .legacy .col-sm-2  { width: 16.667%; } .legacy .col-sm-3  { width: 25%; }
    .legacy .col-sm-4  { width: 33.333%; } .legacy .col-sm-5  { width: 41.667%; } .legacy .col-sm-6  { width: 50%; }
    .legacy .col-sm-7  { width: 58.333%; } .legacy .col-sm-8  { width: 66.667%; } .legacy .col-sm-9  { width: 75%; }
    .legacy .col-sm-10 { width: 83.333%; } .legacy .col-sm-11 { width: 91.667%; } .legacy .col-sm-12 { width: 100%; }
}
@media (min-width: 768px) {
    .legacy .col-md-1  { width: 8.333%;  } .legacy .col-md-2  { width: 16.667%; } .legacy .col-md-3  { width: 25%; }
    .legacy .col-md-4  { width: 33.333%; } .legacy .col-md-5  { width: 41.667%; } .legacy .col-md-6  { width: 50%; }
    .legacy .col-md-7  { width: 58.333%; } .legacy .col-md-8  { width: 66.667%; } .legacy .col-md-9  { width: 75%; }
    .legacy .col-md-10 { width: 83.333%; } .legacy .col-md-11 { width: 91.667%; } .legacy .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
    .legacy .col-lg-1  { width: 8.333%;  } .legacy .col-lg-2  { width: 16.667%; } .legacy .col-lg-3  { width: 25%; }
    .legacy .col-lg-4  { width: 33.333%; } .legacy .col-lg-5  { width: 41.667%; } .legacy .col-lg-6  { width: 50%; }
    .legacy .col-lg-7  { width: 58.333%; } .legacy .col-lg-8  { width: 66.667%; } .legacy .col-lg-9  { width: 75%; }
    .legacy .col-lg-10 { width: 83.333%; } .legacy .col-lg-11 { width: 91.667%; } .legacy .col-lg-12 { width: 100%; }
}
/* dar ekranda sütunlar alt alta: aralarına boşluk */
@media (max-width: 767px) {
    .legacy .row > [class*="col-"] { margin-bottom: 22px; }
}
.legacy .container { padding-inline: 0; max-width: none; }

/* eski sınıflar: masaüstü / mobil */
@media (max-width: 600px) { .legacy .desktop { display: none !important; } }
@media (min-width: 601px) { .legacy .mobile { display: none !important; } }

/* ---------- Onay işaretli listeler (fa-check) ---------- */
.legacy .fa-check, .legacy .fa-check-circle { color: var(--red); margin-right: 8px; }
.legacy .fa.c1 {
    display: inline-grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    padding: 0 !important; margin-right: 10px;
    font-size: 11px; vertical-align: 1px;
    background: var(--red-50) !important; color: var(--red) !important;
}
/* "ALT MODÜLLER" gibi h3 + fa-check listeleri: kart ızgarası */
.legacy .about:has(> h3 > .fa) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 28px;
}
.legacy .about:has(> h3 > .fa) > h1,
.legacy .about:has(> h3 > .fa) > hr { grid-column: 1 / -1; margin-bottom: 4px; }
.legacy .about > h3:has(> .fa) {
    display: flex; align-items: center;
    margin: 0;
    padding: 14px 16px;
    font-size: 15px; font-weight: 500; font-family: var(--font-sans);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.legacy .about > h3:has(> .fa) .fa {
    flex: none;
    display: inline-grid; place-items: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--red-50); font-size: 11px; margin-right: 12px;
}

/* ---------- Ribbon ("Popüler" vb.) ---------- */
.legacy .ribbon {
    position: absolute; top: 14px; left: 28px; z-index: 2;
    width: auto; height: auto; overflow: visible;
}
.legacy .ribbon span {
    position: static; display: inline-block; width: auto;
    transform: none; box-shadow: var(--shadow-md); text-shadow: none;
    background: var(--grad-red);
    color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; line-height: 1;
    padding: 7px 12px; border-radius: 999px; text-transform: uppercase;
}
.legacy .ribbon span::before, .legacy .ribbon span::after { display: none; }

/* ---------- Kartlar ---------- */
.legacy .card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; height: auto; margin-bottom: 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.legacy .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.legacy .card-img-top { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 0 !important; border-radius: 0 !important; }
.legacy .card-body { padding: 18px !important; }
.legacy .card-title { font-size: 17px; margin-bottom: 6px; }
.legacy .card-text { color: var(--muted); font-size: 14px; }

/* ---------- Tablolar ---------- */
:where(.legacy) table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
:where(.legacy) th, :where(.legacy) td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
:where(.legacy) th, :where(.legacy) thead td { font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.legacy .table { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.legacy .table-hover tbody tr:hover { background: var(--bg-soft-2); }

/* ---------- Sekmeler (nav-pills + tab-content) ---------- */
/* .nav modern header'da da kullanılıyor (style.css: height 72px, space-between) — burada sıfırlanır */
.legacy .nav {
    display: flex; flex-wrap: wrap; gap: 6px;
    height: auto; justify-content: flex-start; align-items: stretch;
    padding: 0; margin: 0 0 8px; list-style: none;
}
.legacy .nav.flex-column { flex-direction: column; flex-wrap: nowrap; }
.legacy .nav-pills .nav-link,
.legacy .nav-pills .nav-link.active {
    display: block;
    padding: 11px 16px !important;
    border-radius: var(--r-sm) !important;
    font-size: 14.5px; font-weight: 500;
    color: var(--ink-2) !important;
    background: transparent !important;
    border: 1px solid transparent;
    white-space: normal; line-height: 1.35;
    cursor: pointer;
}
.legacy .nav-pills .nav-link::after { display: none; }
.legacy .nav-pills .nav-link:hover { background: var(--bg-soft) !important; }
.legacy .nav-pills .nav-link.active {
    color: var(--red) !important;
    background: var(--red-50) !important;
    border-color: rgba(225,27,34,.18);
    font-weight: 600;
}
.legacy .tab-content > .tab-pane { display: none; }
.legacy .tab-content > .active { display: block; }
.legacy .fade { transition: opacity .2s linear; }
.legacy .fade:not(.show) { opacity: 0; }

/* ---------- w3.css karşılıkları ---------- */
.legacy .w3-container { padding: 0; }
.legacy .w3-panel { padding: 16px 18px; margin: 16px 0; border-radius: var(--r-md); }
.legacy .w3-padding { padding: 10px 16px !important; }
.legacy .w3-light-grey { background: var(--bg-soft) !important; }
.legacy .w3-green { background: #1F9D55 !important; color: #fff !important; }
.legacy .w3-leftbar, .legacy .w3-leftbar2 { border-left: 4px solid var(--red) !important; }

/* ---------- Bootstrap düğme renkleri ---------- */
.legacy .btn-success { background: var(--grad-red); color: #fff; }
.legacy .btn-danger, .legacy .btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* ---------- Çerez politikası (eski açılır kutu → sabit içerik) ---------- */
.legacy #cookiesDatabank {
    display: block !important;
    position: static !important;
    width: auto !important; max-width: 860px;
    margin: 0 !important; padding: 0 !important;
    background: none !important; box-shadow: none !important; border: 0 !important;
    color: var(--ink-2) !important;
}
.legacy #cookiesDatabank p { color: var(--ink-2) !important; }
.legacy #cookiesDatabank h3 { color: var(--ink) !important; }
.legacy #cookiesDatabank button { display: none !important; }

/* ---------- Sayfa altındaki proje listesi ---------- */
.page-projects {
    margin-top: 64px; padding-top: 56px;
    border-top: 1px solid var(--line);
}
.page-projects .section-head { margin-bottom: 32px; }
