/* Serin Yapı Ahşap
   Renkler logodan (yaprak yeşili #70A60A, grafit #737373) ve fotoğraflardaki cilalı çam / ceviz tonlarından gelir. */

:root {
  --leaf: #70a60a;
  --leaf-deep: #4a7008;
  --leaf-darker: #3b5a06;
  --leaf-pale: #eef4e2;
  --leaf-line: #d3e3b4;
  --graphite: #737373;
  --ink: #2b2b29;
  --ink-soft: #565653;
  --honey: #c47a2c;
  --walnut: #3e2a1c;
  --walnut-line: #5a4231;
  --on-walnut: #f2ece3;
  --on-walnut-soft: #cfc3b3;
  --paper: #ffffff;
  --line: #e2e2dd;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(56px, 6.5vw, 96px);
  --section-space-top: clamp(44px, 4.5vw, 64px);
  --radius: 6px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-stretch: 112%;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5.4rem);
  font-weight: 820;
  font-stretch: 118%;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.75em 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--leaf-deep); color: #fff; }
.btn--primary:hover { background: var(--leaf-darker); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 42px; padding: 0.5em 1em; font-size: 0.95rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-block;
  font-weight: 650;
  color: var(--leaf-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--leaf);
}
.text-link:hover { color: var(--leaf-darker); text-decoration-color: currentColor; }

/* Üst bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand img { width: 224px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; }
.site-nav ul a {
  color: var(--ink);
  font-weight: 560;
  font-size: 0.98rem;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { border-bottom-color: var(--leaf); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero: fotoğrafların üzerinde başlık, otomatik geçişli slayt */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(580px, calc(100svh - var(--header-h)), 900px);
  overflow: hidden;
  background: var(--walnut);
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(30, 21, 13, 0.84) 0%, rgba(30, 21, 13, 0.6) 36%, rgba(30, 21, 13, 0.12) 68%, rgba(30, 21, 13, 0) 100%),
    linear-gradient(0deg, rgba(30, 21, 13, 0.8) 0%, rgba(30, 21, 13, 0) 34%);
}
.hero__content {
  align-self: end;
  padding-top: 72px;
  padding-bottom: 44px;
}
.hero h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.4rem, 1rem + 4.2vw, 4.6rem);
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.12em;
  margin: -0.04em 0 -0.12em;
}
.hero h1 .line > span { display: inline-block; }
.hero__lede {
  max-width: 46ch;
  margin: 28px 0 30px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero__lede strong { color: #fff; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn--leaf { background: var(--leaf); color: #1d2905; }
.btn--leaf:hover { background: #80ba16; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.8); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--leaf-darker); }
.btn--light:hover { background: var(--leaf-pale); }

.hero__controls {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 28px;
}
.hero__tabs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.hero__tab {
  padding: 8px 0 4px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.66);
  font: 600 0.95rem/1.25 var(--font);
  text-align: left;
  cursor: pointer;
}
.hero__tab:hover,
.hero__tab.is-active { color: #fff; }
.hero__tab-bar {
  display: block;
  height: 3px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  overflow: hidden;
}
.hero__tab-bar > span { display: block; width: 0; height: 100%; background: var(--leaf); }
.hero__tab.is-active .hero__tab-bar > span { animation: progress var(--slide-ms) linear forwards; }
.hero__pause {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.hero__pause:hover { background: rgba(255, 255, 255, 0.15); }
.hero__pause svg { width: 14px; height: 14px; fill: currentColor; }
.hero__icon-play,
.hero__pause[aria-pressed="true"] .hero__icon-pause { display: none; }
.hero__pause[aria-pressed="true"] .hero__icon-play { display: block; }
.hero.is-paused .hero__tab-bar > span,
.hero.is-paused .hero__slide img { animation-play-state: paused; }

@keyframes progress { to { width: 100%; } }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Aktif ve yeni çıkan slayt yavaşça uzaklaşır; aynı animasyon adı korunduğu için geçişte sıçrama olmaz */
  .hero__slide.is-active img,
  .hero__slide.is-prev img { animation: kenburns calc(var(--slide-ms) + 1500ms) ease-out forwards; }
  .hero h1 .line > span { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1 .line:nth-child(1) > span { animation-delay: 0.15s; }
  .hero h1 .line:nth-child(2) > span { animation-delay: 0.27s; }
  .hero h1 .line:nth-child(3) > span { animation-delay: 0.39s; }
  .hero__lede { animation: fade-up 0.8s ease 0.65s both; }
  .hero .actions { animation: fade-up 0.8s ease 0.8s both; }
  .hero__controls { animation: fade-up 0.8s ease 0.95s both; }
}

/* Hero altındaki kayan ürün bandı */
.marquee {
  overflow: hidden;
  background: var(--leaf);
  color: #1d2905;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  padding: 18px 0;
  list-style: none;
}
.marquee__list li {
  display: flex;
  align-items: center;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
  font-weight: 760;
  font-stretch: 115%;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-inline: 30px;
  border-radius: 0 75% 0 75%;
  background: #fff;
  opacity: 0.85;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Bölüm geçişleri: her bölüm bir ölçü cetveliyle başlar */
.section ~ .section,
.cta-band { position: relative; }
.section ~ .section::before,
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  color: var(--ruler, var(--graphite));
  opacity: 0.5;
  pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) top / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 100px) top / 100% 14px no-repeat;
}
.section--tint { --ruler: var(--leaf-deep); }
.section--dark { --ruler: var(--honey); }
.section--dark::before { opacity: 0.8; }
.cta-band { --ruler: #fff; }

/* Teklif çağrısı bandı */
.cta-band {
  padding-block: clamp(56px, 7vw, 88px);
  background: var(--leaf-deep);
  color: #fff;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 28px 64px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.cta-band p { max-width: 54ch; margin: 14px 0 0; color: rgba(255, 255, 255, 0.86); }
.cta-band .actions { justify-content: flex-end; }

@media (max-width: 960px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band .actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .hero { min-height: clamp(560px, calc(100svh - var(--header-h)), 760px); }
  .hero__scrim {
    background: linear-gradient(0deg, rgba(30, 21, 13, 0.92) 0%, rgba(30, 21, 13, 0.62) 52%, rgba(30, 21, 13, 0.18) 100%);
  }
  .hero__content { padding-bottom: 28px; }
  .hero__lede { font-size: 1.05rem; margin: 20px 0 24px; }
  .hero__controls { align-items: center; gap: 16px; padding-bottom: 20px; }
  .hero__tabs { gap: 8px; }
  .hero__tab { padding: 14px 0; }
  .hero__tab-bar { margin-bottom: 0; }
  .hero__tab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .marquee__list { padding: 14px 0; }
  .marquee__list li::after { margin-inline: 22px; width: 11px; height: 11px; }
}

/* Bölümler */
.section { padding-block: var(--section-space-top) var(--section-space); }
.section--tint { background: var(--leaf-pale); }
.section--dark { background: var(--walnut); color: var(--on-walnut); }
.section--dark h2,
.section--dark h3 { color: #fff; }

/* Başlık solda, açıklama sağda; ikisi dikeyde birbirine göre ortalı */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 16px 64px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }
.section--dark .section-head p { color: var(--on-walnut-soft); }

/* Ürünler */
.product {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 32px 64px;
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.product:last-child { padding-bottom: 0; }
.product--flip .product__media { order: 2; }
.product__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
#ahsap-ev .product__media img { object-position: 50% 30%; }
.product__body h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.product__body p { color: var(--ink-soft); max-width: 52ch; }
.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 24px;
  list-style: none;
}
.uses li {
  padding: 4px 12px;
  border: 1px solid var(--leaf-line);
  border-radius: 999px;
  background: var(--leaf-pale);
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--leaf-darker);
}

/* Diğer işler */
.works {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.work img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.work h3 { font-size: 1.12rem; font-weight: 740; margin-bottom: 6px; }
.work p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* Galeri */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 270px);
  gap: 12px;
  list-style: none;
}
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(62, 42, 28, 0.88);
  color: #fff;
  font: 600 0.85rem/1.3 var(--font);
  text-align: left;
}

/* Neden biz */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 64px;
  list-style: none;
}
.reasons li { padding-top: 22px; border-top: 1px solid var(--walnut-line); position: relative; }
.reasons li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--leaf);
}
.reasons h3 { margin-bottom: 10px; }
.reasons p { color: var(--on-walnut-soft); margin: 0; max-width: 48ch; }

/* Süreç: ölçü cetveli üzerinde dört adım */
.steps {
  --ruler-top: 18px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 64px;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--ruler-top);
  height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--graphite) 0 1px, transparent 1px 16px) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--graphite) 0 1px, transparent 1px 80px) bottom / 100% 10px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) bottom / 100% 1px no-repeat;
  opacity: 0.55;
}
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -64px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--leaf-deep);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.steps h3 { margin-bottom: 10px; font-size: 1.3rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* SSS */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--leaf-line); }
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 1.15rem;
  font-weight: 680;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(var(--leaf-deep), var(--leaf-deep)) center / 16px 2px no-repeat,
    linear-gradient(var(--leaf-deep), var(--leaf-deep)) center / 2px 16px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; color: var(--ink-soft); max-width: 68ch; }

/* İletişim */
.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px 80px;
  align-items: start;
}
.contact__info > p { font-size: 1.15rem; color: var(--ink-soft); max-width: 40ch; margin-top: 16px; }
.contact__phone {
  display: inline-block;
  margin: 12px 0 28px;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 4.4rem);
  font-weight: 820;
  font-stretch: 118%;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 5px solid var(--leaf);
  padding-bottom: 6px;
}
.contact__phone:hover { color: var(--leaf-deep); }
.contact__list { margin: 0; display: grid; gap: 10px; }
.contact__list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.contact__list dt { color: var(--ink-soft); }
.contact__list dd { margin: 0; font-weight: 620; }

.quote-form {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--leaf-pale);
  border: 1px solid var(--leaf-line);
}
.quote-form h3 { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 620; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid #b9c4a6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--leaf-deep); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fbe9e7;
  color: #8c1d18;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Alt bilgi */
.site-footer {
  background: var(--walnut);
  color: var(--on-walnut-soft);
  padding-block: 56px 32px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px 64px;
}
.site-footer__title {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 720;
  font-stretch: 110%;
}
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer__hours { margin: 12px 0 0; }
.logo-plate { display: inline-block; padding: 10px 14px; background: #fff; border-radius: var(--radius); margin-bottom: 16px; }
.logo-plate img { width: 160px; }
.site-footer__brand p { max-width: 42ch; margin: 0; }
.site-footer__links {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-content: start;
}
.site-footer a { color: var(--on-walnut); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--walnut-line);
  font-size: 0.9rem;
}

/* Yüzen WhatsApp butonu */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--leaf-deep);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 22, 14, 0.3);
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { background: var(--leaf-darker); }
/* Hero ekrandayken gizli: hero içinde zaten WhatsApp butonu var */
.js .wa-float {
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.js .wa-float:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

/* Fotoğraf görüntüleyici */
.lightbox {
  width: min(1200px, 94vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(28, 20, 13, 0.92); }
.lightbox__figure { display: grid; justify-items: center; gap: 12px; }
.lightbox__img { max-width: 100%; max-height: calc(94vh - 60px); width: auto; border-radius: var(--radius); }
.lightbox__caption { font-weight: 600; text-align: center; }
.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Duyarlı düzen */
@media (max-width: 1100px) {
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav ul { gap: 18px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 184px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(30, 22, 14, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a:hover { border-bottom-color: var(--line); color: var(--leaf-deep); }
  .site-nav .btn { min-height: 52px; }

  .section-head,
  .product,
  .contact__grid,
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .product--flip .product__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 38vw, 300px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 88px; }
  .steps::before { display: none; }
  .steps li { border-top: 1px solid var(--line); padding-top: 20px; }
  .steps li::before { top: -20px; transform: translateY(-50%); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .actions .btn { flex: 1 1 100%; }
  .works {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .work { flex: 0 0 72%; scroll-snap-align: start; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .reasons { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 56px; padding-top: 24px; }
  .contact__list div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-footer__links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wa-float { right: 14px; bottom: 14px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}

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