/* =========================================================
   Imora — ortak stiller (düz CSS, derleme adımı yok)

   TASARIM DİLİ: "mühendislik defteri". Logodaki iki renk — koyu kömür ve
   çivit/mor mavi — kâğıt tonlu açık zemin üzerinde kullanılır. Kareye yakın
   köşeler, ince çizgiler, ızgara zemin, kod yazı tipi etiketleri, sert gölge.
   Üst menü ve alt bilgi koyu (logonun beyaz sürümü orada okunur); açılış
   (scroll hero) kendi koyu dünyasında kalır.

   Yalnızca ORTAK parçalar burada. Sayfaya özel düzen o sayfanın .cshtml
   dosyasındaki @section Styles bloğundadır.
   ========================================================= */

/* ---------- Logo paleti ---------- */
:root {
  --ink: #1d1d20;            /* logo kömürü */
  --ink-soft: #2a2a2d;
  --ink-text: #202023;
  --muted: #5a5c66;

  --blue: #717be8;           /* logo mavisi */
  --blue-deep: #4a54c8;      /* açık zeminde metin/bağlantı için */
  --blue-soft: #e8eafd;
  --blue-tint: #f3f4fe;

  --paper: #f4f5fa;
  --paper-2: #e9ebf7;
  --white: #ffffff;
  --line: #d9d9d0;
  --line-soft: rgba(29, 29, 32, 0.055);

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1240px;
  --header-h: 64px;
  --nav-space: 74px;
  --shadow-hard: 5px 5px 0 var(--blue);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Eski adlar: mevcut view'lar bunları kullanıyor */
  --primary: var(--blue);
  --primary-light: var(--blue-deep);
  --on-surface: var(--ink-text);
  --on-surface-variant: var(--muted);
  --surface: var(--white);
  --glass: var(--white);
  --glass-border: var(--line);
}
@media (min-width: 1024px) { :root { --header-h: 76px; --nav-space: 80px; } }

/* Scroll hero kendi koyu paletini korur (hero dosyası değişmedi) */
.imora-hero-track { --obsidian: #0f0f0f; --primary: #767dff; --on-surface-variant: #9aa0a8; }

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background-color: var(--paper);
  color: var(--ink-text); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.03em; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 2px; }
.hidden { display: none !important; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400; vertical-align: middle; user-select: none; font-size: 1.4rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 16px; }

/* ---------- Yerleşim ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.container--narrow { max-width: 54rem; }
.section { position: relative; padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section--bordered { border-top: 1px solid var(--line); }
.section--top-tight { padding-top: 24px; }
.section--bottom-tight { padding-bottom: 24px; }
.section--paper { background: var(--paper-2); }
/* Mühendislik defteri ızgarası: yalnızca istenen bölümlerde (ana sayfa girişi) */
.section--grid { background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 48px 48px; }
.section--dark { background: var(--ink); color: #e9e9ee; --on-surface-variant: #a5a7b3; --muted: #a5a7b3; }
.center { text-align: center; }

/* ---------- Başlıklar ---------- */
/* Kod yazı tipinde küçük etiket:  // ÜRÜNLER  */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep);
}
.eyebrow::before { content: '//'; color: var(--blue); }
.section--dark .eyebrow { color: var(--blue); }
.display-title { font-size: clamp(2.4rem, 6vw, 4.75rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.045em; color: var(--ink); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.1; color: var(--ink); }
.section--dark .display-title, .section--dark .section-title { color: #fff; }
.section-lead { margin-top: 20px; max-width: 40rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.section-head { max-width: 48rem; margin: 0 0 48px; }
.section-head--left { margin-left: 0; text-align: left; }
.center .section-head, .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-gradient { color: var(--blue-deep); background: none; -webkit-text-fill-color: currentColor; }
.section--dark .text-gradient, .hero-dark .text-gradient { color: var(--blue); }
/* Başlıkta vurgu: altı çizili mavi şerit */
.mark { background: linear-gradient(transparent 62%, var(--blue-soft) 62%); }

/* ---------- Kart ---------- */
.card {
  position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s;
}
@media (min-width: 640px) { .card { padding: 32px; } }
.card--hover:hover { transform: translate(-3px, -3px); border-color: var(--ink); box-shadow: var(--shadow-hard); }
.card-title { margin-bottom: 8px; font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.card-text { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.card-link { position: absolute; inset: 0; z-index: 30; border-radius: inherit; }
.icon-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: var(--radius-sm); background: var(--ink); color: var(--blue); }
.cta-card { padding: 48px 24px; text-align: center; }
@media (min-width: 1024px) { .cta-card { padding: 64px; } }
.cta-card .section-title { margin-bottom: 16px; }
.cta-card .section-lead { margin: 0 auto 32px; max-width: 36rem; }

/* ---------- Ürün/hizmet kartı (_OfferingCard.cshtml) ---------- */
.offering-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.offering-card-cover { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.offering-card-cover img, .offering-card-cover video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.offering-card:hover .offering-card-cover img, .offering-card:hover .offering-card-cover video { transform: scale(1.04); }
.offering-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 28px; }
.offering-card-bar { display: none; }
.offering-card-tag { margin-bottom: 14px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); }
.offering-card .card-text { margin-bottom: 24px; font-size: .95rem; }
.offering-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.offering-card-more .material-symbols-outlined { font-size: 1.1rem; color: var(--blue-deep); transition: transform .2s; }
.offering-card:hover .offering-card-more .material-symbols-outlined { transform: translateX(4px); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  border: 1px solid var(--ink); border-radius: var(--radius-sm); background: transparent;
  color: var(--ink); font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; transition: all .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn .material-symbols-outlined { font-size: 1.1rem; transition: transform .15s; }
.btn:hover .material-symbols-outlined { transform: translateX(3px); }
.btn--primary { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--blue); }
.btn--primary:hover { transform: translate(2px, 2px); background: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--blue); }
.btn--primary .material-symbols-outlined { color: var(--blue); }
.btn--lg { padding: 16px 28px; font-size: 0.95rem; }
.btn--sm { padding: 8px 14px; font-size: 12px; text-transform: uppercase; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.section--dark .btn { border-color: #fff; color: #fff; }
.section--dark .btn:hover { background: #fff; color: var(--ink); }
.section--dark .btn--primary { border-color: var(--blue); background: var(--blue); color: var(--ink); box-shadow: 4px 4px 0 #fff; }
.section--dark .btn--primary:hover { background: var(--blue); color: var(--ink); box-shadow: 2px 2px 0 #fff; }
.section--dark .btn--primary .material-symbols-outlined { color: var(--ink); }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-row { margin-top: 20px; }
.form-label { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.form-input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: 0.95rem; transition: all .15s;
}
.form-input::placeholder { color: #9a9ca6; }
.form-input:hover { border-color: var(--ink); }
.form-input:focus { outline: 0; border-color: var(--blue-deep); box-shadow: 3px 3px 0 var(--blue); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-alert, .form-success { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; }
.form-alert { border: 1px solid #e0a3a3; background: #fdeeee; color: #8e2a2a; }
.form-success { border: 1px solid #98d3b3; background: #eaf8f0; color: #1d6b43; }
.hp-field { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }

/* ---------- Sayfa başlığı (iç sayfaların üstü): koyu, logo eğimli bitiş ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-space) + 44px) 0 90px; background: var(--ink); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
@media (min-width: 1024px) { .page-hero { padding: calc(var(--nav-space) + 72px) 0 130px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%); } }
.page-hero::before { content: ''; position: absolute; right: -10%; top: -40%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(113, 123, 232, 0.28), transparent 70%); pointer-events: none; }
/* Logodaki eğik bloklar: iki içi boş çizgi */
.page-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.page-hero-deco::before, .page-hero-deco::after { content: ''; position: absolute; top: -10%; bottom: -10%; width: 90px; border: 1px solid rgba(113, 123, 232, 0.28); border-radius: 18px; transform: skewX(-14deg); }
.page-hero-deco::before { right: 22%; }
.page-hero-deco::after { right: 14%; width: 150px; background: rgba(113, 123, 232, 0.06); }
.page-hero .container { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .page-hero-grid--media { grid-template-columns: 1.25fr 0.75fr; gap: 72px; } }
.page-hero .eyebrow { color: var(--blue); }
.page-hero-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #b9bac4; }
.page-hero-back:hover { color: #fff; }
.page-hero-back .material-symbols-outlined { font-size: 1.1rem; }
.page-hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; color: #fff; max-width: 18ch; }
.page-hero-title .accent { color: var(--blue); }
/* Tek sözcüklü başlıkta renk geçişi: beyazdan maviye */
.page-hero-title .accent--grad { background: linear-gradient(90deg, #fff 0%, #aab0ff 45%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.page-hero-lead { max-width: 38rem; margin-top: 22px; font-size: 1.125rem; line-height: 1.7; color: #b9bac4; }
.page-hero-meta { margin-top: 24px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.page-hero-media { width: 100%; max-width: 440px; justify-self: end; }
.page-hero .media-frame, .page-hero .browser-frame { border-color: #3a3a42; box-shadow: 6px 6px 0 var(--blue); }
.page-hero .media-frame { background: #000; }
@media (max-width: 1023px) { .page-hero-media { justify-self: start; max-width: 100%; } }

/* ---------- Medya ---------- */
.media-frame { position: relative; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow-hard); }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.browser-frame { overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-hard); }
.browser-frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--ink); background: var(--ink); }
.browser-frame-bar i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #55565e; }
.browser-frame-bar i:nth-child(1) { background: var(--blue); }
.browser-frame video, .browser-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.media-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ratio-16-10 { aspect-ratio: 16 / 10; }

/* ---------- Kod penceresi (yazılım firması imzası) ---------- */
.code-window { overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow-hard); color: #dcdce4; }
.code-window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #36363b; }
.code-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4a52; }
.code-window-bar i:first-child { background: var(--blue); }
.code-window-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: #8b8d99; }
.code-window pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.85; }
.code-window .k { color: var(--blue); }       /* anahtar sözcük */
.code-window .s { color: #c9ccff; }           /* metin */
.code-window .c { color: #7b7d8a; }           /* yorum */
.code-window .l { color: #4a4a52; user-select: none; margin-right: 18px; }  /* satır no */

/* ---------- Üst menü: yüzen hap ---------- */
/* Başlık akışta yer kaplamaz (height:0); hap içeriğin üstünde süzülür, kaydırırken yapışık kalır. */
.site-header { position: sticky; top: 0; z-index: 50; height: 0; }
.site-header-line { display: none; }
.site-header .site-header-bar {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 20px)); max-width: none; margin: 0; height: 58px; padding: 0 7px 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(29, 29, 32, 0.8); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: background .25s, box-shadow .25s, top .25s;
}
.site-header.is-scrolled .site-header-bar { background: rgba(29, 29, 32, 0.94); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 28px; width: auto; max-width: 11rem; object-fit: contain; }
.site-nav { display: none; align-items: center; gap: 2px; }
.nav-link { padding: 9px 15px; border-radius: 999px; white-space: nowrap; font-family: var(--font-head); font-size: 0.9rem; font-weight: 500; color: #b9bac4; transition: background .15s, color .15s; }
.nav-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-link.is-active { background: rgba(113, 123, 232, 0.24); color: #fff; }
.site-header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header-lang { display: none; }
.menu-toggle, .menu-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.menu-toggle { background: var(--blue); color: var(--ink); transition: transform .15s; }
.menu-toggle:hover { transform: scale(1.06); }
.menu-close { border: 1px solid #4a4a52; }
@media (min-width: 1280px) {
  .site-nav, .site-header-lang { display: flex; }
  .menu-toggle { display: none; }
  .site-header-tools { margin-left: 0; }
  .site-header .site-header-bar { height: 62px; padding: 0 10px 0 28px; top: 14px; }
  .site-logo img { height: 30px; }
}
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; }
.lang-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #b9bac4; }
.lang-pill:hover { color: #fff; }
.lang-pill.is-current { background: var(--blue); color: var(--ink); }

/* Açılır alt menü (üst menüde alt öğesi olan öğeler) */
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 2px; }
.nav-drop .material-symbols-outlined { font-size: 1.1rem; }
.nav-sub { position: absolute; left: 0; top: 100%; min-width: 200px; margin-top: 6px; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; background: rgba(29, 29, 32, 0.97); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub-link { display: block; padding: 10px 14px; border-radius: 12px; white-space: nowrap; font-family: var(--font-head); font-size: 0.9rem; color: #d6d7de; }
.nav-sub-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mobile-menu-sub { display: block; padding: 12px 20px; border-bottom: 1px solid #2a2a2e; font-size: 1.05rem; color: #b9bac4; }

/* Başlık içeriğin üstünde süzüldüğü için sayfanın ilk bölümüne boşluk bırakılır */
main > .section:first-child { padding-top: calc(var(--nav-space) + 40px); }
@media (min-width: 1024px) { main > .section:first-child { padding-top: calc(var(--nav-space) + 64px); } }

/* Mobil menü (tam ekran) */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; overflow-y: auto; }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; padding-top: 20px; padding-bottom: 24px; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-menu-top .eyebrow { margin-bottom: 0; }
.mobile-menu-list { display: flex; flex-direction: column; }
.mobile-menu-link { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid #34343a; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #fff; }
.mobile-menu-link .material-symbols-outlined { color: var(--blue); }
.mobile-menu-link.is-active { color: var(--blue); }
.mobile-menu-lang { margin-top: auto; padding-top: 32px; }

/* ---------- Alt bilgi (koyu): büyük e-posta + dev marka yazısı ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: #b9bac4; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 56px; padding: 88px 0 56px; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.3fr 1fr; gap: 80px; padding: 120px 0 72px; } }
.footer-kicker { display: block; margin-bottom: 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.footer-kicker::before { content: '// '; }
.footer-mail-big { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: clamp(1.6rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: #fff; border-bottom: 2px solid #3a3a42; padding-bottom: 8px; transition: border-color .2s, color .2s; word-break: break-all; }
.footer-mail-big .material-symbols-outlined { font-size: 1em; color: var(--blue); transition: transform .2s; }
.footer-mail-big:hover { border-color: var(--blue); }
.footer-mail-big:hover .material-symbols-outlined { transform: translate(4px, -4px); }
.footer-about { max-width: 30rem; margin-top: 28px; font-size: 0.95rem; line-height: 1.75; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.footer-col--wide { grid-column: 1 / -1; }
.footer-heading { margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #7b7d8a; }
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.95rem; color: #d6d7de; transition: color .15s, transform .15s; }
.footer-link:hover { color: var(--blue); }
.footer-text { font-size: 0.92rem; line-height: 1.65; color: #b9bac4; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a { padding: 7px 14px; border: 1px solid #3a3a42; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; color: #d6d7de; transition: all .15s; }
.footer-social a:hover { border-color: var(--blue); background: var(--blue); color: var(--ink); }

/* Dev marka yazısı: içi boş, alt kenardan taşar */
.footer-mark { margin: 0 0 -0.16em; padding: 0 12px; text-align: center; user-select: none; white-space: nowrap; overflow: hidden;
  font-family: var(--font-head); font-size: 17.2vw; font-weight: 700; line-height: 0.86; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px #34343b; }
.footer-mark span { -webkit-text-stroke-color: rgba(113, 123, 232, 0.55); }

.footer-bottom { position: relative; border-top: 1px solid #34343a; background: var(--ink); font-family: var(--font-mono); font-size: 12px; color: #8b8d99; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; padding-bottom: 28px; }
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .material-symbols-outlined { font-size: 1rem; }

/* ---------- Zengin metin (admin editöründen gelen HTML) ---------- */
.rich-content { font-size: 1.075rem; line-height: 1.85; color: #3d3f48; }
.rich-content > p:first-of-type { font-size: 1.25rem; font-weight: 500; line-height: 1.8; color: var(--ink); }
.rich-content p { margin-bottom: 22px; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 40px 0 14px; font-weight: 700; color: var(--ink); }
.rich-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.rich-content h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
.rich-content h4 { font-size: 1.125rem; }
.rich-content ul, .rich-content ol { margin-bottom: 26px; }
.rich-content ul li { position: relative; margin-bottom: 10px; padding-left: 28px; }
.rich-content ul li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; background: var(--blue); }
.rich-content ol { counter-reset: n; }
.rich-content ol li { counter-increment: n; position: relative; margin-bottom: 10px; padding-left: 42px; }
.rich-content ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 4px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--blue-deep); }
.rich-content strong, .rich-content b { font-weight: 700; color: var(--ink); }
.rich-content a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }
.rich-content a:hover { color: var(--ink); }
.rich-content blockquote { margin: 32px 0; padding: 20px 28px; border-left: 4px solid var(--blue); background: var(--blue-tint); font-style: italic; color: var(--ink); }
.rich-content img { display: block; max-width: 100%; height: auto; margin: 32px auto; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hard); }
.rich-content pre { margin: 28px 0; padding: 20px; overflow-x: auto; border-radius: var(--radius); background: var(--ink); font-family: var(--font-mono); font-size: 0.92rem; color: #dcdce4; }
.rich-content code { padding: 2px 6px; border-radius: 4px; background: var(--blue-soft); font-family: var(--font-mono); font-size: 0.88em; color: var(--blue-deep); }
.rich-content pre code { padding: 0; background: none; color: inherit; }
.rich-content table { width: 100%; margin: 28px 0; border: 1px solid var(--ink); border-collapse: collapse; }
.rich-content th { padding: 12px 18px; background: var(--ink); text-align: left; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: #fff; }
.rich-content td { padding: 12px 18px; border-top: 1px solid var(--line); }
.rich-panel { padding: 32px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-hard); }
@media (min-width: 768px) { .rich-panel { padding: 56px; } }

/* ---------- Mobil düzeltmeler ---------- */
@media (max-width: 1023px) {
  /* Başlıktaki görsel mobilde çok uzamasın */
  .page-hero-media .media-frame { aspect-ratio: 16 / 10 !important; }
  .page-hero { padding-bottom: 72px; }
}
@media (max-width: 639px) {
  /* IMOR sohbet balonu küçük ekranda içeriğin üstüne binmesin; maskot yeterli */
  #imora-chat-tooltip { display: none !important; }
}

/* ---------- Çerez onay bandı ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; flex-direction: column; gap: 12px; max-width: 420px; padding: 18px 20px; border: 1px solid #3a3a42; border-radius: 16px; background: rgba(29, 29, 32, 0.97); color: #d6d7de; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); font-size: 0.875rem; line-height: 1.6; }
.consent[hidden] { display: none; }
.consent a { color: var(--blue); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn { border-color: #fff; color: #fff; }
.consent .btn:hover { background: #fff; color: var(--ink); }
.consent .btn--primary { border-color: var(--blue); background: var(--blue); color: var(--ink); box-shadow: none; }
.consent .btn--primary:hover { background: var(--blue); color: var(--ink); transform: none; }
@media (max-width: 639px) { .consent { left: 10px; right: 10px; bottom: 84px; max-width: none; } }
