/* Karaköse Boyacılık — site stilleri (framework yok, saf CSS) */
:root {
  --ink: #1c2624;
  --ink-soft: #4a5654;
  --muted: #76817e;
  --brand: #1f4d47;
  --brand-dark: #163a35;
  --brand-tint: #e5eeec;
  --accent: #b5743c;
  --accent-dark: #985f2f;
  --cream: #f8f5ef;
  --sand: #efe8dc;
  --line: #e4ddd1;
  --white: #fff;
  --wa: #1f9d55;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(28, 38, 36, .04), 0 12px 32px -12px rgba(28, 38, 36, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink-soft); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Etiket / üst başlık */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.6em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: var(--sans); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #17824a; color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 239, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.logo-text span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: .5em .85em; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); }
.nav a.btn-primary { color: var(--white); background: var(--brand); }
.nav a.btn-primary:hover { color: var(--white); background: var(--brand-dark); }
.nav .btn { margin-left: 8px; padding: .7em 1.2em; font-size: .92rem; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 10px 22px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 1em .4em; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--brand); }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; }
}

/* Bölümler */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--brand-dark); color: #d6e2df; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #e3b88f; }
.section-head { margin-bottom: 48px; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .section { padding: 68px 0; } .section-head { margin-bottom: 32px; } }

/* Hero */
.hero { padding: 48px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lead { margin-bottom: 1.8em; }
.hero-media { position: relative; }
.hero-media img { border-radius: 28px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -26px; bottom: 34px; background: var(--white); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 260px; }
.hero-badge .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.hero-badge strong { display: block; color: var(--ink); font-size: .95rem; }
.hero-badge span { font-size: .82rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 14px; bottom: 14px; }
}

/* Sayfa başlığı (alt sayfalar) */
.page-hero { padding: 56px 0 40px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 .4em; }

/* Kart ızgaraları */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { font-size: .97rem; margin-bottom: 1em; }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }
a.card { text-decoration: none; color: inherit; }

/* Özellik listesi */
.feature { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; }
.feature p { margin: 0; font-size: .97rem; }

/* Adımlar */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.6rem; color: #e3b88f; line-height: 1; }
.step h3 { color: var(--white); font-size: 1.15rem; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* İki sütunlu metin + görsel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .8em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist strong { color: var(--ink); }

/* Uzun metin */
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500; }
.gallery .wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } .gallery .wide { grid-column: span 2; grid-row: span 2; } }

/* Bölge etiketleri */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .5em 1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.section-dark .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e6eeec; }

/* SSS */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; font-weight: 300; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; max-width: 760px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Hesaplama */
.calc { background: var(--white); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.calc legend, .calc label.field-label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: .95rem; }
.calc input[type="number"] { width: 100%; padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); font-family: var(--sans); color: var(--ink); }
.calc input[type="number"]:focus { outline: none; border-color: var(--brand); background: var(--white); }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.options label { position: relative; cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span { display: block; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); font-size: .95rem; color: var(--ink); transition: border-color .15s, background .15s; height: 100%; }
.options span small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.options input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .calc { padding: 24px 20px; } .options { grid-template-columns: 1fr; } }
.calc-error { color: #b42318; font-size: .92rem; margin: -14px 0 18px; min-height: 1px; }
.calc-result { margin-top: 26px; padding: 26px; border-radius: var(--radius); background: var(--brand-tint); text-align: center; }
.calc-result[hidden] { display: none; }
.calc-result .label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.calc-result .price { font-family: var(--serif); font-size: clamp(2rem, 6vw, 2.8rem); color: var(--ink); margin: 6px 0; }
.calc-result .note { font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px; }

/* İletişim kartı */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.contact-list strong { display: block; color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* CTA bandı */
.cta-band { background: var(--brand); color: #dce8e5; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* Google yorum kutusu */
.review-box { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.review-box .stars { color: #e0a43a; letter-spacing: 2px; font-size: 1.2rem; }
.review-box strong { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }

/* Footer */
.site-footer { background: #121a19; color: #9fb0ac; padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: #d5e1de; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .logo-text strong { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobil alt çubuk */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.3); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px 4px; font-size: .74rem; font-weight: 600; text-decoration: none; color: var(--ink); }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .wa { color: var(--wa); }
  .mobile-bar .call { color: var(--brand); }
}

/* Görünürlük animasyonu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Yorum isteme aracı */
.tool { max-width: 520px; margin: 0 auto; }
.tool .calc { padding: 28px; }
.tool input[type="tel"], .tool input[type="text"] { width: 100%; padding: 16px; font-size: 1.2rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); font-family: var(--sans); color: var(--ink); margin-bottom: 14px; }
.tool input:focus { outline: none; border-color: var(--brand); background: var(--white); }
.tool textarea { width: 100%; min-height: 240px; resize: vertical; padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); font: inherit; font-size: .95rem; background: var(--cream); color: var(--ink); }
.history { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.history li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.small { font-size: .88rem; color: var(--muted); }

.hero-media img { object-position: 72% center; }
