/* =====================================================================
   Mare Yazılım — site stilleri
   Yazı tipi Manrope, ana renk #1e73be (eski siteyle aynı).
   ===================================================================== */

/* --- Değişkenler ---------------------------------------------------- */
:root {
  --brand:       #1e73be;
  --brand-dark:  #175d99;
  --brand-soft:  rgba(93, 165, 229, .15);
  --brand-soft2: rgba(93, 165, 229, .28);

  --ink:    rgba(0, 0, 0, .82);
  --ink-2:  rgba(0, 0, 0, .68);
  --muted:  rgba(0, 0, 0, .52);
  --line:   #e7edf3;
  --bg:     #ffffff;
  --bg-alt: #f6f9fc;

  --wrap:   1200px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow:    0 2px 10px rgba(16, 40, 70, .06);
  --shadow-lg: 0 12px 34px rgba(16, 40, 70, .10);

  --hdr-h: 84px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 400 16px/1.7 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

.visually-hidden, .skip:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip:focus {
  position: fixed; z-index: 200; top: 10px; left: 10px;
  padding: 10px 18px; background: var(--brand); color: #fff;
  border-radius: var(--radius); font-weight: 700;
}

/* --- Kapsayıcı ------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: 860px; }

/* --- Butonlar ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 0; border-radius: var(--radius);
  font: 700 15px/1.2 inherit;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 30px; font-size: 16px; }

.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover {
  background: var(--brand-dark); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 115, 190, .28);
}

.btn--soft { background: var(--brand-soft); color: var(--brand); }
.btn--soft:hover { background: var(--brand-soft2); color: var(--brand-dark); }

.btn svg { flex: none; }

/* --- Başlık / üst menü ---------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.hdr.is-stuck { box-shadow: var(--shadow); border-bottom-color: var(--line); }
.hdr__spacer { height: var(--hdr-h); }

.hdr__in {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--hdr-h);
}

.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 150px; height: auto; }

.nav {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__item { position: relative; }

.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  color: var(--ink-2);
  font-weight: 600; font-size: 15px;
  border-radius: var(--radius);
  transition: color .16s ease, background-color .16s ease;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); }

.nav__caret { transition: transform .18s ease; }
.nav__item.has-sub:hover .nav__caret { transform: rotate(180deg); }

/* Alt menü */
.nav__sub {
  position: absolute; top: 100%; left: 0; z-index: 10;
  min-width: 260px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item.has-sub:hover .nav__sub,
.nav__item.has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block; padding: 10px 14px;
  color: var(--ink-2); font-weight: 600; font-size: 15px;
  border-radius: var(--radius);
}
.nav__sub a:hover { background: var(--brand-soft); color: var(--brand); }

.nav__sub-toggle { display: none; }

.hdr__cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* Mobil menü düğmesi */
.hdr__toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  padding: 12px;
  background: var(--brand-soft); border: 0; border-radius: var(--radius);
  cursor: pointer;
}
.hdr__toggle span {
  display: block; height: 2px; background: var(--brand); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hdr__toggle span + span { margin-top: 5px; }
.hdr__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Kahraman bölüm ------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 76px; }

.hero__in {
  display: grid; grid-template-columns: 1fr 1.05fr;
  align-items: center; gap: 56px;
}

.hero__dots {
  position: absolute; top: 90px; left: 50%;
  width: 110px; opacity: .5; pointer-events: none;
}

.hero__title { margin-bottom: 18px; font-size: clamp(34px, 5vw, 50px); font-weight: 500; }
.hero__t1, .hero__t2 { display: block; }
.hero__t1 { font-weight: 800; }
.hero__t2 { font-weight: 400; color: var(--ink-2); }

.hero__sub {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 19px; font-weight: 700;
}
.hero__lead { max-width: 46ch; margin-bottom: 28px; font-size: 17px; }

.hero__media { position: relative; }
.hero__cross {
  position: absolute; right: -10px; bottom: -18px;
  width: 84px; opacity: .55; pointer-events: none;
}

/* --- Bölümler ------------------------------------------------------- */
.sec { padding: 72px 0; }
.sec--alt { background: var(--bg-alt); }
.sec--flush { padding: 0; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 14px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}

.sec__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.sec__title--center { text-align: center; margin-bottom: 44px; }

.lead {
  max-width: 78ch; margin: 0 auto 44px;
  font-size: 17.5px; text-align: center;
}

/* Neler yapıyoruz */
.intro { padding: 8px 0 72px; }
.intro__in {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 56px;
}
.intro__text .sec__title { margin-bottom: 26px; }

/* --- Ürün kartları -------------------------------------------------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;
}

.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Ürün simgesi — kaynak görsel 64x64 olduğu için büyütülmez. */
.card__icon {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin-bottom: 22px;
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
}
.card__icon img { width: 46px; height: 46px; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 34px 30px; }
.card__title { margin-bottom: 12px; font-size: 21px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__text { flex: 1; font-size: 15.5px; }

.card__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; font-weight: 700;
}
.card__more svg { transition: transform .18s ease; }
.card__more:hover svg { transform: translateX(4px); }

/* --- Referanslar ---------------------------------------------------- */
.refs {
  display: grid; grid-template-columns: repeat(6, 1fr);
  align-items: center; gap: 26px;
}
.refs__item {
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  min-height: 104px;
}
.refs__item img {
  max-height: 58px; width: auto;
  filter: grayscale(1); opacity: .72;
  transition: filter .22s ease, opacity .22s ease;
}
.refs__item:hover img { filter: none; opacity: 1; }

/* --- Sayfa başlığı -------------------------------------------------- */
.phead {
  padding: 56px 0 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.phead__title { margin-bottom: 10px; font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.phead__title--sm { font-size: clamp(23px, 3vw, 32px); }
.phead--form { text-align: center; }
.phead--form .phead__title { font-weight: 800; }
.phead--form .tint { color: var(--brand); }
.phead__sub { margin: 0; font-size: 17px; }

.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb span[aria-hidden] { color: rgba(0, 0, 0, .25); }
.crumb [aria-current] { color: var(--ink-2); font-weight: 600; }

/* --- Ekran görüntüleri ---------------------------------------------- */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px;
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .2s ease, transform .2s ease;
}
.shot a:hover img { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* --- Video ---------------------------------------------------------- */
.vgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 36px;
}
.vgrid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 940px; margin-inline: auto; }

.vcard__title { margin-bottom: 14px; font-size: 18px; }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1216;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.video__btn {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.video__thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease, opacity .2s ease;
}
.video__btn:hover .video__thumb { transform: scale(1.03); opacity: .88; }

.video__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.video__play-bg { fill: #212121; opacity: .82; transition: fill .2s ease, opacity .2s ease; }
.video__btn:hover .video__play-bg { fill: #f00; opacity: 1; }

/* --- İndirme listesi ------------------------------------------------ */
.dl { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }

.dl__row {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dl__row:hover { border-color: var(--brand-soft2); box-shadow: var(--shadow); }

.dl__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 50%;
}
.dl__name { flex: 1; color: var(--ink); font-weight: 600; }
.dl__btn { flex: none; }

/* --- İletişim kartları ---------------------------------------------- */
.ccards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px;
}
.ccard {
  display: block; padding: 34px 28px;
  background: #fff; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ccard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft2);
  color: inherit;
}
.ccard__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 50%;
}
.ccard__title { margin-bottom: 8px; font-size: 19px; }
.ccard__text { margin: 0; font-size: 15.5px; }

.map { line-height: 0; filter: saturate(.9); }
.map iframe { display: block; width: 100%; }

/* --- Demo talebi ---------------------------------------------------- */
.demo {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px;
  align-items: start;
}

.demo__form {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.frm__row { margin-bottom: 20px; }

.frm__label {
  display: block; margin-bottom: 7px;
  color: var(--ink); font-size: 14.5px; font-weight: 700;
}
.req { color: #d33; }

.frm__input {
  width: 100%; padding: 13px 15px;
  background: #fff; color: var(--ink);
  border: 1px solid #d9e2ea; border-radius: var(--radius);
  font: 400 16px/1.5 inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.frm__input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.frm__input.is-bad { border-color: #d33; }
.frm__area { resize: vertical; min-height: 140px; }

.frm__err { margin: 6px 0 0; color: #c22; font-size: 14px; font-weight: 600; }
.frm__note { margin: 14px 0 0; font-size: 14px; }

/* bot tuzağı — ekran okuyucudan da uzak tut */
.frm__trap {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

.alert {
  padding: 18px 22px; margin-bottom: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
}
.alert p { margin: 6px 0 0; }
.alert--ok  { background: #eaf7ee; border-color: #bfe3ca; color: #1d6b35; }
.alert--ok strong { color: #14522a; }
.alert--err { background: #fdecec; border-color: #f3c4c4; color: #9b2222; }

.demo__aside { padding-top: 8px; }
.demo__asub  { font-size: 24px; }
.demo__atext { font-size: 16px; }

.demo__hours {
  margin: 0 0 22px; padding: 18px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  font-size: 15px;
}
.demo__hours li + li { margin-top: 6px; }

.demo__phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: 21px; font-weight: 800;
}

/* --- Belge sayfası (Devir) ------------------------------------------ */
.doc { font-size: 16.5px; }
.doc__h {
  margin: 46px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-size: 21px; line-height: 1.4;
}
.doc__h:first-child { margin-top: 0; }
.doc__t { margin-bottom: 18px; }
.doc__t p { margin: 0 0 14px; }
.doc__t strong, .doc__t b { color: var(--ink); font-weight: 700; }
.doc__hr { margin: 46px 0; border: 0; border-top: 2px dashed var(--line); }

.doc__fig { margin: 24px 0 30px; }
.doc__fig img {
  width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* --- Hata sayfaları ------------------------------------------------- */
.err { text-align: center; padding: 96px 0; }
.err__code {
  margin: 0 0 6px;
  color: var(--brand-soft2);
  font-size: clamp(72px, 14vw, 132px); font-weight: 800; line-height: 1;
}
.err__title { font-size: clamp(24px, 3.4vw, 34px); }
.err__text  { max-width: 56ch; margin: 0 auto 30px; }
.err__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --- Alt bilgi ------------------------------------------------------ */
.ftr { border-top: 1px solid var(--line); background: #fff; }

.ftr__in {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  padding-top: 64px; padding-bottom: 52px;
}

.ftr__brand img { width: 160px; }
.ftr__company { margin: 18px 0 20px; font-size: 14.5px; max-width: 32ch; }

.ftr__social { display: flex; gap: 10px; }
.ftr__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 50%;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.ftr__social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.ftr__title {
  margin-bottom: 16px;
  color: var(--ink); font-size: 16px; font-weight: 800;
}
.ftr__col li + li { margin-top: 10px; }
.ftr__col a { color: var(--muted); font-size: 15px; }
.ftr__col a:hover { color: var(--brand); }
.ftr__contact a { overflow-wrap: anywhere; }

.ftr__bar { border-top: 1px solid var(--line); }
.ftr__bar-in {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.ftr__bar p { margin: 0; font-size: 14px; }
.ftr__mark { color: var(--ink-2); }
.ftr__mark strong { color: var(--brand); }

/* =====================================================================
   Duyarlı düzen
   ===================================================================== */

@media (max-width: 1080px) {
  .ftr__in { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .refs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --hdr-h: 74px; }

  .hdr__toggle { display: block; }

  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--hdr-h));
    padding: 12px 24px 28px;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }

  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item.has-sub { position: relative; }

  .nav__link { padding: 15px 4px; font-size: 16px; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__caret { display: none; }

  /* Alt menüyü dokunmatikte düğmeyle aç */
  .nav__sub-toggle {
    display: block;
    position: absolute; top: 6px; right: 0;
    width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__sub-toggle::before,
  .nav__sub-toggle::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 12px; height: 2px; background: var(--ink-2);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
  }
  .nav__sub-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .nav__sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0deg); }

  .nav__sub {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    min-width: 0; margin: 0 0 10px;
    padding: 4px 0 4px 14px;
    border: 0; border-left: 2px solid var(--brand-soft2);
    border-radius: 0; box-shadow: none;
  }
  .nav__item.has-sub:hover .nav__sub { display: none; }
  .nav__sub.is-open { display: block; }
  .nav__sub a { padding: 11px 8px; }

  .hdr__cta { margin-top: 20px; }
  .hdr__cta .btn { flex: 1; justify-content: center; }

  .hero { padding: 40px 0 56px; }
  .hero__in,
  .intro__in { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; }
  .hero__dots { display: none; }
  .hero__lead { max-width: none; }

  .demo { grid-template-columns: 1fr; gap: 34px; }
  .demo__form { padding: 26px; }

  .sec { padding: 56px 0; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 18px; }

  .refs { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .refs__item { min-height: 88px; padding: 14px; }

  .dl__row { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .dl__name { flex: 1 1 100%; order: 2; }
  .dl__btn  { order: 3; margin-left: auto; }

  .ftr__in { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
  .ftr__bar-in { justify-content: center; text-align: center; }

  .doc__h { font-size: 19px; }
  .err { padding: 64px 0; }
}

@media (max-width: 460px) {
  .ftr__in { grid-template-columns: 1fr; }
  .hdr__logo img { width: 128px; }
  .hero__sub { font-size: 17px; }
}

/* --- Yazdırma ------------------------------------------------------- */
@media print {
  .hdr, .hdr__spacer, .ftr, .video__play, .crumb, .skip { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  .sec { padding: 12px 0; }
}
