/* =====================================================================
   AES — Modern Kurumsal Tasarım Sistemi  (aes-modern.css)
   Tüm iç sayfalarda kullanılan ortak bileşenler. Sınıflar "aes-" öneklidir;
   global element stilleri ezilmez (anasayfa ve mevcut tasarım etkilenmez).
   Marka: kırmızı #e61b20 / koyu #a30d12 — altın #d8b46a
   ===================================================================== */
:root{
  --aes-red:#e61b20; --aes-red-600:#c81118; --aes-red-700:#a30d12; --aes-red-800:#7f1418;
  --aes-gold:#d8b46a;
  --aes-ink:#0f172a; --aes-ink-2:#334155; --aes-muted:#64748b; --aes-faint:#94a3b8;
  --aes-line:#eef0f4; --aes-line-2:#e2e8f0; --aes-bg:#f8fafc; --aes-soft:#fff5f5; --aes-soft-2:#fee2e2;
  --aes-shadow:0 1px 2px rgba(15,23,42,.04);
  --aes-shadow-lg:0 18px 40px -16px rgba(15,23,42,.28);
  --aes-radius:18px;
}

/* ---------- Genel sayfa sarmalı ---------- */
.aes-page{ padding:26px 0 60px; }
.aes-page *{ box-sizing:border-box; }

/* ---------- Breadcrumb ---------- */
.aes-breadcrumb{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0 0 18px; font-size:.83rem; }
.aes-breadcrumb li{ display:inline-flex; align-items:center; gap:8px; color:var(--aes-muted); }
.aes-breadcrumb a{ color:var(--aes-muted); text-decoration:none; transition:color .2s; display:inline-flex; align-items:center; gap:6px; }
.aes-breadcrumb a:hover{ color:var(--aes-red); }
.aes-breadcrumb li+li::before{ content:"\f054"; font-family:"Font Awesome 6 Free","Font Awesome 5 Free"; font-weight:900; font-size:.6rem; color:#cbd5e1; }
.aes-breadcrumb .active{ color:var(--aes-ink); font-weight:600; }

/* ---------- Sayfa başlığı (hero kart) ---------- */
.aes-hero{
  position:relative; overflow:hidden; border-radius:22px; color:#fff; padding:34px 30px;
  background:linear-gradient(135deg,#5b0d10 0%,#7f1418 35%,#c81118 75%,#e61b20 100%);
  box-shadow:0 30px 60px -28px rgba(230,27,32,.6); margin-bottom:30px;
}
.aes-hero::before{ content:""; position:absolute; right:-60px; top:-80px; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.aes-hero::after{ content:""; position:absolute; left:-40px; bottom:-90px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle, rgba(216,180,106,.22), transparent 70%); }
.aes-hero .wrap{ position:relative; z-index:2; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.aes-hero .ic{ width:60px; height:60px; flex:0 0 auto; border-radius:18px; background:rgba(255,255,255,.15); display:grid; place-items:center; font-size:24px; color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter:blur(4px); }
.aes-hero h1{ margin:0; font-size:clamp(1.5rem,3vw,2.1rem); font-weight:800; letter-spacing:-.02em; line-height:1.2; }
.aes-hero p{ margin:6px 0 0; font-size:.95rem; opacity:.9; max-width:680px; }
.aes-hero .aes-breadcrumb{ margin:0 0 16px; position:relative; z-index:2; }
.aes-hero .aes-breadcrumb li, .aes-hero .aes-breadcrumb a{ color:rgba(255,255,255,.8); }
.aes-hero .aes-breadcrumb a:hover{ color:#fff; }
.aes-hero .aes-breadcrumb .active{ color:#fff; }
.aes-hero .aes-breadcrumb li+li::before{ color:rgba(255,255,255,.5); }

/* Sade başlık (hero alternatifi) */
.aes-pagehead{ display:flex; align-items:center; gap:14px; margin:6px 0 24px; }
.aes-pagehead .ic{ width:50px; height:50px; flex:0 0 auto; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg,#7f1418,#e61b20); color:#fff; font-size:20px; box-shadow:0 10px 22px -8px rgba(230,27,32,.5); }
.aes-pagehead h1{ margin:0; font-size:1.55rem; font-weight:800; color:var(--aes-ink); letter-spacing:-.02em; }
.aes-pagehead p{ margin:2px 0 0; font-size:.85rem; color:var(--aes-muted); }

/* ---------- Bölüm başlığı ---------- */
.aes-section-title{ display:flex; align-items:center; gap:12px; margin:0 0 20px; }
.aes-section-title .ic{ width:42px; height:42px; flex:0 0 auto; border-radius:12px; background:linear-gradient(135deg,#7f1418,#e61b20); color:#fff; display:grid; place-items:center; }
.aes-section-title h2{ margin:0; font-size:1.3rem; font-weight:800; color:var(--aes-ink); letter-spacing:-.01em; }
.aes-section-title small{ color:var(--aes-faint); font-weight:500; }

/* ---------- Kartlar ---------- */
.aes-card{ background:#fff; border:1px solid var(--aes-line); border-radius:var(--aes-radius); box-shadow:var(--aes-shadow); }
.aes-card.pad{ padding:24px; }
@media(min-width:768px){ .aes-card.pad{ padding:30px; } }
.aes-card-hover{ transition:transform .25s, box-shadow .25s, border-color .25s; }
.aes-card-hover:hover{ transform:translateY(-4px); box-shadow:var(--aes-shadow-lg); border-color:var(--aes-soft-2); }

/* Görselli liste kartı (haber/medya/galeri) */
.aes-tile{ display:flex; flex-direction:column; height:100%; background:#fff; border:1px solid var(--aes-line); border-radius:var(--aes-radius); overflow:hidden; box-shadow:var(--aes-shadow); transition:transform .25s, box-shadow .25s, border-color .25s; }
.aes-tile:hover{ transform:translateY(-4px); box-shadow:var(--aes-shadow-lg); border-color:var(--aes-soft-2); }
.aes-tile-thumb{ position:relative; display:block; aspect-ratio:16/10; overflow:hidden; background:#f1f5f9; }
.aes-tile-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.aes-tile:hover .aes-tile-thumb img{ transform:scale(1.06); }
.aes-tile-thumb .ov{ position:absolute; inset:0; background:linear-gradient(to top, rgba(15,23,42,.5), transparent 45%); }
.aes-tile-badge{ position:absolute; left:12px; bottom:12px; z-index:2; display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.92); color:var(--aes-ink); font-size:.72rem; font-weight:600; padding:5px 10px; border-radius:999px; backdrop-filter:blur(4px); }
.aes-tile-badge i{ color:var(--aes-red); }
.aes-tile-body{ display:flex; flex-direction:column; flex:1; padding:16px; }
.aes-tile-title{ margin:0 0 12px; font-size:1rem; line-height:1.45; font-weight:700; }
.aes-tile-title a{ color:var(--aes-ink); text-decoration:none; transition:color .2s; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.aes-tile-title a:hover{ color:var(--aes-red); }
.aes-tile-more{ margin-top:auto; align-self:flex-start; display:inline-flex; align-items:center; gap:8px; color:var(--aes-red-700); font-weight:700; font-size:.82rem; text-decoration:none; }
.aes-tile-more i{ transition:transform .2s; }
.aes-tile-more:hover{ color:var(--aes-red); }
.aes-tile-more:hover i{ transform:translateX(4px); }

/* Kişi kartı (temsilci/firma/kurul üyesi) */
.aes-person{ display:flex; flex-direction:column; align-items:center; text-align:center; height:100%; background:#fff; border:1px solid var(--aes-line); border-radius:var(--aes-radius); padding:22px 18px; box-shadow:var(--aes-shadow); transition:transform .25s, box-shadow .25s, border-color .25s; }
.aes-person:hover{ transform:translateY(-4px); box-shadow:var(--aes-shadow-lg); border-color:var(--aes-soft-2); }
.aes-person .ava{ width:88px; height:88px; border-radius:50%; object-fit:cover; background:linear-gradient(135deg,#fee2e2,#fecaca); color:var(--aes-red-700); display:grid; place-items:center; font-weight:800; font-size:1.6rem; overflow:hidden; box-shadow:inset 0 0 0 3px rgba(230,27,32,.15); margin-bottom:14px; }
.aes-person .nm{ font-size:1rem; font-weight:700; color:var(--aes-ink); }
.aes-person .rl{ font-size:.82rem; color:var(--aes-muted); margin-top:2px; }
.aes-person .meta{ margin-top:12px; display:flex; flex-direction:column; gap:6px; width:100%; }
.aes-person .meta a, .aes-person .meta span{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:.82rem; color:var(--aes-ink-2); text-decoration:none; }
.aes-person .meta i{ color:var(--aes-red); width:16px; }
.aes-person .meta a:hover{ color:var(--aes-red); }

/* ---------- Butonlar ---------- */
.aes-btn{ display:inline-flex; align-items:center; gap:9px; border:0; cursor:pointer; font-weight:700; font-size:.9rem; padding:11px 24px; border-radius:12px; text-decoration:none; transition:.2s; line-height:1; background:linear-gradient(135deg,#c81118,#e61b20); color:#fff; box-shadow:0 10px 22px -10px rgba(230,27,32,.6); }
.aes-btn:hover{ filter:brightness(1.05); transform:translateY(-1px); color:#fff; }
.aes-btn-outline{ display:inline-flex; align-items:center; gap:9px; border:1px solid var(--aes-line-2); background:#fff; color:var(--aes-red-700); font-weight:700; font-size:.85rem; padding:10px 20px; border-radius:12px; text-decoration:none; transition:.2s; }
.aes-btn-outline:hover{ border-color:#fbcfd0; background:var(--aes-soft); color:var(--aes-red-700); }
.aes-btn-ghost{ display:inline-flex; align-items:center; gap:8px; background:#f1f5f9; color:var(--aes-ink-2); font-weight:600; padding:10px 18px; border-radius:12px; text-decoration:none; transition:.2s; border:0; }
.aes-btn-ghost:hover{ background:#e2e8f0; }
.aes-btn i{ transition:transform .2s; }
.aes-btn:hover i{ transform:translateX(3px); }

/* ---------- Rozet / pill ---------- */
.aes-badge{ display:inline-flex; align-items:center; gap:6px; background:var(--aes-soft); color:var(--aes-red-700); border:1px solid var(--aes-soft-2); font-size:.74rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase; padding:5px 12px; border-radius:999px; }
.aes-chip{ display:inline-flex; align-items:center; gap:6px; background:#f1f5f9; color:var(--aes-ink-2); font-size:.78rem; font-weight:600; padding:5px 12px; border-radius:999px; }

/* ---------- Pill sekmeler ---------- */
.aes-tabs{ display:flex; flex-wrap:wrap; gap:8px; border:0 !important; margin-bottom:22px; }
.aes-tabs .nav-link, .aes-tabs > a, .aes-tabs > button{ border:1px solid var(--aes-line-2); border-radius:999px; padding:9px 20px; color:var(--aes-ink-2); font-weight:600; font-size:.9rem; background:#fff; transition:.2s; cursor:pointer; text-decoration:none; }
.aes-tabs .nav-link:hover{ border-color:#fbcfd0; color:var(--aes-red-700); }
.aes-tabs .nav-link.active, .aes-tabs > a.active{ background:linear-gradient(135deg,#c81118,#e61b20); border-color:transparent; color:#fff; box-shadow:0 8px 18px -8px rgba(230,27,32,.6); }

/* ---------- Tablo ---------- */
.aes-table{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; border:1px solid var(--aes-line); border-radius:var(--aes-radius); overflow:hidden; box-shadow:var(--aes-shadow); }
.aes-table thead th{ background:var(--aes-bg); color:var(--aes-muted); font-size:.74rem; text-transform:uppercase; letter-spacing:.04em; font-weight:700; padding:14px 16px; text-align:left; border-bottom:1px solid var(--aes-line); }
.aes-table tbody td{ padding:14px 16px; border-top:1px solid var(--aes-line); font-size:.9rem; color:var(--aes-ink-2); vertical-align:middle; }
.aes-table tbody tr:first-child td{ border-top:0; }
.aes-table tbody tr:hover{ background:var(--aes-bg); }
.aes-table-wrap{ overflow-x:auto; border-radius:var(--aes-radius); }

/* ---------- Dosya / indirme listesi ---------- */
.aes-files{ display:flex; flex-direction:column; gap:10px; }
.aes-file{ display:flex; align-items:center; gap:12px; padding:13px 16px; border:1px solid var(--aes-line); border-radius:14px; text-decoration:none; color:var(--aes-ink); font-size:.9rem; font-weight:600; background:#fff; transition:.2s; }
.aes-file:hover{ border-color:var(--aes-soft-2); background:var(--aes-soft); color:var(--aes-red-700); transform:translateX(3px); }
.aes-file .fic{ width:40px; height:40px; flex:0 0 auto; border-radius:11px; background:var(--aes-soft-2); color:var(--aes-red-700); display:grid; place-items:center; font-size:1.05rem; }
.aes-file .fmeta{ display:flex; flex-direction:column; min-width:0; }
.aes-file .fmeta small{ color:var(--aes-faint); font-weight:500; font-size:.74rem; }
.aes-file .fdl{ margin-left:auto; color:var(--aes-faint); }

/* ---------- Formlar ---------- */
.aes-form label{ display:block; font-size:.85rem; font-weight:600; color:var(--aes-ink-2); margin-bottom:6px; }
.aes-form .req{ color:var(--aes-red); }
.aes-input, .aes-form .form-control, .aes-form .form-select{ width:100%; border:1px solid var(--aes-line-2); border-radius:12px; padding:11px 14px; font-size:.92rem; color:var(--aes-ink); background:#fff; transition:.2s; }
.aes-input:focus, .aes-form .form-control:focus, .aes-form .form-select:focus{ border-color:var(--aes-red); box-shadow:0 0 0 3px rgba(230,27,32,.12); outline:0; }
textarea.aes-input{ resize:vertical; }

/* ---------- İçerik tipografisi (prose) ---------- */
.aes-prose{ color:var(--aes-ink-2); font-size:1rem; line-height:1.85; }
.aes-prose p{ margin-bottom:14px; }
.aes-prose img{ max-width:100%; height:auto; border-radius:12px; margin:10px 0; }
.aes-prose h2,.aes-prose h3,.aes-prose h4{ color:var(--aes-ink); font-weight:700; margin:22px 0 12px; }
.aes-prose a{ color:var(--aes-red-700); }
.aes-prose ul,.aes-prose ol{ margin:0 0 14px 1.1rem; }
.aes-prose li{ margin-bottom:6px; }
.aes-prose table{ width:100%; }
.aes-prose blockquote{ border-left:4px solid var(--aes-red); background:var(--aes-soft); padding:12px 18px; border-radius:0 12px 12px 0; margin:0 0 14px; color:var(--aes-ink-2); }

/* ---------- Accordion ---------- */
.aes-accordion .accordion-item{ border:1px solid var(--aes-line) !important; border-radius:14px !important; overflow:hidden; margin-bottom:10px; background:#fff; box-shadow:var(--aes-shadow); }
.aes-accordion .accordion-button{ padding:15px 16px; font-weight:600; color:var(--aes-ink); box-shadow:none !important; border-radius:14px !important; }
.aes-accordion .accordion-button:not(.collapsed){ background:linear-gradient(135deg,#880006,#d21921); color:#fff; }
.aes-accordion .accordion-button:not(.collapsed)::after{ filter:brightness(0) invert(1); }
.aes-accordion .accordion-button:focus{ box-shadow:none !important; }
.aes-accordion .accordion-body{ padding:16px; color:var(--aes-ink-2); font-size:.92rem; line-height:1.75; }

/* ---------- Boş durum ---------- */
.aes-empty{ text-align:center; color:var(--aes-faint); padding:56px 20px; }
.aes-empty i{ font-size:2.2rem; display:block; margin-bottom:12px; color:#cbd5e1; }
.aes-empty h3{ font-size:1.05rem; color:var(--aes-muted); font-weight:700; margin:0 0 4px; }

/* ---------- Sayfalama ---------- */
.aes-pagination{ display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:30px; list-style:none; padding:0; }
.aes-pagination a, .aes-pagination span{ min-width:40px; height:40px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center; border-radius:11px; border:1px solid var(--aes-line-2); background:#fff; color:var(--aes-ink-2); font-weight:600; font-size:.88rem; text-decoration:none; transition:.2s; }
.aes-pagination a:hover{ border-color:#fbcfd0; color:var(--aes-red-700); }
.aes-pagination .active{ background:linear-gradient(135deg,#c81118,#e61b20); border-color:transparent; color:#fff; }

/* ---------- Galeri ---------- */
.aes-gallery-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; }
.aes-gallery-grid a{ display:block; aspect-ratio:1/1; border-radius:14px; overflow:hidden; box-shadow:var(--aes-shadow); position:relative; }
.aes-gallery-grid img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.aes-gallery-grid a:hover img{ transform:scale(1.08); }
.aes-gallery-grid a::after{ content:"\f00e"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; inset:0; display:grid; place-items:center; color:#fff; background:rgba(230,27,32,.0); opacity:0; transition:.25s; font-size:1.4rem; }
.aes-gallery-grid a:hover::after{ background:rgba(15,23,42,.45); opacity:1; }

/* ---------- İletişim bilgi kartı ---------- */
.aes-info{ display:flex; align-items:flex-start; gap:14px; padding:18px; border:1px solid var(--aes-line); border-radius:14px; background:#fff; box-shadow:var(--aes-shadow); }
.aes-info .ic{ width:46px; height:46px; flex:0 0 auto; border-radius:12px; background:var(--aes-soft); color:var(--aes-red-700); display:grid; place-items:center; font-size:1.1rem; }
.aes-info h4{ margin:0 0 3px; font-size:.95rem; font-weight:700; color:var(--aes-ink); }
.aes-info p, .aes-info a{ margin:0; font-size:.88rem; color:var(--aes-muted); text-decoration:none; line-height:1.6; }
.aes-info a:hover{ color:var(--aes-red); }

/* ---------- Yardımcılar ---------- */
.aes-divider{ height:4px; width:56px; border-radius:999px; background:linear-gradient(90deg,#e61b20,#7f1418); }
.aes-muted{ color:var(--aes-muted); }
.aes-stack{ display:flex; flex-direction:column; gap:14px; }
