/* Oemia — sade kurumsal site stili */
:root {
  --ink: #16232f;
  --ink-soft: #4a5b6b;
  --line: #dfe5ea;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --brand: #0a6fb5;
  --brand-dark: #085a94;
  --brand-tint: #e6f2fa;
  --error: #b3261e;
  --ok: #1d6b3a;
  --radius: 6px;
  --wrap: 1120px;
}

/* Başlık ve logo yazı tipi. Yalnız Medium kesimi kullanılır: Türkçe harflerin tamamı bu dosyada var. */
@font-face {
  font-family: "BankGothic";
  src: url("../fonts/bankgothic-md.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

h1, h2, h3, .brand, .footer-name, .admin-brand {
  font-family: "BankGothic", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-synthesis: none;
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h3 { font-size: 1rem; }
/* BankGothic'te küçük harfler küçük büyük harf olarak çizilir ve "i" noktasızdır; Türkçede "ı" ile
   karışmaması için başlıklar büyük harfe çevrilir (tarayıcı lang="tr" ile i → İ dönüşümünü yapar). */
:lang(tr) :is(h1, h2, h3, .footer-name, .admin-brand) { text-transform: uppercase; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* Üst bölüm */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 1.5rem; letter-spacing: .06em; }
.brand:hover { text-decoration: none; }
.brand img { width: 48px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); padding: 8px 11px; border-radius: var(--radius); font-size: .96rem; white-space: nowrap; }
.site-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.site-nav .lang-switch { margin-left: 12px; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Bölümler */
.hero { padding: 84px 0 72px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 24ch; font-size: clamp(1.7rem, 4.4vw, 2.8rem); }
.hero .lead { max-width: 62ch; }

.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin: 0; max-width: 70ch; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }

.more { font-weight: 600; white-space: nowrap; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { border-color: var(--ink-soft); text-decoration: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* Kartlar */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 4px 16px rgba(22, 35, 47, .08); }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.card-media { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card-body { padding: 18px 20px 22px; }

.eyebrow { margin: 0 0 6px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.card .eyebrow { color: var(--brand); font-size: .78rem; }

.service-card { padding: 22px; }

.cta { text-align: center; }
.cta p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 24px; }

/* Ürün ayrıntısı */
.crumb { margin: 0 0 24px; font-size: .95rem; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gallery-main { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery-empty { background: var(--bg-alt); }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 84px; aspect-ratio: 4 / 3; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-info h1 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); }

.prose p { margin-bottom: .9em; }
.prose h3 { margin: 1.6em 0 .6em; font-size: 1.1rem; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.specs { margin-top: 56px; }
.specs table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.specs th { width: 38%; font-weight: 600; color: var(--ink-soft); }
.specs tr:nth-child(odd) { background: var(--bg-alt); }

/* Hizmetler */
.service { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; padding-bottom: 0; }
.service-media img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service-detail { margin: 20px 0; padding: 20px 22px; background: var(--bg-alt); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.service-detail h3 { margin-bottom: .7em; }
.service-detail .prose p:last-child { margin-bottom: 0; }
.checks { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.checks li { margin-bottom: .35em; break-inside: avoid; }

/* Hakkımızda, politikalar, belgeler */
.sub { margin-top: 2em; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }

.policy { padding: 36px 0; border-bottom: 1px solid var(--line); }
.policy:first-child { padding-top: 0; }
.policy:last-child { border-bottom: 0; }

.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.doc-list a:hover { border-color: var(--brand); text-decoration: none; }
.doc-type { flex: none; min-width: 46px; padding: 4px 8px; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .05em; color: var(--brand); background: var(--brand-tint); border-radius: 4px; }
.doc-title { flex: 1; font-weight: 600; }
.doc-open { color: var(--brand); font-size: .92rem; white-space: nowrap; }

.doc-code { display: inline-block; margin-right: 8px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 4px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); }
.doc-meta { display: block; margin-top: 2px; font-size: .85rem; font-weight: 400; color: var(--ink-soft); }
.quality { margin-top: 12px; }
.quality h3 { margin: 1.8em 0 .8em; }
.quality-lead { font-size: 1rem; margin-bottom: 0; }

/* İnsan kaynakları */
.job-intro { margin-bottom: 36px; }
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.job-card { padding: 22px 24px; }
.job-card p { margin-bottom: 12px; }
.job-closed { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-soft); font-weight: 500 !important; }
.tag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; font-weight: 600; }
.apply-box { margin-top: 36px; padding: 24px; background: var(--bg-alt); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.apply-box p { margin-bottom: .6em; }
.apply-box .btn { margin-top: 10px; }

/* İletişim */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.contact-info dd { margin: 4px 0 22px; font-size: 1.05rem; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.hint { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; padding: 11px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #b9c4cd; border-radius: var(--radius);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.has-error input, .has-error textarea { border-color: var(--error); }
.error { margin: 6px 0 0; color: var(--error); font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.about-product { padding: 10px 14px; background: var(--brand-tint); border-radius: var(--radius); }

.notice { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.notice h2 { font-size: 1.25rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-ok { background: #edf7f0; border-color: #b9dcc5; color: var(--ok); }
.notice-error { background: #fdeeed; border-color: #f0c2bf; color: var(--error); }

/* Alt bölüm */
.site-footer { margin-top: 40px; background: var(--ink); color: #c9d3dc; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.footer-name { color: #fff; font-size: 1.15rem; margin-bottom: .4em; }
.site-footer nav { display: grid; gap: 6px; align-content: start; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #9fb0bd; }

/* Duyarlı düzen */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product, .service, .contact { grid-template-columns: 1fr; gap: 32px; }
  .service-media { order: -1; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 35, 47, .08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .lang-switch { margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
  .hero { padding: 52px 0 44px; }
  .page-head { padding: 36px 0 26px; }
  .section { padding: 40px 0; }
  .checks { columns: 1; }
  .specs th { width: 45%; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .grid, .grid-4, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .doc-list a { flex-wrap: wrap; }
  .doc-open { width: 100%; padding-left: 62px; }
  .specs th, .specs td { display: block; width: 100%; }
  .specs th { padding-bottom: 0; }
  .specs td { padding-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
