/* ISITMAX Global — katalog stil sayfasi
   Mantiksal ozellikler (inline-start/end) kullanilir; Arapca RTL otomatik calisir. */

:root {
  --ink: #212121;
  --ink-2: #2f2f2f;
  --grey: #6b6b6b;
  --steel: #6b6b6b;
  --muted: #8f8f8f;
  --line: #e6e6e6;
  --line-2: #f0f0f0;
  --line-hover: #d0d0d0;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #f5f5f5;
  --accent: #ff0000;
  --accent-dark: #d60000;
  --accent-soft: #fff0f0;
  --ok: #212121;
  --ok-soft: #f5f5f5;
  --ok-line: #d9d9d9;
  --no: #ff0000;
  --no-soft: #fff0f0;
  --no-line: #ffd6d6;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.05);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.05), 0 16px 40px rgba(0,0,0,.08);
  --wrap: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[lang="ar"] {
  --font: "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.011em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 99; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; flex: none; }
.brand b { font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand span {
  font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .06em;
  text-transform: uppercase; align-self: center; white-space: nowrap;
  padding-inline-start: 10px; margin-inline-start: 2px; border-inline-start: 1px solid var(--line);
}
@media (max-width: 1120px) { .brand span { display: none; } }
.nav { display: flex; gap: 6px; margin-inline-start: auto; align-items: center; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--steel); font-weight: 600; font-size: .94rem; }
.nav a:hover { background: var(--bg-3); color: var(--ink); text-decoration: none; }
.nav a[aria-current] { color: var(--accent-dark); background: var(--accent-soft); }

.langs { display: flex; gap: 2px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 3px; background: #fff; }
.langs a { padding: 5px 9px; border-radius: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.langs a:hover { background: var(--bg-3); text-decoration: none; }
.langs a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 9px; font-weight: 650; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--steel); color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--bg); color: var(--ink); padding: 104px 0 88px; border-bottom: 1px solid var(--line); }
.hero h1 { color: var(--ink); max-width: 18ch; margin-bottom: .4em; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem); letter-spacing: -.03em; line-height: 1.1; }
.hero p { color: var(--grey); font-size: 1.15rem; max-width: 58ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.usp div { background: var(--bg); padding: 30px 20px; text-align: center; }
.usp b { display: block; font-size: 1.65rem; color: var(--accent-dark); line-height: 1.2; }
.usp small { color: var(--steel); font-size: .88rem; font-weight: 600; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec-tight { padding: 56px 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { margin-bottom: 40px; }
.sec-head p { color: var(--steel); max-width: 66ch; margin: 0; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: .18s ease;
}
.card:hover { border-color: var(--line-hover); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card a { color: inherit; }
.card-img { aspect-ratio: 4 / 3; background: var(--bg-3); display: grid; place-items: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 12px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); margin-bottom: 6px; }
.card h3 { font-size: 1rem; margin-bottom: 6px; }
.card p { font-size: .88rem; color: var(--steel); margin: 0 0 12px; }
.card-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.price { font-weight: 750; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.price small { font-weight: 600; color: var(--muted); font-size: .76rem; }
.card-link { font-size: .84rem; font-weight: 650; color: var(--accent-dark); }

.cat-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: .18s ease; color: inherit; }
.cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { font-size: .9rem; color: var(--steel); margin-bottom: 12px; }
.cat-card b { font-size: .82rem; color: var(--accent-dark); font-weight: 700; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 42px; padding: 34px 0 10px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 26px; } }

.gal-main { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.gal-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; aspect-ratio: 1; overflow: hidden; cursor: pointer; transition: .15s; }
.gal-thumbs button:hover, .gal-thumbs button[aria-selected="true"] { border-color: var(--accent); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 5px; mix-blend-mode: multiply; }

.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.lede { font-size: 1.04rem; color: var(--ink-2); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); margin: 14px 0 18px; }
.meta-row b { color: var(--steel); font-weight: 650; }

.pricebox { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--bg-2); margin: 18px 0; }
.pricebox .big { font-size: 1.5rem; font-weight: 750; color: var(--ink); }
.pricebox .alt { color: var(--steel); font-weight: 600; }
.pricebox .lbl { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.pricebox .fine { font-size: .78rem; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }

.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0; }
.badge { border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; background: #fff; }
.badge b { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 3px; }
.badge span { font-size: .84rem; color: var(--steel); line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 4px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; color: var(--steel); background: #fff; }

/* content blocks */
.block { padding: 34px 0; border-top: 1px solid var(--line-2); }
.block:first-of-type { border-top: 0; }

.tbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.spec th, table.spec td { padding: 11px 15px; text-align: start; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.spec thead th { background: var(--bg-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); font-weight: 700; white-space: nowrap; }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody td:first-child { font-weight: 650; color: var(--ink); width: 34%; min-width: 150px; }
table.spec .note { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; font-weight: 400; }

.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.usecase { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.usecase .tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; margin-bottom: 9px; }
.usecase h4 { margin-bottom: 6px; }
.usecase p { font-size: .9rem; color: var(--steel); margin: 0; }

.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.fit > div { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); }
.fit .yes { background: var(--ok-soft); border-color: var(--ok-line); }
.fit .no { background: var(--no-soft); border-color: var(--no-line); }
.fit h4 { margin-bottom: 10px; }
.fit .yes h4 { color: var(--ok); }
.fit .no h4 { color: var(--no); }
.fit ul { margin: 0; padding-inline-start: 18px; }
.fit li { font-size: .9rem; margin-bottom: 8px; line-height: 1.55; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding-inline-start: 46px; margin-bottom: 16px; min-height: 32px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: .85rem; font-weight: 700;
}
.steps b { display: block; color: var(--ink); }
.steps span { font-size: .93rem; color: var(--steel); }

.callout {
  border-inline-start: 3px solid var(--accent); background: var(--accent-soft);
  padding: 13px 17px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem; color: var(--ink-2); margin: 16px 0;
}
html[dir="rtl"] .callout { border-radius: var(--radius) 0 0 var(--radius); }

details.faq { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 9px; background: #fff; }
details.faq summary {
  cursor: pointer; padding: 14px 18px; font-weight: 650; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); font-weight: 400; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq div { padding: 0 18px 16px; font-size: .93rem; color: var(--steel); }

.cta {
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta h3 { color: var(--ink); margin-bottom: 6px; }
.cta p { color: var(--grey); margin: 0; font-size: .95rem; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.form label { display: block; font-size: .84rem; font-weight: 650; color: var(--steel); margin-bottom: 5px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font: inherit; font-size: .94rem; color: var(--ink); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .full { grid-column: 1 / -1; }
.form textarea { min-height: 120px; resize: vertical; }

/* ---------- breadcrumb / filters ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--steel); }
.crumbs span { margin-inline: 7px; opacity: .55; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 15px; font: inherit; font-size: .88rem; font-weight: 600;
  color: var(--steel); cursor: pointer; transition: .15s;
}
.filters button:hover { border-color: var(--steel); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- footer ---------- */
.ftr { background: var(--bg); color: var(--grey); border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 88px; font-size: .9rem; }
.ftr-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.ftr-brand { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.ftr-brand img { width: 30px; height: 30px; flex: none; }
.ftr-links { display: flex; gap: 26px; flex-wrap: wrap; }
.ftr a { color: var(--grey); }
.ftr a:hover { color: var(--ink); }
.ftr-btm { border-top: 1px solid var(--line-2); margin-top: 26px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.ftr-certs { display: flex; gap: 8px; margin-top: 14px; }
.ftr-certs span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; color: var(--grey); }

@media (max-width: 900px) {
  .hdr-in { min-height: 58px; flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .nav { width: 100%; margin-inline-start: 0; order: 3; overflow-x: auto; }
  .langs { margin-inline-start: auto; }
  .hero { padding: 68px 0 60px; }
  .sec { padding: 60px 0; }
  .cta { padding: 28px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  .hdr, .ftr, .hero-cta, .cta, .filters, .gal-thumbs { display: none; }
  body { font-size: 11pt; }
  .card, .badge, .usecase { break-inside: avoid; }
}

/* ---------- iletisim kanallari ---------- */
.channels { align-items: stretch; }
.channel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; background: var(--bg); display: flex; flex-direction: column; gap: 10px;
}
.channel h3 { margin: 0; }
.channel p { color: var(--steel); margin: 0; flex: 1; }
.channel .btn { align-self: flex-start; margin-top: 6px; }
.contact-meta { margin-top: 26px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.contact-meta b { font-size: 1.02rem; }
.contact-meta span { color: var(--steel); font-size: .92rem; }
