/* =========================================================
   Av. Murat ÖZDEMİR — style.css
   Üst ve alt alanlar: koyu yeşil + altın; ortak içerik stilleri korunmuştur.
   ========================================================= */

:root {
  --navy: #082e25;
  --navy-light: #123f31;
  --navy-lighter: #1b503e;
  --gold: #c9a227;
  --gold-light: #e0bc4a;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text-dark: #22262e;
  --text-muted: #6b7280;
  --border-light: #e8e6e0;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 10px rgba(15, 31, 56, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 31, 56, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 31, 56, 0.16);

  --radius: 14px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); line-height: 1.25; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.section { padding: 100px 0; }
.text-gold { color: var(--gold); }

/* =========================================================
   SAYFA YÜKLEME ANİMASYONU
   ========================================================= */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  animation: loaderFadeOut 1.1s ease forwards;
  animation-delay: 0.5s;
}
.loader-scale {
  width: 46px; height: 46px;
  border: 3px solid rgba(201,162,39,0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loaderFadeOut {
  0% { opacity: 1; visibility: visible; }
  90% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* =========================================================
   ÜST BİLGİ ÇUBUĞU
   ========================================================= */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.top-bar-item a { color: inherit; transition: color var(--transition); }
.top-bar-item a:hover { color: var(--gold-light); }
.top-bar-item i { color: var(--gold); }
@media (max-width: 700px) { .top-bar-hours { display: none; } }

/* =========================================================
   NAVİGASYON
   ========================================================= */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: padding var(--transition);
}
.navbar.scrolled .navbar-inner { padding: 12px 24px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.35rem;
  color: var(--navy);
}
.logo i { color: var(--gold); font-size: 1.5rem; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a {
  font-weight: 500; font-size: 0.96rem; color: var(--text-dark);
  position: relative; padding: 6px 0;
  transition: color var(--transition);
}
.nav-menu a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active { color: var(--navy); }
.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn).active::after { width: 100%; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
}
.hamburger span {
  width: 26px; height: 2px; background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   BUTONLAR
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn i { transition: transform var(--transition); font-size: 0.85em; }
.btn:hover i { transform: translateX(4px); }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.btn-light { background: var(--gold); color: var(--navy); }
.btn-light:hover { background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-nav { background: var(--gold); color: var(--navy); padding: 10px 22px; }
.btn-nav:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* =========================================================
   HERO — tam genişlik fotoğraf arka planlı
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
}

/* Arka planı tamamen kaplayan fotoğraf */
.hero-photo-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 28%;
  display: block;
  transform-origin: center 85%;
  opacity: 0;
  animation:
    photoRise3D 1.5s cubic-bezier(.16,.84,.44,1) .2s forwards,
    photoFloat3D 8s ease-in-out 2s infinite;
}
/* Canlı video arka plan */
.hero-bg-video {
  background: #061e18 url("../video/adalet-hero-poster.jpg") center / cover no-repeat;
  /* Video kendi içinde hareket ediyor: ekstra büyütme yok, sadece yumuşak giriş (netlik korunur) */
  transform: none;
  animation: heroVideoIn 1.4s ease .2s forwards;
}
@keyframes heroVideoIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-photo { animation: none; opacity: 1; transform: scale(1.04); }
  .hero-bg-video { transform: none; }
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6,30,24,0.92) 0%, rgba(6,30,24,0.72) 30%, rgba(6,30,24,0.22) 55%, rgba(6,30,24,0.04) 100%),
    linear-gradient(0deg, rgba(6,30,24,0.45) 0%, rgba(6,30,24,0) 26%);
}
@keyframes photoRise3D {
  0%   { opacity: 0; transform: translateY(9%) scale(1.16) rotateX(-6deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1.08) rotateX(0deg); }
}
@keyframes photoFloat3D {
  0%, 100% { transform: translateY(0) scale(1.08); }
  50% { transform: translateY(-14px) scale(1.09); }
}

.hero-inner {
  position: relative; z-index: 1;
  padding-top: 0;
}

.hero-text { max-width: 620px; }

.eyebrow {
  display: inline-block;
  background: rgba(201,162,39,0.16);
  color: var(--gold-light);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 22px;
  color: var(--white);
}
.hero-text p {
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 14px rgba(3,20,15,.75);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.65); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Sol taraf: hukuk kütüphanesi (yazı sütununun arkasına doğru sönümlenir) */
.hero-library {
  --tl: max(24px, calc(50vw - 576px));            /* yazı sütununun sol kenarı (container 1200px + 24px boşluk) */
  position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(var(--tl) + 460px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(var(--tl) - 70px), rgba(0,0,0,.55) var(--tl), rgba(0,0,0,.22) calc(var(--tl) + 120px), rgba(0,0,0,.08) calc(var(--tl) + 300px), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(var(--tl) - 70px), rgba(0,0,0,.55) var(--tl), rgba(0,0,0,.22) calc(var(--tl) + 120px), rgba(0,0,0,.08) calc(var(--tl) + 300px), transparent 100%);
  opacity: 0;
  animation: libraryIn 2.2s ease .5s forwards;
}
.hero-library-inner {
  position: absolute; top: -20px; bottom: -20px; left: -24px; right: -20px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%);
  will-change: transform;
}
.hero-library-img,
.hero-library-sweep,
.hero-library-gilt,
.hero-library-lamp,
.hero-library-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-library-img { object-fit: cover; object-position: 0 42%; filter: brightness(.86) saturate(.82); }

/* Geniş, yumuşak ışık deri sırtların üzerinden geçer */
.hero-library-sweep { overflow: hidden; mix-blend-mode: soft-light; }
.hero-library-sweep::before {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 60%;
  background: linear-gradient(100deg, transparent 10%, rgba(255,214,150,.42) 50%, transparent 90%);
  transform: translateX(-110%) skewX(-10deg);
  animation: libSweep 11s cubic-bezier(.45,.05,.55,.95) 2.6s infinite;
}
/* Aynı ışık yaldızlara gelince parlar (maske = yaldızlı sırt yazıları) */
.hero-library-gilt {
  overflow: hidden;
  mix-blend-mode: screen;
  -webkit-mask: url("../images/hukuk-kutuphanesi-yaldiz.png") 0 42% / cover no-repeat;
          mask: url("../images/hukuk-kutuphanesi-yaldiz.png") 0 42% / cover no-repeat;
}
.hero-library-gilt span {
  position: absolute; top: -10%; bottom: -10%; left: 0; width: 34%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,226,160,.95) 50%, transparent 100%);
  transform: translateX(-110%) skewX(-10deg);
  animation: libGlint 11s cubic-bezier(.45,.05,.55,.95) 2.9s infinite;
}
/* Sıcak lamba ışığı hafifçe titrer */
.hero-library-lamp {
  background: radial-gradient(40% 34% at 18% 40%, rgba(255,186,105,.30), rgba(255,170,90,.10) 55%, transparent 76%);
  mix-blend-mode: screen;
  animation: lampFlicker 7s ease-in-out infinite;
}
/* Lamba ışığında uçuşan toz zerreleri */
.hero-library-dust i {
  position: absolute; border-radius: 50%;
  background: rgba(255,224,165,.9);
  box-shadow: 0 0 6px 1px rgba(255,205,135,.7);
  opacity: 0;
  animation: dustFloat 16s linear infinite;
}
.hero-library-dust i:nth-child(1) { left: 9%; top: 58%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: -3s; --dx: 22px; }
.hero-library-dust i:nth-child(2) { left: 16%; top: 46%; width: 2px; height: 2px; animation-duration: 13s; animation-delay: -7s; --dx: -14px; }
.hero-library-dust i:nth-child(3) { left: 22%; top: 66%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: -11s; --dx: 18px; }
.hero-library-dust i:nth-child(4) { left: 12%; top: 38%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: -1s; --dx: 12px; }
.hero-library-dust i:nth-child(5) { left: 27%; top: 52%; width: 2px; height: 2px; animation-duration: 14s; animation-delay: -9s; --dx: -20px; }
.hero-library-dust i:nth-child(6) { left: 6%; top: 70%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: -5s; --dx: 16px; }
.hero-library-dust i:nth-child(7) { left: 19%; top: 30%; width: 2px; height: 2px; animation-duration: 17s; animation-delay: -13s; --dx: -10px; }
.hero-library-dust i:nth-child(8) { left: 31%; top: 62%; width: 2px; height: 2px; animation-duration: 13s; animation-delay: -4s; --dx: 14px; }
.hero-library-dust i:nth-child(9) { left: 14%; top: 76%; width: 2px; height: 2px; animation-duration: 16s; animation-delay: -8s; --dx: -18px; }
.hero-library-dust i:nth-child(10) { left: 24%; top: 42%; width: 3px; height: 3px; animation-duration: 20s; animation-delay: -15s; --dx: 20px; }
.hero-library-dust i:nth-child(11) { left: 8%; top: 48%; width: 2px; height: 2px; animation-duration: 12s; animation-delay: -6s; --dx: -12px; }
.hero-library-dust i:nth-child(12) { left: 29%; top: 34%; width: 2px; height: 2px; animation-duration: 18s; animation-delay: -2s; --dx: 10px; }
@keyframes libraryIn { to { opacity: 1; } }
@keyframes libSweep {
  0% { transform: translateX(-110%) skewX(-10deg); }
  60%, 100% { transform: translateX(190%) skewX(-10deg); }
}
@keyframes libGlint {
  0% { transform: translateX(-110%) skewX(-10deg); }
  60%, 100% { transform: translateX(330%) skewX(-10deg); }
}
@keyframes lampFlicker {
  0%, 100% { opacity: .78; }
  17% { opacity: .92; } 21% { opacity: .8; } 38% { opacity: 1; }
  46% { opacity: .86; } 62% { opacity: .96; } 79% { opacity: .82; }
}
@keyframes dustFloat {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: .85; }
  50% { transform: translate(var(--dx), -70px); opacity: .6; }
  85% { opacity: .4; }
  100% { transform: translate(calc(var(--dx) * -.4), -150px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-library { animation: none; opacity: 1; }
  .hero-library-sweep::before, .hero-library-gilt span, .hero-library-lamp, .hero-library-dust i { animation: none; }
  .hero-library-dust { display: none; }
}

/* Terazi işaretleri — kutusuz rakamlar, ince altın çizgiyle terazideki noktalara bağlı */
.hero-marks { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-mark {
  position: absolute;
  display: flex; align-items: center;
  transform: translate(-4.5px, -50%);
  transition: opacity .35s ease, visibility .35s;
  will-change: transform;
}
/* JS yoksa yaklaşık konumlar */
.hero-mark-1 { left: 63%; top: 25%; --d: 1.6s; }
.hero-mark-2 { left: 78%; top: 46%; --d: 1.95s; }
.hero-marks.is-js .hero-mark { left: 0; top: 0; }
.hero-mark.is-off { opacity: 0; visibility: hidden; }

.hero-mark-dot {
  position: relative; flex: 0 0 auto;
  width: 9px; height: 9px; border-radius: 50%;
  background: #f4d987;
  box-shadow: 0 0 0 3px rgba(236,202,106,.22), 0 0 16px 3px rgba(236,202,106,.55);
  transform: scale(0);
  animation: markDot .5s cubic-bezier(.3,1.6,.5,1) var(--d) forwards;
}
.hero-mark-dot::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(236,202,106,.65);
  opacity: 0;
  animation: markPulse 3.2s ease-out calc(var(--d) + 1.2s) infinite;
}
.hero-mark-rail {
  display: grid;
  grid-template-columns: var(--line, 56px) auto;
  grid-template-rows: 46px 1px 46px;
  margin-left: 6px;
}
.hero-mark-rail::before {
  content: ''; grid-column: 1 / -1; grid-row: 2;
  background: linear-gradient(90deg, rgba(236,202,106,.95) 0%, rgba(236,202,106,.7) 45%, rgba(236,202,106,.1) 100%);
  transform: scaleX(0); transform-origin: left center;
  animation: markLine .8s cubic-bezier(.65,0,.25,1) calc(var(--d) + .2s) forwards;
}
.hero-mark-num {
  grid-column: 2; grid-row: 1; align-self: end;
  padding: 0 6px 8px 0;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 2.15rem; line-height: 1; letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
  color: #ecca6a;
  text-shadow: 0 2px 18px rgba(3,20,15,.9);
  white-space: nowrap;
  opacity: 0; transform: translateY(8px);
  animation: markIn .6s ease calc(var(--d) + .6s) forwards;
}
.hero-mark-num small { font-size: .5em; font-weight: 500; margin-left: .3em; color: #e6c56d; }
.hero-mark-label {
  grid-column: 2; grid-row: 3; align-self: start;
  padding: 9px 6px 0 0;
  font-size: .86rem; font-weight: 500; line-height: 1.3; letter-spacing: .01em;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 12px rgba(3,20,15,.95);
  white-space: nowrap;
  opacity: 0; transform: translateY(-8px);
  animation: markIn .6s ease calc(var(--d) + .7s) forwards;
}
@keyframes markDot { to { transform: scale(1); } }
@keyframes markLine { to { transform: scaleX(1); } }
@keyframes markIn { to { opacity: 1; transform: translateY(0); } }
@keyframes markPulse {
  0% { opacity: .9; transform: scale(.45); }
  70%, 100% { opacity: 0; transform: scale(1.8); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark-dot, .hero-mark-rail::before, .hero-mark-num, .hero-mark-label { animation: none; opacity: 1; transform: none; }
  .hero-mark-dot::after { animation: none; }
}

.scroll-down {
  position: absolute; z-index: 2;
  left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.scroll-down span {
  width: 1px; height: 30px; background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.scroll-down span::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 900px) {
  .hero { min-height: 88vh; padding: 100px 0 70px; }
  .hero-bg-photo { object-position: 72% 22%; }
  .hero-photo-overlay {
    background:
      linear-gradient(180deg, rgba(6,30,24,0.35) 0%, rgba(6,30,24,0.5) 45%, rgba(6,30,24,0.9) 100%);
  }
  /* Dar ekranda üst görselin işaretlerini ve ek kütüphane katmanını sadeleştir. */
  .hero-marks, .hero-library { display: none; }
}

/* =========================================================
   HUKUK KÜTÜPHANESİ — eski sayaç şeridi ölçüsünde: 124 px
   Yalnızca bu bölümü etkiler; sitenin genel paleti korunur.
   ========================================================= */
.law-library-band {
  --library-green: #082e25;
  --library-gold: #c9b681;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 124px;
  background: var(--library-green);
  color: #f5f2e9;
  border-top: 1px solid rgba(201,182,129,.3);
  border-bottom: 1px solid rgba(201,182,129,.25);
  scroll-margin-top: 120px;
}
.law-library-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #082e25 0%, rgba(8,46,37,.98) 27%, rgba(8,46,37,.84) 38%, rgba(8,46,37,.3) 54%, rgba(8,46,37,.08) 73%, rgba(8,46,37,.58) 100%),
    linear-gradient(0deg, rgba(4,24,18,.42), transparent 30%, transparent 75%, rgba(4,24,18,.22));
}
.law-library-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 18% 35%, rgba(51,97,69,.22), transparent 55%);
}
.law-library-media {
  position: absolute;
  top: -7%;
  bottom: -7%;
  left: 32%;
  right: -3%;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 95%, transparent);
}
.law-library-poster,
.law-library-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Dar şeritte kitapların sırtlarını/yaldızlı başlıklarını kadrajda tut. */
  object-position: 38% 29%;
  filter: saturate(.86) brightness(.98);
}
.law-library-video { opacity: 0; transition: opacity .65s ease; }
.law-library-band.has-video-frame .law-library-video { opacity: 1; }
.law-library-inner {
  position: relative;
  z-index: 2;
  min-height: 122px; /* 2 x 1 px kenarlıkla birlikte toplam 124 px. */
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.law-library-copy { max-width: 680px; }
.law-library-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: #d6c99e;
  font-size: .6rem;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.law-library-eyebrow > span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--library-gold);
}
.law-library-copy h2 {
  margin: 0;
  color: #f5f2e9;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.85vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-shadow: 0 2px 22px rgba(2,19,14,.18);
}
.law-library-copy h2 br { display: none; }
.law-library-copy h2 em {
  color: #d6c492;
  font-style: normal;
  font-weight: inherit;
}
.law-library-caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
  color: #c1d0c6;
  font-size: .65rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .035em;
}
.law-library-caption span { color: #b9a774; }
.law-library-toggle {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  right: max(24px, calc((100% - 1152px) / 2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(209,204,180,.34);
  border-radius: 3px;
  color: #ede9da;
  background: rgba(5,31,24,.78);
  font-size: .65rem;
  line-height: 1;
  letter-spacing: .035em;
  transition: background .2s ease, border-color .2s ease;
}
.law-library-toggle[hidden] { display: none; }
.law-library-toggle:hover { background: #123f31; border-color: #c9b681; }
.law-library-toggle:focus-visible { outline: 2px solid #e4d8b2; outline-offset: 4px; }
.law-library-toggle svg { flex-shrink: 0; }
.law-library-pause-icon { display: none; }
.law-library-band.is-playing .law-library-pause-icon { display: block; }
.law-library-band.is-playing .law-library-play-icon { display: none; }
@media (max-width: 900px) {
  .law-library-media { left: 28%; right: -12%; }
}
@media (max-width: 600px) {
  /* Mobilde de uzun bir kart değil, aynı yükseklikte ince şerit. */
  .law-library-inner { padding-left: 16px; padding-right: 16px; }
  .law-library-copy { max-width: calc(100% - 44px); }
  .law-library-media { left: 26%; right: -18%; }
  .law-library-band::before {
    background:
      linear-gradient(90deg, #082e25 0%, rgba(8,46,37,.94) 28%, rgba(8,46,37,.68) 48%, rgba(8,46,37,.18) 74%, rgba(5,29,22,.5) 100%),
      linear-gradient(0deg, rgba(4,24,18,.34), transparent 50%, rgba(4,24,18,.15));
  }
  .law-library-eyebrow { margin-bottom: 5px; font-size: .56rem; letter-spacing: .16em; }
  .law-library-copy h2 { font-size: 1.25rem; }
  .law-library-copy h2 br { display: initial; }
  .law-library-caption { margin-top: 6px; gap: 5px; font-size: .58rem; letter-spacing: 0; }
  .law-library-toggle { right: 12px; bottom: 12px; padding: 9px; }
  .law-library-toggle span { display: none; } /* Erişilebilir ad aria-label üzerinde korunur. */
}
@media (prefers-reduced-motion: reduce) {
  .law-library-video, .law-library-toggle { transition: none; }
}

/* =========================================================
   SECTION HEADINGS / GENEL
   ========================================================= */
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 10px;
  position: relative; padding-left: 26px;
}
.section-eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 2px; background: var(--gold);
}
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-heading p { color: var(--text-muted); max-width: 560px; }
.section-heading.center { text-align: center; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.section-heading.center .section-eyebrow { padding-left: 0; }
.section-heading.center .section-eyebrow::before { display: none; }

/* =========================================================
   HAKKIMIZDA / ÖNİZLEME
   ========================================================= */
.about-preview-inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 70px; align-items: center;
}
.about-visual { position: relative; }
.about-visual-box {
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--navy-light), var(--navy));
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about-visual-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(201,162,39,0.25), transparent 60%);
}
.about-visual-box i { font-size: 7rem; color: rgba(255,255,255,0.9); position: relative; }
.badge-experience {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--gold);
  color: var(--navy);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.badge-experience strong { font-family: var(--font-heading); font-size: 2rem; line-height: 1; }
.badge-experience span { font-size: 0.7rem; font-weight: 600; line-height: 1.2; margin-top: 2px; }

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 18px; }

.check-list { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-dark); font-size: 0.96rem; }
.check-list i { color: var(--gold); margin-top: 3px; }

.mini-stats { display: flex; gap: 40px; margin: 30px 0; }
.mini-stats strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--navy); }
.mini-stats span { font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .about-preview-inner { grid-template-columns: 1fr; }
  .about-visual-box { max-width: 340px; margin: 0 auto; }
}

/* =========================================================
   HİZMET KARTLARI
   ========================================================= */
.services-section { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 62px; height: 62px; border-radius: 16px;
  background: rgba(8,46,37,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--navy);
  margin-bottom: 22px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-card:hover .service-icon,
.value-card:hover .service-icon {
  background: var(--gold); color: var(--navy);
  transform: rotate(-8deg) scale(1.05);
}
/* ---- Hizmet kartları: gerçekçi 3D ikonlar (sabit görsel) ---- */
.service-icon.service-icon-3d {
  position: relative; width: 100px; height: 100px; border-radius: 22px; padding: 0; overflow: hidden;
  background: linear-gradient(150deg, #f7f9fc 0%, #e8ecf3 100%);
  box-shadow: inset 0 0 0 1px rgba(8,46,37,0.07), 0 6px 16px -10px rgba(8,46,37,0.35);
  margin-bottom: 22px;
}
.service-card:hover .service-icon.service-icon-3d {
  background: linear-gradient(150deg, #fbf5df 0%, #f0e3b0 100%);
  box-shadow: inset 0 0 0 1px rgba(201,162,39,0.35), 0 12px 22px -12px rgba(8,46,37,0.45);
  transform: none;
}
.service-icon-3d img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 18px; }
.service-card > a { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.service-card > a i { margin-left: 4px; transition: transform var(--transition); }
.service-card:hover > a i { transform: translateX(5px); }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SÜREÇ
   ========================================================= */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-item {
  text-align: center;
  padding: 20px;
  position: relative;
}
.process-number {
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 12px;
}
.process-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-item p { color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* =========================================================
   REFERANSLAR
   ========================================================= */
.testimonials-section { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-icon { color: var(--gold); font-size: 1.6rem; opacity: 0.5; margin-bottom: 14px; }
.testimonial-card p { color: var(--text-dark); font-size: 0.96rem; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* =========================================================
   CTA ŞERİDİ
   ========================================================= */
.cta-strip {
  background: linear-gradient(120deg, var(--navy), var(--navy-lighter));
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; top: -50%; right: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.2), transparent 70%);
}
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-strip h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.cta-strip p { color: rgba(255,255,255,0.75); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo-footer { color: var(--white); margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition), padding-left var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 0.9rem; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem;
}
.footer-disclaimer { opacity: 0.6; }

/* Yukarı çık butonu */
#backToTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--gold); color: var(--navy); }

/* =========================================================
   SAYFA BAŞLIĞI (iç sayfalar)
   ========================================================= */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 26px 26px;
}
.page-header .eyebrow { position: relative; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); margin: 10px 0 16px; position: relative; }
.breadcrumb { color: rgba(255,255,255,0.65); font-size: 0.88rem; position: relative; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb i { margin: 0 6px; font-size: 0.7rem; }

/* Hizmetlerimiz sayfası: daha küçük başlık alanı */
.services-page-header { padding: 40px 0 32px; }
.services-page-header .eyebrow { padding: 5px 16px; font-size: .78rem; }
.services-page-header h1 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 6px 0 8px; line-height: 1.1; }
.services-page-header .breadcrumb { font-size: .82rem; }
.services-page-header + .section { padding-top: 24px; }

/* İletişim sayfası: kompakt başlık alanı */
.contact-page-header { padding: 18px 0 16px; }
.contact-page-header .eyebrow { padding: 4px 14px; font-size: .72rem; }
.contact-page-header h1 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 4px 0 5px; line-height: 1.05; }
.contact-page-header .breadcrumb { font-size: .78rem; line-height: 1.1; }
.contact-page-header + .contact-info-section { padding-top: 32px; }


/* =========================================================
   DEĞERLER / EKİP
   ========================================================= */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-card {
  text-align: center; padding: 34px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-card .service-icon { margin: 0 auto 20px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.team-section { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(150deg, var(--navy-light), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.3rem; color: var(--gold-light);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { display: block; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 16px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(8,46,37,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.team-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* =========================================================
   HİZMETLER DETAY (hizmetler.php)
   ========================================================= */
.service-detail {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 48px; align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--border-light);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { grid-template-columns: 1fr 300px; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail.reverse .service-detail-content { order: 1; }

/* Her hukuk alanı için canlı, sinematik video (ikon yerine) */
.service-detail-media {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: #061e18; border-radius: 20px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.service-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0;
}
/* ince altın çerçeve + hafif kenar karartması: videoyu sitenin lacivert-altın diline oturtur */
.service-video-frame {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,30,24,.18) 0%, rgba(6,30,24,0) 24%, rgba(6,30,24,0) 70%, rgba(6,30,24,.38) 100%);
  box-shadow: inset 0 0 0 1px rgba(224,188,74,.38), inset 0 0 60px rgba(6,30,24,.32);
}
.service-detail-content h2 { font-size: 1.6rem; margin-bottom: 14px; }
.service-detail-content p { color: var(--text-muted); margin-bottom: 18px; }
.service-detail-content .check-list { margin-bottom: 24px; }

@media (max-width: 800px) {
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail { gap: 22px; padding: 30px 0; }
  .service-detail.reverse .service-detail-media,
  .service-detail.reverse .service-detail-content { order: initial; }
  .service-detail-media { width: 100%; max-width: 280px; margin: 0 auto; }
}

/* =========================================================
   SSS (Accordion)
   ========================================================= */
.faq-section { background: var(--cream); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-weight: 600; font-size: 0.98rem; color: var(--navy);
}
.faq-question i { transition: transform var(--transition); color: var(--gold); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================
   İLETİŞİM SAYFASI
   ========================================================= */
.contact-info-section { padding-top: 90px; padding-bottom: 40px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-info-card {
  text-align: center; padding: 30px 20px;
  border: 1px solid var(--border-light); border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.contact-info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-info-card .service-icon { margin: 0 auto 18px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p { color: var(--text-muted); font-size: 0.88rem; }
@media (max-width: 900px) { .contact-info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-info-grid { grid-template-columns: 1fr; } }

.contact-form-section { padding-top: 30px; }
.contact-form-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: stretch; }
.contact-form-wrap h2 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 30px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit; font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.14);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214,69,69,0.12);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; }

.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border-radius: 10px;
  font-size: 0.9rem; margin-bottom: 22px;
  animation: alertIn 0.4s ease;
}
@keyframes alertIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.alert-success { background: #e8f6ee; color: #1c7c48; border: 1px solid #b9e6cb; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }
.alert-error ul { padding-left: 4px; }
.alert i { margin-top: 2px; }

@media (max-width: 900px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   SCROLL-REVEAL ANİMASYONLARI (JS ile .in-view eklenir)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-left { transform: translateX(-50px); }
.reveal-left.in-view { transform: translateX(0); }
.reveal-right { transform: translateX(50px); }
.reveal-right.in-view { transform: translateX(0); }

.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--d, 0s);
}
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================================
   RESPONSIVE — NAV
   ========================================================= */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 82vw); height: 100vh;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 100px 32px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    transition: right var(--transition);
    gap: 26px;
    z-index: 1500;
  }
  .nav-menu.open { right: 0; }
  .nav-menu .btn-nav { margin-top: 10px; }
}

@media (max-width: 700px) {
  .section { padding: 70px 0; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* Admin panel hızlı giriş anahtarı */
.admin-key-link{
  position:fixed;
  right:18px;
  bottom:18px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  z-index:9998;
  opacity:.62;
  transition:opacity .2s ease,transform .2s ease,background .2s ease;
}
.admin-key-link:hover{opacity:1;transform:translateY(-2px);background:#2b2b2b;color:#fff;}
.admin-key-link i{font-size:15px;}
@media(max-width:768px){.admin-key-link{right:12px;bottom:12px;width:38px;height:38px;}}


/* WhatsApp danışma butonu */
.btn-whatsapp{display:inline-flex;align-items:center;gap:8px;}
.btn-whatsapp i{font-size:18px;}


/* 2026-09 üst bar ve danışma revizesi */
.top-bar-inner{justify-content:center;min-height:34px;}
.top-bar-brand{font-family:var(--font-heading);font-size:.82rem;font-weight:500;letter-spacing:.045em;color:rgba(255,255,255,.88);text-align:center;}
.top-bar-brand span{color:var(--gold);margin:0 5px;}
.btn-whatsapp{background:#082e25 !important;color:#fff !important;border-color:#082e25 !important;font-size:.82rem !important;padding:10px 16px !important;gap:7px;}
.btn-whatsapp:hover{background:#14513d !important;color:#fff !important;border-color:#14513d !important;}
.btn-whatsapp i{font-size:17px;color:#fff;}
@media(max-width:700px){.top-bar-inner{padding:7px 16px}.top-bar-brand{font-size:.72rem;letter-spacing:.025em;line-height:1.4}}

/* İletişim final kompakt düzen */
.contact-page-header { padding: 12px 0 !important; min-height: 0 !important; }
.contact-page-header .container { min-height: 0 !important; }
.contact-page-header .eyebrow { margin: 0 !important; }
.contact-page-header + .contact-info-section { padding-top: 20px !important; }
.contact-info-section { padding-bottom: 22px !important; }
.contact-info-grid { gap: 14px !important; }
.contact-info-card { padding: 16px 12px !important; }
.contact-info-card .service-icon { width: 42px !important; height: 42px !important; margin: 0 auto 9px !important; }
.contact-info-card h3 { margin-bottom: 4px !important; font-size: .94rem !important; }
.contact-info-card p { font-size: .82rem !important; line-height: 1.45 !important; }

/* =========================================================
   AV. MURAT ÖZDEMİR — ŞEFFAF ALTIN LOGO / KOYU YEŞİL TEMA
   ========================================================= */
:root {
  --brand-green-deep: #17271d;
  --brand-green: #253728;
  --brand-green-soft: #35472f;
  --brand-gold: #d7b472;
}

/* Yalnızca üst şerit ve alt alanlar: anasayfa ofis görseli korunur. */
.top-bar {
  background-color: var(--brand-green);
  background-image: linear-gradient(110deg, #1c2c20, #35452f 55%, #233225);
  border-bottom: 1px solid rgba(215, 180, 114, .22);
}
.top-bar-brand { color: #f2ecdc; }
.top-bar-brand span { color: var(--brand-gold); }

/* Gerçek şeffaf PNG: arka plan, dikdörtgen, yeşil plaka veya renk anahtarı yok. */
.logo-image-link { display: inline-flex; align-items: center; line-height: 1.2; }
.header-brand { gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 64px;
  aspect-ratio: 155 / 162;
  line-height: 0;
  background: transparent;
  isolation: isolate;
}
.brand-mark .brand-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  opacity: 1;
  filter: saturate(1.08) contrast(1.02) drop-shadow(0 2px 2px rgba(86, 60, 19, .20));
}
.header-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .015em;
  white-space: nowrap;
  color: var(--brand-green);
}
.navbar-inner { gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.navbar.scrolled .navbar-inner { padding-top: 10px; padding-bottom: 10px; }
.navbar.scrolled .header-brand .brand-mark { width: 56px; }
.navbar-consult { flex: 0 0 auto; }

/* Çok hafif metal parıltısı yalnızca logonun altın yüzeyinde görünür. */
@supports ((mask-image: url("../images/av-murat-ozdemir-logo-seffaf.png")) or (-webkit-mask-image: url("../images/av-murat-ozdemir-logo-seffaf.png"))) {
  .brand-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(115deg, transparent 42%, rgba(255, 245, 207, .85) 49%, transparent 56%);
    background-size: 300% 100%;
    background-repeat: no-repeat;
    -webkit-mask: url("../images/av-murat-ozdemir-logo-seffaf.png") center / contain no-repeat;
    mask: url("../images/av-murat-ozdemir-logo-seffaf.png") center / contain no-repeat;
    mix-blend-mode: screen;
    opacity: 0;
    animation: brandGoldShimmer 9s ease-in-out infinite;
  }
}
@keyframes brandGoldShimmer {
  0%, 58% { background-position: 120% 0; opacity: 0; }
  63% { opacity: .48; }
  80% { background-position: -20% 0; opacity: .48; }
  84%, 100% { background-position: -20% 0; opacity: 0; }
}
.logo-image-link:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 6px; border-radius: 4px; }

/* Alt iletişim bandı, footer ve telif satırı aynı yeşil palettedir. */
.cta-strip {
  background-color: var(--brand-green-soft);
  background-image: linear-gradient(115deg, #35472f, #263c2b 60%, #1d3023);
  border-top: 1px solid rgba(215, 180, 114, .28);
  border-bottom: 1px solid rgba(215, 180, 114, .20);
}
.cta-strip h3 { color: #fff7e6; }
.cta-strip p { color: rgba(255, 249, 233, .82); }
.cta-strip .btn-light { background: var(--brand-gold); color: var(--brand-green-deep); }
.cta-strip .btn-light:hover { background: #f6e8c7; color: var(--brand-green-deep); }
.site-footer {
  background-color: var(--brand-green);
  background-image: radial-gradient(ellipse at 15% 0, rgba(126, 139, 74, .13), transparent 65%), linear-gradient(145deg, #253728, #1a2c20);
  color: rgba(247, 243, 231, .80);
}
.footer-grid { border-bottom-color: rgba(215, 180, 114, .18); }
.footer-col { min-width: 0; }
.footer-col h4 { color: #f6e8c7; }
.logo-footer { gap: 13px; color: #e8c889; margin-bottom: 20px; }
.logo-footer .brand-mark { width: 74px; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .015em;
  color: #e8c889;
  max-width: 180px;
}
.footer-links a:hover, .footer-contact a:hover { color: #edce91; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact i { color: var(--brand-gold); }
.footer-social a { border: 1px solid rgba(215, 180, 114, .20); background: rgba(246, 232, 199, .07); }
.footer-social a:hover { color: var(--brand-green-deep); background: var(--brand-gold); }
.footer-bottom { background: #17271d; }
.footer-bottom-inner { color: rgba(246, 240, 221, .78); }
.footer-disclaimer { opacity: 1; color: rgba(246, 240, 221, .65); }

/* Marka adı uzasa da gezinme bağlantıları üst üste binmez. */
@media (min-width: 961px) and (max-width: 1100px) {
  .navbar-inner { gap: 18px; }
  .nav-menu { gap: 22px; }
  .nav-menu a { font-size: .89rem; }
  .header-brand { gap: 10px; }
  .header-brand .brand-mark { width: 58px; }
}
@media (max-width: 960px) {
  .navbar-inner, .navbar.scrolled .navbar-inner { padding: 12px 18px; gap: 12px; }
  .header-brand { gap: 9px; }
  .header-brand .brand-mark, .navbar.scrolled .header-brand .brand-mark { width: 50px; }
  .header-brand-name { font-size: 1rem; }
  .navbar-consult { margin-left: auto; }
  /* Menü kapalıyken sayfayı yana doğru genişleten eski right:-100% kaldırıldı. */
  .nav-menu { right: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
  .nav-menu.open { right: 0; visibility: visible; opacity: 1; pointer-events: auto; }
  .hamburger { position: relative; z-index: 1601; flex: 0 0 40px; min-height: 44px; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 480px) {
  .navbar-inner, .navbar.scrolled .navbar-inner { padding: 10px 14px; gap: 9px; }
  .header-brand { gap: 8px; }
  .header-brand .brand-mark, .navbar.scrolled .header-brand .brand-mark { width: 46px; }
  .header-brand-name { font-size: .88rem; letter-spacing: 0; }
  .navbar-consult { width: 42px; height: 42px; padding: 0 !important; justify-content: center; }
  .navbar-consult-label { display: none; }
  .hamburger { flex-basis: 36px; }
}
@media (max-width: 359px) {
  .navbar-inner, .navbar.scrolled .navbar-inner { gap: 7px; }
  .header-brand { gap: 7px; }
  .header-brand .brand-mark, .navbar.scrolled .header-brand .brand-mark { width: 40px; }
  .header-brand-name { font-size: .80rem; }
  .navbar-consult { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark::after { animation: none; opacity: 0; }
}

/* =========================================================
   HAKKIMIZDA KARTI — canlı, ışıklı video
   ========================================================= */
.about-video-box {
  background: #061e18;
  isolation: isolate;
  animation: aboutGlow 6s ease-in-out infinite;
}
.about-video-box::before { display: none; }
.about-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  z-index: 0;
}
/* Kenarlarda hafif karartma + ince altın çerçeve: video kartın lacivert-altın diline oturur */
.about-video-box::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,30,24,.22) 0%, rgba(6,30,24,0) 26%, rgba(6,30,24,0) 64%, rgba(6,30,24,.5) 100%);
  box-shadow: inset 0 0 0 1px rgba(224,188,74,.38), inset 0 0 70px rgba(6,30,24,.4);
}
/* Hakkımızda: "lamba yanıyor" açılışı. JS yoksa / hareket azaltma açıksa açılış videosu hiç görünmez, lambası yanık poster kalır. */
.about-lamp-box { background: #000; }
.about-video-intro {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none; z-index: 1; background: #000;
}
.about-lamp-box.lamp-js .about-video-intro { display: block; }
.about-lamp-box.lamp-js.lamp-done .about-video-intro { display: none; }
.about-lamp-box.lamp-js:not(.lamp-on) .about-video-sheen { display: none; }
/* Karttan yavaşça geçen sıcak ışık huzmesi */
.about-video-sheen {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden; pointer-events: none;
  mix-blend-mode: soft-light;
}
.about-video-sheen::before {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 55%;
  background: linear-gradient(100deg, transparent 8%, rgba(255,222,150,.55) 50%, transparent 92%);
  transform: translateX(-130%) skewX(-12deg);
  animation: aboutSheen 9s cubic-bezier(.45,.05,.55,.95) 1.5s infinite;
}
@keyframes aboutSheen {
  0% { transform: translateX(-130%) skewX(-12deg); }
  55%, 100% { transform: translateX(260%) skewX(-12deg); }
}
/* Kartın dışına taşan nefes alan altın ışıma */
@keyframes aboutGlow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 rgba(201,162,39,0); }
  50% { box-shadow: var(--shadow-lg), 0 0 46px rgba(201,162,39,.30); }
}
/* "10 Yıllık Tecrübe" rozetinin çevresinde yayılan ışık halkası */
.about-video-box ~ .badge-experience::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(224,188,74,.7);
  opacity: 0; pointer-events: none;
  animation: badgePulse 3.4s ease-out 1s infinite;
}
@keyframes badgePulse {
  0% { opacity: .85; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
  .about-video-box { animation: none; }
  .about-video-sheen::before, .about-video-box ~ .badge-experience::after { animation: none; }
  .about-video-sheen { display: none; }
}

/* =========================================================
   MİNİ AVUKAT REHBER (anasayfa)
   Kök öğe, figürün AYAK noktasına sabitlenir (JS konumlandırır); balon ve menü bu noktaya göre açılır.
   ========================================================= */
.guide {
  position: fixed; left: 0; top: 0; width: 0; height: 0;
  z-index: 800;
  --fh: 150px; --fw: 100px; --ex: 0px; --ey: 0px;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  will-change: transform;
  font-family: var(--font-body);
}
.guide.is-ready { opacity: 1; visibility: visible; }
.guide [hidden] { display: none !important; }

/* ---- figür ---- */
.guide-fig {
  position: absolute; left: 0; top: 0;
  width: 154px; height: 224px;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) scale(.7);
  pointer-events: none;
}
.guide-hit {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; padding: 0;
  background: none; border: 0; cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.guide-hit:focus-visible { outline: 2px dashed var(--gold-light); outline-offset: 8px; border-radius: 18px; }
.guide-svg {
  display: block; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.55)) drop-shadow(0 0 16px rgba(224,188,74,.2));
  transition: filter .35s ease;
}
.guide-hit:hover .guide-svg { filter: drop-shadow(0 7px 10px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(240,208,110,.5)); }

/* ---- ışık: arkada hale, ayakta parlayan zemin, giriş ışık huzmesi, uçuşan parıltılar ---- */
.guide-halo {
  position: absolute; left: 50%; top: 42%; z-index: 0;
  width: 250%; height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(236,202,106,.34), rgba(224,188,74,.13) 46%, transparent 74%);
  animation: guidePulse 4.4s ease-in-out infinite;
  pointer-events: none;
}
.guide-floor {
  position: absolute; left: 50%; bottom: -12px; z-index: 0;
  width: 190%; height: 40px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,222,140,.7), rgba(224,188,74,.26) 55%, transparent 74%);
  animation: guideFloor 4.4s ease-in-out infinite;
  pointer-events: none;
}
.guide-floor::after {
  content: ''; position: absolute; left: 14%; right: 14%; top: 22%; bottom: 22%;
  border-radius: 50%; border: 1px solid rgba(240,208,110,.7);
  animation: guideRing 3.2s ease-out infinite;
}
.guide-beam {
  position: absolute; left: 50%; bottom: -6px; z-index: 0;
  width: 150%; height: 190%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,230,160,0) 0%, rgba(255,226,150,.5) 62%, rgba(255,236,185,.85) 100%);
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  opacity: 0; pointer-events: none;
}
.guide-sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.guide-sparks i {
  position: absolute; bottom: 8%; width: 4px; height: 4px; border-radius: 50%;
  background: #ffe7a6; box-shadow: 0 0 8px 2px rgba(255,214,120,.8);
  opacity: 0;
  animation: guideSpark 4.6s ease-in infinite;
}
.guide-sparks i:nth-child(1) { left: 6%;  animation-delay: .2s; }
.guide-sparks i:nth-child(2) { left: 24%; animation-delay: 1.5s; width: 3px; height: 3px; }
.guide-sparks i:nth-child(3) { left: 78%; animation-delay: .9s; }
.guide-sparks i:nth-child(4) { left: 92%; animation-delay: 2.7s; width: 3px; height: 3px; }
.guide-sparks i:nth-child(5) { left: 50%; animation-delay: 3.4s; }
.guide-sparks i:nth-child(6) { left: 66%; animation-delay: 4.1s; width: 3px; height: 3px; }
@keyframes guidePulse { 0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
@keyframes guideFloor { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes guideRing { 0% { transform: scale(.55); opacity: .9; } 80%, 100% { transform: scale(1.12); opacity: 0; } }
@keyframes guideSpark { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .95; } 100% { transform: translate(var(--sx, 6px), -170px); opacity: 0; } }
.guide-sparks i:nth-child(odd) { --sx: -10px; }
.guide-sparks i:nth-child(even) { --sx: 12px; }

/* ---- giriş: gökten inen ışıkla belirir ---- */
.guide.is-in .guide-beam { animation: guideBeam 1.9s ease-out forwards; }
.guide.is-in .guide-svg { animation: guideAppear 1.2s cubic-bezier(.2,.9,.3,1.15) .15s both; }
@keyframes guideBeam { 0% { opacity: 0; transform: translateX(-50%) scaleY(.2); transform-origin: 50% 100%; } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) scaleY(1); transform-origin: 50% 100%; } }
@keyframes guideAppear { 0% { opacity: 0; transform: translateY(-26px) scale(.84); filter: brightness(2.6) saturate(.4) drop-shadow(0 0 30px rgba(255,226,150,.9)); } 100% { opacity: 1; transform: none; } }

/* ---- canlılık: nefes, baş eğme, göz kırpma, bakış ---- */
.g-all { animation: gBob 3.6s ease-in-out infinite; transform-origin: 110px 304px; }
.g-head { animation: gHead 5.4s ease-in-out infinite; transform-origin: 110px 132px; }
.g-eye { animation: gBlink 5.2s infinite; transform-box: fill-box; transform-origin: center; }
.g-pupil { transform: translate(var(--ex), var(--ey)); transition: transform .14s ease-out; }
@keyframes gBob { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-3px) scaleY(1.008); } }
@keyframes gHead { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg) translateY(-1px); } }
@keyframes gBlink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }

/* ---- kollar: pozlar JS ile (data-pose) değişir ---- */
.g-arm { transition: transform .7s cubic-bezier(.3,1.35,.5,1); }
.guide[data-pose="wave"] .g-arm-r { transform: rotate(-153deg); }
.guide[data-pose="wave"] .g-hand-r { animation: gWave .5s ease-in-out infinite alternate; transform-origin: 8px 88px; }
/* İşaret: terazinin yanındayken (data-side=l) sol kolla sola, köşedeyken (data-side=r) sağ kolla içeriğe doğru */
.guide[data-pose="point"][data-side="l"] .g-arm-l,
.guide[data-pose="point"][data-side="r"] .g-arm-r { transform: rotate(-97deg); }
.guide[data-pose="point"][data-side="l"] .g-hand-l,
.guide[data-pose="point"][data-side="r"] .g-hand-r { animation: gPoint .8s ease-in-out infinite alternate; }
.g-finger { opacity: 0; transition: opacity .3s ease .2s; }
.guide[data-pose="point"][data-side="l"] .g-finger-l,
.guide[data-pose="point"][data-side="r"] .g-finger-r { opacity: 1; }
@keyframes gWave { from { transform: rotate(-16deg); } to { transform: rotate(18deg); } }
@keyframes gPoint { from { transform: translateY(-1px); } to { transform: translateY(4px); } }

/* ---- konuşurken ağız oynar ---- */
.g-talk { opacity: 0; transform-box: fill-box; transform-origin: center; }
.guide.is-talking .g-smile { opacity: 0; }
.guide.is-talking .g-talk { opacity: 1; animation: gTalk .26s ease-in-out infinite alternate; }
@keyframes gTalk { from { transform: scaleY(.45); } to { transform: scaleY(1.08); } }

/* ---- konuşma balonu ---- */
.guide-bubble {
  position: absolute; bottom: calc(var(--fh) + 14px); z-index: 3;
  width: max-content; max-width: min(262px, calc(100vw - 72px));
  padding: 12px 16px 13px;
  border-radius: 16px;
  background: rgba(11,22,44,.95);
  color: #fff;
  border: 1px solid rgba(224,188,74,.55);
  box-shadow: 0 16px 36px rgba(3,8,20,.5), 0 0 26px rgba(224,188,74,.14);
  font-size: .92rem; font-weight: 500; line-height: 1.45;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(.95);
  transition: opacity .3s ease, transform .3s cubic-bezier(.3,1.3,.5,1), visibility 0s linear .3s;
  pointer-events: none;
}
.guide-bubble.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.guide[data-side="l"] .guide-bubble { right: -18px; transform-origin: 82% 100%; }
.guide[data-side="r"] .guide-bubble { left: -18px; transform-origin: 18% 100%; }
.guide-bubble::after {
  content: ''; position: absolute; bottom: -7px; width: 13px; height: 13px;
  background: rgba(11,22,44,.98);
  border-right: 1px solid rgba(224,188,74,.55); border-bottom: 1px solid rgba(224,188,74,.55);
  transform: rotate(45deg);
}
.guide[data-side="l"] .guide-bubble::after { right: 44px; }
.guide[data-side="r"] .guide-bubble::after { left: 44px; }
.guide-bubble-text { margin: 0; color: #fff; }
.guide-bubble-text .gt-rest { opacity: 0; }
.guide-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.guide-tour-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14);
}
.guide-step { font-size: .76rem; font-weight: 700; letter-spacing: .06em; color: var(--gold-light); }
.guide-nav-btns { display: inline-flex; gap: 6px; }
.guide-nav-btns button {
  padding: 5px 12px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  transition: background .25s, color .25s, border-color .25s;
}
.guide-nav-btns button:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.guide-nav-btns button:disabled { opacity: .35; cursor: default; }
.guide-nav-btns [data-nav="next"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.guide-bubble-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 11px; padding: 8px 18px; border-radius: 50px;
  background: var(--gold); color: var(--navy);
  font-size: .86rem; font-weight: 700;
  transition: background .25s, transform .25s;
}
.guide-bubble-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.guide-bubble-cta i { font-size: 1.05rem; }

/* Terazinin yanındayken balon, "Memnun müvekkil" yazısına binmesin diye başın soluna açılır */
.guide.is-anchored[data-side] .guide-bubble { bottom: calc(var(--fh) * .3); left: auto; right: calc(var(--fw) * .5 + 8px); transform-origin: 100% 60%; }
.guide.is-anchored[data-side] .guide-bubble::after {
  bottom: auto; left: auto; top: calc(50% - 6px); right: -7px;
  border-bottom: 0; border-top: 1px solid rgba(224,188,74,.55);
}
/* Dar ekranda hero butonlarının üstüne oturmasın: hero'dan çıkana kadar gizli */
.guide.is-away { display: none; }

/* ---- "Destek Al" menüsü ---- */
.guide-panel {
  position: absolute; bottom: calc(var(--fh) + 14px); z-index: 4;
  width: 276px; max-width: calc(100vw - 72px);
  padding: 18px 16px 14px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(20,36,66,.97), rgba(9,17,34,.98));
  color: #fff;
  border: 1px solid rgba(224,188,74,.55);
  box-shadow: 0 22px 50px rgba(3,8,20,.6), 0 0 34px rgba(224,188,74,.16);
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(.95);
  transition: opacity .3s ease, transform .3s cubic-bezier(.3,1.3,.5,1), visibility 0s linear .3s;
  pointer-events: none;
}
.guide-panel.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.guide[data-side="l"] .guide-panel { right: -18px; transform-origin: 82% 100%; }
.guide[data-side="r"] .guide-panel { left: -18px; transform-origin: 18% 100%; }
.guide-panel-close {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  color: rgba(255,255,255,.7); font-size: .95rem;
  transition: background .25s, color .25s;
}
.guide-panel-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.guide-panel-title { margin: 0 28px 2px 2px; font-family: var(--font-heading); font-weight: 700; font-size: 1.04rem; color: #fff; }
.guide-panel-sub { margin: 0 2px 14px; font-size: .82rem; color: rgba(255,255,255,.66); }
.gp-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 8px; padding: 10px 14px;
  border-radius: 12px; text-align: left;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-size: .9rem; font-weight: 600;
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.gp-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(224,188,74,.7); transform: translateX(3px); }
.gp-btn i { width: 20px; text-align: center; font-size: 1.05rem; color: var(--gold-light); }
.gp-btn small { display: block; margin-top: 1px; font-size: .73rem; font-weight: 500; opacity: .78; }
.gp-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: transparent; color: var(--navy); }
.gp-primary i { color: var(--navy); font-size: 1.4rem; }
.gp-primary:hover { background: linear-gradient(135deg, #f0cf68, var(--gold-light)); border-color: transparent; }
.gp-tel { display: block; margin-top: 12px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.7); }
.gp-tel i { color: var(--gold-light); margin-right: 4px; }
.gp-tel:hover { color: #fff; }

/* ---- tur sırasında vurgulanan bölüm ---- */
.guide-spot { animation: guideSpot 2.4s ease-out 1; }
@keyframes guideSpot {
  0% { box-shadow: inset 0 0 0 0 rgba(201,162,39,0); }
  18% { box-shadow: inset 0 0 0 5px rgba(201,162,39,.75); }
  100% { box-shadow: inset 0 0 0 5px rgba(201,162,39,0); }
}

@media (max-width: 600px) {
  .guide-bubble { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .guide *, .guide-spot { animation: none !important; transition: none !important; }
  .guide-sparks, .guide-beam { display: none; }
}

/* =========================================================
   HAKKIMIZDA YAZILARI — YUKARIDAN AŞAĞI DÖKÜLEN ANİMASYON
   main.js yazıyı parçalara böler (.fp); bölüm ekrana girince
   .is-falling eklenir ve parçalar sırayla yukarıdan düşer.
   JS çalışmazsa ya da "hareketi azalt" açıksa yazı olduğu gibi görünür.
   ========================================================= */
.fall-text .fw { display: inline-block; white-space: nowrap; }
.fall-text .fp { display: inline-block; }
.fall-text .fp-block { display: inline-block; }
.fall-text .fall-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* düşmeden önce: parçalar gizli */
.fall-text.fall-on:not(.is-falling) .fp { opacity: 0; }

/* küçük altın çizgi de soldan uzar */
.fall-text.fall-on .section-eyebrow::before {
  transform: translateY(-50%) scaleX(0); transform-origin: left center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1) .1s;
}
.fall-text.fall-on.is-falling .section-eyebrow::before { transform: translateY(-50%) scaleX(1); }

/* düşüş: önce hızlanarak iner, zemine değince hafifçe yaylanıp oturur */
.fall-text.is-falling .fp {
  animation: fallDrop var(--fd, .95s) both, fallFade .3s linear both;
  animation-delay: var(--fdel, 0s);
}
/* başlık harfleri inerken altın rengiyle parlar, sonra lacivert olur */
.fall-text.is-falling h2 .fp {
  animation: fallDrop var(--fd, .95s) both, fallFade .3s linear both, fallTint 1.25s ease-out both;
  animation-delay: var(--fdel, 0s);
}

@keyframes fallDrop {
  0%   { transform: translateY(var(--dy, -1.8em)) rotate(var(--r, 0deg));
         animation-timing-function: cubic-bezier(.5, 0, .9, .55); }
  58%  { transform: translateY(.07em) rotate(calc(var(--r, 0deg) * -.18)) scale(1.05, .93);
         animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  80%  { transform: translateY(-.04em) rotate(0deg) scale(.99, 1.02);
         animation-timing-function: ease-in-out; }
  100% { transform: none; }
}
@keyframes fallFade {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes fallTint {
  0%, 38% { color: var(--gold-light); }
  100%    { color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  .fall-text .fp { animation: none !important; opacity: 1 !important; }
  .fall-text .section-eyebrow::before { transform: translateY(-50%) !important; transition: none !important; }
}


/* =========================================================
   ANASAYFA — YEŞİL HUKUK OFİSİ / GÖRSEL ENTEGRASYONU
   Yalnızca .office-hero kapsamındadır; diğer bölümler korunur.
   Kaynak: 2007 × 783. Masaüstünde görsel tamamıyla görünür.
   ========================================================= */
.office-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #18251c;
}
.office-hero-art,
.office-hero-art img {
  display: block;
  width: 100%;
}
.office-hero-art img {
  height: auto;
  aspect-ratio: 2007 / 783;
}

/* Aynı başlık iki kez çizilmez; semantik h1 ve bağlantı adları erişilebilir kalır. */
@media (min-width: 960px) {
  .office-hero-copy,
  .office-hero-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .office-hero-link {
    position: absolute;
    z-index: 2;
    top: 86.20%;
    height: 10.60%;
    min-height: 44px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .2s, box-shadow .2s;
  }
  .office-hero-link-primary { left: 7.20%; width: 17.28%; }
  .office-hero-link-secondary { left: 25.60%; width: 12.02%; }
  .office-hero-link:hover { background: rgba(255, 255, 255, .09); }
  .office-hero-link:focus-visible {
    outline: 3px solid #f4d376;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(12, 22, 16, .8);
  }
}

/* Mobil/tablet: görseldeki ufalanan yazılar yerine seçilebilir, okunabilir metin. */
@media (max-width: 959px) {
  .office-hero {
    display: flex;
    align-items: center;
    min-height: 570px;
  }
  .office-hero-art {
    position: absolute;
    inset: 0;
    z-index: -2;
    height: 100%;
  }
  .office-hero-art img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
  .office-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 24, 17, .97), rgba(14, 27, 20, .82) 55%, rgba(14, 24, 18, .62));
  }
  .office-hero-content {
    position: relative;
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
    padding: 48px 28px 54px;
  }
  .office-hero-brand {
    margin: 0 0 24px;
    color: #e5c580;
    font-family: var(--font-heading);
    font-size: .97rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .office-hero-eyebrow {
    display: inline-block;
    margin-bottom: 21px;
    padding: 7px 15px;
    border: 1px solid rgba(219, 177, 66, .55);
    border-radius: 999px;
    color: #f0cd68;
    background: rgba(168, 126, 32, .15);
    font-size: .77rem;
    font-weight: 600;
  }
  .office-hero h1 {
    margin: 0 0 23px;
    color: #fff;
    font-size: clamp(2rem, 5.8vw, 3.45rem);
    line-height: 1.19;
    letter-spacing: -.025em;
    text-wrap: balance;
  }
  .office-hero h1 span { display: inline-block; margin-top: 6px; color: #e1b83f; }
  .office-hero-description {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, .91);
    font-size: 1rem;
    line-height: 1.8;
  }
  .office-hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 29px;
  }
  .office-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 23px;
    border: 2px solid transparent;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: .91rem;
    line-height: 1.4;
    text-align: center;
    touch-action: manipulation;
    transition: background-color .2s, border-color .2s;
  }
  .office-hero-link-label { display: inline-flex; align-items: center; gap: 10px; }
  .office-hero-link-primary { background: #082e25; }
  .office-hero-link-secondary { border-color: rgba(255, 255, 255, .8); background: rgba(12, 22, 17, .3); }
  .office-hero-link:hover { background: #253d30; border-color: #e5c580; }
  .office-hero-link:focus-visible { outline: 3px solid #f4d376; outline-offset: 4px; }
}
@media (max-width: 479px) {
  .office-hero-content { padding: 34px 22px 38px; }
  .office-hero-brand { margin-bottom: 19px; font-size: .85rem; }
  .office-hero-description { font-size: .94rem; line-height: 1.75; }
  .office-hero-actions { gap: 12px; margin-top: 25px; }
  .office-hero-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .office-hero-link { transition: none; }
}
@media print {
  .office-hero-art { display: none; }
  .office-hero { background: #fff; color: #000; }
  .office-hero-copy, .office-hero-link-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }
  .office-hero-link { position: static; display: inline-block; transform: none; height: auto; width: auto; margin-right: 20px; }
}

/* Ücretsiz Ön Görüşme: mobilde ve masaüstünde yeşil buton */
.office-hero-link-primary { background: #082e25; color: #fff; }
.office-hero-link-primary:hover { background: #14513d; }
@media (min-width: 960px) {
  .office-hero-link-primary { display: flex; align-items: center; justify-content: center; }
  .office-hero-link-primary .office-hero-link-label {
    position: static; width: auto; height: auto; margin: 0;
    padding: 0; overflow: visible; clip: auto; clip-path: none;
    white-space: nowrap; border: 0; color: #fff;
    font-size: clamp(11px, 1.15vw, 19px); font-weight: 600;
  }
}

/* Hizmetler: hareketli medya yerine sabit kurumsal görseller */
.service-detail-media .service-static-image { display:block; width:100%; height:100%; object-fit:cover; }
