/* =====================================================================
   ServisPro Teknik — Kurumsal Tema 2.0
   Palet: lacivert (#0d3b66) + turuncu (#ff6b35) + açık zemin
   ===================================================================== */
:root {
  --sp-primary: #0d3b66;
  --sp-primary-2: #104a80;
  --sp-primary-3: #1b5c94;
  --sp-accent: #ff6b35;
  --sp-accent-2: #ff8c5a;
  --sp-accent-soft: #fff1ea;
  --sp-dark: #12263a;
  --sp-bg: #f4f7fb;
  --sp-muted: #64748b;
  --sp-border: #e5ecf4;
  --sp-radius: 18px;
  --sp-shadow: 0 10px 30px rgba(13, 59, 102, .10);
  --sp-shadow-lg: 0 22px 54px rgba(13, 59, 102, .16);
  --sp-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sp-font);
  color: var(--sp-dark);
  background: var(--sp-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .fw-bold { letter-spacing: -.015em; }
a { color: var(--sp-primary-3); }
::selection { background: var(--sp-accent); color: #fff; }

/* ---------- Yardımcılar ---------- */
.text-sp-primary { color: var(--sp-primary) !important; }
.text-sp-accent { color: var(--sp-accent) !important; }
.bg-soft { background: #eef4fb; }
.rounded-4 { border-radius: 1.25rem !important; }
.sec-pad { padding: 4.2rem 0; }
@media (max-width: 767.98px) { .sec-pad { padding: 2.6rem 0; } }

/* Bölüm başlıkları */
.sec-eyebrow {
  color: var(--sp-accent); font-weight: 800; text-transform: uppercase;
  letter-spacing: .16em; font-size: .74rem; display: inline-flex; align-items: center; gap: .5rem;
}
.sec-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--sp-accent); }
.sec-title { font-weight: 800; color: var(--sp-primary); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.sec-sub { color: var(--sp-muted); max-width: 640px; }

/* Doku: açık bölümler */
.bg-white, .bgwave { position: relative; }
.bg-soft-grad { background: linear-gradient(180deg, #fff 0%, var(--sp-bg) 100%); }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--sp-dark); color: #c9d6e4; font-size: .82rem; }
.topbar a { color: #c9d6e4; text-decoration: none; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .topbar-divider { opacity: .25; }

/* ---------- Header / Nav ---------- */
.mainnav { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 2px 18px rgba(13,59,102,.07); }
.mainnav .nav-link {
  font-weight: 700; color: var(--sp-dark); position: relative; padding: .55rem .8rem !important; border-radius: 10px;
}
.mainnav .nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
  background: var(--sp-accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.mainnav .nav-link:hover::after, .mainnav .nav-link.active::after { transform: scaleX(1); }
.mainnav .nav-link:hover, .mainnav .nav-link.active { color: var(--sp-primary); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-3));
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem;
  box-shadow: 0 6px 14px rgba(13,59,102,.28);
}
.brand-text { font-weight: 800; color: var(--sp-primary); line-height: 1.05; display: inline-flex; flex-direction: column; font-size: 1.12rem; }
.brand-text small { font-weight: 700; color: var(--sp-accent); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
.btn-accent { background: var(--sp-accent); border-color: var(--sp-accent); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(255,107,53,.30); }
.btn-accent:hover, .btn-accent:focus { background: var(--sp-accent-2); border-color: var(--sp-accent-2); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--sp-primary); border-color: var(--sp-primary); }
.btn-outline-primary { color: var(--sp-primary); border-color: var(--sp-primary); }
.btn-outline-primary:hover { background: var(--sp-primary); border-color: var(--sp-primary); }
.btn { transition: all .18s ease; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(255,107,53,.16), transparent 60%),
    linear-gradient(120deg, #0a2f52 0%, var(--sp-primary) 45%, #1e6aa8 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 4.2rem 0 6.4rem;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.hero::before {
  content: ""; position: absolute; left: -100px; bottom: -170px; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,107,53,.14); filter: blur(6px);
}
.hero .badge-glass {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; backdrop-filter: blur(6px); font-weight: 600;
}
.hero h1 { font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.9rem, 4vw, 3rem); }
.hero .lead { color: #d7e5f2; font-size: 1.06rem; }
.hero-badges .badge-item {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
  padding: .75rem .9rem; font-weight: 600; color: #eaf2fa; transition: background .2s;
}
.hero-badges .badge-item:hover { background: rgba(255,255,255,.16); }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.hero-card .display-6 { letter-spacing: -.02em; }

/* ---------- Bölge sorgulama kutusu ---------- */
.query-box {
  background: #fff; border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-lg);
  margin-top: -72px; position: relative; z-index: 5; border: 1px solid var(--sp-border);
}
.query-box .form-select, .query-box .form-control { border-radius: 12px; border-color: #d9e3ee; min-height: 46px; }

/* ---------- Kartlar ---------- */
.card-corp {
  background: #fff; border: 1px solid var(--sp-border); border-radius: var(--sp-radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; height: 100%; position: relative;
}
.card-corp:hover { transform: translateY(-5px); box-shadow: var(--sp-shadow); border-color: #d3e2f2; }
a.card-corp, a.card-corp:hover { text-decoration: none; color: inherit; }
.card-corp .icon-wrap {
  width: 56px; height: 56px; border-radius: 16px; background: #eaf3fc; color: var(--sp-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all .2s ease;
}
.card-corp:hover .icon-wrap { background: var(--sp-accent-soft); color: var(--sp-accent); transform: scale(1.06) rotate(-3deg); }
.card-corp .corner-dot {
  position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: #d8e4f0; transition: background .2s;
}
.card-corp:hover .corner-dot { background: var(--sp-accent); }

/* Süreç adımları */
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--sp-primary);
  border: 3px solid var(--sp-primary); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
}
.step-col::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 3px; background: repeating-linear-gradient(90deg, #c6d6e8 0 8px, transparent 8px 15px);
}
.step-col:last-child::after { display: none; }
@media (max-width: 767.98px) { .step-col::after { display: none; } }

/* ---------- İstatistik sayaçları ---------- */
.stats-band { background: linear-gradient(120deg, var(--sp-dark), #17395c); border-radius: 22px; color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 220px at 90% 0%, rgba(255,107,53,.25), transparent 55%);
}
.stat-item { position: relative; z-index: 1; text-align: center; padding: 1.6rem .6rem; }
.stat-item .stat-num { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat-item .stat-num span { color: var(--sp-accent); }
.stat-item .stat-label { color: #a9bccf; font-size: .86rem; font-weight: 600; }

/* ---------- Neden biz ---------- */
.why-card { text-align: left; }
.why-card .why-ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: .9rem; background: var(--sp-accent-soft); color: var(--sp-accent);
}

/* ---------- Fiyat paketleri (demo) ---------- */
.price-card { border-radius: 20px; background: #fff; border: 1px solid var(--sp-border); height: 100%; transition: all .2s ease; position: relative; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow); }
.price-card .price-cur { font-size: 2rem; font-weight: 800; color: var(--sp-primary); }
.price-card.featured { border: 2px solid var(--sp-accent); box-shadow: 0 18px 40px rgba(255,107,53,.14); }
.price-card .price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sp-accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  padding: .3rem .9rem; border-radius: 999px; text-transform: uppercase;
}
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; gap: .55rem; align-items: flex-start; padding: .42rem 0; color: #3d4f63; font-size: .93rem; }
.price-list li i { color: #16a34a; margin-top: .15rem; }

/* ---------- Garanti bandı ---------- */
.guarantee-chip {
  display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--sp-border);
  border-radius: 16px; padding: 1rem 1.2rem; height: 100%;
}
.guarantee-chip i { font-size: 1.6rem; color: var(--sp-primary); flex: 0 0 auto; }
.guarantee-chip .g-title { font-weight: 800; font-size: .95rem; color: var(--sp-primary); }
.guarantee-chip .g-sub { font-size: .8rem; color: var(--sp-muted); }

/* ---------- Marka şeridi (marquee) ---------- */
.brand-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: sp-marquee 38s linear infinite; }
.brand-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes sp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-tile {
  display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--sp-border);
  border-radius: 14px; padding: .7rem 1.1rem; font-weight: 700; color: var(--sp-primary); text-decoration: none;
  white-space: nowrap; transition: all .2s ease;
}
.brand-tile:hover { border-color: var(--sp-accent); color: var(--sp-accent); transform: translateY(-2px); }
.brand-avatar {
  width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #eaf3fc, #d9e9f9);
  color: var(--sp-primary); font-size: .8rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.brand-avatar.lg { width: 54px; height: 54px; border-radius: 15px; font-size: 1.15rem; }

/* ---------- Bölge sayfaları ---------- */
.province-card { background: #fff; border: 1px solid var(--sp-border); border-radius: 16px; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--sp-dark); transition: all .18s ease; height: 100%; }
.province-card:hover { border-color: var(--sp-accent); transform: translateY(-3px); box-shadow: var(--sp-shadow); color: var(--sp-primary); }
.province-card .plate {
  width: 42px; height: 34px; border-radius: 8px; background: #fff; border: 2px solid var(--sp-primary);
  color: var(--sp-primary); font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.province-card .pc-name { font-weight: 700; line-height: 1.2; }
.province-card .pc-sub { font-size: .76rem; color: var(--sp-muted); }
.letter-head { color: var(--sp-muted); font-weight: 800; font-size: .95rem; border-bottom: 2px solid var(--sp-border); }
.badge-region { background: #eef4fb; color: var(--sp-primary); border: 1px solid #d8e5f2; font-weight: 600; transition: all .15s ease; }
a.badge-region:hover { background: var(--sp-primary); color: #fff; border-color: var(--sp-primary); }
.filter-input { border-radius: 999px; padding: .6rem 1.1rem; border: 1px solid #d9e3ee; }

/* ---------- Blog ---------- */
.post-card img.cover, .featured-post img.cover { width: 100%; object-fit: cover; border-radius: 12px; }
.featured-post img.cover { height: 320px; }
@media (max-width: 767.98px) { .featured-post img.cover { height: 200px; } }
.post-card img.cover { height: 160px; }
.post-meta { font-size: .8rem; color: var(--sp-muted); }
.post-body { font-size: 1.03rem; line-height: 1.9; color: #2c3a4b; }
.post-body h2, .post-body h3 { color: var(--sp-primary); font-weight: 800; margin-top: 1.7rem; }
.post-body p { margin-bottom: 1.1rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 1rem; transition: transform .15s ease; }
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn.wa { background: #25d366; } .share-btn.fb { background: #1877f2; } .share-btn.tw { background: #0f1419; } .share-btn.cp { background: var(--sp-muted); }
.cat-chip { border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; font-size: .88rem; }
.cat-chip.active { background: var(--sp-primary); color: #fff; border-color: var(--sp-primary) !important; }

/* ---------- Form ---------- */
.req-form .form-label { font-weight: 700; font-size: .88rem; }
.req-form .form-control, .req-form .form-select, .filter-input { border-radius: 12px; border-color: #d8e2ec; padding: .62rem .85rem; }
.req-form .form-control:focus, .req-form .form-select:focus { border-color: var(--sp-primary); box-shadow: 0 0 0 .2rem rgba(13,59,102,.12); }

/* ---------- CTA bandı ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--sp-accent) 0%, #ff8143 55%, #ff9a5f 100%);
  border-radius: 24px; color: #fff; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.14); }
.cta-band h2 { font-weight: 800; }
.cta-band .btn { font-weight: 800; }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.75); color: #fff; font-weight: 700; border-radius: 999px; }
.btn-ghost-light:hover { background: #fff; color: var(--sp-accent); }

/* ---------- Footer ---------- */
.sitefooter { background: var(--sp-dark); color: #b8c4d2; }
.sitefooter h6 { color: #fff; font-weight: 800; }
.sitefooter a { color: #b8c4d2; text-decoration: none; transition: color .15s; }
.sitefooter a:hover { color: #fff; }
.footer-links li { margin-bottom: .5rem; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); }

/* ---------- Sayfa başlık bandı ---------- */
.pageband {
  background:
    radial-gradient(600px 240px at 90% -20%, rgba(255,255,255,.09), transparent 60%),
    linear-gradient(120deg, #0a2f52, var(--sp-primary) 55%, #1e6aa8);
  color: #fff; padding: 2.6rem 0; position: relative; overflow: hidden;
}
.pageband .breadcrumb { --bs-breadcrumb-divider-color: #9fb8d1; margin: 0; }
.pageband .breadcrumb a { color: #cfe0f0; text-decoration: none; }
.pageband .breadcrumb a:hover { color: #fff; }
.pageband .breadcrumb-item.active { color: #fff; }
.pageband h1 { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Takip kartı ---------- */
.track-card { border: 2px dashed #cfd9e4; border-radius: var(--sp-radius); background: #fff; }

/* ---------- Yüzen butonlar ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: .6rem; z-index: 1050; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.35rem; text-decoration: none; box-shadow: 0 10px 24px rgba(18,38,58,.28);
  transition: transform .18s ease; border: none;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn.call { background: var(--sp-primary); }
.float-btn.wa { background: #25d366; }
.float-btn.top { background: #44576d; font-size: 1.15rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .18s; }
.float-btn.top.show { opacity: 1; pointer-events: auto; }

/* ---------- Animasyonlar ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
  .hero { padding: 2.8rem 0 5rem; }
  .query-box { margin-top: -48px; }
  .brand-text small { display: none; }
  .float-btn { width: 46px; height: 46px; font-size: 1.2rem; }
}
