/* Doka Mühendislik — Alt sayfa stilleri (styles.css'i tamamlar) */

/* ── Sayfa başlığı (hero hafif) ─────────────────────────── */
.page-hero{
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(1200px 600px at 80% -20%, color-mix(in oklab, var(--sun) 14%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, color-mix(in oklab, var(--volt) 10%, transparent), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--line) 30%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--line) 30%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 80%);
  opacity: .45;
  pointer-events:none;
}
.page-hero .shell{ position:relative; z-index:1; }

.crumbs{
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 24px;
}
.crumbs a{ color: var(--fg-dim); border-bottom: 1px solid transparent; }
.crumbs a:hover{ color: var(--fg); border-bottom-color: var(--sun); }
.crumbs .sep{ opacity: .4; }

.page-hero h1{
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 0 18px;
  font-size: clamp(36px, 5.5vw, 64px);
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero h1 .accent{ color: var(--sun); }
.page-hero .lede{
  max-width: 64ch;
  color: var(--fg-dim);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  margin: 0;
}

.page-hero .hero-actions{
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* ── İçerik bölümleri ──────────────────────────────────── */
.content-section{
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.content-section:last-of-type{ border-bottom: 0; }
.content-section .shell > h2{
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0 0 24px;
  text-wrap: balance;
}
.content-section .shell > h3{
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 2vw, 26px);
  margin: 32px 0 14px;
}
.content-section p{
  color: var(--fg-dim); line-height: 1.7; max-width: 70ch;
  font-size: 16px;
}
.content-section ul{
  color: var(--fg-dim); line-height: 1.75; max-width: 70ch;
  padding-left: 0; list-style: none;
}
.content-section ul li{
  position: relative; padding-left: 22px; margin-bottom: 8px;
}
.content-section ul li::before{
  content: ""; position: absolute; left: 0; top: 12px;
  width: 10px; height: 1px; background: var(--sun);
}

/* İki sütun düzeni */
.split-2{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
@media (max-width: 880px){ .split-2{ grid-template-columns: 1fr; } }

/* Kart ızgara */
.card-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.feature-card{
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color .25s, transform .25s;
}
.feature-card:hover{
  border-color: color-mix(in oklab, var(--sun) 45%, var(--line));
  transform: translateY(-2px);
}
.feature-card .num{
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--fg-mute); letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.feature-card h4{
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em;
}
.feature-card p{
  font-size: 14px; color: var(--fg-dim); margin: 0; line-height: 1.6;
}

/* Spec tablosu */
.spec-table{
  width: 100%; border-collapse: collapse;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14px;
}
.spec-table th, .spec-table td{
  text-align: left; padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.spec-table thead th{
  background: var(--bg-3);
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--fg-mute); font-weight: 500;
}
.spec-table tbody th{
  font-family: "Inter Tight", sans-serif; font-weight: 500;
  color: var(--fg); width: 38%;
}
.spec-table tbody td{ color: var(--fg-dim); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td{
  border-bottom: 0;
}
.spec-table .yes{ color: var(--leaf); }
.spec-table .no{ color: var(--fg-mute); }

/* Büyük CTA bandı */
.cta-band{
  margin: 0; padding: clamp(48px, 7vw, 80px) 0;
  background:
    radial-gradient(800px 400px at 100% 50%, color-mix(in oklab, var(--sun) 18%, transparent), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cta-band .shell{
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 32px; align-items: center;
}
@media (max-width: 880px){ .cta-band .shell{ grid-template-columns: 1fr; } }
.cta-band h3{
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px;
  letter-spacing: -.02em; line-height: 1.1; text-wrap: balance;
}
.cta-band p{ color: var(--fg-dim); margin: 0 0 18px; max-width: 50ch; }
.cta-band .actions{
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end;
}
@media (max-width: 880px){ .cta-band .actions{ justify-content: flex-start; } }

/* Makale / Blog */
.article-hero img{
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line-soft);
  margin-top: 28px;
}
.article-body{
  max-width: 72ch;
}
.article-body p, .article-body li{
  font-size: 17px; line-height: 1.75; color: var(--fg);
}
.article-body p{ margin: 0 0 18px; }
.article-body h2{
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px;
  letter-spacing: -.02em;
}
.article-body h3{
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(20px, 2vw, 24px); margin: 32px 0 10px;
  letter-spacing: -.01em;
}
.article-body strong{ color: var(--sun); font-weight: 500; }
.article-body a{
  color: var(--fg); border-bottom: 1px solid var(--sun);
}
.article-body a:hover{ color: var(--sun); }
.article-meta{
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-mute); margin: 4px 0 0;
}
.article-meta .pill{
  border: 1px solid var(--line-soft);
  padding: 4px 10px; border-radius: 999px;
  color: var(--fg-dim);
}
.toc{
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 22px 24px; margin: 28px 0;
}
.toc h5{
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute);
  margin: 0 0 12px;
}
.toc ol{ margin: 0; padding-left: 22px; }
.toc li{ margin: 6px 0; color: var(--fg-dim); }
.toc a{ color: var(--fg-dim); border-bottom: 0; }
.toc a:hover{ color: var(--sun); }

/* Ürün karşılaştırma kartları */
.product-compare{
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
@media (max-width: 880px){ .product-compare{ grid-template-columns: 1fr; } }
.product-compare .card{
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.product-compare .img{
  background: var(--bg-3); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}
.product-compare .img img{ width: 100%; height: 100%; object-fit: cover; }
.product-compare .body{ padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-compare h3{
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: 24px; margin: 0; letter-spacing: -.01em;
}
.product-compare .desc{ color: var(--fg-dim); font-size: 14px; margin: 0; line-height: 1.6; }
.product-compare .keyspec{
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
  margin-top: auto;
}
.product-compare .keyspec .k{
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  color: var(--fg-mute); letter-spacing: .12em; text-transform: uppercase;
}
.product-compare .keyspec .v{
  font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 500;
}
.product-compare .foot{
  padding: 0 24px 24px; display: flex; gap: 8px;
}

/* Yerel SEO — iletişim grid */
.contact-page-grid{
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
@media (max-width: 880px){ .contact-page-grid{ grid-template-columns: 1fr; } }
.contact-card{
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 28px 28px 24px;
}
.contact-card h3{
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: 22px; margin: 0 0 18px; letter-spacing: -.01em;
}
.contact-card .row{
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.contact-card .row:last-child{ border-bottom: 0; }
.contact-card .k{
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--fg-mute); letter-spacing: .14em; text-transform: uppercase;
  padding-top: 2px;
}
.contact-card .v{ color: var(--fg); line-height: 1.5; }
.contact-card .v a{ color: inherit; border-bottom: 1px solid var(--sun); }
.contact-card .v a:hover{ color: var(--sun); }

.map-embed{
  width: 100%; aspect-ratio: 5/4;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.map-embed iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.1); }

/* Referans grid */
.ref-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.ref-grid .logo{
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--r);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  padding: 16px; transition: border-color .2s, transform .2s;
}
.ref-grid .logo:hover{ border-color: var(--sun); transform: translateY(-2px); }
.ref-grid .logo img{
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(1) brightness(1.8) contrast(.8); opacity: .8;
  transition: filter .2s, opacity .2s;
}
.ref-grid .logo:hover img{ filter: none; opacity: 1; }

/* SSS / FAQ */
.faq-list{ display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.faq-item{
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open]{ border-color: color-mix(in oklab, var(--sun) 40%, var(--line)); }
.faq-item summary{
  list-style: none; cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500; font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-family: "JetBrains Mono", monospace;
  font-size: 20px; color: var(--sun);
  transition: transform .25s;
}
.faq-item[open] summary::after{ content: "−"; }
.faq-item p{
  padding: 0 22px 22px; margin: 0;
  color: var(--fg-dim); line-height: 1.65; font-size: 15px;
  max-width: 72ch;
}

/* Language switcher */
.lang-switcher{ position: relative; flex-shrink: 0; }
.lang-toggle{
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 10px 5px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--fg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  height: 32px;
  line-height: 1;
}
.lang-toggle:hover{ border-color: var(--sun); background: var(--bg-3); }
.lang-toggle .lang-code{ font-size: 11px; letter-spacing: .1em; }
.lang-toggle .lang-chev{ font-size: 9px; opacity: .55; margin-left: 1px; }

/* Flag squares — inline SVG (always render perfectly) */
.lang-flag{
  display: inline-block;
  width: 22px; height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  line-height: 0;
}
.lang-flag svg{ display: block; width: 100%; height: 100%; }

.lang-menu{
  position: absolute;
  right: 0; top: calc(100% + 8px);
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
  box-shadow: 0 14px 32px color-mix(in oklab, #000 50%, transparent);
}
.lang-menu.open{ display: flex; }
.lang-menu a{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  color: var(--fg-dim);
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}
.lang-menu a:hover{ background: var(--bg-3); color: var(--fg); }
.lang-menu a[aria-current="true"]{ color: var(--sun); background: color-mix(in oklab, var(--sun) 14%, transparent); }
.lang-menu .lang-flag{ width: 26px; height: 19px; }
.lang-menu .lang-name{ flex: 1; }
.lang-menu .lang-code-sm{
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--fg-mute);
  letter-spacing: .12em;
  font-weight: 500;
}

@media (max-width: 640px){
  .lang-toggle{ padding: 5px 8px; }
  .lang-toggle .lang-code{ display: none; }
  .lang-toggle .lang-chev{ display: none; }
  .lang-menu{ right: -8px; min-width: 200px; }
}

/* RTL adjustments for Arabic */
html[dir="rtl"] .lang-menu{ right: auto; left: 0; }
html[dir="rtl"] .crumbs{ direction: rtl; }
html[dir="rtl"] .crumbs .sep{ transform: scaleX(-1); }
html[dir="rtl"] .arr{ transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] body{ text-align: right; }
html[dir="rtl"] .topbar .inner{ direction: rtl; }
html[dir="rtl"] .feature-card ul li::before,
html[dir="rtl"] .content-section ul li::before{ left: auto; right: 0; }
html[dir="rtl"] .content-section ul li,
html[dir="rtl"] .feature-card ul li{ padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .faq-item summary::after{ right: auto; left: 22px; }
html[dir="rtl"] .faq-item summary{ padding: 18px 22px 18px 56px; }
html[dir="rtl"] .article-body{ direction: rtl; text-align: right; }
html[dir="rtl"] .article-body a{ direction: ltr; }
html[dir="rtl"] .spec-table th, html[dir="rtl"] .spec-table td{ text-align: right; }
@media (max-width: 960px){
  .page-hero{ padding: 80px 0 44px }
  .page-hero h1{ font-size: clamp(28px, 8vw, 42px) }
  .content-section{ padding: 48px 0 }
  .content-section .shell > h2{ font-size: clamp(24px, 6vw, 34px) }
  .split-2{ grid-template-columns: 1fr; gap: 24px }
  .spec-table{ font-size: 13px }
  .spec-table th, .spec-table td{ padding: 10px 12px }
  .spec-table tbody th{ width: 50% }
  .cta-band .shell{ grid-template-columns: 1fr; gap: 20px }
  .cta-band .actions{ justify-content: flex-start }
  .contact-page-grid{ grid-template-columns: 1fr; gap: 24px }
  .product-compare{ grid-template-columns: 1fr }
  .card-grid{ grid-template-columns: 1fr }
  .article-body p, .article-body li{ font-size: 15px }
  .ref-grid{ grid-template-columns: repeat(3, 1fr); gap: 10px }
  .simple-gallery{ grid-template-columns: 1fr 1fr; gap: 10px }
  .faq-item summary{ font-size: 15px; padding: 16px 48px 16px 18px }
  .faq-item p{ font-size: 14px; padding: 0 18px 18px }
  .crumbs{ font-size: 10px }
  .article-meta{ font-size: 11px }
  .contact-card{ padding: 22px }
  .contact-card .row{ grid-template-columns: 90px 1fr; gap: 10px; font-size: 13px }
}

@media (max-width: 640px){
  .ref-grid{ grid-template-columns: repeat(2, 1fr) }
  .simple-gallery{ grid-template-columns: 1fr }
  .page-hero{ padding: 60px 0 36px }
  .content-section{ padding: 40px 0 }
}

/* Galeri */
.simple-gallery{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.simple-gallery .tile{
  aspect-ratio: 4/3; border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line-soft);
  overflow: hidden; position: relative;
}
.simple-gallery .tile img{
  width: 100%; height: 100%; object-fit: contain;
  background: var(--bg-2);
  transition: transform .4s;
}
.simple-gallery .tile:hover img{ transform: scale(1.05); }
.simple-gallery .tile .cap{
  position: absolute; left: 14px; bottom: 12px;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  background: color-mix(in oklab, #000 70%, transparent);
  padding: 6px 10px; border-radius: 999px;
}
