/* ============================================================================
   E5 — ANA SAYFA ORTAM TANITIM KUTUSU (TR + 8 dil)
   ----------------------------------------------------------------------------
   KAYNAK (uydurma metin YOK): DEVIR-DEEPSEEK/PROJE-ORTAMLARI-PLANI.md
     O1 Mesafe Laboratuvarı · O3 Yarış Pisti · O2 Çizgi Pisti
     İçerik alanları birebir bu plandan alınmıştır.

   ⛔ KURALLAR (ihlal = kapı kırmızı):
     - Akış içindedir: position:relative · z-index:1 (promo şeridi 950'yi EZMEZ).
     - html/body overflow DEĞİŞMEZ; fixed/sticky katman eklenmez; canvas/3D YOK.
     - grid minmax(0,1fr) + min-width:0 → 360/390/768/1024/1440 taşma 0.
     - Dokunma hedefi ≥44px; reduced-motion destekli; RTL için mantıksal özellikler.
   ========================================================================== */

.ortam-tanitim {
  /* Petrol-altın (fintech) paleti — yalnız bu bileşene özel token'lar */
  --ot-petrol: #0B2E35;
  --ot-petrol-2: #123F49;
  --ot-altin: #E9B949;
  --ot-altin-soluk: #F6E4B8;
  --ot-teal: #2BB3A8;
  --ot-acik: #F7F3EA;
  --ot-metin: #EAF4F3;
  --ot-metin-2: #BFD6D6;

  position: relative;             /* akış içi — fixed/sticky DEĞİL */
  z-index: 1;                     /* promo şeridi (950) ve CTA katmanlarının altında */
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin-block: 52px;
  margin-inline: auto;
  padding: 30px clamp(16px, 4vw, 40px) 32px;
  border: 1px solid rgba(233, 185, 73, 0.30);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ot-petrol) 0%, var(--ot-petrol-2) 100%);
  color: var(--ot-metin);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: start;              /* RTL (ar) için mantıksal hizalama */
  box-shadow: 0 18px 46px rgba(3, 20, 25, 0.26);
}

/* İç öğelerin kutu modeli — dış sayfadaki reset'lerden bağımsız */
.ortam-tanitim *,
.ortam-tanitim *::before,
.ortam-tanitim *::after { box-sizing: border-box; }

.ortam-tanitim-ic { max-width: 100%; }

/* Üst etiket: küçük altın rozet */
.ortam-tanitim-eyebrow {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 5px 12px;
  border: 1px solid rgba(233, 185, 73, 0.45);
  border-radius: 999px;
  background: rgba(233, 185, 73, 0.10);
  color: var(--ot-altin);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* Tek h2 — SEO: sayfada başlık hiyerarşisini bozmaz */
.ortam-tanitim h2 {
  margin: 0 0 8px;
  color: var(--ot-acik);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.ortam-tanitim-aciklama {
  max-width: 70ch;
  margin: 0 0 20px;
  color: var(--ot-metin-2);
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* 3 öne çıkan ortam — eşit kolonlar, taşma imkânsız */
.ortam-tanitim-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.ortam-tanitim-kart {
  min-width: 0;                   /* grid öğesi içeriği kolonu zorlamasın */
  padding: 16px 16px 18px;
  border: 1px solid rgba(43, 179, 168, 0.28);
  border-radius: 12px;
  background: rgba(247, 243, 234, 0.045);
}

.ortam-tanitim-no {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ot-altin);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.10em;
}

.ortam-tanitim-kart h3 {
  margin: 0 0 6px;
  color: var(--ot-acik);
  /* Instrument Serif 16px'de küçük bold başlıkta yatay serif çizgisi
     oluşturuyordu (ölçüldü) — kart başlığında gövde sans'ı kullan. */
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ortam-tanitim-kart p {
  margin: 0;
  color: var(--ot-metin-2);
  font-size: 0.88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* CTA — ≥44px dokunma alanı, mevcut .btn/.cta katmanlarıyla çakışmaz */
.ortam-tanitim-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid var(--ot-altin);
  border-radius: 10px;
  background: var(--ot-altin);
  color: #0B2E35;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease, transform 160ms ease;
}

.ortam-tanitim-cta:hover { background: var(--ot-altin-soluk); }

.ortam-tanitim-cta:focus-visible {
  outline: 3px solid var(--ot-teal);
  outline-offset: 3px;
}

/* Dar ekran: tek kolon, yatay taşma yok */
@media (max-width: 760px) {
  .ortam-tanitim { margin-block: 36px; padding-block: 24px 26px; }
  .ortam-tanitim-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ortam-tanitim-kart { padding: 14px; }
}

/* Hareket azaltma tercihi — zaten minimum animasyon, yine de güvence */
@media (prefers-reduced-motion: reduce) {
  .ortam-tanitim-cta { transition: none; }
}
