/* =========================================================================
   BOF Mobilya ve Dekor — "Aydınlık Atölye" tema
   Paslanmaz çelik dekoratif mobilya / Bursa
   Açık, monokrom, ferah showroom estetiği. Renk yerine fotoğraf + tipografi.
   İmza: gri-tonlu galeri; etkileşimde (hover) fotoğraf renklenir.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  --paper:    #F7F6F3;   /* ana zemin, kırık beyaz */
  --paper-2:  #FBFAF9;   /* kart / açık yüzey */
  --stone:    #ECEAE4;   /* alternatif bölüm zemini */
  --stone-2:  #E3E0D8;
  --ink:      #17191B;   /* ana metin / koyu bant */
  --graphite: #2A2D30;   /* ikincil koyu */
  --muted:    #6B6F72;   /* ikincil metin */
  --line:     rgba(23,25,27,.14);
  --line-soft:rgba(23,25,27,.08);
  --line-dk:  rgba(255,255,255,.14);

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.78rem, .74rem + .2vw, .86rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3:  clamp(2.2rem, 1.8rem + 2.2vw, 3.6rem);
  --step-4:  clamp(3rem, 2.2rem + 4.2vw, 6rem);

  --wrap: 1200px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 2px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.05; font-weight: 400; }

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

/* ---- Yardımcılar ---- */
.wrap { width: min(var(--wrap), 100% - 2*var(--gutter)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 6px; background: var(--ink); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.italic { font-style: italic; }

/* Kaynak dikişi (welded seam) çizgisi */
.seam {
  display: flex; align-items: center; gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .8rem;
  font-size: var(--step--1);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.seam__tick { width: 6px; height: 6px; background: var(--ink); flex: none; }

/* ---- Fotoğraf: renkli; üzerine gelince hafif yakınlaşır ---- */
.media-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

/* ---- Butonlar ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.5rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--gold { background: var(--ink); color: var(--paper); }        /* birincil */
.btn--gold:hover { background: var(--graphite); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--sm { padding: .6rem 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: .2rem;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.1rem 0;
  transition: background-color .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247,246,243,.86);
  backdrop-filter: blur(12px);
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: baseline; gap: .55rem; color: var(--ink); }
.brand__mark { font-family: var(--display); font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; }
.brand__mark b { color: var(--ink); font-weight: 400; }
.brand__sub { font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

.nav__menu { display: flex; align-items: center; gap: 1.9rem; }
.nav__menu a {
  color: var(--graphite);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .04em;
  position: relative; padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--ink); }
.nav__menu a:hover::after, .nav__menu a[aria-current="page"]::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__toggle {
  display: none; background: none; border: 0; color: var(--ink);
  width: 44px; height: 44px; align-items: center; justify-content: center;
  position: relative; z-index: 60;   /* menü paneli açıkken üstte kalsın, tekrar basınca kapansın */
}
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    padding: 2rem var(--gutter);
    background: var(--paper-2);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(0,0,0,.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s var(--ease);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); visibility: visible; }
  .nav__menu a { font-size: var(--step-1); }
  .nav__cta .btn { display: none; }
  body.menu-open { overflow: hidden; }
}

/* =========================================================================
   Bölümler
   ========================================================================= */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--paper { background: var(--stone); color: var(--ink); }
.section--graphite { background: var(--paper-2); color: var(--ink); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }   /* tek dramatik koyu bant */
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .eyebrow { color: var(--paper); }
.section--dark .eyebrow::before { background: var(--paper); }
.section--dark .link-arrow { color: var(--paper); border-color: var(--line-dk); }
.section--dark .btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.section--dark .step { border-color: var(--line-dk); }
.section--dark .feature p { color: rgba(255,255,255,.72); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head h2 { font-family: var(--display); font-size: var(--step-3); margin: 1rem 0 .8rem; }
.section-head p { color: inherit; opacity: .8; font-size: var(--step-1); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, var(--stone) 0%, var(--paper) 55%);
  color: var(--ink);
  padding: clamp(9rem, 16vh, 12rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-size: var(--step-4);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 1.4rem 0 1.6rem;
}
.hero__title em { font-style: italic; }
.hero__lead { max-width: 34rem; color: var(--muted); font-size: var(--step-1); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; }
.hero__stat b { font-family: var(--display); font-size: var(--step-2); color: var(--ink); display: block; line-height: 1; }
.hero__stat span { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem 2.5rem; }
}

/* =========================================================================
   Plinth — kaide üzerinde ürün
   ========================================================================= */
.plinth { position: relative; }
.plinth__object {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1rem; background: var(--stone);
}
.plinth__tag {
  position: relative; z-index: 2;
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: rgba(247,246,243,.82);
  backdrop-filter: blur(3px);
  padding: .3rem .6rem; border: 1px solid var(--line); border-radius: var(--radius);
}

/* =========================================================================
   Kategori grid
   ========================================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.cat {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); aspect-ratio: 3 / 4; background: var(--stone);
}
.cat:hover .media-img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15,16,18,.86) 6%, rgba(15,16,18,.15) 52%, rgba(15,16,18,0) 80%); }
.cat__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.3rem; color: var(--paper); }
.cat__body h3 { font-family: var(--display); font-size: var(--step-2); color: var(--paper); }
.cat__body p { font-size: var(--step--1); color: rgba(255,255,255,.78); letter-spacing: .04em; }
.cat__idx { position: absolute; top: 1rem; left: 1.2rem; z-index: 2; font-size: var(--step--1); letter-spacing: .2em; color: rgba(255,255,255,.8); }

/* Ürün kartları */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.product { display: flex; flex-direction: column; }
.product .plinth__object { aspect-ratio: 4 / 5; }
.product__meta { padding-top: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.product__name { font-family: var(--display); font-size: var(--step-1); }
.product__price { font-size: var(--step--1); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.product__desc { font-size: var(--step--1); color: inherit; opacity: .7; padding-top: .25rem; }

@media (max-width: 820px) { .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid, .product-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Split / editorial
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { aspect-ratio: 5 / 6; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--stone); }
.section--dark .split__media { border-color: var(--line-dk); }
.split__body h2 { font-family: var(--display); font-size: var(--step-3); margin: 1rem 0 1.2rem; }
.split__body p + p { margin-top: 1rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* Süreç adımları (gerçek sıra → numaralandırma haklı) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.step { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.step__idx { font-family: var(--display); font-size: var(--step-2); }
.step h3 { font-size: var(--step-1); margin: .5rem 0 .5rem; font-family: var(--sans); font-weight: 700; }
.step p { font-size: var(--step--1); opacity: .78; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* Özellik listesi */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.feature__ic { width: 40px; height: 40px; color: currentColor; margin-bottom: 1rem; }
.feature h3 { font-size: var(--step-1); font-family: var(--sans); font-weight: 700; margin-bottom: .5rem; }
.feature p { font-size: var(--step--1); opacity: .8; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* =========================================================================
   Galeri (masonry)
   ========================================================================= */
.masonry { columns: 3 240px; column-gap: clamp(.8rem, 2vw, 1.4rem); }
.masonry figure { break-inside: avoid; margin-bottom: clamp(.8rem, 2vw, 1.4rem); position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
.masonry figure > div { width: 100%; position: relative; }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .8rem 1rem;
  font-size: var(--step--1); letter-spacing: .06em; color: var(--paper);
  background: linear-gradient(to top, rgba(15,16,18,.82), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.masonry figure:hover figcaption { opacity: 1; transform: none; }

/* =========================================================================
   Ürün detay
   ========================================================================= */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pd__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pd__gallery .plinth__object:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.pd__title { font-family: var(--display); font-size: var(--step-3); margin: .8rem 0 1rem; }
.pd__price { font-size: var(--step-1); color: var(--muted); margin-bottom: 1.4rem; }
.pd__spec { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: var(--step--1); }
.pd__spec th, .pd__spec td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); }
.pd__spec th { font-weight: 700; color: var(--ink); width: 42%; }
.pd__spec td { color: var(--muted); }
.finish-swatches { display: flex; gap: .6rem; margin: .6rem 0 1.6rem; }
.finish-swatches span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); }
.sw-gold  { background: linear-gradient(135deg,#8a723f,#e7d3a1); }
.sw-silver{ background: linear-gradient(135deg,#8b949c,#eef1f3); }
.sw-black { background: linear-gradient(135deg,#1b2023,#4a545a); }
.sw-rose  { background: linear-gradient(135deg,#8a5b52,#e6c1b4); }
@media (max-width: 820px) { .pd { grid-template-columns: 1fr; } }

/* =========================================================================
   İletişim / form
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: var(--step-0);
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }

.info-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-list .ic { color: var(--ink); flex: none; width: 22px; height: 22px; margin-top: 3px; }
.info-list b { display: block; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.map-embed {
  aspect-ratio: 16 / 10; border-radius: var(--radius); border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 40px),
    var(--stone);
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted);
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase;
}

/* =========================================================================
   CTA şerit — tek koyu vurgu
   ========================================================================= */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--display); font-size: var(--step-3); max-width: 22ch; color: var(--paper); }
.cta-band .btn--dark { background: var(--paper); color: var(--ink); }
.cta-band .btn--dark:hover { transform: translateY(-2px); background: #fff; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h4 { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1.1rem; font-weight: 700; }
.footer-grid a { color: rgba(255,255,255,.72); font-size: var(--step-0); display: inline-block; padding: .28rem 0; transition: color .25s var(--ease); }
.footer-grid a:hover { color: var(--paper); }
.footer-brand .brand__mark { font-size: 2.1rem; color: var(--paper); }
.footer-brand .brand__mark b { color: var(--paper); }
.footer-brand p { color: rgba(255,255,255,.5); margin-top: 1rem; max-width: 30ch; font-size: var(--step--1); }
.social { display: flex; gap: .8rem; margin-top: 1.3rem; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line-dk); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { border-color: var(--paper); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dk); font-size: var(--step--1); color: rgba(255,255,255,.5); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sayfa başlığı (iç sayfalar) */
.pagehead { background: radial-gradient(120% 120% at 82% -10%, var(--stone) 0%, var(--paper) 60%); color: var(--ink); padding: clamp(8rem, 15vh, 11rem) 0 clamp(3rem, 6vw, 5rem); }
.pagehead h1 { font-family: var(--display); font-size: var(--step-4); line-height: .98; margin: 1.1rem 0 .8rem; }
.pagehead p { color: var(--muted); max-width: 44rem; font-size: var(--step-1); }
.breadcrumb { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 .5rem; opacity: .5; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: .7rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
