/* =========================================================
   Akıllı Koltuk Yıkama — Ana Stil Dosyası
   Mobile-first: temel stiller mobil, @media ile tablet/masaüstü
   Kırılım noktaları: 600px (büyük telefon), 768px (tablet), 1024px (masaüstü)
   ========================================================= */

/* ---------- Değişkenler ---------- */
:root {
  --c-primary: #0a7cff;
  --c-primary-dark: #0060d1;
  --c-accent: #00c2a8;
  --c-dark: #0f1f3d;
  --c-text: #3b4a63;
  --c-muted: #7a879c;
  --c-bg: #ffffff;
  --c-bg-alt: #f3f7fc;
  --c-border: #e3e9f2;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 31, 61, .08);
  --shadow-lg: 0 20px 50px rgba(15, 31, 61, .14);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --section-py: 56px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--c-dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
body.no-scroll { overflow: hidden; }

/* ---------- Yardımcılar ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.text-accent { color: var(--c-primary); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 44px; /* dokunmatik hedef */
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(10,124,255,.3); }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { display: none; background: var(--c-dark); color: #c9d4e6; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
/* Bulanık arka plan pseudo-element'te: header'a doğrudan backdrop-filter verilirse
   içindeki position:fixed mobil menü header boyutuna hapsolur */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header.is-scrolled { box-shadow: var(--shadow); border-color: var(--c-border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.logo { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; color: #000; white-space: nowrap; }
.logo__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #fff; font-size: 1rem;
}
.logo__text, .logo__text strong { font-weight: 600; color: inherit; }
.logo--light { color: #fff; }

.header__cta { display: none; }

/* Mobil menü (varsayılan) */
.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px var(--gutter) 32px;
  background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
.nav.is-open { transform: translateX(0); }
.nav a {
  padding: 14px 8px; font-weight: 500; font-size: 1.05rem; color: var(--c-dark);
  border-bottom: 1px solid var(--c-border);
}
.nav a:hover, .nav a.is-active { color: var(--c-primary); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 var(--section-py); background: linear-gradient(180deg, var(--c-bg-alt), #fff); }
.hero__inner { display: grid; gap: 32px; align-items: center; }
.hero__content { text-align: center; }
.badge {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(10,124,255,.1); color: var(--c-primary); font-size: .8rem; font-weight: 600;
}
.hero h1 { margin-bottom: 14px; }
.hero p { max-width: 560px; margin: 0 auto 24px; color: var(--c-muted); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: clamp(1.05rem, 4.6vw, 1.4rem); color: var(--c-dark); white-space: nowrap; }
.hero__stats span { font-size: .78rem; color: var(--c-muted); }

/* ---------- Slogan: "Koltuklarınızın geçmişini siliyoruz." ---------- */
.slogan,
.hero .slogan,
.split__content > .slogan {
  margin: -4px auto 18px; max-width: none;
  font-size: clamp(1.05rem, 3.6vw, 1.3rem); font-weight: 600; font-style: italic; letter-spacing: .01em;
  color: var(--c-primary);
}
.slogan::before { content: '— '; color: var(--c-accent); }
.slogan::after { content: ' —'; color: var(--c-accent); }
.split__content > .slogan--koyu { margin: -6px 0 16px; color: #7fb8ff; font-size: 1.05rem; }
.slogan--koyu::before, .slogan--koyu::after, .slogan--footer::before, .slogan--footer::after { content: none; }
.footer .slogan--footer { margin: 0 0 8px; font-size: .95rem; color: #fff; }
.sayfa-baslik .slogan { margin-top: 8px; }

/* ---------- Görsel yer tutucular (gerçek görseller gelince kaldırılacak) ---------- */
.placeholder {
  display: grid; place-items: center; text-align: center;
  border-radius: var(--radius); border: 2px dashed #b9c7dc;
  background: repeating-linear-gradient(45deg, #eef3fa, #eef3fa 12px, #e6edf7 12px, #e6edf7 24px);
  color: var(--c-muted); font-weight: 500;
}
.placeholder small { font-weight: 400; font-size: .75rem; }
.placeholder--hero { aspect-ratio: 4 / 3; }
.placeholder--tall { aspect-ratio: 4 / 3; }
.placeholder--square { aspect-ratio: 1 / 1; }

/* ---------- Yüklenen medya (js/galeri.js) ---------- */
.medya-kutu { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-alt); box-shadow: var(--shadow-lg); }
.medya-kutu__icerik { width: 100%; height: 100%; object-fit: cover; display: block; }

.galeri-oge {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--c-bg-alt); cursor: zoom-in;
}
.galeri-oge img, .galeri-oge video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; pointer-events: none; }
.galeri-oge:hover img, .galeri-oge:hover video { transform: scale(1.05); }
.galeri-oge:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; }
.galeri-oge__oynat {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 60px; height: 60px; padding-left: 4px; border-radius: 50%;
  background: rgba(15, 31, 61, .7); color: #fff; font-size: 1.3rem;
}
.galeri-oge__yazi {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(15, 31, 61, .85)); color: #fff; font-size: .88rem; font-weight: 500;
}
.galeri-tumu { margin-top: 28px; text-align: center; }
.galeri-bos { grid-column: 1 / -1; padding: 48px 16px; text-align: center; color: var(--c-muted); }

/* ---------- Büyük gösterim ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: 1fr auto;
  padding: 56px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(5, 12, 28, .95);
}
.lightbox[hidden] { display: none; }
.lightbox__sahne { display: grid; place-items: center; min-height: 0; }
/* Dikey (telefon) videolar ekrandan taşmasın: yükseklik ekrana göre sınırlanır */
.lightbox__sahne img, .lightbox__sahne video {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px);
  border-radius: 8px; object-fit: contain; background: #000;
}
.lightbox__alt { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px 0; color: #c9d4e6; font-size: .9rem; }
.lightbox__kapat, .lightbox__ok {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; z-index: 1;
}
.lightbox__kapat:hover, .lightbox__ok:hover { background: rgba(255, 255, 255, .25); }
.lightbox__kapat { top: 8px; right: 8px; }
.lightbox__ok { top: 50%; transform: translateY(-50%); }
.lightbox__ok--sol { left: 8px; }
.lightbox__ok--sag { right: 8px; }
.lightbox__ok[hidden] { display: none; }

/* ---------- Alt sayfa başlığı (galeri.html) ---------- */
.sayfa-baslik { padding: 48px 0 8px; background: linear-gradient(180deg, var(--c-bg-alt), #fff); text-align: center; }
.sayfa-baslik p { max-width: 560px; margin: 10px auto 0; color: var(--c-muted); }

/* ---------- Bölümler ---------- */
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: #c9d4e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section__head p { margin-top: 10px; color: var(--c-muted); }
.section__eyebrow {
  display: inline-block; margin-bottom: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent);
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

/* ---------- Hizmet kartları ---------- */
.card {
  padding: 26px 22px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--c-border); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 14px; background: var(--c-bg-alt); font-size: 1.6rem;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--c-muted); font-size: .92rem; }

/* ---------- Adımlar ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: .92rem; }

/* ---------- Split (görsel + metin) ---------- */
.split { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.split__content h2 { margin-bottom: 14px; }
.split__content > p { margin-bottom: 20px; }
.checklist li { position: relative; padding: 8px 0 8px 32px; }

/* Neden Biz: görselsiz, ortalanmış madde kutuları */
.neden-biz { max-width: 960px; }
.checklist--kutu { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.checklist--kutu li {
  padding: 16px 18px 16px 50px; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: #fff; font-weight: 500; color: var(--c-dark);
}
.checklist--kutu li::before { left: 18px; top: 50%; transform: translateY(-50%); }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 9px;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-accent); color: #fff; font-size: .75rem; font-weight: 700;
}


/* ---------- Yorumlar ---------- */
.review { padding: 26px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.review__stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-style: italic; margin-bottom: 14px; }
.review cite { font-style: normal; font-weight: 600; color: var(--c-dark); font-size: .9rem; }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.faq summary {
  position: relative; padding: 18px 48px 18px 20px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--c-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--c-primary); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--c-muted); }
.faq details p a { color: var(--c-primary); font-weight: 500; }
.faq details p a:hover { text-decoration: underline; }

/* ---------- İletişim & Form ---------- */
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.contact-list span {
  display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 10px; background: rgba(255,255,255,.08);
}
.contact-list a:hover { color: #fff; }

.form { display: grid; gap: 14px; padding: 24px 20px; border-radius: var(--radius); background: #fff; color: var(--c-text); }
.form h3 { color: var(--c-dark); font-size: 1.25rem; }
.form { min-width: 0; }
.form__row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.form label { display: grid; gap: 6px; min-width: 0; font-size: .88rem; font-weight: 500; color: var(--c-dark); }
.form input, .form select, .form textarea {
  display: block; width: 100%; min-width: 0; max-width: 100%;
  padding: 0 14px; margin: 0;
  border: 1px solid var(--c-border); border-radius: 10px; background-color: var(--c-bg-alt);
  font-size: 16px; /* iOS'ta otomatik zoom'u engeller */
  line-height: 1.3;
  -webkit-appearance: none; appearance: none; /* iOS/Android'in kendi kutu görünümünü kapat */
  transition: border-color .2s, box-shadow .2s;
}
/* Tek satırlık alanların hepsi aynı yükseklikte */
.form input, .form select { height: 48px; }
.form textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }

/* Tarih: iOS Safari boşken içeriği çökertir ve genişliği yok sayar */
.form input[type="date"] { line-height: 46px; text-align: left; }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; opacity: .6; cursor: pointer; }

/* Seçim kutusu: yerel ok yerine tek tip ok */
.form select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a879c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(10,124,255,.15); background-color: #fff;
}
.form .is-invalid { border-color: #e5484d; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button:disabled { opacity: .7; cursor: wait; transform: none; }
.btn--whatsapp { margin-top: 10px; background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5a; }
.form__hint { font-size: .8rem; color: var(--c-muted); text-align: center; margin-top: -4px; }
.form__msg { font-size: .9rem; min-height: 1.2em; }
.form__msg.is-success { color: #0f9d58; }
.form__msg.is-error { color: #e5484d; }

/* ---------- Footer ---------- */
.footer { background: #0a1630; color: #9aa8bf; padding-top: 48px; }
.footer__inner { display: grid; gap: 32px; padding-bottom: 32px; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer__inner > div > a:not(.logo) { display: block; padding: 4px 0; }
.footer__inner a:hover { color: #fff; }
.footer .logo { margin-bottom: 12px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .85rem; text-align: center; }

/* ---------- WhatsApp sabit buton ---------- */
.whatsapp-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Animasyon ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   BÜYÜK TELEFON (≥ 600px)
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero__actions { flex-direction: row; justify-content: center; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist--kutu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist--kutu li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .form { padding: 32px 28px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   TABLET (≥ 768px)
   ========================================================= */
@media (min-width: 768px) {
  :root { --section-py: 80px; --header-h: 72px; }
  body { font-size: 16px; }
  .topbar { display: block; }
  .header__cta { display: inline-flex; margin-left: auto; }
  .hero { padding-top: 64px; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* =========================================================
   MASAÜSTÜ (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  :root { --section-py: 100px; --header-h: 80px; }

  /* Menü yatay hale gelir */
  .nav-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; gap: 4px; padding: 0;
    background: none; transform: none; overflow: visible;
  }
  .nav a { padding: 8px 12px; border: 0; font-size: .95rem; border-radius: 8px; }

  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero__content { text-align: left; }
  .hero p { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__stats { max-width: 460px; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
}

/* Çok geniş ekranlar (≥ 1440px) */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
}
