/* ==========================================================
   Rafet Sıva & Boya — stil dosyası
   Renkleri değiştirmek için aşağıdaki :root değişkenleri yeterli.
   ========================================================== */

:root {
  --ink:        #111827;   /* koyu lacivert-gri (ana metin) */
  --ink-soft:   #374151;
  --muted:      #6b7280;
  --line:       #e5e7eb;
  --bg:         #ffffff;
  --bg-alt:     #f7f5f2;   /* kireç/alçı tonu */
  --brand:      #f97316;   /* turuncu vurgu */
  --brand-dark: #ea580c;
  --brand-soft: #fff2e6;
  --wa:         #25d366;
  --radius:     16px;
  --shadow-sm:  0 1px 2px rgba(17,24,39,.06), 0 4px 12px rgba(17,24,39,.05);
  --shadow-lg:  0 18px 50px rgba(17,24,39,.14);
  --wrap:       1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 800px); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .75rem 1rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-dark); margin-bottom: .8rem;
}
.muted { color: var(--muted); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .97rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(249,115,22,.28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: rgba(255,255,255,.85); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: .55rem .9rem; font-weight: 700; }
.btn-ghost:hover { color: var(--brand-dark); transform: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline-dark { border-color: rgba(17,24,39,.28); color: var(--ink); }
.btn-outline-dark:hover { background: rgba(17,24,39,.06); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--brand);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { font-size: 1.05rem; letter-spacing: -.02em; }
.logo-text strong { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.logo-text.light strong { color: rgba(255,255,255,.6); }

.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); position: relative; padding: .25rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); transition: width .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 12% -10%, #fff3e8 0%, rgba(255,255,255,0) 70%),
    radial-gradient(700px 400px at 95% 10%, #eef2f7 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}
.hero-bg::after {
  /* mala izi dokusu */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(115deg, rgba(17,24,39,.035) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-25deg, rgba(17,24,39,.02) 0 1px, transparent 1px 14px);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hl {
  background: linear-gradient(180deg, transparent 62%, rgba(249,115,22,.45) 62%);
  padding: 0 .12em;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.hero-badges li { font-size: .92rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: .45rem; }
.hero-badges li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Hero form kartı */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.hero-card .muted { font-size: .92rem; margin-bottom: 1.1rem; }

/* ---------- Form ---------- */
form label { display: block; margin-bottom: .85rem; }
form label > span { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 11px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(249,115,22,.16);
}
.form-note { display: block; margin-top: .7rem; font-size: .78rem; color: var(--muted); text-align: center; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* ---------- İstatistik ---------- */
.stats { background: var(--ink); color: #fff; padding: 2.2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.stats-grid span { font-size: .9rem; color: rgba(255,255,255,.72); }

/* ---------- Bölüm başlığı ---------- */
.section-head { max-width: 660px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Hizmet kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #f3d3b6; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.card ul li {
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem;
}

/* ---------- Neden biz (koyu) ---------- */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: var(--brand); }
.lead-dark { color: rgba(255,255,255,.74); font-size: 1.05rem; margin-bottom: 1.6rem; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem 2rem; }
.why-list li { font-size: .93rem; color: rgba(255,255,255,.68); padding-top: 1rem; border-top: 2px solid rgba(255,255,255,.14); }
.why-list strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .3rem; }

/* ---------- Süreç ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.steps li { position: relative; padding-top: 1.2rem; border-top: 3px solid var(--line); }
.steps li:first-child { border-color: var(--brand); }
.step-no {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: .95rem; margin-bottom: .7rem;
}
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.shot {
  position: relative; margin: 0; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.shot::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 3px, transparent 3px 12px);
}
.shot figcaption {
  position: relative; width: 100%; padding: 1.5rem 1.1rem .9rem;
  background: linear-gradient(180deg, rgba(17,24,39,0), rgba(17,24,39,.82));
  color: #fff; font-size: .88rem; font-weight: 600;
}
.s1 { background: linear-gradient(140deg, #d9c7b0, #a9856a); }
.s2 { background: linear-gradient(140deg, #b9c6d4, #6f8296); }
.s3 { background: linear-gradient(140deg, #e2d3c3, #9a7f66); }
.s4 { background: linear-gradient(140deg, #cfd6dc, #7c8b99); }
.s5 { background: linear-gradient(140deg, #e6dcd0, #b09a80); }
.s6 { background: linear-gradient(140deg, #cbd8cd, #7b8f7d); }

/* ---------- Yorumlar ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.quotes blockquote {
  margin: 0; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative;
}
.quotes blockquote::before {
  content: "\201C"; font-size: 3.4rem; line-height: 1; color: var(--brand); opacity: .35;
  position: absolute; top: .6rem; right: 1.1rem;
}
.quotes p { font-size: .97rem; color: var(--ink-soft); }
.quotes cite { font-style: normal; font-weight: 700; font-size: .87rem; color: var(--muted); }
.quotes-note { margin-top: 1.2rem; font-size: .8rem; color: var(--muted); }

/* ---------- SSS ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 1rem 1.2rem; margin-bottom: .7rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand-dark); flex: none; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--brand); color: var(--ink); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin-bottom: .25rem; }
.cta-band p { margin: 0; color: rgba(17,24,39,.78); font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list strong { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.contact-form h3 { margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; }
.footer-inner p { font-size: .92rem; margin-top: .8rem; max-width: 40ch; }
.site-footer .logo-text { color: #fff; }
.footer-inner nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-inner nav a, .footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .93rem; }
.footer-inner nav a:hover, .footer-contact a:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; font-size: .82rem; }

/* ---------- WhatsApp butonu ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.42);
  transition: transform .18s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .menu-btn {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: transparent; border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
  }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
    box-shadow: var(--shadow-lg); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .phone-link { display: none; }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .cta-actions .btn, .hero-actions .btn { flex: 1 1 100%; }
  .wa-float { width: 52px; height: 52px; }
}

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

/* ---------- Yazdırma ---------- */
@media print {
  .site-header, .wa-float, .hero-card, .contact-form, .cta-actions { display: none; }
  body { color: #000; }
}

/* ---------- Galeri fotoğrafları (admin panelinden yüklenen) ---------- */
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.has-img::before { display: none; }

/* ---------- Alt bilgi: yönetim bağlantısı ---------- */
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; }
.admin-link { color: rgba(255,255,255,.38); text-decoration: none; font-size: .8rem; }
.admin-link:hover { color: var(--brand); }
