/* ============================================================
   GENETEC DESTEK — genetecdestek.com.tr
   Tasarım dili: genetec.com esinli kurumsal premium
   Koyu lacivert hero gradyanı · açık mavi aksan · geniş beyaz
   bölümler · tek aile tipografi (Hanken Grotesk)
   ============================================================ */

:root {
  --slate-900: #262f38;   /* nav + footer koyu gri-lacivert */
  --slate-800: #2e3945;
  --navy-950: #0d2440;    /* hero gradyan koyu ucu */
  --navy-800: #1d4468;    /* hero gradyan açık ucu */
  --navy-700: #23507a;
  --blue-400: #59b9f0;    /* birincil CTA — açık mavi */
  --blue-500: #3ba4e8;
  --link: #1f7dbf;        /* metin linki mavisi */
  --mint: #5ad7c0;        /* ikon detay rengi */
  --ink: #1b2733;
  --muted: #55636f;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-card: #f0f2f4;
  --line: #e2e8ed;
  --radius: 6px;
  --radius-lg: 14px;
  --container: 1200px;
  --font: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { 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);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 2px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Tipografi ---------- */
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.22rem; margin-bottom: .5rem; }
p + p { margin-top: .9rem; }

.lead { font-size: 1.22rem; line-height: 1.55; color: var(--muted); max-width: 46rem; }

.eyebrow {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: .8rem;
}

/* Mavi "Daha fazla >" linki */
.more { font-weight: 700; font-size: .98rem; color: var(--link); display: inline-block; margin-top: .9rem; }
.more::after { content: " ›"; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: .78rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue-400); color: #0e2237; }
.btn-primary:hover { background: var(--blue-500); color: #0e2237; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-ghost.light { border-color: #9fb3c2; color: var(--ink); }
.btn-ghost.light:hover { border-color: var(--link); color: var(--link); background: transparent; }

/* ---------- Üst bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #b9cbdb;
  font-size: .82rem;
  font-weight: 600;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-block: .4rem; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #cfe3f4; }
.topbar a:hover { color: #fff; }
.topbar .rec-dot { color: var(--blue-400); }

/* ---------- Ana menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--slate-900);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: .85rem; }

.logo {
  display: inline-flex; align-items: baseline; gap: .45rem;
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em;
  color: #fff; text-decoration: none; line-height: 1;
}
.logo:hover { text-decoration: none; }
.logo em { font-style: normal; color: var(--blue-400); }
.logo .cam { display: none; }
.logo-tag {
  font-size: .6rem; font-weight: 700; letter-spacing: .14em;
  color: #93a7b8; text-transform: uppercase;
  border: 1px solid #46525e; border-radius: 3px; padding: .18rem .4rem;
  align-self: center;
}

.main-nav ul { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.main-nav a { color: #e8eef3; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--blue-400); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue-400); }

.nav-cta {
  background: var(--blue-400); color: #0e2237 !important;
  font-weight: 700 !important;
  padding: .58rem 1.15rem; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--blue-500); color: #0e2237 !important; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid #46525e; border-radius: var(--radius);
  color: #fff; font-weight: 700; font-size: .82rem;
  padding: .5rem .8rem; cursor: pointer;
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--slate-900); border-top: 1px solid #3a4650;
    padding: 1rem 1.5rem 1.4rem; box-shadow: 0 20px 30px rgba(0,0,0,.25); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- Ana sayfa hero: tam genişlik video arka plan ---------- */
.hero-home {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.hero-home .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-home::after { /* okunabilirlik için soldan koyu degrade */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(13, 36, 64, .93) 0%,
    rgba(13, 36, 64, .78) 42%,
    rgba(13, 36, 64, .35) 72%,
    rgba(13, 36, 64, .15) 100%);
}
.hero-home .container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  min-height: 560px;
  padding-block: 5.5rem;
}
.hero-text { max-width: 620px; }
.hero-home h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-home .lead { color: #d9e7f2; font-size: 1.25rem; }
.hero-actions { display: flex; gap: .9rem; margin-top: 2rem; flex-wrap: wrap; }

/* Yetkili bayi rozeti — genetec.com'daki ödül madalyonları gibi */
.dealer-badge {
  flex-shrink: 0;
  width: 150px; height: 150px; border-radius: 50%;
  background: #fff;
  color: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .1rem;
  box-shadow: 0 18px 40px rgba(4, 16, 30, .45);
  border: 4px solid var(--blue-400);
  padding: .9rem;
}
.dealer-badge img { width: 76px; margin-bottom: .2rem; }
.dealer-badge span { font-size: .6rem; font-weight: 800; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-home .container { flex-direction: column; align-items: flex-start; min-height: 0; padding-block: 3.5rem 4rem; gap: 2.2rem; }
  .dealer-badge { width: 120px; height: 120px; }
  .dealer-badge img { width: 60px; }
}

/* ---------- Alt sayfa hero ---------- */
.hero-sub {
  background: linear-gradient(102deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #fff;
}
.hero-sub .container { padding-block: 3.6rem 3.4rem; max-width: 940px; margin-inline: auto; }
.hero-sub h1 { color: #fff; margin-bottom: 1rem; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.hero-sub .lead { color: #cfe0ee; font-size: 1.16rem; }
.hero-sub .eyebrow { color: var(--blue-400); }

.breadcrumb { font-size: .85rem; font-weight: 600; color: #9db4c8; margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: #557089; }
.breadcrumb a { color: #9db4c8; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Bölümler ---------- */
.section { padding-block: 4.5rem; }
.section.alt { background: var(--bg-soft); }
.section.on-dark {
  background: linear-gradient(102deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #fff;
}
.section.on-dark h2 { color: #fff; }
.section.on-dark p { color: #c4d6e6; }
.section.on-dark .eyebrow { color: var(--blue-400); }

.section-head { max-width: 780px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.on-dark .section-head p { color: #c4d6e6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Ürün ikon şeridi (4'lü) ---------- */
.product-strip { text-align: center; }
.product-strip .icon { width: 96px; height: 96px; margin: 0 auto 1.1rem; }
.product-strip h3 { font-size: 1.15rem; }
.product-strip p { font-size: .96rem; color: var(--muted); max-width: 17rem; margin-inline: auto; }
.product-strip h3 a { color: var(--ink); }
.product-strip h3 a:hover { color: var(--link); text-decoration: none; }

/* ---------- Kartlar ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 16px 36px rgba(20, 40, 60, .1); }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--link); text-decoration: none; }
.card p { font-size: .97rem; color: var(--muted); }
.card .card-tag {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--link);
  margin-bottom: .7rem;
}
.card::before { content: none; }

.section.on-dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section.on-dark .card h3, .section.on-dark .card h3 a { color: #fff; }
.section.on-dark .card p { color: #c4d6e6; }
.section.on-dark .card .card-tag { color: var(--blue-400); }

/* ---------- Sektör kartları (görselli) ---------- */
.sector-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end;
  text-decoration: none;
}
.sector-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.sector-card:hover img { transform: scale(1.05); }
.sector-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 26, 43, .85) 0%, rgba(9, 26, 43, .1) 55%);
}
.sector-card .sector-label {
  position: relative; z-index: 1; color: #fff;
  padding: 1.3rem 1.4rem; font-weight: 700; font-size: 1.12rem;
}
.sector-card .sector-label small { display: block; font-weight: 600; font-size: .84rem; color: #bcd4e8; margin-top: .15rem; }
.sector-card:hover { text-decoration: none; }

/* ---------- Tam genişlik fotoğraf bandı ---------- */
.photo-band { position: relative; color: #fff; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 42, .88) 0%, rgba(10, 26, 42, .55) 55%, rgba(10, 26, 42, .15) 100%);
}
.photo-band .container { position: relative; z-index: 1; padding-block: 6rem; max-width: var(--container); }
.photo-band h2 { color: #fff; max-width: 34rem; }
.photo-band .band-sub { color: var(--blue-400); font-weight: 700; font-size: 1.25rem; margin-top: .4rem; }
.photo-band .more { color: #9fd3f5; margin-top: 1.2rem; }

/* ---------- Video bölümü ---------- */
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--navy-950);
  box-shadow: 0 30px 60px rgba(20, 40, 60, .18);
  cursor: pointer; border: 0; padding: 0; width: 100%;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video-frame .play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(13, 36, 64, .78);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.video-frame .play::before {
  content: ""; display: block;
  border-style: solid; border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.video-frame:hover .play { transform: scale(1.08); background: rgba(59, 164, 232, .9); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Rakam bandı ---------- */
.stats-band { background: var(--bg-soft); }
.stats-band .container { padding-block: 3.6rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat .num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--navy-950); }
.stat .num span { color: var(--link); }
.stat .lbl { font-weight: 600; color: var(--muted); font-size: .95rem; margin-top: .2rem; }

/* ---------- İçerik (makale) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.5rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--link); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .65rem .9rem; text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Öne çıkan tanım kutusu (GEO: AI alıntıları için net tanımlar) */
.definition {
  border-left: 4px solid var(--blue-400);
  background: #eaf4fb;
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.7rem 0;
  font-size: 1.02rem;
}
.definition strong { color: var(--navy-800); }

/* ---------- Görsel placeholder ---------- */
.ph {
  background: repeating-linear-gradient(45deg, #eef1f4 0 14px, #f6f8fa 14px 28px);
  border: 1px dashed #c9d4dc;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  color: var(--muted);
  font-size: .84rem; font-weight: 600; letter-spacing: .04em; text-align: center;
  padding: 1rem;
}
.ph.square { aspect-ratio: 1; }

figure img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }

/* ---------- SSS ---------- */
.faq-list { max-width: 820px; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem;
  padding: 1.15rem .2rem; list-style: none;
  position: relative; padding-right: 3rem; color: var(--ink);
}
.faq-list summary:hover { color: var(--link); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: .6rem; top: 50%; transform: translateY(-55%);
  font-size: 1.5rem; font-weight: 400; color: var(--link);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-body { padding: 0 .2rem 1.2rem; color: var(--muted); font-size: 1rem; max-width: 44rem; }

/* ---------- Ön-footer CTA (genetec.com "Not sure where to start?") ---------- */
.cta-band { background: var(--bg); }
.cta-band .container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.8rem;
  margin-block: 4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  max-width: calc(var(--container) - 3rem);
}
.cta-band h2 { color: var(--ink); font-size: 1.6rem; margin-bottom: .35rem; }
.cta-band p { color: var(--muted); font-size: 1rem; max-width: 34rem; }
.cta-band .btn-primary { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: #aab7c2; font-size: .95rem; }
.site-footer .container { padding-block: 3.6rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.4rem; padding-bottom: 2.8rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #aab7c2; }
.site-footer a:hover { color: var(--blue-400); text-decoration: none; }
.footer-legal {
  border-top: 1px solid #3a4650;
  padding-block: 1.5rem 1.8rem;
  font-size: .82rem; line-height: 1.7; color: #8b98a4;
}
.footer-legal .mono { font-weight: 600; letter-spacing: .02em; }

/* ---------- Yardımcılar ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
