/*
 * Ege Redüktör — modern tasarım katmanı (Ekim 2026)
 * Tasarım kaynağı: design/ klasörü ve DESIGN.md. Tema CSS'inden sonra yüklenir.
 */
:root {
  --ege-lacivert: #00415D;
  --ege-gece: #002a3c;
  --ege-kirmizi: #f4462f;
  --ege-buton: #d63a25;
  --ege-buton-ust: #b8301d;
  --ege-metin: #1d2b33;
  --ege-gri: #4b5d66;
  --ege-acik-gri: #c9d8de;
  --ege-zemin: #f3f6f7;
  --ege-zemin-2: #f5f8f9;
  --ege-cizgi: #e3e8eb;
  --ege-genislik: 1240px;
  --ege-baslik-font: "Fira Sans", sans-serif;
  --ege-govde-font: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--ege-govde-font); color: var(--ege-metin); background: #fff; }
h1, h2, h3, h4 { font-family: var(--ege-baslik-font); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ege-kirmizi); outline-offset: 2px;
}
.ege-kap { max-width: var(--ege-genislik); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.ege-ust-baslik { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ege-kirmizi); font-weight: 600; }

/* ---------- Butonlar ---------- */
.ege-btn, .custom-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; line-height: 1.2;
  background: var(--ege-buton); color: #fff !important; border: 0; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ege-btn:hover, .custom-btn:hover { background: var(--ege-buton-ust); color: #fff !important; }
.custom-btn::before, .custom-btn::after { display: none !important; }
.ege-btn--cerceve, .custom-btn.unfill {
  background: transparent; color: var(--ege-lacivert) !important; border: 1.5px solid var(--ege-lacivert); padding: 12.5px 22.5px;
}
.ege-btn--cerceve:hover, .custom-btn.unfill:hover { background: var(--ege-lacivert); color: #fff !important; }
.ege-btn--koyu-cerceve { background: transparent; border: 1.5px solid rgba(255,255,255,.7); color: #fff !important; padding: 12.5px 22.5px; }
.ege-btn--koyu-cerceve:hover { background: #fff; color: var(--ege-lacivert) !important; }
.ege-hap {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none;
  border: 1.5px solid var(--ege-lacivert); color: var(--ege-lacivert);
}
.ege-hap:hover { background: var(--ege-lacivert); color: #fff; }
.ege-hap--dolu { background: var(--ege-buton); border-color: var(--ege-buton); color: #fff; }
.ege-hap--dolu:hover { background: var(--ege-buton-ust); border-color: var(--ege-buton-ust); color: #fff; }

/* ---------- Header ---------- */
.ege-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--ege-cizgi); box-shadow: 0 2px 12px rgba(0,42,60,.06); }
.ege-header__ic { max-width: var(--ege-genislik); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ege-header__logo img { height: 46px; width: auto; display: block; }
.ege-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ege-menu > li { position: relative; }
.ege-menu > li > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 12px 12px; font-weight: 500; font-size: 15px;
  color: var(--ege-lacivert); text-decoration: none; border-radius: 6px;
}
.ege-menu > li > a:hover, .ege-menu > li:focus-within > a { color: var(--ege-kirmizi); }
.ege-menu > li > a[aria-current="page"] { color: var(--ege-kirmizi); }
.ege-menu__ok { width: 14px; height: 14px; }
.ege-alt {
  position: absolute; top: 100%; left: 0; min-width: 280px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--ege-cizgi); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,42,60,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.ege-menu > li:hover > .ege-alt, .ege-menu > li:focus-within > .ege-alt { opacity: 1; visibility: visible; transform: none; }
.ege-alt a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--ege-metin); text-decoration: none; font-size: 15px; }
.ege-alt a:hover { background: #eef3f5; color: var(--ege-lacivert); }
.ege-mega { left: 50%; transform: translate(-50%, 6px); width: min(1060px, 92vw); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 230px; gap: 8px; padding: 20px; }
.ege-menu > li:hover > .ege-mega, .ege-menu > li:focus-within > .ege-mega { transform: translate(-50%, 0); }
.ege-mega a { display: flex; gap: 10px; align-items: center; padding: 8px; }
.ege-mega img { width: 52px; height: 52px; object-fit: contain; background: var(--ege-zemin); border-radius: 6px; flex-shrink: 0; }
.ege-mega strong { display: block; color: var(--ege-lacivert); font-size: 15px; }
.ege-mega small { display: block; color: var(--ege-gri); font-size: 13px; }
.ege-mega__kutu { grid-column: 5; grid-row: 1 / span 2; background: var(--ege-gece); color: #fff; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.ege-mega__kutu strong { color: #fff; font-family: var(--ege-baslik-font); font-size: 17px; }
.ege-mega__kutu span { color: var(--ege-acik-gri); font-size: 14px; line-height: 1.5; }
.ege-mega .ege-mega__kutu a.ege-btn { margin-top: auto; padding: 10px 14px; display: flex; color: #fff; }
.ege-mega__tum { grid-column: 1 / span 4; }
.ege-mega__tum a { font-weight: 600; color: var(--ege-kirmizi); }
.ege-header__aksiyon { display: flex; gap: 10px; align-items: center; }
.ege-header__ac {
  display: none; width: 44px; height: 44px; border: 1px solid var(--ege-cizgi); border-radius: 8px; background: #fff;
  color: var(--ege-lacivert); align-items: center; justify-content: center; cursor: pointer;
}
.ege-header__menu.collapse:not(.show) { display: flex; }

@media (max-width: 1199px) {
  .ege-header__aksiyon .ege-hap:not(.ege-hap--dolu) { display: none; }
}
@media (max-width: 991px) {
  .ege-header__ic { flex-wrap: wrap; padding: 10px 16px; }
  .ege-header__logo img { height: 38px; }
  .ege-header__ac { display: inline-flex; }
  .ege-header__aksiyon { display: none; }
  .ege-header__menu { flex-basis: 100%; max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; }
  .ege-header__menu.collapse:not(.show) { display: none; }
  .ege-menu { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 4px 0 12px; }
  .ege-menu > li > a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid #eef3f5; border-radius: 0; width: 100%; justify-content: space-between; }
  .ege-menu__ok { display: none; }
  .ege-alt, .ege-mega {
    position: static; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; width: auto; min-width: 0;
    padding: 6px 0 12px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  }
  .ege-mega img, .ege-mega small, .ege-mega__kutu { display: none; }
  .ege-mega a, .ege-alt a { padding: 9px 10px; background: var(--ege-zemin-2); border-radius: 6px; font-size: 15px; }
  .ege-mega__tum { grid-column: 1 / -1; }
}

/* ---------- Sayfa başlığı ---------- */
.ege-sayfa-basligi { background: var(--ege-lacivert); color: #fff; }
.ege-sayfa-basligi .ege-kap { padding-top: 40px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 10px; }
.ege-sayfa-basligi h1 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 700; text-transform: none; letter-spacing: 0; }
.ege-konum { font-size: 14px; color: var(--ege-acik-gri); display: flex; flex-wrap: wrap; gap: 8px; }
.ege-konum a { color: var(--ege-acik-gri); text-decoration: none; }
.ege-konum a:hover { color: #fff; }
.ege-konum [aria-current] { color: #fff; }
.promo-section { display: none !important; }

/* ---------- İçerik alanı ---------- */
main.main.spaceBig { padding-top: 56px; padding-bottom: 72px; }
.content-wrap, .ege-seo-content { color: #33444c; }
.content-wrap p, .ege-seo-content p, .ege-seo-content li { font-size: 16.5px; line-height: 1.8; }
.content-wrap h2, .ege-seo-content h2 { color: var(--ege-lacivert); font-size: clamp(24px, 3vw, 30px); line-height: 1.25; margin: 36px 0 14px; }
.content-wrap h3, .ege-seo-content h3 { color: var(--ege-lacivert); font-size: 21px; margin: 26px 0 10px; }
.elementor-icon svg { fill: var(--ege-lacivert); width: 36px; height: 36px; }
.elementor-icon i { color: var(--ege-lacivert); }
.content-wrap a:not(.custom-btn):not(.ege-btn):not(.elementor-button), .ege-seo-content a { color: var(--ege-lacivert); text-decoration: underline; text-decoration-color: rgba(0,65,93,.35); text-underline-offset: 3px; }
.content-wrap a:not(.custom-btn):not(.ege-btn):not(.elementor-button):hover, .ege-seo-content a:hover { color: var(--ege-kirmizi); text-decoration-color: currentColor; }
.ege-table-wrap { border: 1px solid var(--ege-cizgi); border-radius: 10px; overflow-x: auto; }
.ege-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.ege-table th, .ege-table td { border: 0 !important; border-top: 1px solid var(--ege-cizgi) !important; padding: 11px 14px !important; }
.ege-table thead th { background: var(--ege-lacivert) !important; color: #fff; border-top: 0 !important; }
.ege-table tbody tr:nth-child(even) { background: var(--ege-zemin-2); }
.ege-table tbody th { background: var(--ege-zemin-2) !important; color: var(--ege-lacivert); }

/* Form alanları (iletişim, insan kaynakları) */
.elementor-field-group input, .elementor-field-group textarea, .elementor-field-group select,
.wpcf7 input:not([type=submit]), .wpcf7 textarea {
  font: inherit; border: 1px solid #c9d1d5 !important; border-radius: 6px !important; padding: 12px 14px !important; background: #fff !important;
}
.elementor-field-group input:focus, .elementor-field-group textarea:focus { border-color: var(--ege-lacivert) !important; box-shadow: 0 0 0 3px rgba(0,65,93,.12); outline: 0; }
.elementor-button, .wpcf7-submit { background: var(--ege-buton) !important; border-radius: 6px !important; font-weight: 600 !important; }
.elementor-button:hover, .wpcf7-submit:hover { background: var(--ege-buton-ust) !important; }

/* ---------- Ana sayfa ---------- */
.ege-hero { background: var(--ege-lacivert); color: #fff; }
.ege-hero .ege-kap { padding-top: 72px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.ege-hero__metin { display: flex; flex-direction: column; gap: 22px; }
.ege-hero .ege-ust-baslik { color: #ffb4a9; }
.ege-hero h1 { margin: 0; color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 700; }
.ege-hero p { margin: 0; font-size: 18px; line-height: 1.6; color: #d6e4ea; max-width: 520px; }
.ege-hero__butonlar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ege-hero__gorsel { display: flex; justify-content: center; }
.ege-hero__gorsel img { width: 100%; max-width: 480px; height: auto; }

.ege-rakamlar { margin-top: -64px; position: relative; }
.ege-rakamlar__ic { background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,42,60,.12); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ege-rakam { padding: 26px 30px; border-right: 1px solid var(--ege-cizgi); }
.ege-rakam:last-child { border-right: 0; }
.ege-rakam strong { display: block; font-family: var(--ege-baslik-font); font-size: 38px; font-weight: 700; color: var(--ege-lacivert); line-height: 1.15; }
.ege-rakam span { color: var(--ege-gri); font-size: 15px; }

.ege-bolum { padding: 88px 0 40px; }
.ege-bolum h2 { margin: 8px 0 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; color: var(--ege-lacivert); }
.ege-bolum__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.ege-bolum__bas > a { font-weight: 600; color: var(--ege-lacivert); }
.ege-iki { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.ege-iki p { font-size: 16px; line-height: 1.75; color: var(--ege-gri); margin: 16px 0; }
.ege-onay { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 500; }
.ege-onay li { display: flex; gap: 12px; align-items: center; }
.ege-onay svg { flex-shrink: 0; }
.ege-iki__gorsel { background: var(--ege-zemin); border-radius: 12px; padding: 32px; display: flex; align-items: center; justify-content: center; }
.ege-iki__gorsel img { width: 100%; height: auto; }

.ege-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ege-kart {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ege-cizgi); border-radius: 10px; overflow: hidden;
  color: var(--ege-metin); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ege-kart:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,42,60,.14); border-color: var(--ege-lacivert); color: var(--ege-metin); }
.ege-kart__gorsel { background: var(--ege-zemin); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.ege-kart__gorsel img { width: 86%; height: 86%; object-fit: contain; transition: transform .2s ease; }
.ege-kart:hover .ege-kart__gorsel img { transform: scale(1.04); }
.ege-kart__govde { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.ege-kart h3 { margin: 0; font-size: 20px; color: var(--ege-lacivert); }
.ege-kart:hover h3 { color: var(--ege-kirmizi); }
.ege-kart__tip { font-size: 14px; color: var(--ege-gri); }
.ege-kart__alt { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }
.ege-cip { background: #eef3f5; border-radius: 999px; padding: 4px 10px; font-weight: 500; }
.ege-kart__alt b { color: var(--ege-kirmizi); font-weight: 600; }

.ege-bant { padding: 24px 0 64px; }
.ege-bant__ic { background: var(--ege-gece); color: #fff; border-radius: 14px; padding: 44px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ege-bant h2 { margin: 0 0 10px; color: #fff; font-size: 30px; }
.ege-bant p { margin: 0; color: var(--ege-acik-gri); font-size: 16px; line-height: 1.6; max-width: 640px; }
.ege-bant__butonlar { display: flex; flex-wrap: wrap; gap: 12px; }

.ege-haberler { background: var(--ege-zemin-2); padding: 80px 0; }
.ege-haber-kartlari { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ege-haber { background: #fff; border: 1px solid var(--ege-cizgi); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s ease, border-color .2s ease; }
.ege-haber:hover { border-color: var(--ege-lacivert); box-shadow: 0 16px 40px rgba(0,42,60,.12); }
.ege-haber__ust { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; color: var(--ege-gri); }
.ege-haber__ust .ege-cip { color: var(--ege-lacivert); padding: 3px 10px; }
.ege-haber h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.ege-haber h3 a { color: var(--ege-lacivert); text-decoration: none; }
.ege-haber h3 a:hover { color: var(--ege-kirmizi); }
.ege-haber p { margin: 0; color: var(--ege-gri); font-size: 15px; line-height: 1.6; }
.ege-haber > a { font-weight: 600; color: var(--ege-lacivert); margin-top: auto; }

/* ---------- Footer ---------- */
.ege-footer { background: var(--ege-gece); color: var(--ege-acik-gri); font-size: 15px; }
.ege-footer__ic { max-width: var(--ege-genislik); margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.ege-footer__marka { font-family: var(--ege-baslik-font); font-size: 26px; font-weight: 700; color: #fff; }
.ege-footer p { margin: 12px 0 0; line-height: 1.6; color: var(--ege-acik-gri); }
.ege-footer h2 { margin: 0 0 14px; font-size: 16px; color: #fff; font-weight: 600; }
.ege-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ege-footer a { color: var(--ege-acik-gri); text-decoration: none; }
.ege-footer a:hover { color: #fff; }
.ege-footer__iletisim a { color: #fff; }
.ege-footer ul.ege-sosyal { flex-direction: row; gap: 10px; margin-top: 18px; }
.ege-sosyal a { width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); color: #fff; display: flex; align-items: center; justify-content: center; }
.ege-sosyal a:hover { background: rgba(255,255,255,.1); }
.ege-footer__alt { border-top: 1px solid rgba(255,255,255,.12); }
.ege-footer__alt .ege-kap { padding-top: 18px; padding-bottom: 18px; font-size: 14px; }
@media (max-width: 991px) { .ege-footer__ic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .ege-footer__ic { grid-template-columns: 1fr; padding: 40px 16px 32px; gap: 28px; } }

/* ---------- Mobil aksiyon çubuğu ve yukarı çık ---------- */
.ege-mobil-bar { display: none; }
@media (max-width: 767px) {
  .ege-mobil-bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--ege-cizgi); box-shadow: 0 -4px 18px rgba(0,42,60,.08);
  }
  .ege-mobil-bar a { justify-content: center; padding: 13px; }
  body { padding-bottom: 72px; }
  a#scrollUp { bottom: 92px !important; }
  .ege-hero .ege-kap { padding-top: 36px; padding-bottom: 88px; gap: 24px; }
  .ege-rakam { padding: 18px; }
  .ege-rakam strong { font-size: 28px; }
  .ege-rakamlar__ic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ege-rakam:nth-child(2) { border-right: 0; }
  .ege-rakam:nth-child(-n+2) { border-bottom: 1px solid var(--ege-cizgi); }
  .ege-rakam:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ege-kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ege-kart__govde { padding: 12px; }
  .ege-kart h3 { font-size: 16px; }
  .ege-kart__tip, .ege-kart__alt b { display: none; }
  .ege-kart__alt { margin-top: 2px; font-size: 12px; }
  .ege-bant__ic { padding: 28px 20px; }
  .ege-bolum { padding: 56px 0 24px; }
  .ege-kap { padding: 0 16px; }
}
a#scrollUp { width: 48px !important; height: 48px !important; right: 24px !important; border-radius: 999px; background: var(--ege-lacivert); box-shadow: 0 6px 18px rgba(0,42,60,.25); }
a#scrollUp::after { display: none !important; }
a#scrollUp::before { animation: none !important; -webkit-animation: none !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; font-size: 22px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ege-kart, .ege-kart__gorsel img, .ege-alt, .ege-haber { transition: none; }
  .ege-kart:hover { transform: none; }
}
