/* genetecservis.com.tr — kurumsal mühendislik tasarım dili
   Palet: white #ffffff · gray #f4f6f9 · blue #1064b0 · navy #0e2a4d · ink #12233c
   Tipografi: Inter Tight (başlık) · Inter (metin) */

:root {
  --white: #ffffff;
  --gray: #f4f6f9;
  --line: #d9e0e9;
  --ink: #12233c;
  --muted: #5a6b80;
  --blue: #1064b0;
  --blue-dark: #0c4f8c;
  --blue-tint: #eaf2fa;
  --navy: #0e2a4d;
  --navy-deep: #081c36;
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- tipografi ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.08rem; }

.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- butonlar ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: #e8eef5; color: var(--navy); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.65); color: #fff; }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- üst bar + nav ---------- */

.topbar {
  background: var(--navy-deep);
  color: #a9bcd4;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #e6edf5; text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.logo em { font-style: normal; color: var(--blue); }
.logo .logo-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.main-nav .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
}

/* ---------- hero: tam genişlik video ---------- */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: min(78vh, 720px);
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 28, 54, 0.92) 0%, rgba(8, 28, 54, 0.6) 52%, rgba(8, 28, 54, 0.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-inner h1 { color: #fff; max-width: 15em; }
.hero-inner .lead { color: rgba(255, 255, 255, 0.85); margin: 18px 0 30px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust {
  margin-top: 30px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* hero altı istatistik bandı */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(8, 28, 54, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-row .cell {
  padding: 18px 26px 18px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 26px;
}
.stats-row .cell:first-child { border-left: none; padding-left: 0; }
.stats-row .k {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}
.stats-row .v { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff; }

/* ---------- iç sayfa hero ---------- */

.page-hero {
  background: var(--gray);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { padding-top: 52px; padding-bottom: 50px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 20em; }
.page-hero .lead { margin-top: 16px; max-width: 40em; }

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--muted); }

/* ---------- bölümler ---------- */

.section { padding: 72px 0; }
.section.tight { padding: 52px 0; }
.section.alt { background: var(--gray); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* GEO özet kutusu */
.definition-box {
  background: var(--gray);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  padding: 22px 26px;
  max-width: 54em;
}
.definition-box p { margin: 0; font-size: 1.02rem; }
.definition-box strong { color: var(--navy); }

/* kartlar */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }

.ticket {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  border-top: 3px solid var(--navy);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s;
}
.ticket:hover { border-color: var(--blue); border-top-color: var(--blue); color: var(--ink); }
.ticket p { font-size: 0.93rem; color: var(--muted); flex-grow: 1; }
.ticket .more { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--blue); }
.ticket:hover .more { text-decoration: underline; }

/* süreç adımları (gerçek sıra: talep → teşhis → müdahale → rapor) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}
.step { padding: 28px 26px; border-left: 1px solid var(--line); }
.step:first-child { border-left: none; }
.step .step-no {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* video bölümü (tıkla-yükle YouTube) */
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--navy-deep);
  aspect-ratio: 16 / 9;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame .play span {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.video-frame:hover .play span { transform: scale(1.05); }
.video-frame .play svg { margin-left: 5px; }

/* ambient ürün videosu (döngülü animasyon) */
.loop-video {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.loop-video video { width: 100%; }

/* fotoğraf bandı */
.photo-band { position: relative; }
.photo-band img { width: 100%; height: 400px; object-fit: cover; }
.photo-band .band-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(8, 28, 54, 0.88), transparent);
  color: #fff;
  padding: 60px 0 26px;
}
.photo-band .band-caption p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  max-width: 36em;
}

/* koyu SLA bandı */
.dark-band {
  background: var(--navy);
  color: #c2d2e6;
  padding: 76px 0;
}
.dark-band h2 { color: #fff; }
.dark-band .section-head p { color: #93a9c4; }
.sla-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  background: transparent;
}
.sla-table th, .sla-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.sla-table th {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7f99ba;
}
.sla-table td:last-child { color: #fff; font-weight: 600; }
.sla-table td { color: #dbe6f2; }

/* istatistik şeridi (Hakkımızda) */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-top: 2px solid var(--blue); padding-top: 14px; }
.stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.stat .lbl { font-size: 0.87rem; color: var(--muted); }

/* içerik düzyazı */
.prose { max-width: 46em; }
.prose h2 { margin: 42px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 15px; }
.prose ul, .prose ol { margin: 0 0 15px 1.3em; }
.prose li { margin-bottom: 7px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.93rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--gray); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* SSS akordeon */
.faq-list { max-width: 52em; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 0 20px;
}
.faq-list details[open] { border-color: var(--blue); }
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0 16px; color: var(--muted); }

/* iletişim / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}
.contact-card p { margin-bottom: 13px; }
.form-grid { display: grid; gap: 15px; }
.form-grid label { font-weight: 600; font-size: 0.89rem; display: block; margin-bottom: 5px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}

/* görsel placeholder */
.ph {
  background: var(--gray);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  min-height: 260px;
  text-align: center;
  padding: 20px;
}

/* prefooter CTA — tam genişlik bant */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 22em; }
.cta-band p { color: #b6c8de; margin-top: 8px; }
.cta-band .hero-ctas { flex-shrink: 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #93a9c4;
  font-size: 0.89rem;
}
.site-footer .container { padding-top: 52px; padding-bottom: 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h3 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c8d6e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .logo { color: #fff; margin-bottom: 13px; }
.footer-brand .logo em { color: #6ba7dd; }
.footer-brand p { max-width: 30em; }
.footer-legal {
  padding-top: 20px;
  font-size: 0.77rem;
  color: #6c84a3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: none; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row .cell { padding: 14px 20px; border-left: none; }
  .stats-row .cell:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.14); }
  .stat-strip { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar .container { justify-content: center; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--gray); }
  .main-nav .btn { margin-top: 14px; text-align: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; }
  .step + .step { border-top: 1px solid var(--line); }
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .cell { border-left: none !important; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .stats-row .cell:first-child { border-top: none; }
  .photo-band img { height: 300px; }
  .section { padding: 52px 0; }
  .video-frame .play span { width: 64px; height: 64px; }
}
