/* =====================================================================
   Bambu Proje-Danışmanlık — site.css (v2)
   Palet logodan türedi (camgöbeği çember); ikincil ton 5403'ün konusu
   olan topraktan. v2: tam ekran fotoğraflı giriş, kaydırdıkça beliren
   bölümler, sabit-fotoğraf bantları. Tescil numaraları tasarımdan
   çıkarıldı (yalnız yasal sayfaların künye tablolarında).
   ===================================================================== */
@import url("fontlar.css");

:root {
  --cam: #3e7f7b;
  --cam-koyu: #27524f;
  --cam-gece: #1b3a38;
  --cam-acik: #e7f0ef;
  --toprak: #a4762e;
  --toprak-acik: #e4c98f;
  --zemin: #fafaf7;
  --kart: #ffffff;
  --murekkep: #22302e;
  --soluk: #5b6a67;
  --cizgi: #d9e1de;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zemin);
  color: var(--murekkep);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 { font-family: Literata, Georgia, serif; line-height: 1.22; color: var(--murekkep); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; margin: 0 0 0.6em; }
h3 { font-size: 1.18rem; font-weight: 600; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--cam); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--toprak); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }

.orta { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Üst çubuk — yapışkan, yarı saydam */
header.site-basi {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cizgi);
}
.site-basi .orta { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.marka { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--murekkep); margin-right: auto; }
.marka img { width: 50px; height: 50px; }
.marka b { font-family: Literata, Georgia, serif; font-size: 1.12rem; font-weight: 600; line-height: 1.15; }
.marka span { display: block; font-size: 0.76rem; color: var(--soluk); font-weight: 400; letter-spacing: 0.05em; }
nav.gezinti { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
nav.gezinti a { text-decoration: none; color: var(--murekkep); font-weight: 600; font-size: 0.98rem; padding: 4px 2px; border-bottom: 2px solid transparent; }
nav.gezinti a[aria-current="page"] { border-bottom-color: var(--cam); color: var(--cam); }
nav.gezinti a:hover { color: var(--cam); }

.dugme {
  display: inline-block; padding: 13px 24px; border-radius: 7px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  background: var(--cam); color: #fff; border: 1px solid var(--cam);
  transition: transform 0.15s ease, background 0.15s ease;
}
.dugme:hover { background: var(--cam-koyu); border-color: var(--cam-koyu); transform: translateY(-1px); }
.dugme.dis { background: transparent; color: var(--cam-koyu); border-color: var(--cam); }
.dugme.dis:hover { background: var(--cam-acik); }
.dugme.ws { background: #1f9d55; border-color: #1f9d55; }
.dugme.ws:hover { background: #177a41; border-color: #177a41; }

/* ---- Tam ekran fotoğraflı giriş ---- */
.kaplama-hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: #f2f7f6;
}
.hero-fotolar { position: absolute; inset: 0; will-change: transform; }
.kaplama-hero img.arka {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06);
  opacity: 0; transition: opacity 1.4s ease;
}
.kaplama-hero img.arka.etkin { opacity: 1; }
.kaplama-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23, 47, 45, 0.88) 0%, rgba(23, 47, 45, 0.62) 48%, rgba(23, 47, 45, 0.28) 100%);
}
.kaplama-hero .orta { position: relative; z-index: 2; width: 100%; padding-top: 70px; padding-bottom: 90px; }
.kaplama-hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
.kaplama-hero .ustyazi { color: var(--toprak-acik); }
.kaplama-hero p.ozet { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d7e5e3; max-width: 46ch; }
.kaplama-hero .eylemler { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.kaplama-hero .dugme.dis { color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.kaplama-hero .dugme.dis:hover { background: rgba(255, 255, 255, 0.14); }
.kaydir-ipucu {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; color: #cfe0de; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; text-align: center;
}
.kaydir-ipucu::after { content: "▾"; display: block; font-size: 1.2rem; animation: sek 1.8s ease-in-out infinite; }
@keyframes sek { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* Girişte yumuşak açılış */
.acilis { opacity: 0; transform: translateY(26px); animation: acil 0.9s ease forwards; }
.acilis.g2 { animation-delay: 0.15s; }
.acilis.g3 { animation-delay: 0.3s; }
.acilis.g4 { animation-delay: 0.45s; }
@keyframes acil { to { opacity: 1; transform: none; } }

.ustyazi {
  color: var(--toprak); font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; font-size: 0.82rem; margin-bottom: 14px;
}

/* İç sayfaların iki sütunlu girişi (hizmetler vb.) */
.giris { padding: 56px 0 40px; }
.giris .orta { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.giris p.ozet { font-size: 1.15rem; color: var(--soluk); max-width: 46ch; }
.giris figure { margin: 0; position: relative; }
.giris img { border-radius: 10px; box-shadow: 0 14px 34px rgba(39, 82, 79, 0.18); }
.giris figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,0.92);
  padding: 6px 12px; border-radius: 5px; font-size: 0.8rem; color: var(--cam-koyu);
  border-left: 3px solid var(--cam);
}
@media (max-width: 800px) { .giris .orta { grid-template-columns: 1fr; gap: 28px; } }

/* Güven satırı — numarasız */
.guven { background: var(--kart); border-bottom: 1px solid var(--cizgi); }
.guven .orta { display: flex; gap: 10px 34px; flex-wrap: wrap; justify-content: center; padding-top: 18px; padding-bottom: 18px; }
.guven span { color: var(--soluk); font-weight: 600; font-size: 0.95rem; display: inline-flex; gap: 8px; align-items: center; }
.guven span::before { content: "✓"; color: var(--cam); font-weight: 700; }

section.bolum { padding: 72px 0; }
section.bolum.dolgulu { background: var(--cam-acik); }

/* Kaydırdıkça belirme (canlilik.js .belir ekler) */
.belir { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.belir.gorunur { opacity: 1; transform: none; }
.dosya-kart.belir:nth-child(2) { transition-delay: 0.12s; }
.surec li.belir:nth-child(2) { transition-delay: 0.1s; }
.surec li.belir:nth-child(3) { transition-delay: 0.2s; }
.surec li.belir:nth-child(4) { transition-delay: 0.3s; }
.guven span.belir:nth-child(2) { transition-delay: 0.12s; }
.guven span.belir:nth-child(3) { transition-delay: 0.24s; }

/* Dosya-sekmeli hizmet kartları */
.kart-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 12px; }
.dosya-kart {
  position: relative; background: var(--kart); border: 1px solid var(--cizgi);
  border-radius: 0 12px 12px 12px; padding: 26px 26px 22px; margin-top: 18px;
}
.dosya-kart::before {
  content: attr(data-sekme);
  position: absolute; top: -18px; left: -1px;
  background: var(--cam); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 14px; border-radius: 7px 7px 0 0;
}
.dosya-kart:hover { box-shadow: 0 14px 30px rgba(39, 82, 79, 0.14); }
.dosya-kart img { border-radius: 8px; margin-bottom: 16px; aspect-ratio: 16 / 9; object-fit: cover; }
.dosya-kart ul { margin: 0; padding-left: 20px; color: var(--soluk); }
.dosya-kart li { margin-bottom: 5px; }

/* Sabit fotoğraf bandı — kaydırırken fotoğraf yerinde durur */
.foto-bant {
  position: relative; min-height: 380px; display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: #fff;
}
@media (min-width: 900px) { .foto-bant { background-attachment: fixed; } }
.foto-bant::after { content: ""; position: absolute; inset: 0; background: rgba(23, 47, 45, 0.58); }
.foto-bant .icerik { position: relative; z-index: 2; padding: 70px 0; }
.foto-bant h2 { color: #fff; max-width: 24ch; text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.foto-bant p { color: #d7e5e3; max-width: 52ch; font-size: 1.1rem; }

/* Süreç adımları — gerçek bir sıra olduğu için numaralı */
.surec { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.surec li { background: var(--kart); border: 1px solid var(--cizgi); border-radius: 10px; padding: 20px; }
.surec .no {
  font-family: Literata, Georgia, serif; font-size: 1.9rem; font-weight: 700;
  color: var(--toprak); display: block; margin-bottom: 6px;
}
.surec b { display: block; margin-bottom: 4px; }
.surec span { color: var(--soluk); font-size: 0.94rem; }

/* SSS */
details.soru { background: var(--kart); border: 1px solid var(--cizgi); border-radius: 10px; margin-bottom: 12px; }
details.soru summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
}
details.soru summary::-webkit-details-marker { display: none; }
details.soru summary::after { content: "+"; color: var(--cam); font-size: 1.3rem; font-family: Literata, serif; }
details.soru[open] summary::after { content: "–"; }
details.soru .cevap { padding: 0 20px 16px; color: var(--soluk); }

/* Koyu çağrı bölümü — fotoğraf zeminli */
.cagri {
  position: relative; color: #eef5f4;
  background-size: cover; background-position: center;
}
.cagri::after { content: ""; position: absolute; inset: 0; background: rgba(27, 58, 56, 0.9); }
.cagri .orta { position: relative; z-index: 2; }
.cagri h2 { color: #fff; }
.cagri p { color: #c9dbd9; max-width: 60ch; }
.cagri .eylemler { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.cagri .dugme.dis { color: #fff; border-color: rgba(255,255,255,0.6); }
.cagri .dugme.dis:hover { background: rgba(255,255,255,0.12); }

/* İletişim kutuları */
.iletisim-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.iletisim-kut { background: var(--kart); border: 1px solid var(--cizgi); border-radius: 10px; padding: 22px; }
.iletisim-kut b { display: block; margin-bottom: 6px; }
.iletisim-kut a { font-size: 1.08rem; font-weight: 700; text-decoration: none; }
.iletisim-kut.belir:nth-child(2) { transition-delay: 0.12s; }
.iletisim-kut.belir:nth-child(3) { transition-delay: 0.24s; }

/* Yüzen WhatsApp düğmesi — her sayfada, kaydırma boyunca köşede */
.wa-yuzen {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.wa-yuzen.gorunur { opacity: 1; visibility: visible; transform: none; }
.wa-yuzen:hover { background: #1eb856; transform: scale(1.06); }
.wa-yuzen:focus-visible { outline: 3px solid var(--cam-koyu); outline-offset: 3px; }
.wa-yuzen svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 800px) { .wa-yuzen { right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .wa-yuzen { transition: none; }
  .wa-yuzen.gorunur { transform: none; }
}

/* Hizmet bedelleri — ödeme sayfası.
   İki kart eşit ağırlıkta değil: net fiyatı olan Proje Teknik Raporu öne
   çıkar, teklife bağlı olan Toprak Koruma Projesi yanında sakin durur. */
.fiyat-izgara { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; margin-top: 20px; align-items: start; }
.fiyat-kart {
  background: var(--kart); border: 1px solid var(--cizgi); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; position: relative;
}
.fiyat-kart.one-cikan {
  border-color: var(--cam); box-shadow: 0 10px 30px rgba(39, 82, 79, 0.10);
  padding-top: 34px; overflow: hidden;
}
.fiyat-kart.one-cikan::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--cam-koyu), var(--cam) 60%, var(--toprak-acik));
}
.fiyat-kart h3 { margin: 0 0 4px; font-size: 1.2rem; }
.fiyat-kart .kapsam { color: var(--soluk); font-size: 0.94rem; margin: 0 0 22px; }
.fiyat-rozet {
  position: absolute; top: 16px; right: 18px;
  background: var(--toprak); color: #fff; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.fiyat-kart .rakam {
  font-family: Literata, Georgia, serif; font-size: 2.6rem; font-weight: 700;
  color: var(--cam-koyu); line-height: 1.05; display: inline-block;
}
.fiyat-kart .kdv { color: var(--soluk); font-size: 0.9rem; margin-left: 8px; }
/* Teklife bağlı kartta rakam yerine ifade var; onu ana fiyatla aynı
   ağırlıkta basmak iki kartı eşitler ve hiyerarşiyi siler. */
.fiyat-kart:not(.one-cikan) .rakam { font-size: 1.6rem; color: var(--cam); }
.fiyat-kart .rakam-alt { color: var(--soluk); font-size: 0.92rem; display: block; margin-top: 4px; }
/* Taksit satırı: aylık tutar okunur olsun, toplam yanında dursun. */
.fiyat-taksit {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: var(--cam-acik); border: 1px solid #cfe0de;
}
.fiyat-taksit b { font-family: Literata, Georgia, serif; font-size: 1.35rem; color: var(--cam-koyu); }
.fiyat-taksit span { display: block; color: var(--soluk); font-size: 0.88rem; margin-top: 2px; }
.fiyat-liste { list-style: none; margin: 20px 0 0; padding: 0; }
.fiyat-liste li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 0.95rem; color: var(--murekkep);
}
.fiyat-liste li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--cam); font-weight: 700;
}
.fiyat-kart .eylem { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.fiyat-kart .not { color: var(--soluk); font-size: 0.86rem; margin: 14px 0 0; }
@media (max-width: 800px) {
  .fiyat-izgara { grid-template-columns: 1fr; }
  .fiyat-kart .rakam { font-size: 2.2rem; }
}

/* Yasal sayfalar */
.yasal { max-width: 760px; }
.yasal h2 { margin-top: 1.6em; font-size: 1.25rem; }
.yasal table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.yasal td { border: 1px solid var(--cizgi); padding: 8px 12px; vertical-align: top; }
.yasal td:first-child { font-weight: 700; white-space: nowrap; background: var(--cam-acik); }

footer.site-sonu { background: var(--murekkep); color: #b9c6c3; font-size: 0.92rem; }
.site-sonu .orta { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding-top: 40px; padding-bottom: 22px; }
.site-sonu h3 { color: #fff; font-size: 1rem; }
.site-sonu a { color: #dbe6e4; text-decoration: none; }
.site-sonu a:hover { text-decoration: underline; }
.site-sonu ul { list-style: none; margin: 0; padding: 0; }
.site-sonu li { margin-bottom: 7px; }
.site-sonu .alt {
  border-top: 1px solid rgba(255,255,255,0.14); margin-top: 10px;
  padding: 14px 22px; text-align: center; font-size: 0.82rem; color: #8fa19d;
}

@media (max-width: 800px) {
  .kart-izgara { grid-template-columns: 1fr; }
  .surec { grid-template-columns: 1fr 1fr; }
  .iletisim-izgara { grid-template-columns: 1fr; }
  .site-sonu .orta { grid-template-columns: 1fr; }
  .kaplama-hero { min-height: 78vh; }
}
@media (max-width: 460px) {
  .surec { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .acilis { opacity: 1; transform: none; }
  .belir { opacity: 1; transform: none; }
  .foto-bant { background-attachment: scroll; }
}
