/* =====================================================================
   Tema: TURUNCU ŞANTİYE — kullanıcının verdiği ChatGPT tasarımının (insaat-firmasi-turuncu-site +
   tasarim-referansi.png) saf CSS karşılığı. Beyaz geçişli geniş hero, turuncu vurgu, koyu proje bandı,
   sarı teklif şeridi. Köşeler küçük (3–4px), çerçeve yok, hafif gölge.
   ===================================================================== */
:root {
  --k-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --k-primary: #1c1d1b;
  --k-ink: #171817;
  --k-text: #4a4a47;
  --k-muted: #6b6b66;
  --k-accent: #ff9d00;
  --k-accent-hover: #ffb52b;
  --k-accent-soft: #fff3d6;
  --k-on-accent: #141414;
  --k-on-dark-muted: #cfcfca;
  --k-bg-soft: #f4f4f2;
  --k-footer: #171817;
  --k-radius: 4px;
  --k-radius-sm: 4px;
  --k-radius-btn: 4px;
  --k-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  --k-shadow-hover: 0 14px 34px rgba(0, 0, 0, .1);
  --k-shadow-btn: 0 6px 18px rgba(255, 157, 0, .28);
  --k-wrap: 1300px;
  --tr-turuncu-koyu: #e88d00;
}
body.tr { background: #fff; color: var(--k-text); }
.tr h1, .tr h2, .tr h3 { letter-spacing: -.025em; }

/* ---------- Düğmeler ---------- */
.tr .k-btn { border-radius: 4px; font-weight: 800; padding: 13px 22px; letter-spacing: 0; }
.tr .k-btn-ana { background: var(--k-accent); color: var(--k-on-accent); }
.tr .k-btn-ana:hover { background: var(--k-accent-hover); transform: translateY(-1px); }
.tr .k-btn-soft { background: #fff; color: var(--k-ink); box-shadow: inset 0 0 0 1.5px #222; }
.tr .k-btn-soft:hover { background: var(--k-accent-soft); }
.tr .k-btn-cam { background: rgba(255, 255, 255, .12); }
.tr-btn-cizgi { background: transparent; color: var(--k-ink); box-shadow: inset 0 0 0 1.5px #222; }
.tr-btn-cizgi:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #222, var(--k-shadow); }
.tr-btn-koyu { background: #171817; color: #fff; }
.tr-btn-koyu:hover { background: #000; }
.tr .k-link, .tr .k-icerik a { color: var(--tr-turuncu-koyu); }
.tr-ust { color: var(--tr-turuncu-koyu); font-size: 13px; line-height: 18px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 6px; }

/* ---------- 1. Üst bar ---------- */
.tr-ustbar { background: #1c1d1b; color: #fff; font-size: 13px; }
.tr-ustbar-ic { display: flex; align-items: stretch; justify-content: space-between; gap: 18px; min-height: 40px; }
.tr-ustbar .sol, .tr-ustbar .sag { display: flex; align-items: center; gap: 22px; }
.tr-ustbar .sol > span { display: inline-flex; align-items: center; gap: 8px; color: #e6e6e0; }
.tr-ustbar .sol svg { color: var(--k-accent); }
.tr-ustbar .sag { gap: 0; }
.tr-ustbar .sosyal { width: 34px; height: 40px; display: grid; place-items: center; color: #fff; opacity: .9; }
.tr-ustbar .sosyal:hover { color: var(--k-accent); }
.tr-ustbar .tel { display: inline-flex; align-items: center; gap: 10px; background: var(--k-accent); color: #141414; font-weight: 800; padding: 0 20px; margin-left: 14px; }
.tr-ustbar .wa { display: inline-flex; align-items: center; gap: 10px; background: #2b2c29; color: #fff; padding: 0 18px; font-weight: 600; }
.tr-ustbar .wa svg { color: #25D366; }

/* ---------- 2. Başlık + menü ---------- */
.tr-baslik { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.tr-baslik-ic { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tr-logo { display: flex; align-items: center; gap: 12px; flex: none; color: var(--k-ink); }
.tr-logo img { height: 50px; width: auto; }
.tr-logo .isaret { width: 46px; height: 46px; color: var(--k-accent); flex: none; }
.tr-logo .yazi { display: grid; line-height: 1.1; }
.tr-logo .yazi b { font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--k-ink); }
.tr-logo .yazi small { font-size: 12px; color: var(--k-muted); margin-top: 3px; }
.tr-logo.ters .yazi b { color: #fff; }
.tr-logo.ters .yazi small { color: #a9a9a3; }
.tr-menu { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--k-ink); }
.tr-menu > a, .tr-menu .acilir > a { display: inline-flex; align-items: center; gap: 4px; padding: 28px 11px; position: relative; }
.tr-menu > a::after, .tr-menu .acilir > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 20px; height: 3px; background: var(--k-accent); transform: scaleX(0); transition: transform .2s; }
.tr-menu a:hover, .tr-menu a.aktif { color: #000; }
.tr-menu > a.aktif::after, .tr-menu .acilir > a.aktif::after, .tr-menu > a:hover::after { transform: scaleX(1); }
.tr-menu .acilir { position: relative; }
.tr-menu .liste { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--k-shadow-hover); padding: 8px; display: none; z-index: 5; border-top: 3px solid var(--k-accent); }
.tr-menu .acilir:hover .liste, .tr-menu .acilir:focus-within .liste { display: grid; }
.tr-menu .liste a { padding: 10px 14px; font-weight: 600; }
.tr-menu .liste a:hover, .tr-menu .liste a.aktif { background: var(--k-accent-soft); }
.tr-eylem { display: flex; align-items: center; gap: 10px; }
.tr-teklif { padding: 15px 24px !important; font-size: 15px; }
.tr-burger { display: none; width: 46px; height: 46px; border-radius: 4px; background: var(--k-bg-soft); color: var(--k-ink); align-items: center; justify-content: center; }

/* ---------- 3. Hero ---------- */
.tr-hero { position: relative; min-height: 560px; display: flex; align-items: stretch; background-color: #f5efe5; background-image: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 33%, rgba(255, 255, 255, .25) 58%, rgba(255, 255, 255, 0) 72%), var(--hero); background-size: cover; background-position: center right; }
.tr-hero-ic { display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 44px; position: relative; }
.tr-hero-yazi { max-width: 640px; }
.tr-hero .tr-ust { padding-left: 16px; box-shadow: inset 3px 0 0 var(--k-accent); }
.tr-hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.04em; font-weight: 900; color: var(--k-ink); margin: 14px 0 18px; }
.tr-hero h1 em { display: block; font-style: normal; color: var(--k-accent); }
.tr-hero-metin { font-size: 18px; line-height: 29px; color: #3d3d3a; max-width: 560px; }
.tr-hero-btn { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.tr-hero-btn .k-btn { padding: 15px 24px; font-size: 16px; }
.tr-guven { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; }
.tr-guven li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--k-ink); max-width: 150px; line-height: 1.25; }
.tr-guven .yuvar { width: 46px; height: 46px; border-radius: 50%; background: var(--k-accent); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .8); }
.tr-hero-stat { position: absolute; right: var(--k-gutter); bottom: 16px; display: flex; background: rgba(23, 24, 23, .9); color: #fff; padding: 16px 8px; border-radius: 4px; }
.tr-hero-stat div { padding: 0 22px; display: grid; }
.tr-hero-stat div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .15); }
.tr-hero-stat b { font-size: 17px; }
.tr-hero-stat span { font-size: 12.5px; color: #cfcfca; }

/* ---------- Bölümler ---------- */
.tr-bolum { padding: 72px 0; background: #fff; }
.tr-bolum.soft { background: var(--k-bg-soft); }
.tr-bolum.koyu { background: #191a18; color: #fff; }
.tr-bolum h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; font-weight: 800; color: var(--k-ink); }
.tr-bolum.koyu h2 { color: #fff; }
.tr-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.tr-bas > p { max-width: 420px; color: var(--k-muted); font-size: 14.5px; }
.tr-bas .k-btn { flex: none; }

/* Hizmet kartları */
.tr-hizmetler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tr-hizmet { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: var(--k-shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tr-hizmet:hover { transform: translateY(-4px); box-shadow: var(--k-shadow-hover); }
.tr-hizmet .gorsel { position: relative; display: block; aspect-ratio: 16 / 10; background: #ddd; }
.tr-hizmet .gorsel img { width: 100%; height: 100%; object-fit: cover; }
.tr-hizmet .ikon { position: absolute; left: 18px; bottom: -26px; width: 56px; height: 56px; border-radius: 50%; background: var(--k-accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.tr-hizmet .yazi { display: grid; gap: 6px; padding: 38px 20px 22px; }
.tr-hizmet b { font-size: 19px; color: var(--k-ink); }
.tr-hizmet .yazi > span { font-size: 14px; line-height: 21px; color: var(--k-muted); }
.tr-hizmet em { font-style: normal; font-weight: 800; font-size: 14px; color: var(--tr-turuncu-koyu); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

/* Projeler koyu bant */
.tr-projeler { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: center; }
.tr-projeler-giris p:not(.tr-ust) { color: #d5d5cf; margin: 14px 0 22px; font-size: 15px; }
.tr-proje-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tr-proje { background: #fff; color: var(--k-ink); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s; }
.tr-proje:hover { transform: translateY(-4px); }
.tr-proje .gorsel { position: relative; display: block; aspect-ratio: 4 / 3; }
.tr-proje .gorsel img { width: 100%; height: 100%; object-fit: cover; }
.tr-proje .etiket { position: absolute; left: 10px; bottom: 10px; background: var(--k-accent); color: #141414; font-size: 11px; font-weight: 900; text-transform: uppercase; padding: 3px 8px; }
.tr-proje .ornek { position: absolute; right: 10px; top: 10px; background: #111; color: #ffd166; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 3px 7px; letter-spacing: .05em; }
.tr-proje .yazi { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 14px; align-items: center; }
.tr-proje .yazi b { font-size: 15px; }
.tr-proje .yazi small { grid-row: 2; font-size: 12px; color: var(--k-muted); }
.tr-proje .yazi i { grid-row: 1 / 3; grid-column: 2; }
.tr-bos { background: rgba(255, 255, 255, .06); padding: 28px; border-radius: 4px; color: #e6e6e0; }
.tr-bos a { color: var(--k-accent); font-weight: 700; }

/* Tanıtım */
.tr-tanitim { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tr-tanitim img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; border-radius: 4px; box-shadow: var(--k-shadow-hover); }
.tr-tanitim h2 + p { margin: 16px 0 22px; font-size: 16px; line-height: 27px; }
.tr-neden { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-bottom: 28px; }
.tr-neden li { display: grid; gap: 4px; padding-left: 16px; box-shadow: inset 3px 0 0 var(--k-accent); }
.tr-neden b { color: var(--k-ink); }
.tr-neden span { font-size: 13.5px; line-height: 20px; color: var(--k-muted); }

/* Süreç */
.tr-surec { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.tr-surec li { background: #fff; padding: 22px 20px; border-radius: 4px; box-shadow: var(--k-shadow); display: grid; gap: 8px; align-content: start; position: relative; }
.tr-surec .no { font-size: 13px; font-weight: 900; color: var(--tr-turuncu-koyu); }
.tr-surec b { font-size: 17px; color: var(--k-ink); }
.tr-surec p { font-size: 13.5px; line-height: 20px; color: var(--k-muted); }

/* Rehber */
.tr-rehber { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tr-yazi { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: var(--k-shadow); display: flex; flex-direction: column; transition: box-shadow .25s; }
.tr-yazi:hover { box-shadow: var(--k-shadow-hover); }
.tr-yazi img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tr-yazi .yazi { display: grid; gap: 6px; padding: 18px 20px 22px; }
.tr-yazi small { color: var(--tr-turuncu-koyu); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.tr-yazi b { font-size: 18px; line-height: 1.3; color: var(--k-ink); }
.tr-yazi .yazi > span { font-size: 14px; line-height: 21px; color: var(--k-muted); }
.tr-yazi em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--tr-turuncu-koyu); display: inline-flex; gap: 6px; align-items: center; }

/* SSS */
.tr-sss { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.tr-sss h2 { margin-bottom: 18px; }

/* ---------- Teklif şeridi ---------- */
.tr-cta { background: linear-gradient(100deg, #ffa908, #ffbd2e); padding: 34px 0; }
.tr-cta-ic { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tr-cta h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; color: #141414; }
.tr-cta p { color: #2b2b28; margin-top: 4px; }
.tr-cta .butonlar { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.tr-cta .tr-btn-cizgi { background: #fff; }

/* ---------- Footer ---------- */
.tr-footer { background: #171817; color: #cfcfca; padding: 56px 0 0; font-size: 14px; }
.tr-footer-ust { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.tr-footer h3 { color: var(--k-accent); font-size: 16px; margin-bottom: 14px; }
.tr-footer a, .tr-footer p { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; color: #cfcfca; }
.tr-footer a:hover { color: #fff; }
.tr-footer .kimlik p { display: block; margin-top: 16px; max-width: 340px; line-height: 22px; }
.tr-footer .sosyal { display: flex; gap: 8px; margin-top: 16px; }
.tr-footer .sosyal a { width: 36px; height: 36px; display: grid; place-items: center; background: #2a2b28; border-radius: 4px; margin: 0; }
.tr-footer .sosyal a:hover { background: var(--k-accent); color: #141414; }
.tr-footer .iletisim svg { color: var(--k-accent); flex: none; margin-top: 3px; }
.tr-footer .vurgu { color: var(--k-accent); font-weight: 700; }
.tr-footer-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0; box-shadow: inset 0 1px 0 #333; font-size: 13px; color: #9a9a94; }
.tr-footer-alt nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tr-footer-alt nav a { margin: 0; color: #bdbdb7; }
.tr-footer .k-imza { color: #9a9a94; }

/* ---------- İç sayfalar ---------- */
.tr .k-sayfa-bas { background: linear-gradient(110deg, #fff7e7, #f4f4f2); color: var(--k-ink); }
.tr .k-sayfa-bas .arka { opacity: .1; mix-blend-mode: multiply; }
.tr .k-sayfa-bas::after { background: linear-gradient(90deg, #fff8ea 0%, rgba(255, 248, 234, .9) 55%, rgba(244, 244, 242, .4) 100%); }
.tr .k-sayfa-bas h1 { color: var(--k-ink); font-weight: 800; letter-spacing: -.03em; }
.tr .k-sayfa-bas p { color: #4a4a47; }
.tr .k-crumb { color: var(--tr-turuncu-koyu); }
.tr .k-crumb a:hover { color: #000; }
.tr .k-rozet { background: var(--k-accent-soft); color: #b36b00; border-radius: 3px; }
.tr .k-ikon { color: var(--tr-turuncu-koyu); }
.tr .k-cip.aktif { background: var(--k-accent); color: #141414; }
.tr .k-cip { border-radius: 4px; }
.tr .k-cta-kutu { background: #191a18; }
.tr .k-cta-kutu::before { background: rgba(255, 157, 0, .35); }
.tr .k-cta-kutu a:not(.k-btn) { color: #ffd38a; }
.tr .k-cta-bant { background: #191a18; }
.tr .k-proje-kart .kat { background: var(--k-accent); color: #141414; border-radius: 3px; font-weight: 800; }
.tr .k-proje-kart:hover h3, .tr .k-haber-kart:hover h3 { color: var(--tr-turuncu-koyu); }
.tr .k-yan-liste a.aktif { background: var(--k-accent-soft); color: #b36b00; }
.tr .k-mobil-eylem a.teklif { color: #141414; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .tr-menu > a, .tr-menu .acilir > a { padding: 28px 7px; font-size: 13.5px; }
  .tr-proje-grid { grid-template-columns: repeat(2, 1fr); }
  .tr-surec { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .tr-menu, .tr-teklif { display: none !important; }
  .tr-burger { display: inline-flex; }
  .tr-hizmetler { grid-template-columns: repeat(2, 1fr); }
  .tr-projeler { grid-template-columns: 1fr; }
  .tr-tanitim, .tr-sss { grid-template-columns: 1fr; gap: 32px; }
  .tr-footer-ust { grid-template-columns: 1fr 1fr; }
  .tr-ustbar .genis { display: none; }
  .tr-hero-stat { position: static; margin-top: 28px; align-self: flex-start; }
}
@media (max-width: 720px) {
  .tr-ustbar .sol, .tr-ustbar .sosyal { display: none; }
  .tr-ustbar-ic { justify-content: center; }
  .tr-ustbar .tel { margin-left: 0; }
  .tr-baslik-ic { min-height: 68px; }
  .tr-logo .isaret { width: 38px; height: 38px; }
  .tr-logo .yazi b { font-size: 19px; }
  .tr-logo .yazi small { font-size: 10.5px; max-width: 200px; }
  .tr-hero { min-height: 0; background-image: linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .88) 62%, rgba(255, 255, 255, .55) 100%), var(--hero); background-position: 62% center; }
  .tr-hero-ic { padding-top: 40px; padding-bottom: 36px; }
  .tr-hero h1 { font-size: 36px; }
  .tr-hero-metin { font-size: 16px; line-height: 25px; }
  .tr-hero-btn .k-btn { width: 100%; }
  .tr-guven { gap: 12px; }
  .tr-guven li { max-width: none; width: calc(50% - 6px); font-size: 13px; }
  .tr-guven .yuvar { width: 38px; height: 38px; }
  .tr-bolum { padding: 48px 0; }
  .tr-bas { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tr-hizmetler, .tr-rehber, .tr-proje-grid, .tr-neden { grid-template-columns: 1fr; }
  .tr-surec { grid-template-columns: 1fr; }
  .tr-cta-ic { flex-direction: column; align-items: flex-start; }
  .tr-cta .butonlar, .tr-cta .k-btn { width: 100%; }
  .tr-footer-ust { grid-template-columns: 1fr; gap: 24px; }
  .tr-hero-stat { flex-wrap: wrap; }
}

/* --- düzeltmeler (ilk ekran kontrolü) --- */
.tr-hizmet .gorsel img, .tr-proje .gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-hizmet .gorsel, .tr-proje .gorsel { overflow: visible; }
.tr-proje .gorsel { overflow: hidden; }
@media (min-width: 721px) { .tr-hero { background-image: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 38%, rgba(255, 255, 255, .45) 58%, rgba(255, 255, 255, 0) 74%), var(--hero); } }
.tr-hero-yazi { max-width: 600px; }
.tr-projeler-giris h2 { font-size: 30px; overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 1025px) { .tr-guven { flex-wrap: nowrap; } .tr-guven li { max-width: 140px; } }
