/*
Theme Name: Kartal Kombi Servisi
Theme URI: https://example.com/kartal-kombi-servisi
Author: Kartal Kombi Servisi
Description: Kartal ve çevresi için mobil uyumlu, beş sayfalı kombi özel servis teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kartal-kombi-servisi
*/

:root {
  --ink: #132238;
  --muted: #5e6b7c;
  --paper: #ffffff;
  --mist: #f3f7fb;
  --line: #dce6ef;
  --navy: #0d2948;
  --blue: #0867c9;
  --blue-dark: #064e99;
  --orange: #ff7a1a;
  --orange-dark: #df5d00;
  --green: #1d8c5b;
  --shadow: 0 18px 50px rgba(19, 34, 56, 0.10);
  --radius: 24px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(8, 103, 201, .4); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 8px; background: var(--orange); }
.section { padding: 88px 0; }
.section--soft { background: var(--mist); }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading h2 { margin: 10px 0 12px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

/* Header */
.topbar { color: #dfeefe; background: var(--navy); font-size: .86rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar p { margin: 0; }
.topbar__status { display: flex; align-items: center; gap: 8px; }
.topbar__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #58d99a; box-shadow: 0 0 0 4px rgba(88,217,154,.12); }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,230,239,.9); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 32px; }
.site-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.site-brand__mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,var(--blue),#28a2ef); box-shadow: 0 8px 20px rgba(8,103,201,.22); }
.site-brand__mark svg { width: 25px; height: 25px; }
.site-brand__text { display: grid; line-height: 1.1; }
.site-brand__name { font-size: 1.05rem; font-weight: 850; letter-spacing: -.02em; }
.site-brand__tag { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.custom-logo { display: block; max-height: 54px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-nav a { position: relative; padding: 10px 0; font-size: .93rem; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 5px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
.header-call { display: flex; align-items: center; gap: 10px; padding: 10px 15px 10px 11px; color: #fff; background: var(--blue); border-radius: 14px; font-weight: 800; box-shadow: 0 8px 20px rgba(8,103,201,.18); }
.header-call:hover { background: var(--blue-dark); }
.header-call svg { width: 22px; height: 22px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 21px; height: 2px; margin: auto; border-radius: 3px; background: currentColor; transition: .2s; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 0; border-radius: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: var(--orange); box-shadow: 0 12px 26px rgba(255,122,26,.25); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.btn svg { width: 21px; height: 21px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 78px; background: linear-gradient(125deg,#f8fbff 0%,#edf6ff 54%,#f9fbfd 100%); }
.hero::before { content: ""; position: absolute; top: -180px; right: -160px; width: 600px; height: 600px; border: 100px solid rgba(8,103,201,.045); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 68px; }
.hero h1 { max-width: 690px; margin: 16px 0 20px; font-size: clamp(2.7rem,6vw,5.2rem); line-height: .98; letter-spacing: -.06em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero__lead { max-width: 630px; margin: 0 0 28px; color: var(--muted); font-size: clamp(1.06rem,2vw,1.22rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 700; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; color: var(--green); }
.boiler-scene { position: relative; min-height: 470px; display: grid; place-items: center; }
.boiler-scene::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: linear-gradient(145deg,#0d64bd,#28a7ed); box-shadow: 0 35px 70px rgba(8,103,201,.25); }
.boiler { position: relative; z-index: 2; width: min(320px,80%); padding: 28px 26px 32px; border: 1px solid rgba(255,255,255,.7); border-radius: 26px; background: linear-gradient(145deg,#fff,#edf3f7); box-shadow: 0 28px 70px rgba(7,35,61,.28); }
.boiler__brand { width: 54px; height: 7px; margin-bottom: 42px; border-radius: 6px; background: #aebac5; }
.boiler__screen { width: 82px; margin: 0 auto 35px; padding: 12px 8px; border: 6px solid #d9e1e7; border-radius: 10px; color: #74dcff; background: #133a53; text-align: center; font-family: ui-monospace, monospace; font-size: 1.25rem; box-shadow: inset 0 0 10px rgba(116,220,255,.25); }
.boiler__controls { display: flex; justify-content: center; gap: 28px; }
.boiler__knob { width: 45px; height: 45px; border: 5px solid #d5dee5; border-radius: 50%; background: #f9fbfc; box-shadow: inset 0 0 0 2px #fff; }
.boiler__line { height: 5px; margin-top: 40px; border-radius: 10px; background: #dce4ea; }
.scene-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 13px 17px; border: 1px solid rgba(220,230,239,.7); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); font-size: .88rem; font-weight: 800; }
.scene-badge svg { width: 23px; color: var(--orange); }
.scene-badge--top { top: 52px; left: 2px; }
.scene-badge--bottom { right: 0; bottom: 42px; }

/* Cards and page content */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { position: relative; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #bed7ed; box-shadow: var(--shadow); }
.service-card__icon, .value-card__icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 17px; color: var(--blue); background: #eaf5ff; }
.service-card__icon svg, .value-card__icon svg { width: 27px; height: 27px; }
.service-card h3, .value-card h3 { margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.025em; }
.service-card p, .value-card p { margin: 0; color: var(--muted); }
.service-card a { display: inline-flex; margin-top: 22px; color: var(--blue); font-weight: 800; }
.brand-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.brand-chip { min-height: 82px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; color: #3d4c5e; background: #fff; text-align: center; font-weight: 850; letter-spacing: -.02em; }
.brand-chip:hover { color: var(--blue); border-color: #a8cae8; }
.brand-note { margin: 24px 0 0; color: var(--muted); font-size: .86rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.feature-panel { position: relative; min-height: 430px; padding: 42px; overflow: hidden; border-radius: 32px; color: #fff; background: var(--navy); }
.feature-panel::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 320px; height: 320px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; }
.feature-panel h2 { max-width: 480px; margin: 14px 0 20px; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.feature-panel p { max-width: 530px; color: #c7d7e7; }
.feature-panel .eyebrow { color: #77bdff; }
.stat-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 34px; }
.stat { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.07); }
.stat strong { display: block; font-size: 1.18rem; }
.stat span { color: #bfd1e2; font-size: .84rem; }
.check-list { display: grid; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.check-list svg { width: 24px; color: var(--green); }
.check-list strong { display: block; margin-bottom: 2px; color: var(--ink); }

.page-hero { position: relative; overflow: hidden; padding: 78px 0; color: #fff; background: linear-gradient(120deg,var(--navy),#0e4b7b); }
.page-hero::after { content: ""; position: absolute; top: -150px; right: 2%; width: 440px; height: 440px; border: 80px solid rgba(255,255,255,.05); border-radius: 50%; }
.page-hero .eyebrow { color: #78c1ff; }
.page-hero h1 { max-width: 780px; margin: 14px 0 16px; font-size: clamp(2.5rem,5vw,4.7rem); line-height: 1.02; letter-spacing: -.05em; }
.page-hero p { max-width: 700px; margin: 0; color: #c9daea; font-size: 1.12rem; }
.breadcrumbs { margin-bottom: 22px; color: #abc5db; font-size: .86rem; font-weight: 700; }
.breadcrumbs a:hover { color: #fff; }
.content-prose { max-width: 800px; }
.content-prose h2 { margin: 44px 0 14px; font-size: 2rem; letter-spacing: -.035em; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose p { color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.service-list { display: grid; gap: 18px; }
.service-row { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 24px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.service-row__icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: var(--blue); background: #eaf5ff; }
.service-row__icon svg { width: 29px; }
.service-row h3 { margin: 0 0 4px; font-size: 1.3rem; }
.service-row p { margin: 0; color: var(--muted); }
.service-row__tag { padding: 7px 12px; border-radius: 20px; color: var(--green); background: #e8f7f0; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.brand-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.brand-card { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.brand-card strong { font-size: 1.25rem; }
.brand-card span { margin-top: 7px; color: var(--muted); font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.contact-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: #eaf5ff; }
.contact-card__icon svg { width: 24px; }
.contact-card strong { display: block; }
.contact-card span, .contact-card p { margin: 4px 0 0; color: var(--muted); }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.contact-form h2 { margin: 0 0 6px; font-size: 2rem; letter-spacing: -.04em; }
.contact-form > p { margin: 0 0 25px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd8e4; border-radius: 12px; color: var(--ink); background: #fbfdff; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-notice { margin-bottom: 20px; padding: 13px 15px; border-radius: 12px; font-weight: 700; }
.form-notice--success { color: #126940; background: #e4f7ed; }
.form-notice--error { color: #9b2f27; background: #ffebea; }

/* CTA and footer */
.cta-band { padding: 34px 0; color: #fff; background: var(--blue); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin: 0 0 4px; font-size: clamp(1.65rem,3vw,2.4rem); letter-spacing: -.04em; }
.cta-band p { margin: 0; color: #d7ebff; }
.cta-band .btn { flex: 0 0 auto; color: var(--navy); background: #fff; }
.site-footer { padding: 58px 0 22px; color: #b9cadb; background: #081c31; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 55px; }
.footer-title { margin: 0 0 16px; color: #fff; font-size: 1rem; }
.footer-about { max-width: 440px; }
.footer-brand { margin-bottom: 18px; color: #fff; }
.footer-nav { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; }
.footer-phone { color: #fff; font-size: 1.35rem; font-weight: 850; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.mobile-call { display: none; }

@media (max-width: 1020px) {
  .header-call { display: none; }
  .main-nav ul { gap: 20px; }
  .hero-grid { gap: 30px; }
  .brand-strip { grid-template-columns: repeat(3,1fr); }
  .card-grid, .value-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: 76px; }
  .topbar { display: none; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; max-height: 0; overflow: hidden; visibility: hidden; background: #fff; box-shadow: 0 18px 35px rgba(19,34,56,.14); transition: max-height .3s ease, visibility .3s; }
  .main-nav.is-open { max-height: calc(100vh - 72px); visibility: visible; overflow-y: auto; }
  .main-nav ul { display: grid; gap: 0; padding: 14px 20px 24px; }
  .main-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .hero { padding: 58px 0 64px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .boiler-scene { min-height: 410px; }
  .split { gap: 38px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mobile-call { position: fixed; z-index: 90; right: 14px; bottom: 12px; left: 14px; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: var(--orange); border: 1px solid rgba(255,255,255,.3); border-radius: 16px; box-shadow: 0 14px 35px rgba(127,53,0,.35); font-size: 1.03rem; font-weight: 900; }
  .mobile-call svg { width: 24px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px),var(--container)); }
  .section { padding: 64px 0; }
  .site-brand__tag { display: none; }
  .hero h1 { font-size: clamp(2.55rem,13vw,4rem); }
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .boiler-scene { min-height: 345px; }
  .boiler-scene::before { width: 285px; height: 285px; }
  .boiler { width: 225px; padding: 22px 20px 26px; }
  .boiler__brand { margin-bottom: 26px; }
  .boiler__screen { margin-bottom: 24px; }
  .boiler__line { margin-top: 25px; }
  .scene-badge { padding: 10px 12px; font-size: .75rem; }
  .scene-badge--top { top: 18px; }
  .scene-badge--bottom { bottom: 18px; }
  .card-grid, .value-grid, .brand-strip, .brand-grid { grid-template-columns: 1fr; }
  .feature-panel { min-height: auto; padding: 30px 25px; }
  .stat-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 58px 1fr; gap: 16px; padding: 20px; }
  .service-row__icon { width: 56px; height: 56px; }
  .service-row__tag { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 25px 20px; }
  .cta-band__inner { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
