/*
Theme Name: Tesisat Pro
Theme URI: https://bogazicitesisat.com
Author: Yavuz Aykac
Description: Su tesisatı, su kaçağı tespiti, tıkalı gider açma ve kameralı kontrol firmaları için modern, dönüşüm odaklı WordPress teması. Tıkla-ara telefon, WhatsApp ve mobil acil arama çubuğu içerir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tesisat-pro
*/

/* =========================================================
   Renk paleti — su/temizlik temalı (mavi-teal)
   ========================================================= */
:root {
  --tp-navy: #0a2540;
  --tp-blue: #0b6bcb;
  --tp-blue-dark: #084e96;
  --tp-cyan: #06b6d4;
  --tp-accent: #f59e0b;      /* acil/CTA turuncu */
  --tp-accent-dark: #d97706;
  --tp-ink: #0f1b2d;
  --tp-body: #475569;
  --tp-muted: #6b7a90;
  --tp-line: #e4eaf2;
  --tp-bg: #ffffff;
  --tp-bg-soft: #f3f7fc;
  --tp-bg-soft2: #eaf2fb;
  --tp-white: #ffffff;
  --tp-shadow: 0 18px 40px -18px rgba(10, 37, 64, 0.28);
  --tp-shadow-sm: 0 8px 24px -14px rgba(10, 37, 64, 0.3);
  --tp-radius: 16px;
  --tp-grad: linear-gradient(135deg, var(--tp-blue) 0%, var(--tp-cyan) 100%);
  --tp-grad-navy: linear-gradient(160deg, #0a2540 0%, #0b3a6b 60%, #0b6bcb 130%);
  --tp-wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--tp-body);
  background: var(--tp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--tp-blue); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--tp-ink); line-height: 1.2; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; }

.tp-wrap { max-width: var(--tp-wrap); margin: 0 auto; padding: 0 24px; }
.tp-section { padding: 88px 0; }
.tp-section--soft { background: var(--tp-bg-soft); }
.tp-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tp-blue);
  background: var(--tp-bg-soft2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tp-h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.tp-lead { font-size: 18px; color: var(--tp-muted); max-width: 640px; }
.tp-center { text-align: center; }
.tp-center .tp-lead { margin: 0 auto; }

/* =========================================================
   Butonlar
   ========================================================= */
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.tp-btn:hover { transform: translateY(-2px); }
.tp-btn--call {
  background: var(--tp-accent);
  color: #1a1206;
  box-shadow: 0 10px 22px -10px rgba(245, 158, 11, .7);
}
.tp-btn--call:hover { background: var(--tp-accent-dark); color: #fff; }
.tp-btn--primary { background: var(--tp-grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(11,107,203,.8); }
.tp-btn--whats { background: #25d366; color: #06301a; }
.tp-btn--whats:hover { background: #1ebe57; }
.tp-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.tp-btn--ghost:hover { background: rgba(255,255,255,.22); }
.tp-btn--lg { padding: 17px 30px; font-size: 17px; }

/* =========================================================
   Üst bilgi çubuğu + header
   ========================================================= */
.tp-topbar {
  background: var(--tp-navy);
  color: #cfe0f3;
  font-size: 13.5px;
}
.tp-topbar .tp-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.tp-topbar a { color: #cfe0f3; }
.tp-topbar a:hover { color: #fff; }
.tp-topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.tp-topbar__info span { display: inline-flex; align-items: center; gap: 7px; }

.tp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tp-line);
}
.tp-header .tp-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.tp-brand { display: flex; align-items: center; gap: 12px; }
.tp-brand__mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--tp-grad);
  display: grid; place-items: center;
  color: #fff; font-size: 24px;
  box-shadow: var(--tp-shadow-sm);
}
.tp-brand__name { font-weight: 800; color: var(--tp-ink); font-size: 19px; line-height: 1.1; }
.tp-brand__name small { display: block; font-size: 11.5px; font-weight: 600; color: var(--tp-muted); letter-spacing: .06em; text-transform: uppercase; }
.tp-nav { display: flex; align-items: center; gap: 26px; }
.tp-nav a { color: var(--tp-ink); font-weight: 600; font-size: 15.5px; }
.tp-nav a:hover { color: var(--tp-blue); }
.tp-header__cta { display: flex; align-items: center; gap: 12px; }
.tp-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.tp-burger span { display: block; width: 24px; height: 2px; background: var(--tp-ink); margin: 5px 0; border-radius: 2px; }

/* =========================================================
   Hero
   ========================================================= */
.tp-hero {
  position: relative;
  background: var(--tp-grad-navy);
  color: #fff;
  overflow: hidden;
}
.tp-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(6,182,212,.35), transparent 70%);
  pointer-events: none;
}
.tp-hero .tp-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.tp-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 20px;
}
.tp-hero__pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: tp-pulse 1.8s infinite; }
.tp-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.tp-hero h1 span { color: #7fe3f5; }
.tp-hero__lead { font-size: 19px; color: #d2e2f5; margin-bottom: 30px; max-width: 540px; }
.tp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.tp-hero__trust { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14.5px; color: #cfe0f3; }
.tp-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.tp-hero__check { color: #34d399; font-weight: 900; }

/* Hero kart (sağ taraf) */
.tp-hero__card {
  background: rgba(255,255,255,.96);
  color: var(--tp-ink);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.55);
}
.tp-hero__card h3 { font-size: 20px; margin-bottom: 6px; }
.tp-hero__card p { color: var(--tp-muted); font-size: 14.5px; margin-bottom: 18px; }
.tp-hero__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.tp-hero__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--tp-ink); font-size: 15px; }
.tp-hero__ico { width: 34px; height: 34px; border-radius: 9px; background: var(--tp-bg-soft2); display: grid; place-items: center; font-size: 18px; flex: none; }

/* =========================================================
   İstatistik şeridi
   ========================================================= */
.tp-stats { background: #fff; margin-top: -40px; position: relative; z-index: 3; }
.tp-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow); overflow: hidden;
}
.tp-stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--tp-line); }
.tp-stat:last-child { border-right: none; }
.tp-stat__num { font-size: 34px; font-weight: 900; color: var(--tp-blue); }
.tp-stat__label { font-size: 14px; color: var(--tp-muted); margin-top: 2px; }

/* =========================================================
   Hizmet kartları
   ========================================================= */
.tp-grid { display: grid; gap: 24px; }
.tp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tp-card {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tp-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow); border-color: #cfe0f3; }
.tp-card__ico {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--tp-bg-soft2); color: var(--tp-blue);
  display: grid; place-items: center; font-size: 28px; margin-bottom: 18px;
}
.tp-card h3 { font-size: 19px; margin-bottom: 8px; }
.tp-card p { font-size: 15px; color: var(--tp-body); }
.tp-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14.5px; }

/* =========================================================
   Neden biz
   ========================================================= */
.tp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tp-feature { display: flex; gap: 16px; }
.tp-feature__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--tp-grad); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.tp-feature h4 { font-size: 17px; margin-bottom: 5px; }
.tp-feature p { font-size: 14.5px; }

/* =========================================================
   Çalışma adımları (süreç)
   ========================================================= */
.tp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.tp-step { position: relative; text-align: center; }
.tp-step__num {
  width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 50%; background: #fff; border: 2px solid var(--tp-blue);
  color: var(--tp-blue); font-weight: 900; font-size: 22px;
  display: grid; place-items: center;
}
.tp-step h4 { font-size: 17px; margin-bottom: 6px; }
.tp-step p { font-size: 14.5px; }

/* =========================================================
   CTA bandı
   ========================================================= */
.tp-cta { background: var(--tp-grad-navy); color: #fff; border-radius: 22px; padding: 48px; text-align: center; box-shadow: var(--tp-shadow); }
.tp-cta h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; }
.tp-cta p { color: #d2e2f5; font-size: 18px; margin-bottom: 26px; }
.tp-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Yorumlar
   ========================================================= */
.tp-review { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 26px; }
.tp-review__stars { color: #f59e0b; font-size: 17px; letter-spacing: 2px; margin-bottom: 12px; }
.tp-review p { font-size: 15px; color: var(--tp-ink); margin-bottom: 16px; }
.tp-review__who { display: flex; align-items: center; gap: 12px; }
.tp-review__av { width: 42px; height: 42px; border-radius: 50%; background: var(--tp-grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.tp-review__who strong { display: block; color: var(--tp-ink); font-size: 15px; }
.tp-review__who small { color: var(--tp-muted); }

/* =========================================================
   SSS
   ========================================================= */
.tp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.tp-faq details {
  background: #fff; border: 1px solid var(--tp-line); border-radius: 12px; padding: 4px 20px;
  transition: border-color .2s;
}
.tp-faq details[open] { border-color: var(--tp-blue); }
.tp-faq summary { cursor: pointer; font-weight: 700; color: var(--tp-ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; font-size: 24px; color: var(--tp-blue); font-weight: 400; }
.tp-faq details[open] summary::after { content: "–"; }
.tp-faq p { padding-bottom: 18px; font-size: 15px; }

/* =========================================================
   İletişim
   ========================================================= */
.tp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tp-contact__item { display: flex; gap: 14px; margin-bottom: 22px; }
.tp-contact__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--tp-bg-soft2); color: var(--tp-blue); display: grid; place-items: center; font-size: 20px; flex: none; }
.tp-contact__item strong { display: block; color: var(--tp-ink); }
.tp-contact__item a, .tp-contact__item span { color: var(--tp-body); }
.tp-map { border-radius: var(--tp-radius); overflow: hidden; border: 1px solid var(--tp-line); min-height: 320px; }
.tp-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* =========================================================
   Footer
   ========================================================= */
.tp-footer { background: var(--tp-navy); color: #b9cae0; padding: 56px 0 0; font-size: 14.5px; }
.tp-footer a { color: #b9cae0; }
.tp-footer a:hover { color: #fff; }
.tp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.tp-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.tp-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.tp-footer__brand .tp-brand__name, .tp-footer__brand .tp-brand__name small { color: #fff; }
.tp-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; color: #8ba3c1; font-size: 13.5px; }

/* =========================================================
   Mobil sabit acil arama çubuğu
   ========================================================= */
.tp-mobilebar { display: none; }
@media (max-width: 860px) {
  .tp-mobilebar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -8px 24px -10px rgba(0,0,0,.3);
  }
  .tp-mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-weight: 800; color: #fff; font-size: 15.5px; }
  .tp-mobilebar .m-call { background: var(--tp-accent); color: #1a1206; }
  .tp-mobilebar .m-whats { background: #25d366; color: #06301a; }
  body { padding-bottom: 56px; }
}

/* =========================================================
   Animasyon
   ========================================================= */
@keyframes tp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); }
  70% { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* =========================================================
   Duyarlı
   ========================================================= */
@media (max-width: 980px) {
  .tp-hero .tp-wrap { grid-template-columns: 1fr; }
  .tp-hero__card { order: 2; }
  .tp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tp-stat:nth-child(2) { border-right: none; }
  .tp-grid--3, .tp-grid--4, .tp-why, .tp-steps { grid-template-columns: 1fr 1fr; }
  .tp-footer__grid { grid-template-columns: 1fr 1fr; }
  .tp-contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tp-section { padding: 60px 0; }
  .tp-topbar__info { display: none; }
  .tp-nav, .tp-header__cta .tp-btn { display: none; }
  .tp-burger { display: block; }
  .tp-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--tp-line); gap: 16px; }
  .tp-grid--3, .tp-grid--4, .tp-why, .tp-steps, .tp-footer__grid { grid-template-columns: 1fr; }
  .tp-cta { padding: 32px 22px; }
}
