:root {
  --cream: #e9e2d8;
  --grey: #f6f6f6;
  --ink: #1c1c1c;
  --body: #555;
  --muted: #7a7a7a;
  --max: 1160px;
  --pad: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: Poppins, Montserrat, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 79px);
  text-transform: uppercase;
}
h2 { font-size: clamp(1.6rem, 3.2vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }

/* "display" = büyük ama TERS DÜZ değil (Güvenilir Sahaf, footer başlığı) */
.display {
  text-transform: none;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 72px);
}

p { margin: 0 0 1.1em; }

.kicker {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2em;
}
.kicker--light { color: rgba(255,255,255,.85); }

.band {
  padding: clamp(56px, 8vw, 104px) var(--pad);
}
.band--cream { background: var(--cream); }
.band--grey  { background: var(--grey); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  padding: clamp(76px, 9vw, 104px) var(--pad);
  background: #2a2520 url("assets/hero-kitaplar.jpeg") center top/cover no-repeat;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%);
}
.hero__logo {
  position: absolute;
  top: 22px;
  left: clamp(24px, 3.6vw, 64px);
  z-index: 2;
  width: clamp(92px, 11vw, 132px);
  height: auto;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  /* 20px aşağı: kızın yüzü spotun altında kalmasın.
     transform kullanılmadı — .reveal animasyonu onu kullanıyor, çakışırdı. */
  margin: 20px auto 0;
}
.hero h1 { color: #fff; margin: 0; }
.hero .kicker { position: relative; padding-left: 58px; }
.hero .kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 42px;
  height: 1px;
  background: rgba(255,255,255,.7);
}

/* ---------- TELEFON ---------- */
.call { text-align: center; }
.call .kicker { margin-bottom: .6em; }
.call__number {
  display: inline-block;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
}
.call__number:hover { opacity: .75; }

/* ---------- İKİ SÜTUN ---------- */
.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split__media { margin: 0; }
.split__media img { width: 100%; }
.split__text--right { text-align: right; }
.split__text--right p { margin-left: auto; max-width: 46ch; }
.lead {
  font-family: Poppins, Montserrat, sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}

.body-note {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- HİZMETLER ---------- */
.services { text-align: center; }
.services > h2 { margin-inline: auto; }
.services__intro {
  max-width: 78ch;
  margin: 0 auto clamp(36px, 5vw, 60px);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid #ececec;
  padding: 40px 26px 34px;
  text-align: center;
}
.card svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 22px;
  display: block;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { margin-bottom: .45em; }
.card p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- BÖLGELER ---------- */
.regions {
  max-width: var(--max);
  margin: 0 auto;
}
.regions h2 { max-width: none; }
.regions__list {
  font-size: .86rem;
  color: var(--muted);
  line-height: 2;
  margin: 0;
}


/* ---------- GÜVENİLİR SAHAF ---------- */
/* Tek fotoğraf sağda; beyaz başlık bloğu sol üstünü örtüyor.
   Orijinalde cami + sokak iki ayrı fotoğraf sanılıyor, aslında tek görsel. */
.trust {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 51% 49%;
  align-items: start;
}
.trust__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: clamp(30px, 4vw, 58px);
}
.trust__media img { width: 100%; }

.trust__title {
  grid-column: 1 / span 2;
  grid-row: 1;
  z-index: 2;
  justify-self: start;
  width: 72%;
  margin: 0;
  padding: clamp(34px, 4.5vw, 66px) clamp(20px, 2.5vw, 38px) clamp(24px, 3vw, 42px) 0;
  background: #fff;
  text-align: right;
  white-space: nowrap;
}

.trust__text {
  grid-column: 1;
  grid-row: 2;
  z-index: 2;
  position: relative;
  background: #fff;
  text-align: right;
  padding-right: clamp(20px, 2.5vw, 38px);
}
.trust__text p { margin-left: auto; max-width: 42ch; }

@media (max-width: 900px) {
  .trust {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .trust__media,
  .trust__title,
  .trust__text {
    grid-column: 1;
    grid-row: auto;
    width: auto;
    text-align: left;
    white-space: normal;
    padding: 0;
  }
  .trust__media { order: 3; padding-top: 6px; }
  .trust__text p { margin-left: 0; }
}

/* ---------- FOOTER ---------- */
.site-footer { text-align: center; }
.site-footer__logo {
  width: clamp(170px, 22vw, 240px);
  margin: 0 auto clamp(20px, 3vw, 34px);
}
.site-footer__cta {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.site-footer__cta a { text-decoration: none; }
.site-footer__cta a:hover { text-decoration: underline; }

.colophon {
  background: #211d19;
  color: rgba(255,255,255,.62);
  font-size: .76rem;
  padding: 16px var(--pad);
}
.colophon p { margin: 0; max-width: var(--max); margin-inline: auto; }

/* ---------- MOBİL ARA BUTONU ---------- */
.call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
}
.call-fab svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- DUYARLI ---------- */
@media (max-width: 860px) {
  .split,
  .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .split__text--right { text-align: left; }
  .split__text--right p { margin-left: 0; }
  .hero { padding-top: 120px; }
  .call-fab { display: inline-flex; }
  .colophon { padding-bottom: 76px; }
}

/* ---------- GİRİŞ ANİMASYONU ---------- */
/* Kaynak sitede Elementor bölümleri opacity:0 ile başlayıp scroll'da
   içeri geliyordu. Aynı davranış, kütüphanesiz: IntersectionObserver. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Soldan kayarak gelen varyant (Güvenilir Sahaf başlığı ve metni) */
.reveal--left { transform: translateX(-56px); }
/* Sağdan gelen varyant (fotoğraf) */
.reveal--right { transform: translateX(46px); }
/* Kartlar sırayla gelsin */
.cards .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3) { transition-delay: .24s; }

/* JS kapalıysa hiçbir şey gizli kalmasın */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
