/* ==========================================================================
   Gönen Tadilat Tamirat — custom.css
   Tek stil dosyası. Konsept: fayans + derz. Her ızgara derz aralıklıdır,
   köşeler neredeyse keskindir, mavi balık sırtı fayans vurgu rengidir.
   Sıra: tokenlar, fontlar, reset, tipografi, düzen, bileşenler, bölümler,
   sayfalar, yardımcılar, hareket, medya sorguları.
   ========================================================================== */

/* --- Tokenlar -------------------------------------------------------------- */
:root {
  --ink: #15181D;           /* koyu zemin: hero, galeri duvarı, footer */
  --ink-soft: #20242B;
  --slate: #23272E;         /* metin */
  --slate-soft: #4B515B;    /* ikincil metin */
  --grout: #E9E7E1;         /* açık zemin: derz rengi */
  --marble: #F7F6F3;        /* yüzeyler */
  --line: #C8C4BB;          /* derz çizgileri */
  --line-dark: #2C313A;     /* koyu zeminde derz */
  --tile-blue: #1D4C78;     /* vurgu: mavi balık sırtı fayans */
  --tile-blue-bright: #2E6BA4;
  --tile-blue-deep: #143A5C;
  --oak: #C48A4F;           /* ikincil vurgu: meşe fayans */
  --white: #FFFFFF;

  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;

  --grout-gap: 6px;
  --radius: 2px;
  --container: 1440px;
  --gutter: 32px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .45s;
}

/* --- Fontlar (lokal, assets/lib/barlow-1.422) ------------------------------ */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../lib/barlow-1.422/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("../lib/barlow-1.422/Barlow-Italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../lib/barlow-1.422/Barlow-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../lib/barlow-1.422/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../lib/barlow-1.422/Barlow-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../lib/barlow-1.422/BarlowSemiCondensed-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../lib/barlow-1.422/BarlowSemiCondensed-Bold.woff2") format("woff2"); }

/* --- Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--grout);
  overflow-x: clip; /* yatay kayma koruması; sebep bulunursa ayrıca düzeltilir */
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--tile-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tile-blue-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }

::selection { background: var(--tile-blue); color: var(--white); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #4B515B; border: 3px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--tile-blue-bright); }

/* --- Tipografi -------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.1; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--slate-soft); max-width: 56ch; }
.muted { color: var(--slate-soft); }
small, .small { font-size: .9rem; }
strong { font-weight: 600; }

/* --- Düzen ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--marble { background: var(--marble); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.82); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--blue { background: var(--tile-blue); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--slate-soft); font-size: 1.1rem; }
.section--ink .section-head p { color: rgba(255,255,255,.7); }
.grid { display: grid; gap: var(--grout-gap); }
.grid > *, .two-col > *, .contact-layout > *, .service-detail > *, .cta-band__inner > *, .footer-grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

/* Derz çerçevesi: tüm ızgaraları saran ortak kabuk */
.grout { padding: var(--grout-gap); background: var(--line); border-radius: var(--radius); }
.section--ink .grout { background: var(--line-dark); }

/* --- Kenar sırması: geniş ekranlarda iki yanda altın balık sırtı şerit ------ */
@media (min-width: 1600px) {
  body::before, body::after {
    content: ""; position: fixed; top: 0; bottom: 0; width: 56px; z-index: 49; pointer-events: none;
    background: url("../img/pattern-side.svg") repeat-y center top; opacity: .9;
  }
  body::before { left: 16px; }
  body::after { right: 16px; }
}

/* --- İkon ------------------------------------------------------------------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; }
.icon--lg { width: 34px; height: 34px; stroke-width: 1.6; }

/* --- Butonlar --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.4em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--tile-blue); color: var(--white); }
.btn--primary:hover { background: var(--tile-blue-bright); color: var(--white); }
.btn--outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--grout); color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn--oak { background: var(--oak); color: var(--ink); }
.btn--oak:hover { background: #D59C62; color: var(--ink); }
.btn--lg { font-size: 1.1rem; padding: 1em 1.6em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--marble);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--slate); margin-right: auto; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }
.brand__sub { font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--tile-blue); margin-top: 4px; }
.brand:hover { color: var(--tile-blue-deep); }
.nav { display: flex; gap: 2px; }
.nav a {
  display: inline-block; padding: 10px 14px;
  color: var(--slate); font-weight: 500; text-decoration: none; border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav a:hover { background: var(--grout); color: var(--tile-blue-deep); }
.nav a[aria-current="page"] { color: var(--tile-blue); box-shadow: inset 0 -2px 0 var(--tile-blue); border-radius: 0; }
.header-phone { white-space: nowrap; }
.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: inherit;
}

/* Hero üstünde şeffaf header (yalnızca ana sayfa, kaydırılmadan önce) */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255,255,255,.12); color: var(--white); }
.site-header--overlay .brand, .site-header--overlay .nav a, .site-header--overlay .nav-toggle { color: var(--white); }
.site-header--overlay .brand__sub { color: var(--oak); }
.site-header--overlay .nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.site-header--overlay .nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--oak); }
.site-header--overlay .nav-toggle { border-color: rgba(255,255,255,.35); }
.site-header--overlay.is-scrolled { background: rgba(21,24,29,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(255,255,255,.1); }

/* Offcanvas (mobil) */
.offcanvas {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); z-index: 70;
  background: var(--ink); color: var(--white); border-left: 1px solid var(--line-dark);
  padding: 20px; display: flex; flex-direction: column; gap: 24px;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.offcanvas.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; }
.offcanvas .brand { color: var(--white); }
.offcanvas .brand__sub { color: var(--oak); }
.offcanvas__close { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); }
.offcanvas__nav { display: flex; flex-direction: column; }
.offcanvas__nav a { padding: 16px 4px; font-size: 1.7rem; font-weight: 700; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); line-height: 1; }
.offcanvas__nav a[aria-current="page"] { color: var(--oak); }
.offcanvas__contact { margin-top: auto; display: grid; gap: 10px; }
.offcanvas__contact .btn { justify-content: center; }
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(21,24,29,.6);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
body.no-scroll { overflow: hidden; }

/* --- Ana sayfa (Şantiye): tamamen koyu, derz ızgaralı zemin, üç satırlık dev başlık, foto şeridi */
.page-home { background-color: var(--ink); color: rgba(255,255,255,.82); background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 96px 96px; }
.page-home h2, .page-home h3 { color: var(--white); }
.page-home .section-head p, .page-home .step p { color: rgba(255,255,255,.7); }
.page-home .grout { background: var(--line-dark); }
.page-home .step { background: var(--ink-soft); }
.page-home .section { background: transparent; }
.page-home .section--blue { background: var(--tile-blue) url("../img/pattern-herringbone.svg") repeat; }
.gold-text {
  background: linear-gradient(100deg, #8A5A2B 0%, #D9A861 30%, #FFF0CF 50%, #D9A861 70%, #8A5A2B 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gold-shine 5s ease-in-out infinite;
}
@keyframes gold-shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--oak); margin-bottom: 20px; }
.hero__kicker::before { content: ""; width: 14px; height: 14px; background: var(--oak); border-radius: 1px; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(255,255,255,.8); max-width: 48ch; margin-bottom: 28px; }
.hero__phone {
  display: inline-flex; align-items: center; gap: .3em;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1;
  color: var(--white); text-decoration: none; margin-bottom: 22px;
}
.hero__phone:hover { color: var(--oak); }
.hero__phone .icon { width: .7em; height: .7em; color: var(--oak); }
.shero { position: relative; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(48px, 7vw, 96px); min-height: min(100vh, 960px); display: flex; align-items: center; }
.shero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.shero__inner > * { min-width: 0; }
.shero__title { display: grid; gap: .02em; margin-bottom: .3em; }
.shero__line { font-size: clamp(4rem, 11vw, 10.5rem); line-height: .9; letter-spacing: -.02em; opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.shero__line--solid { color: var(--white); animation-delay: .1s; }
.shero__line--outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); animation-delay: .25s; }
.shero__line--gold { color: var(--oak); animation-delay: .4s; }
.shero__text > :not(.shero__title) { opacity: 0; animation: rise .9s var(--ease) .55s forwards; }
.shero__stack { position: relative; min-height: 560px; }
.shero__card { position: absolute; margin: 0; overflow: hidden; background: var(--ink-soft); box-shadow: 0 0 0 var(--grout-gap) var(--line-dark), 0 30px 60px rgba(0,0,0,.45); opacity: 0; animation: rise 1s var(--ease) forwards; }
.shero__card img { width: 100%; height: 100%; object-fit: cover; }
.shero__card figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 14px; background: var(--oak); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.shero__card--1 { left: 0; top: 0; width: 68%; aspect-ratio: 4 / 3; animation-delay: .3s; }
.shero__card--2 { right: 0; top: 14%; width: 34%; aspect-ratio: 3 / 4; animation-delay: .5s; z-index: 2; }
.shero__card--3 { left: 18%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; animation-delay: .7s; z-index: 1; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --- Kayan fotoğraf şeridi -------------------------------------------------- */
.photo-ticker { overflow: hidden; border-top: var(--grout-gap) solid var(--oak); border-bottom: var(--grout-gap) solid var(--oak); background: var(--ink); }
.photo-ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.photo-ticker:hover .photo-ticker__track { animation-play-state: paused; }
.photo-ticker__list { display: flex; gap: var(--grout-gap); padding: var(--grout-gap) calc(var(--grout-gap) / 2); margin: 0; list-style: none; }
.photo-ticker__list li { flex: 0 0 auto; height: 220px; }
.photo-ticker__list img { height: 100%; width: auto; display: block; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --- Hizmet fayansları: fotoğraf arkalı ------------------------------------ */
.service-tile {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink);
  color: var(--white); text-decoration: none; isolation: isolate;
}
.service-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), opacity var(--dur) var(--ease); }
.service-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21,24,29,.92) 0%, rgba(21,24,29,.45) 50%, rgba(21,24,29,.1) 100%); transition: opacity var(--dur) var(--ease); }
.service-tile__body { position: absolute; inset: auto 0 0 0; padding: 22px 24px 24px; display: grid; gap: 8px; }
.service-tile__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--oak); color: var(--ink); border-radius: var(--radius); margin-bottom: 8px; }
.service-tile__icon .icon { width: 24px; height: 24px; }
.service-tile h3 { margin: 0; color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-tile p { margin: 0; color: rgba(255,255,255,.78); font-size: .98rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease); }
.service-tile__cta { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--oak); }
.service-tile:hover img, .service-tile:focus-visible img { transform: scale(1.06); }
.service-tile:hover p, .service-tile:focus-visible p { max-height: 8em; opacity: 1; }
.service-tile:hover::before { opacity: .95; }

/* Fotoğrafı henüz olmayan hizmetler: balık sırtı desen üstünde büyük ikon (fotoğraf gelince img ile değiştirilir) */
.service-tile--icon { background: var(--tile-blue) url("../img/pattern-herringbone.svg") repeat; }
.service-tile--icon::before { background: linear-gradient(0deg, rgba(21,24,29,.9) 0%, rgba(21,24,29,.35) 55%, rgba(21,24,29,.05) 100%); }
.service-tile__big { position: absolute; top: 18px; right: 18px; width: 30%; max-width: 120px; height: auto; aspect-ratio: 1; color: rgba(255,255,255,.16); z-index: -1; transition: transform 1s var(--ease), color var(--dur) var(--ease); }
.service-tile--icon:hover .service-tile__big, .service-tile--icon:focus-visible .service-tile__big { transform: scale(1.08) rotate(-4deg); color: rgba(255,255,255,.26); }
.service-detail__media--icon { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--tile-blue) url("../img/pattern-herringbone.svg") repeat; }
.service-detail__media--icon .icon { width: 30%; height: auto; aspect-ratio: 1; color: rgba(255,255,255,.85); }

/* --- Galeri duvarı (koyu zemin, karışık boyut) ------------------------------ */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--grout-gap); }
.wall > * { aspect-ratio: 1; min-width: 0; }
.wall > .wall__feature { grid-column: span 2; grid-row: span 2; }
.gallery-item { position: relative; overflow: hidden; background: var(--ink-soft); display: block; padding: 0; border: 0; width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: var(--tile-blue); opacity: 0; mix-blend-mode: multiply; transition: opacity var(--dur) var(--ease); pointer-events: none; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: .35; }
.gallery-item:focus-visible { outline-offset: -4px; }
.wall > .is-hidden { display: none; }
.gallery-more { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button {
  padding: 10px 16px; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius);
  font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .01em;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter button:hover { border-color: var(--white); }
.filter button[aria-pressed="true"] { background: var(--oak); color: var(--ink); border-color: var(--oak); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(15,17,21,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__img { max-width: min(92vw, 1200px); max-height: 84vh; object-fit: contain; box-shadow: 0 0 0 var(--grout-gap) var(--line-dark); }
.lightbox__caption { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: var(--white); font-size: .95rem; margin: 0; max-width: 90vw; text-align: center; }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__btn--close { top: 16px; right: 16px; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* --- Süreç: sıralı adımlar (numara burada bilgi taşır) --------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grout-gap); counter-reset: step; }
.step { position: relative; background: var(--marble); padding: 28px 26px 32px; min-height: 260px; display: flex; flex-direction: column; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 7vw, 6rem); line-height: .85; color: var(--oak); margin-bottom: 22px;
}
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--slate-soft); font-size: 1rem; }

/* --- Hakkımızda şeridi ------------------------------------------------------ */
.about-strip .two-col { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.about-strip figure { margin: 0; }
.about-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-strip figcaption { padding: 12px 2px 2px; font-size: .9rem; color: var(--slate-soft); }
.about-strip h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.about-strip .role { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--oak); margin: 0 0 18px; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; }
.check-list li { display: flex; gap: .7em; align-items: flex-start; }
.check-list .icon { color: var(--tile-blue); margin-top: .2em; width: 1.35em; height: 1.35em; }
.section--ink .check-list .icon { color: var(--oak); }

/* --- Çağrı bandı: arka planda dev kontur yazı ------------------------------- */
.cta-band { overflow: hidden; background: var(--tile-blue) url("../img/pattern-herringbone.svg") repeat; }
.cta-band__ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 26vw, 24rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); white-space: nowrap;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.1rem; }
.phone-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.phone-big:hover { color: var(--oak); }
.phone-big .icon { width: .7em; height: .7em; color: var(--oak); }
.cta-band .btn-row { margin-top: 20px; }

/* --- Sayfa başı (fotoğraflı) + breadcrumb ---------------------------------- */
.page-head {
  position: relative; isolation: isolate; color: var(--white); background: var(--ink);
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); min-height: 360px; display: flex; align-items: flex-end;
}
.page-head__bg { position: absolute; inset: 0; z-index: -2; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,24,29,.95) 0%, rgba(21,24,29,.8) 45%, rgba(21,24,29,.45) 100%); }
.page-head .container { width: 100%; }
.page-head h1 { color: var(--white); font-size: clamp(2.8rem, 6.5vw, 5.2rem); margin-bottom: .3em; }
.page-head .lead { margin: 0; color: rgba(255,255,255,.8); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .92rem; margin-bottom: 22px; color: rgba(255,255,255,.65); }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb .icon { width: 1em; height: 1em; opacity: .6; }
.breadcrumb [aria-current="page"] { color: var(--oak); font-weight: 600; }

/* --- Hizmet detay listesi (hizmetler sayfası) ------------------------------- */
.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) .service-detail__media { order: 2; }
.service-detail__media { padding: var(--grout-gap); background: var(--line); border-radius: var(--radius); }
.service-detail__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-detail__num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--oak); letter-spacing: .04em; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.service-detail__num .icon { width: 28px; height: 28px; color: var(--tile-blue); }
.service-detail h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.service-detail ul { margin: 16px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.service-detail li { display: flex; gap: .6em; align-items: flex-start; color: var(--slate-soft); }
.service-detail li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; background: var(--oak); border-radius: 1px; }

/* --- İletişim --------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon--lg { color: var(--tile-blue); margin-top: 2px; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { text-decoration: underline; }
.contact-phone { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1; color: var(--slate); }
.form { padding: var(--grout-gap); background: var(--line); border-radius: var(--radius); }
.form__inner { background: var(--marble); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--tile-blue); box-shadow: 0 0 0 3px rgba(29,76,120,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.field--row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form__note { font-size: .92rem; color: var(--slate-soft); margin: 0; }
.form__status { font-size: .95rem; margin: 0; min-height: 1.4em; }
.form__status.is-error { color: #9B2C2C; }
.form__status.is-ok { color: #1F6B3A; }

/* --- Yazı sayfası ----------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--marble); font-weight: 600; }
.prose ul { padding-left: 1.2em; }

/* --- Hata sayfaları --------------------------------------------------------- */
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: 64px; background: var(--ink); color: rgba(255,255,255,.8); }
.error-page__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 22vw, 14rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--oak); margin: 0; }
.error-page .container { display: grid; justify-items: center; text-align: center; }
.error-page h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 16px; }
.error-page .lead { color: rgba(255,255,255,.75); margin-inline: auto; }
.error-page .btn-row { justify-content: center; }

/* --- Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(48px, 7vw, 88px); border-top: var(--grout-gap) solid var(--tile-blue); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--oak); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand__sub { color: var(--oak); }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 36ch; }
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1.2rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--oak); }
.footer-contact a { text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .9rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* --- Mobil sabit arama çubuğu ---------------------------------------------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: none;
  grid-template-columns: 1fr 1fr; gap: var(--grout-gap); padding: var(--grout-gap);
  background: var(--line-dark); padding-bottom: calc(var(--grout-gap) + env(safe-area-inset-bottom, 0px));
}
.call-bar a { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-decoration: none; border-radius: var(--radius); }
.call-bar__call { background: var(--tile-blue); color: var(--white); }
.call-bar__wa { background: var(--oak); color: var(--ink); }

/* --- Yukarı çık ------------------------------------------------------------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur), background-color var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--tile-blue); }

/* --- Çerez onayı (özel bileşen) --------------------------------------------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 45; width: min(calc(100vw - 40px), 420px);
  padding: var(--grout-gap); background: var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.cookie.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cookie__inner { background: var(--ink); color: rgba(255,255,255,.78); padding: 20px; display: grid; gap: 12px; }
.cookie__title { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 0; color: var(--white); }
.cookie__title .icon { color: var(--oak); }
.cookie p { margin: 0; font-size: .93rem; }
.cookie a { color: var(--white); }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie__actions .btn { padding: .7em 1.1em; font-size: .93rem; }

/* --- Scroll-reveal (IntersectionObserver + sınıf) --------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
html.no-js .reveal { opacity: 1; transform: none; }

/* --- Erişilebilirlik yardımcıları ------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tile-blue); color: var(--white); padding: 10px 14px; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* --- Hareket azaltma: prod'da saygı görür, dev'de html.force-motion ile atlanır */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *,
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;   /* 0 değil: opaklık geçişi kalsın */
    scroll-behavior: auto !important;
  }
  html:not(.force-motion) .reveal,
  html:not(.force-motion) .shero__line, html:not(.force-motion) .shero__text > *,
  html:not(.force-motion) .shero__card { opacity: 1; transform: none; animation: none; }
  html:not(.force-motion) .gallery-item:hover img,
  html:not(.force-motion) .service-tile:hover img { transform: none; }
  html:not(.force-motion) .photo-ticker__track, html:not(.force-motion) .gold-text { animation: none; }
  html:not(.force-motion) .photo-ticker__track { flex-wrap: wrap; width: auto; }
}

/* --- Medya sorguları -------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .two-col, .about-strip .two-col, .contact-layout, .service-detail, .section-head { grid-template-columns: minmax(0, 1fr); }
  .shero { min-height: 0; padding-top: calc(var(--header-h) + 32px); }
  .shero__inner { grid-template-columns: minmax(0, 1fr); }
  .shero__stack { min-height: 0; display: grid; grid-template-columns: 2fr 1fr; gap: var(--grout-gap); }
  .shero__card { position: static; width: auto; animation-delay: .4s; }
  .shero__card--3 { grid-column: 1 / -1; }
  .photo-ticker__list li { height: 150px; }
  .service-detail:nth-child(even) .service-detail__media { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .call-bar { display: grid; }
  .to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .cookie { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: 72px; }
  .service-tile p { max-height: none; opacity: 1; }
  /* Çağrı bandı mobilde ortalı: tek sütuna düşünce sola yaslı metin + alttaki telefon dengesiz duruyor */
  .cta-band__inner { text-align: center; justify-items: center; }
  .cta-band h2, .cta-band p { margin-inline: auto; }
  .cta-band .btn-row { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  /* Hero ve çağrı bandındaki buton çiftleri alt alta düşünce tam genişlik: farklı uzunluklar sola yaslı asimetri yaratıyor */
  .shero .btn-row > .btn, .cta-band .btn-row > .btn, .error-page .btn-row > .btn { flex: 1 1 100%; justify-content: center; }
  .shero__line { font-size: clamp(3.2rem, 18vw, 5rem); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 66px; }
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; }
  .field--row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.25rem; }
  .cookie { left: 12px; width: calc(100vw - 24px); }
  .to-top { right: 12px; }
  .service-tile { aspect-ratio: 16 / 11; }
  .page-head { min-height: 280px; }
}

/* Geniş ekranda sabit öğeler kenar sırmasıyla çakışmasın (desen 16-72px; öğeler 96px içeriden).
   Dosyanın sonunda: .to-top / .cookie temel kurallarından sonra gelmeli. */
@media (min-width: 1600px) {
  .to-top { right: 96px; }
  .cookie { left: 96px; }
}
