/*
Theme Name: Kapaklı Taksi 59
Theme URI: https://kapaklitaksi59.com/
Author: Kapaklı Taksi 59
Description: Kapaklı ve Çerkezköy için hızlı, mobil öncelikli ve yerel SEO odaklı taksi teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: kapakli-taksi-59
*/

:root {
  --taxi-yellow: #ffc400;
  --taxi-yellow-dark: #e6ad00;
  --ink: #111111;
  --muted: #626262;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: #dedede;
  --success: #16a34a;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(17, 17, 17, .12);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1769e0; outline-offset: 3px; }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17,17,17,.97);
  color: #fff;
  border-bottom: 3px solid var(--taxi-yellow);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #111; background: var(--taxi-yellow); font-size: 23px; }
.brand small { display: block; color: #bdbdbd; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 20px; font-size: .92rem; font-weight: 700; }
.desktop-nav a:hover { color: var(--taxi-yellow); }
.header-call { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--taxi-yellow); color: #111 !important; font-weight: 900; }
.menu-toggle { display: none; border: 1px solid #555; background: #222; color: #fff; border-radius: 10px; padding: 9px 12px; font: inherit; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(17,17,17,.98), rgba(17,17,17,.84)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,196,0,.12) 14px 28px);
  padding: clamp(70px, 9vw, 125px) 0 90px;
}
.hero::after { content: ""; position: absolute; inset: auto -5% -40px; height: 78px; background: var(--taxi-yellow); transform: rotate(-2deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: center; gap: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); color: var(--taxi-yellow); font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 18px 0 18px; max-width: 850px; font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.hero p { margin: 0; max-width: 750px; color: #dedede; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border: 2px solid transparent; border-radius: 13px; font-weight: 900; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--taxi-yellow); color: #111; box-shadow: 0 12px 30px rgba(255,196,0,.23); }
.btn-secondary { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; }
.btn-dark { background: #111; color: #fff; }
.btn-outline { border-color: #111; color: #111; }
.hero-card { position: relative; z-index: 2; padding: 28px; color: #111; background: var(--taxi-yellow); border-radius: 24px; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-card strong { display: block; font-size: 1.45rem; line-height: 1.25; }
.hero-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.hero-card li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(17,17,17,.18); font-weight: 750; }

.trust-strip { position: relative; z-index: 4; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 22px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .88rem; }

.section { padding: clamp(68px, 8vw, 108px) 0; }
.section-muted { background: var(--mist); }
.section-dark { background: #111; color: #fff; }
.section-kicker { margin: 0 0 8px; color: #9b7500; font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.section-dark .section-kicker { color: var(--taxi-yellow); }
.section h2 { margin: 0 0 18px; max-width: 820px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.section h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.25; }
.lead { max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.section-dark .lead { color: #cfcfcf; }
.two-col { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 44px; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 25px rgba(17,17,17,.05); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; background: var(--taxi-yellow); font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; margin-top: 18px; padding-bottom: 2px; border-bottom: 2px solid var(--taxi-yellow); font-weight: 900; }
.route-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.route-list li { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 750; }
.highlight-box { padding: 34px; border-radius: 22px; background: var(--taxi-yellow); color: #111; }
.highlight-box h2 { font-size: clamp(1.9rem,3.2vw,3rem); }
.highlight-box p { max-width: 760px; }

.steps { counter-reset: callstep; display: grid; gap: 12px; }
.step { counter-increment: callstep; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.step::before { content: counter(callstep); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #111; color: var(--taxi-yellow); font-weight: 900; }
.step p { margin: 5px 0 0; color: var(--muted); }

.faq { max-width: 900px; margin-top: 30px; }
.faq details { border-bottom: 1px solid #3b3b3b; }
.faq summary { cursor: pointer; padding: 22px 44px 22px 0; font-size: 1.05rem; font-weight: 850; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 17px; color: var(--taxi-yellow); font-size: 1.6rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: -5px 0 22px; color: #cfcfcf; }

.page-hero { padding: 72px 0; color: #fff; background: #111; border-bottom: 10px solid var(--taxi-yellow); }
.page-hero h1 { max-width: 960px; font-size: clamp(2.4rem,5vw,4.8rem); }
.breadcrumbs { margin-bottom: 22px; color: #cfcfcf; font-size: .9rem; }
.breadcrumbs a { color: var(--taxi-yellow); }
.prose { max-width: 820px; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: #454545; }
.prose a { border-bottom: 2px solid var(--taxi-yellow); font-weight: 750; }
.internal-links { margin-top: 58px; padding: 30px; border-radius: 18px; background: var(--mist); }
.internal-links h2 { margin-top: 0; font-size: 1.55rem; }
.internal-links ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.internal-links a { display: block; padding: 9px 13px; border: 1px solid #d1d1d1; border-radius: 999px; background: #fff; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 30px; }
.contact-card { padding: 24px; border-radius: 16px; background: #fff; color: #111; }
.map-placeholder { min-height: 300px; display: grid; place-items: center; padding: 30px; border: 2px dashed #888; border-radius: 18px; text-align: center; color: #666; background: #eee; }

.site-footer { padding: 54px 0 100px; color: #ddd; background: #090909; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--taxi-yellow); }
.footer-note { margin-top: 34px; padding-top: 20px; border-top: 1px solid #292929; color: #929292; font-size: .85rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.28); font-size: 1.7rem; }
.mobile-action-bar { display: none; }

@media (max-width: 980px) {
  .desktop-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 18px; flex-direction: column; align-items: stretch; background: #111; border-bottom: 3px solid var(--taxi-yellow); }
  .desktop-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; transform: none; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { padding-bottom: 67px; }
  body.admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 66px; }
  .brand small { display: none; }
  .desktop-nav { top: 66px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.25rem,12vw,3.6rem); }
  .hero-actions .btn, .section-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .route-list { grid-template-columns: 1fr; }
  .whatsapp-float { display: none; }
  .mobile-action-bar { position: fixed; inset: auto 0 0; z-index: 2000; display: grid; grid-template-columns: 1fr 1fr; min-height: 66px; box-shadow: 0 -8px 26px rgba(0,0,0,.2); }
  .mobile-action-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; text-align: center; font-size: .86rem; font-weight: 950; }
  .mobile-call { background: var(--taxi-yellow); color: #111; }
  .mobile-wa { background: #25d366; color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
