/* ==========================================================================
   Ekol Koltuk — ana sayfa v2 ("açık ve sakin", 2026-11)
   home.css'ten SONRA yüklenir. Üst bar, menü, sihirbaz, footer home.css'te kalır.
   ========================================================================== */
:root {
  --v2-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --v2-dur: 0.7s;
  --v2-pad: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
::selection { background: var(--gold-100); color: var(--navy-900); }
main .section { padding-block: clamp(56px, 8vw, 104px); background: var(--white); }
.v2-line > .container:first-child { position: relative; }
.v2-line { border-top: 1px solid var(--line); }
main h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 0 0 12px; text-wrap: balance; letter-spacing: -0.01em; }
main h3 { text-wrap: balance; }

/* ---- bölüm başlığı ---- */
.v2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 44px); }
.v2-head > div:first-child { max-width: 620px; }
.v2-head p, .atl-intro p { color: var(--muted); font-size: 1.02rem; margin: 0; max-width: 62ch; }
.v2-head-col { display: block; margin-bottom: 0; }
.v2-head-col .v2-link { margin-top: 18px; }
.v2-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.v2-ctrl { display: flex; align-items: center; gap: 10px; flex: none; }
.v2-arrow {
  width: 48px; height: 48px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--white); color: var(--navy); border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.v2-arrow:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.v2-arrow:disabled { opacity: 0.38; cursor: default; }
.v2-count { min-width: 3.4em; text-align: center; font-size: 0.92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.v2-count b { color: var(--navy); }
.v2-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy); text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.v2-go { flex: none; transition: transform 0.3s var(--v2-ease); }
a:hover > .v2-go { transform: translateX(4px); }
.v2-after { margin: 26px 0 0; }

/* ---- hero ---- */
.v2-hero { background: var(--ivory); padding-block: clamp(28px, 5vw, 64px) 0; }
.v2-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas: "copy wiz" "ba wiz"; gap: clamp(24px, 3vw, 40px) clamp(28px, 4vw, 56px); align-items: start;
}
.v2-hero-copy { grid-area: copy; }
.v2-hero .wizard { grid-area: wiz; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.v2-hero-ba { grid-area: ba; margin: 0; }
.v2-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 0 0 16px; letter-spacing: -0.015em; text-wrap: balance; }
.v2-lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--muted); margin: 0 0 24px; max-width: 54ch; }
.v2-lead-s { color: var(--muted); margin: 0 0 22px; max-width: 56ch; }
.v2-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.v2-rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 0.94rem; padding-block: 10px; }
.v2-rating b { color: var(--navy); }
.v2-rating:hover span { text-decoration: underline; }
.v2-stars { display: inline-flex; gap: 1px; color: var(--gold-600); }
.v2-hero-ba figcaption, .v2-ba-slide figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.v2-facts {
  list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 20px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 28px;
  border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); line-height: 1.45;
}
.v2-facts b { display: block; color: var(--navy); font-size: 0.96rem; }

/* ---- önce / sonra karşılaştırma ---- */
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); user-select: none; -webkit-user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(6, 19, 52, 0.18); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 2;
  width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy);
  box-shadow: 0 6px 18px rgba(6, 19, 52, 0.28); pointer-events: none;
}
.ba-tag {
  position: absolute; bottom: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; color: #fff; background: rgba(6, 19, 52, 0.72); pointer-events: none;
}
.ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.v2-ba { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 18px; align-items: start; }
.v2-ba-slide { margin: 0; }
.v2-ba-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.v2-ba-thumb {
  appearance: none; padding: 0; border: 0; cursor: pointer; background: var(--ivory);
  border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; opacity: 0.62;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity 0.25s ease, outline-color 0.25s ease;
}
.v2-ba-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v2-ba-thumb:hover { opacity: 1; }
.v2-ba-thumb[aria-pressed="true"] { opacity: 1; outline-color: var(--gold); }

/* ---- hizmetler ---- */
.v2-svcs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v2-svc {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto; gap: 6px 22px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background 0.25s ease, padding 0.4s var(--v2-ease);
}
.v2-svc h3 { margin: 0; font-size: 1.2rem; }
.v2-svc p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.v2-svc .v2-go { color: var(--gold-600); }
.v2-svc:hover { background: var(--ivory); padding-inline: 14px; }
.v2-svc:hover .v2-go { transform: translateX(4px); }
.v2-more { margin: 18px 0 0; font-size: 0.92rem; color: var(--muted); line-height: 2; }
.v2-more a { color: var(--navy); font-weight: 600; margin-right: 12px; text-underline-offset: 4px; white-space: nowrap; }

/* ---- fiyat ---- */
.v2-price { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.v2-price th, .v2-price td { padding: 17px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.v2-price td { text-align: right; white-space: nowrap; font-family: var(--font-head); font-size: 1.28rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; }
.v2-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 26px; }

/* ---- kumaş ---- */
.v2-fabric { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.v2-fabric-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.v2-dl { margin: 0 0 26px; border-top: 1px solid var(--line); }
.v2-dl > div { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); gap: 4px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.v2-dl dt { font-weight: 700; color: var(--navy); }
.v2-dl dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---- teslim edilen işler (iki sıra, kaydırmayla akan şerit) ---- */
.v2-works-sec { overflow: hidden; }
.v2-works { display: grid; gap: 12px; --wh: clamp(150px, 19vw, 250px); }
.v2-works-row { display: flex; gap: 12px; overflow-x: auto; padding-inline: var(--v2-pad); scrollbar-width: none; }
.v2-works-row::-webkit-scrollbar { display: none; }
.v2-works-row:focus-visible { outline-offset: -3px; }
.v2-works .v2-work { flex: none; height: var(--wh); width: calc(var(--wh) * var(--r)); aspect-ratio: auto; border-radius: 10px; }
.v2-works .v2-work::after { display: none; }

/* ---- yatay şerit (yorumlar) ---- */
.v2-rail {
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 4px var(--v2-pad) 14px; scroll-padding-inline: var(--v2-pad);
  scrollbar-width: thin; scrollbar-color: var(--gold-600) transparent;
}
.v2-rail::-webkit-scrollbar { height: 6px; }
.v2-rail::-webkit-scrollbar-thumb { background: var(--gold-600); border-radius: 3px; }
.v2-rail:focus-visible { outline-offset: -3px; }
.v2-review { flex: none; width: min(78vw, 340px); scroll-snap-align: start; }
.v2-review img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.v2-review blockquote { margin: 8px 0 10px; font-size: 0.98rem; line-height: 1.6; color: var(--ink); }
.v2-review-by { margin: 0; font-size: 0.86rem; color: var(--muted); }
.v2-review-by b { color: var(--navy); margin-right: 6px; }

/* ---- videolar ---- */
#videolar .reel-frame { border-radius: var(--radius); }
#videolar .reel figcaption { font-weight: 500; color: var(--muted); }

/* ---- süreç ---- */
.v2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: adim; }
.v2-steps li { counter-increment: adim; border-top: 2px solid var(--navy); padding-top: 16px; }
.v2-steps li::before { content: counter(adim); display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--gold-600); line-height: 1; margin-bottom: 12px; }
.v2-steps h3 { font-size: 1.12rem; margin: 0 0 8px; }
.v2-steps p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---- bölgeler ---- */
.v2-regions { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 28px; }
.v2-regions li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.v2-regions a { display: block; padding: 11px 2px; text-decoration: none; color: var(--ink); font-weight: 500; transition: color 0.2s ease, padding 0.4s var(--v2-ease); }
.v2-regions a:hover { color: var(--navy); padding-left: 8px; }

/* ---- SSS + kapanış ---- */
#sss .faq { max-width: none; margin: 0; }
.v2-cta { margin: 0; }

/* ---- atölye bölümü v2 zemininde ---- */
.atl.v2-line { background: var(--white); }
.atl-cta { text-align: left; padding-inline: 0; }

/* ---- kaydırınca beliren öğeler ---- */
.v2-js .v2-rv { opacity: 0; transform: translateY(22px); transition: opacity var(--v2-dur) var(--v2-ease), transform var(--v2-dur) var(--v2-ease); transition-delay: var(--d, 0s); }
.v2-js .v2-rv.is-in { opacity: 1; transform: none; }
.v2-js .v2-head > div:first-child, .v2-js .atl-intro { opacity: 0; transform: translateY(16px); transition: opacity var(--v2-dur) var(--v2-ease), transform var(--v2-dur) var(--v2-ease); }
.v2-js .is-in > .v2-head > div:first-child, .v2-js .v2-head.is-in > div:first-child, .v2-js .atl-intro.is-in { opacity: 1; transform: none; }

/* ---- duyarlı ---- */
@media (max-width: 1024px) {
  .v2-hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "wiz" "ba"; }
  .v2-split, .v2-fabric { grid-template-columns: 1fr; gap: 26px; }
  .v2-head-col { margin-bottom: 0; }
  .v2-steps { grid-template-columns: 1fr 1fr; }
  .v2-ba { grid-template-columns: 1fr; }
  .v2-ba-thumbs { display: flex; overflow-x: auto; gap: 8px; padding: 3px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .v2-ba-thumbs::-webkit-scrollbar { display: none; }
  .v2-ba-thumb { flex: none; width: 96px; }
}
@media (max-width: 700px) {
  .v2-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .v2-head .v2-ctrl { align-self: flex-end; }
  #yorumlar .v2-ctrl { display: none; }
  .v2-hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
  .v2-hero-actions .btn { width: 100%; }
  .v2-facts { grid-template-columns: 1fr 1fr; }
  .v2-svc { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 2px; }
  .v2-svc p { grid-column: 1; grid-row: 2; }
  .v2-svc .v2-go { grid-row: 1 / 3; grid-column: 2; }
  .v2-price td { font-size: 1.12rem; }
  .v2-row-actions .btn { width: 100%; }
  .v2-dl > div { grid-template-columns: 1fr; }
  .v2-regions { columns: 2; column-gap: 18px; }
  .v2-steps { grid-template-columns: 1fr; gap: 22px; }
  .v2-rail { gap: 12px; scrollbar-width: none; }
  .v2-rail::-webkit-scrollbar { display: none; }
  .atl-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-js .v2-rv, .v2-js .v2-head > div:first-child, .v2-js .atl-intro, .v2-js img.v2-rv, .v2-js .v2-ba-stage.v2-rv { opacity: 1; transform: none; clip-path: none; transition: none; }
  .v2-svc, .v2-regions a, .v2-go { transition: none; }
}

/* ==== v2c (2026-11-13): hero'da video + oklu önce/sonra, sadeleştirme ==== */
main .section { padding-block: clamp(44px, 6vw, 80px); }
main h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.v2-head { margin-bottom: clamp(20px, 3vw, 32px); }
.v2-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

/* hero: sol sütunda metin, altında video + önce/sonra; sağda teklif formu */
.v2-hero-grid { grid-template-areas: "copy wiz" "media wiz"; }
.v2-hero-media { grid-area: media; display: grid; grid-template-columns: 27fr 64fr; gap: 14px; align-items: start; }
.v2-hero-video { margin: 0; }
.v2-hero-video .reel-frame { border-radius: var(--radius); }
.v2-hero-video figcaption { margin-top: 10px; font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.v2-hero-ba { grid-area: auto; min-width: 0; }
.v2-ba-slide { margin: 0; }
.v2-ba-slide figcaption { display: none; }
.v2-ba-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.v2-ba-bar .v2-arrow { width: 44px; height: 44px; }
.ba-dik { background: var(--ivory); }
.ba-dik .ba-img { object-fit: contain; }

/* üst bar: Instagram */
.topbar-ig { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-left: auto; color: rgba(255, 255, 255, 0.9) !important; }
.topbar-ig:hover { color: var(--gold) !important; }

/* daha küçük görseller */
.atl { --atl-h: clamp(230px, 25vw, 340px); }
.v2-works { --wh: clamp(120px, 13vw, 180px); gap: 10px; }
.v2-works-row { gap: 10px; }
.v2-review { width: min(72vw, 290px); }
.v2-review blockquote { font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.v2-fabric { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
#videolar .reels { grid-template-columns: repeat(5, 1fr); max-width: 920px; }
.v2-dl > div { padding: 11px 0; }
.v2-svc { padding-block: 15px; }
.v2-svc h3 { font-size: 1.1rem; }
.v2-steps li::before { font-size: 1.25rem; margin-bottom: 8px; }

@media (max-width: 1024px) {
  .v2-hero-grid { grid-template-areas: "copy" "media" "wiz"; }
}
@media (max-width: 1100px) { #videolar .reels { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 700px) {
  .atl { --atl-h: min(74vw, 300px); }
  .topbar-ig span { display: none; }
  .v2-hero-media { grid-template-columns: 1fr; gap: 18px; }
  .v2-hero-video { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 14px; align-items: center; }
  .v2-hero-video figcaption { margin: 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
  .v2-hero-video figcaption::after { content: "Sadece kumaş değişimi yeter mi?"; display: block; margin-top: 6px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 400; color: var(--muted); line-height: 1.45; }
  #videolar .reels { display: flex; max-width: none; }
}

/* ==== v2d (2026-11-13): bölüm geçiş animasyonu + artan sayılar ==== */
.v2-stats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; color: var(--muted); font-size: 0.98rem; }
.v2-stats b { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; margin-bottom: 8px; }

/* Her bölüm ekrana girerken: üst çizgi soldan çizilir, içerik aşağıdan yükselir */
main > section.v2-line { border-top-color: transparent; position: relative; }
main > section.v2-line::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left center; }
.v2-js main > section.v2-sec::before { transform: scaleX(0); transition: transform 1.2s var(--v2-ease); }
.v2-js main > section.v2-sec.is-sec-in::before { transform: none; }
.v2-js main > section.v2-sec > * { opacity: 0; transform: translateY(44px); transition: opacity 0.9s var(--v2-ease), transform 0.9s var(--v2-ease); }
.v2-js main > section.v2-sec > *:nth-child(2) { transition-delay: 0.12s; }
.v2-js main > section.v2-sec > *:nth-child(3) { transition-delay: 0.22s; }
.v2-js main > section.v2-sec.is-sec-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .v2-js main > section.v2-sec::before, .v2-js main > section.v2-sec > * { opacity: 1; transform: none; transition: none; }
}

/* ---- logo (2026-11-13) ---- */
.brand-logo { display: block; height: 48px; width: auto; }
.brand-isaret { display: block; height: 44px; width: auto; flex: none; background: #fff; border-radius: 10px; padding: 4px 6px; }
@media (max-width: 620px) { .brand-logo { height: 40px; } }
.brand-logo { height: 54px; }
@media (max-width: 620px) { .brand-logo { height: 44px; } }

/* ---- menüye Fiyat Listesi eklendi: bağlantılar sıkılaştırıldı (2026-11-13) ---- */
@media (min-width: 1331px) { .main-nav a { padding-inline: 8px; font-size: 0.88rem; } }

/* ---- hamburger yok: dar ekranda menü, logonun altında yana kayan tek satır (2026-11-13) ---- */
@media (max-width: 1330px) {
  .nav-toggle { display: none !important; }
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .main-nav {
    position: static !important; display: flex !important; flex-direction: row !important; align-items: center !important;
    order: 5; flex: 0 0 calc(100% + 40px); margin-inline: -20px; padding: 0 20px 8px !important; gap: 2px !important;
    justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
    background: none !important; border: 0 !important; box-shadow: none !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex: none; padding: 9px 11px !important; font-size: 0.9rem; white-space: nowrap; border-radius: 9px; }
  .main-nav a:last-child { margin-right: 24px; }
}
@media (min-width: 900px) and (max-width: 1330px) { .main-nav { justify-content: center; -webkit-mask-image: none; mask-image: none; } }

/* ---- üst menü: aşağı kaydırınca gizlenir, yukarı kaydırınca döner (2026-11-13) ---- */
.site-header { transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.site-header.nav-gizli { transform: translateY(-105%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
