/**
 * Teknik Gayrimenkul Değerleme A.Ş. — Ana Stil Dosyası
 * UI Sözleşmesi: docs/ui-sozlesmesi.md
 * Mobil öncelikli mimari, kırılımlar: 640px / 960px / 1200px
 */

/* ==========================================================================
   1. Font Tanımı & Kök Değişkenler
   ========================================================================== */
/* Inter variable: latin (temel harfler, ç ö ü) + latin-ext (ğ ı ş İ) alt kümeleri */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Renkler (UI Sözleşmesi) */
  --c-primary: #3f95d2;
  --c-primary-dark: #2a78b3;
  --c-navy: #162541;
  --c-accent: #5f45ea;
  --c-text: #34314b;
  --c-muted: #7f7d8e;
  --c-border: #e4e6ef;
  --c-bg-soft: #f5f7fb;

  /* Yardımcı Renkler & Gradyanlar */
  --c-white: #ffffff;
  --c-navy-gradient: linear-gradient(135deg, #162541 0%, #1f4f80 100%);
  --c-whatsapp: #25d366;
  --c-whatsapp-hover: #1ebd5a;

  /* Tipografi */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Boyutlar & Boşluklar */
  --container-max: 1200px;
  --container-pad: 20px;
  --header-height: 88px;
  --header-height-mobile: 72px;

  /* Köşe Yarıçapları */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Gölgeler */
  --shadow-sm: 0 2px 8px rgba(22, 37, 65, 0.05);
  --shadow-md: 0 8px 24px rgba(22, 37, 65, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 37, 65, 0.12);
  --shadow-card-hover: 0 12px 32px rgba(31, 79, 128, 0.12);

  /* Geçişler */
  --transition-fast: 0.18s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Sıfırlama & Temel Stiller
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-white);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--c-text);
  background-color: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main#icerik {
  flex: 1 0 auto;
  width: 100%;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--c-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3rem);
}

h2 {
  font-size: clamp(1.625rem, 2.4vw + 0.6rem, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 1.4vw + 0.5rem, 1.45rem);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Erişilebilirlik & Odak Stilleri */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: 20px;
  z-index: 10000;
  padding: 12px 20px;
  background-color: var(--c-navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Lucide Satır İçi İkon Stilleri */
.icon {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Konteyner & Genel Yardımcılar */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  background-color: rgba(63, 149, 210, 0.12);
  color: var(--c-primary-dark);
  border: 1px solid rgba(63, 149, 210, 0.22);
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--c-muted);
  font-size: 1.0625rem;
  background-color: var(--c-bg-soft);
  border-radius: var(--radius-md);
  border: 1px dashed var(--c-border);
}

/* ==========================================================================
   3. Header & Navigasyon
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #ffffff;
  border-top: 3px solid var(--c-navy);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 4px 20px rgba(22, 37, 65, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-mobile);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-navy);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--c-bg-soft);
  border-color: rgba(63, 149, 210, 0.4);
}

.nav-toggle .nav-toggle-open {
  display: inline-flex;
}

.nav-toggle .nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: inline-flex;
}

/* Mobil Nav Paneli (<1180px: 8 menü öğesi daha dar ekranda tek satıra sığmıyor) */
@media (max-width: 1179.98px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height-mobile) + 3px);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    padding: 20px var(--container-pad) 32px;
    overflow-y: auto;
    border-top: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-slow), opacity var(--transition-base), visibility var(--transition-slow);
    z-index: 199;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .site-nav a {
    display: block;
    padding: 13px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-navy);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background-color: var(--c-bg-soft);
    color: var(--c-primary);
    border-color: var(--c-border);
  }
}

/* Masaüstü Navigasyon (>=1180px) */
@media (min-width: 1180px) {
  .header-inner {
    height: var(--header-height);
  }

  .brand img {
    height: 64px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }

  .site-nav a {
    display: inline-block;
    padding: 8px 10px;
    font-size: 0.9375rem;
    white-space: nowrap;
    font-weight: 600;
    color: var(--c-text);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
  }

  .site-nav a:hover {
    color: var(--c-primary);
    background-color: rgba(63, 149, 210, 0.08);
  }

  .site-nav a.is-active {
    color: var(--c-primary);
    background-color: rgba(63, 149, 210, 0.12);
  }
}

/* ==========================================================================
   4. Hero Blokları (.hero & .page-hero)
   ========================================================================== */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background-color: #12203a;
  background-image:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(63, 149, 210, 0.35) 0%, transparent 60%),
    linear-gradient(160deg, #12203a 0%, #18315a 55%, #1d4673 100%);
}

/* Fotoğraflı başlıklar: soldan sağa koyulaşan katman metni okunur tutar */
.page-hero.has-photo {
  background-image:
    linear-gradient(90deg, rgba(14, 26, 48, 0.92) 0%, rgba(14, 26, 48, 0.78) 45%, rgba(14, 26, 48, 0.45) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
}

@media (max-width: 767.98px) {
  .page-hero.has-photo {
    background-image:
      linear-gradient(0deg, rgba(14, 26, 48, 0.9), rgba(14, 26, 48, 0.72)),
      var(--hero-img-sm);
  }
}

.hero.has-photo .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Karartma fotoğrafın üstünde, içeriğin altında */
.hero.has-photo .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 26, 48, 0.94) 0%, rgba(14, 26, 48, 0.8) 42%, rgba(14, 26, 48, 0.35) 100%);
}

.hero.has-photo .hero-skyline {
  display: none;
}

@media (max-width: 959.98px) {
  .hero.has-photo .hero-bg::after {
    background: linear-gradient(0deg, rgba(14, 26, 48, 0.92), rgba(14, 26, 48, 0.7));
  }
}

.hero h1,
.page-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.88);
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #c4b5fd;
}

/* Ana Sayfa Hero (.hero) */
.hero {
  padding: 56px 0 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 130px;
  fill: rgba(255, 255, 255, 0.06);
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}



.hero-content h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-accent {
  display: block;
  background: linear-gradient(90deg, #7cc4f5 0%, #3f95d2 55%, #a89bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slogan {
  font-size: 1.1875rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}






/* Sağdaki rapor kartı illüstrasyonu */
.hero-visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.report-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(4, 12, 28, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-1.5deg);
}

.report-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}


.report-head div {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.report-head strong {
  color: var(--c-navy);
  font-size: 1rem;
}

.report-head div span {
  color: var(--c-muted);
  font-size: 0.75rem;
}


.report-art {
  display: block;
  width: 100%;
  height: auto;
}

.report-rows {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.report-rows li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--c-text);
}

.report-rows i {
  height: 8px;
  border-radius: 99px;
  background: #e8eff7;
  position: relative;
  overflow: hidden;
}

.report-rows i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #3f95d2, #5f45ea);
  transform-origin: left;
  animation: hero-bar 1.4s cubic-bezier(.2, .8, .2, 1) both .3s;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 32px -12px rgba(4, 12, 28, 0.55);
  color: var(--c-text);
  font-size: 0.8125rem;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-chip .icon {
  color: #ffffff;
  background: var(--c-primary);
  border-radius: 9px;
  padding: 7px;
  box-sizing: content-box;
}

.hero-chip strong {
  display: block;
  color: var(--c-navy);
  font-size: 0.9375rem;
}

.hero-chip span {
  line-height: 1.25;
}

.hero-chip--a {
  top: 24%;
  left: -28px;
}

.hero-chip--b {
  bottom: -18px;
  right: -14px;
  animation-delay: -3s;
}

.hero-chip--b .icon {
  background: var(--c-accent);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hero-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip,
  .report-rows i::after {
    animation: none;
  }
}

@media (max-width: 639.98px) {
  .hero {
    padding: 40px 0 96px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }





  .report-card {
    padding: 14px;
    transform: none;
  }

  .report-rows {
    display: none;
  }

  .hero-chip--a {
    left: -6px;
    top: auto;
    bottom: 38%;
  }

  .hero-chip--b {
    right: -4px;
  }

}

@media (min-width: 960px) {
  .hero {
    padding: 88px 0 150px;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
  }

  .hero-visual {
    margin: 0 0 0 auto;
  }
}

/* İç Sayfa Hero (.page-hero) */
.page-hero {
  padding: 56px 0 60px;
}

.page-hero .lead {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin-top: 0.75rem;
}

.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb ol li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb ol li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.4);
  margin-right: 8px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb ol li[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   5. Butonlar (.btn)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.btn .icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn--primary {
  background-color: var(--c-primary);
  color: #ffffff;
  border-color: var(--c-primary);
  box-shadow: 0 4px 14px rgba(63, 149, 210, 0.35);
}

.btn--primary:hover {
  background-color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(63, 149, 210, 0.45);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--outline:hover {
  background-color: var(--c-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(63, 149, 210, 0.25);
}

.btn--light {
  background-color: #ffffff;
  color: var(--c-navy);
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn--light:hover {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--c-navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   6. Bölümler & Tipografik Bloklar
   ========================================================================== */
.section {
  padding: 56px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 80px 0;
  }
}

.section--soft {
  background-color: var(--c-bg-soft);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

@media (min-width: 640px) {
  .section-head {
    margin-bottom: 52px;
  }
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head p:not(.eyebrow) {
  color: var(--c-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Bölüm etiketleri (Hakkımızda, Hizmetlerimiz, ...) hepsi aynı: gri, büyük harf */
.eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  margin-bottom: 8px;
  display: inline-block;
}

/* Ana sayfa .split-body (prose) içindeki eyebrow, .prose p ve 1.75 satır
   yüksekliği kuralından etkileniyordu; .section-head içindeki eyebrow ile
   aynı formatta görünmesi için hafıza sıfırlanıyor. */
.prose .eyebrow {
  margin-bottom: 8px;
  line-height: 1.6;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--c-text);
}

/* Uzun Metin Bloğu (.prose) */
.prose {
  max-width: 800px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-text);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* İkili Bölüm (.split) */
.split {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 960px) {
  .split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
  }
}

.split-body .btn {
  margin-top: 1.25rem;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* İstatistik Bloğu (.stats, .stat) */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 149, 210, 0.4);
}

.stat-value {
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.45;
  font-weight: 500;
}

/* ==========================================================================
   7. Kartlar & Izgaralar (.card-grid, .card)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(63, 149, 210, 0.4);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(63, 149, 210, 0.1);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.card:hover .card-icon {
  background-color: var(--c-primary);
  color: #ffffff;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--c-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Hizmet Listesi (.service-list) */
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.service-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 149, 210, 0.4);
}

.service-list .icon {
  color: var(--c-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-list span {
  font-weight: 600;
  color: var(--c-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* Değerler Izgarası & Onay Listesi (.value-grid, .value-card, .check-list) */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 960px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.value-card .card-icon {
  margin-bottom: 20px;
}

.value-card h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
  color: var(--c-text);
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233f95d2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.check-list li .icon {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--c-primary);
}

/* ==========================================================================
   8. Galeri, Logolar & Marquee
   ========================================================================== */
/* Galeri (.gallery) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

a.gallery-item[data-lightbox] {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--c-border);
  background: #ffffff;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

a.gallery-item[data-lightbox]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 149, 210, 0.45);
}

a.gallery-item[data-lightbox] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

a.gallery-item[data-lightbox]:hover img {
  transform: scale(1.04);
}

a.gallery-item[data-lightbox] .gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 37, 65, 0.4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

a.gallery-item[data-lightbox] .gallery-zoom .icon {
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--c-primary);
  box-shadow: 0 6px 16px rgba(10, 16, 28, 0.28);
}

a.gallery-item[data-lightbox]:hover .gallery-zoom,
a.gallery-item[data-lightbox]:focus-visible .gallery-zoom {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(22, 37, 65, 0.9) 0%, rgba(22, 37, 65, 0.6) 70%, transparent 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
}

/* Logo Izgarası (.logo-grid, .logo-item) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(140px, calc(50% - 8px)), 1fr));
  gap: 16px;
}

.logo-item {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.logo-item:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 149, 210, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.logo-item img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.logo-item:hover img {
  transform: scale(1.06);
}

/* Kayan Logo Şeridi (.logo-marquee, .logo-track) */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  margin: 32px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  animation: logoMarqueeScroll 130s linear infinite;
  will-change: transform;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes logoMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logo-marquee img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-right: 48px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    padding-bottom: 32px;
  }

  .logo-track {
    animation: none;
  }
}

/* ==========================================================================
   9. Doküman Kartı, SBF Görüntüleyici, İletişim & Harita
   ========================================================================== */
/* Doküman Kartı (.doc-card) */
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

@media (min-width: 640px) {
  .doc-card {
    flex-direction: row;
    align-items: center;
  }
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 149, 210, 0.4);
}

.doc-card--katalog {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.doc-card--katalog .doc-actions {
  justify-content: center;
}

@media (max-width: 639px) {
  .doc-card--katalog .doc-actions {
    flex-direction: column;
  }

  .doc-card--katalog .doc-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.doc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(63, 149, 210, 0.1);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-body {
  flex: 1;
}

.doc-body h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.doc-meta {
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-top: 4px;
}

.doc-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Katalog önizleme (.doc-preview) */
.doc-preview {
  max-width: 960px;
  margin: 28px auto 0;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 1 / 1.3;
  min-height: 600px;
}

.doc-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.doc-preview-mobile {
  display: none;
}

@media (max-width: 639px) {
  .doc-preview {
    aspect-ratio: auto;
    min-height: 0;
    margin-top: 20px;
    padding: 20px;
  }

  .doc-preview iframe {
    display: none;
  }

  .doc-preview-mobile {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

/* Sürekli Bilgilendirme Formu (.sbf-viewer) */
.sbf-viewer {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.sbf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.sbf-date {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

a.sbf-image[data-lightbox] {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

a.sbf-image[data-lightbox]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

a.sbf-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* İletişim Izgarası (.contact-grid, .contact-card, .contact-item) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .icon {
  color: var(--c-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--c-navy);
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  color: var(--c-text);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Şubeler Izgarası (.branch-grid, .branch-card) */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.branch-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.branch-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--c-navy);
}

.branch-map {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 16px;
}

.branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Harita (.map-embed) */
.map-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* CTA Bandı (.cta-band) */
.cta-band {
  background-color: #162541;
  background-image: var(--c-navy-gradient);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 960px) {
  .cta-band .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: clamp(1.625rem, 2.2vw, 2.125rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  margin: 0;
  max-width: 620px;
}

.cta-band .btn {
  flex-shrink: 0;
}

/* ==========================================================================
   10. Footer (.site-footer) & WhatsApp Butonu
   ========================================================================== */
.site-footer {
  background-color: var(--c-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 1.2fr 1.2fr;
    gap: 36px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-about img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 6px;
}

.footer-about p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.footer-title {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--c-primary);
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.footer-contact .icon {
  color: var(--c-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}

.footer-bottom-inner p {
  margin: 0;
}

/* Sabit WhatsApp butonu sağ alttaki yazının üstüne binmesin */
.footer-bottom-inner {
  padding-right: 84px;
}

@media (max-width: 639.98px) {
  .footer-bottom-inner {
    padding-right: 0;
    padding-bottom: 72px;
  }
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.footer-credit a:hover {
  color: #ffffff;
  border-bottom-color: var(--c-primary);
}

/* Sabit WhatsApp Butonu (.whatsapp-float) */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background-color: var(--c-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.42);
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float .icon {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  background-color: var(--c-whatsapp-hover);
  color: #ffffff;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.52);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* ==========================================================================
   11. Lightbox (.lightbox, .lightbox-close)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(10, 16, 28, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  z-index: 1002;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  z-index: 1001;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   12. Yazdırma Stilleri (@media print)
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .lightbox,
  .nav-toggle,
  .skip-link,
  .hero-actions,
  .btn {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  .page-hero,
  .hero {
    background: none !important;
    color: #000000 !important;
    padding: 16px 0 !important;
    min-height: auto !important;
  }

  .page-hero h1,
  .hero h1 {
    color: #000000 !important;
    font-size: 20pt !important;
  }

  .page-hero p,
  .hero p,
  .eyebrow {
    color: #333333 !important;
  }

  .section {
    padding: 24px 0 !important;
  }

  .card,
  .stat,
  .value-card,
  .doc-card,
  .contact-card,
  .branch-card {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  a {
    color: #000000 !important;
    text-decoration: underline !important;
  }
}
