/* gazioglumobilya.com — EDİTORYAL ANA SAYFA (Claude 2026-10-26). anasayfa-editoryal.js ile birlikte. Jetonlar site.css'ten (--label-*, --brand,
   --accent, --ap-*); Işık altını (açık) + Gece altını (koyu) ikisi de. Altın yalnız detayda (nokta, etiket, halka, 3D logo). Animasyon: yalnız
   transform / opacity (+ ayrı "translate"/"scale" özellikleri), hareket azaltmada kapalı. */

/* ---------- 0) açılış perdesi (html.ed-giris; yalnız ana sayfa + oturumda ilk ziyaret) ---------- */
.ed-perde { display: none; }
html.ed-giris .ed-perde {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background: var(--ap-wp-leke), var(--ap-wp-taban), var(--bg);
  animation: ed-perde-cik .34s cubic-bezier(.6, 0, .2, 1) 1.16s both;
}
html.ed-giris-bitti .ed-perde { animation: none; opacity: 0; transition: opacity .24s ease; }
.ed-perde-ic { position: relative; display: grid; justify-items: center; gap: 14px; animation: ed-perde-buyu .5s cubic-bezier(.7, 0, .2, 1) 1.06s both; }
.ed-sayac { font: 600 12px/1 var(--font-sans); letter-spacing: .14em; color: var(--accent); font-variant-numeric: tabular-nums; justify-self: end; }
@property --ed-n { syntax: '<integer>'; inherits: false; initial-value: 0; }
.ed-sayac::before { counter-reset: edn var(--ed-n); content: counter(edn, decimal-leading-zero) '%'; animation: ed-sayac 1.02s cubic-bezier(.2, .7, .3, 1) both; }
.ed-perde-sahne { position: relative; display: grid; place-items: center; }
.ed-perde-marka { position: relative; z-index: 1; margin: 0; font: 800 min(15vw, 200px)/.82 var(--font-display); letter-spacing: -.045em; color: var(--label-1); white-space: nowrap;
  padding-top: .16em; clip-path: inset(0 -.1em -.06em -.1em); }
.ed-perde-marka > span { display: inline-block; position: relative; animation: ed-harf .56s cubic-bezier(.2, .8, .2, 1) calc(.12s + var(--i) * .06s) both; }
.ed-perde-gor { position: absolute; z-index: 0; left: 50%; bottom: 8%; width: min(46vw, 330px); height: auto; aspect-ratio: 1; translate: -50% 0; opacity: 0; }
.ed-perde-gor.hazir { animation: ed-gor-yuksel .9s cubic-bezier(.2, .8, .2, 1) both; }
.ed-perde-alt { font: 500 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--label-2); justify-self: start; animation: ed-sol .5s .5s both; }
@keyframes ed-sayac { from { --ed-n: 0; } to { --ed-n: 100; } }
@keyframes ed-harf { from { transform: translateY(105%); } to { transform: none; } }
@keyframes ed-gor-yuksel { from { opacity: 0; transform: translateY(26%) scale(.92); } to { opacity: 1; transform: translateY(-8%); } }
@keyframes ed-sol { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes ed-perde-buyu { to { transform: scale(1.32); opacity: 0; } }
@keyframes ed-perde-cik { to { opacity: 0; visibility: hidden; } }
/* İ'nin noktası = logo 6'nın altın noktası (perde + hero + alt işaret) */
.ed-i { position: relative; }
.ed-i::after { content: ''; position: absolute; left: 50%; top: -.22em; width: .2em; height: .2em; margin-left: -.1em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F6E3B8 0, #C9A266 38%, #9A7438 70%, #5E451F 100%); }
.ed-perde-marka .ed-i::after { animation: ed-nokta .42s cubic-bezier(.3, 1.6, .5, 1) .78s both; }
@keyframes ed-nokta { from { transform: scale(0); } to { transform: none; } }

/* ---------- 1) hero ---------- */
/* ilk boyama (JS'siz): site.html .ed-on — yalnız html.ed-ana (giris-perde.js). Ölçüler JS hero ile aynı → JS aynı yerde kurar */
.ed-on { display: none; }
html.ed-ana .ed-on { display: block; margin-top: 18px; }
html.ed-ana .ed-on ~ .iskelet-hero { display: none; }
.ed-on .ed-logo-on { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-marka.ed-marka-on { font-size: calc((min(100vw, 1680px) - 32px) / 4.72); }
@media (min-width: 760px) { .ed-marka.ed-marka-on { font-size: calc((min(100vw, 1680px) - 64px) / 4.72); } }
html[data-sayfa="ana"] .icerik { overflow-x: clip; }
.ed-hero { position: relative; margin-top: 18px; isolation: isolate; }   /* .ssr ile aynı üst boşluk → SSR → JS geçişinde kayma yok */
.ed-ust { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 6px;
  font: 600 11.5px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--label-2); }
.ed-ust span:first-child { color: var(--accent); }
.ed-sahne { position: relative; height: clamp(250px, 66vw, 300px); margin: 0 auto; max-width: 1680px; }
.ed-arka { position: absolute; inset: 0; z-index: -1; overflow: hidden; perspective: 700px; pointer-events: none; }
/* perspektif ızgara zemini (çok hafif, maskeyle solar) */
.ed-zemin { position: absolute; left: -30%; right: -30%; bottom: -8%; height: 70%; transform: rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 92%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 92%); overflow: hidden; }
.ed-zemin i { position: absolute; left: 0; right: 0; top: -60px; bottom: 0; opacity: .5;
  background-image: linear-gradient(var(--sep-strong) 1px, transparent 1px), linear-gradient(90deg, var(--sep-strong) 1px, transparent 1px); background-size: 60px 60px;
  animation: ed-zemin-ak 6s linear infinite; animation-play-state: paused; }
@keyframes ed-zemin-ak { to { transform: translateY(60px); } }
/* yavaş dönen altın cam halkalar */
.ed-halka { position: absolute; left: 50%; top: 46%; width: min(78vw, 560px); aspect-ratio: 1; margin: calc(min(78vw, 560px) / -2) 0 0 calc(min(78vw, 560px) / -2);
  border-radius: 50%; opacity: .55; transform: rotateX(72deg) rotateZ(0deg);
  background: conic-gradient(from 0deg, transparent 0 8%, rgba(214, 176, 112, .85) 20%, rgba(255, 240, 210, .9) 26%, rgba(184, 146, 90, .4) 40%, transparent 55%, rgba(184, 146, 90, .55) 78%, transparent 92%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 calc(100% - 1px), transparent 100%);
  mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 calc(100% - 1px), transparent 100%);
  animation: ed-halka-don 26s linear infinite; animation-play-state: paused; }
.ed-halka-2 { width: min(60vw, 420px); margin: calc(min(60vw, 420px) / -2) 0 0 calc(min(60vw, 420px) / -2); opacity: .35; animation-duration: 38s; animation-direction: reverse; transform: rotateX(64deg) rotateY(14deg); }
@keyframes ed-halka-don { from { transform: rotateX(72deg) rotateZ(0deg); } to { transform: rotateX(72deg) rotateZ(360deg); } }
.ed-halka-2 { animation-name: ed-halka-don-2; }
@keyframes ed-halka-don-2 { from { transform: rotateX(64deg) rotateY(14deg) rotateZ(0deg); } to { transform: rotateX(64deg) rotateY(14deg) rotateZ(360deg); } }
.ed-hero.ed-canli .ed-zemin i, .ed-hero.ed-canli .ed-halka { animation-play-state: running; }
.ed-hero.ed-statik .ed-zemin i, .ed-hero.ed-statik .ed-halka { animation: none; }

/* süs katmanları ilk boyamada çizilmez (raster maliyeti LCP'ye binmesin); JS boşta .ed-sus ekler */
.ed-hero:not(.ed-sus) .ed-arka { visibility: hidden; }
.ed-hero:not(.ed-sus) .ed-logo-on, .ed-hero:not(.ed-sus) .ed-vitrin-oge canvas { filter: none !important; }
.ed-arka { transition: opacity .8s ease; }
/* 3D logo (CSS katmanları): statik ön yüz hemen; .ed-3d gelince katmanlar + takip */
.ed-logo { position: absolute; z-index: 2; left: 4%; top: 6%; width: clamp(108px, 30vw, 260px); aspect-ratio: 406 / 384; perspective: 900px; }
.ed-logo-govde { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -12deg)); }
.ed-logo-govde.ed-3d { will-change: transform; }
/* boşta salınım: compositor animasyonu (JS yok); yalnız hero görünürken (.ed-canli) */
.ed-logo-govde.ed-salin { animation: ed-salin 9s ease-in-out infinite; animation-play-state: paused; }
.ed-hero.ed-canli .ed-logo-govde.ed-salin { animation-play-state: running; }
@keyframes ed-salin { 0%, 100% { transform: rotateX(0deg) rotateY(-11deg); } 25% { transform: rotateX(-5deg) rotateY(0deg); } 50% { transform: rotateX(0deg) rotateY(11deg); } 75% { transform: rotateX(5deg) rotateY(0deg); } }
.ed-logo-govde > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ed-logo-on { transform: translateZ(1px); filter: drop-shadow(0 14px 22px rgba(90, 64, 24, .22)); }
.ed-katman { opacity: 0; transition: opacity .6s ease; }
.ed-logo-govde.ed-3d .ed-katman { opacity: 1; }
.ed-logo-cam { opacity: .55; mix-blend-mode: screen; }
.ed-logo-parilti { position: absolute; inset: 0; transform: translateZ(2px); pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 250, 235, .85) 49%, transparent 60%) var(--px, 50%) 0 / 260% 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 406 384'%3E%3Cpath d='M377.04 154.44A158 158 0 1 0 414 256' fill='none' stroke='%23000' stroke-width='50'/%3E%3Crect x='262' y='231' width='177' height='50'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 406 384'%3E%3Cpath d='M377.04 154.44A158 158 0 1 0 414 256' fill='none' stroke='%23000' stroke-width='50'/%3E%3Crect x='262' y='231' width='177' height='50'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ed-logo-govde.ed-3d .ed-logo-parilti { opacity: .9; }
.ed-kure { position: absolute; left: 84.5%; top: 19%; width: 13.4%; aspect-ratio: 1; border-radius: 50%; transform: translateZ(26px);
  background: radial-gradient(circle at var(--hx, 34%) var(--hy, 30%), #FFF6DE 0, #E9C98E 16%, #B8925A 46%, #80602A 74%, #4A361A 100%);
  box-shadow: 0 10px 18px rgba(74, 54, 26, .35); }
/* vitrin: harflerin arkasından geçen gerçek saydam ürün görseli */
.ed-vitrin { position: absolute; z-index: 0; right: 3%; bottom: -14%; width: clamp(150px, 46vw, 470px); aspect-ratio: 1; }
.ed-vitrin-oge { position: absolute; inset: 0; opacity: 0; transform: translateY(14%) scale(.94); transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.ed-vitrin-oge.aktif { opacity: 1; transform: none; }
.ed-vitrin-oge.cikti { opacity: 0; transform: translateY(-16%) scale(1.03); }
.ed-vitrin-oge canvas { display: block; width: 100%; height: 100%; filter: drop-shadow(0 26px 30px rgba(74, 54, 26, .20)); }
.ed-marka-kap { position: relative; z-index: 1; max-width: 1680px; margin: 0 auto; padding: 0 16px; pointer-events: none; }
.ed-marka { margin: -.24em 0 0; font: 800 19vw/.8 var(--font-display); letter-spacing: -.045em; color: var(--label-1); white-space: nowrap; padding-top: .16em; text-align: center; }
.ed-marka > span { display: inline; }
.ed-marka .ed-i::after { top: -.02em; }   /* satır içi kutu: üst = yazı yüksekliği (ascent) → nokta büyük harfin hemen üstünde */   /* tek metin bloğu: LCP adayı kelimenin tamamı (harf harf değil) */
.ed-vitrin-ad { position: absolute; z-index: 1; right: 16px; top: 10px; max-width: 46%; font: 500 11px/14px var(--font-sans); color: var(--label-2); text-align: right; letter-spacing: .02em; }
.ed-manifesto { display: grid; gap: 16px; padding-top: 18px; padding-bottom: 6px; }
.ed-etiket { display: block; font: 600 11.5px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ed-baslik { margin: 0; font: 700 clamp(26px, 6.6vw, 40px)/1.08 var(--font-display); letter-spacing: -.03em; color: var(--label-1); text-wrap: balance; }
.ed-alt { margin: 0; font-size: 16px; line-height: 23px; color: var(--label-2); max-width: 46ch; }
.ed-dug { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-cms-hero { margin-top: 28px; }
@media (max-width: 759px) {
  .ed-ust { font-size: 10.5px; letter-spacing: .06em; flex-wrap: nowrap; }
  .ed-ust span:nth-child(3), .ed-vitrin-ad { display: none; }
  .ed-logo { left: 5%; top: 4%; width: 30vw; }
  .ed-vitrin { right: 5%; bottom: -6%; width: 34vw; }
  .ed-perde-gor { width: 34vw; }
}

/* ---------- 2) editoryal manşetler ---------- */
.ed-manset { padding: 64px 0 18px; overflow: hidden; }
.ed-manset-baslik { margin: 6px 0 0; font: 800 clamp(40px, 9.6vw, 132px)/.94 var(--font-display); letter-spacing: -.05em; color: var(--label-1); }
.ed-satir { display: block; }
.ed-satir.sag { text-align: right; }
.ed-nokta { color: var(--brand); }
.ed-manset-alt { display: grid; gap: 14px; margin-top: 22px; max-width: 560px; }
.ed-manset-alt p { margin: 0; font-size: 16px; line-height: 23px; color: var(--label-2); }

/* ---------- 3) seçki ızgarası ---------- */
.ed-secki-ust { display: grid; gap: 6px; margin-bottom: 18px; }
.ed-dev, .bolum .ed-dev { margin: 0; font: 800 clamp(40px, 11vw, 120px)/.92 var(--font-display); letter-spacing: -.05em; color: var(--label-1); }
.ed-dev sup { font-size: .26em; letter-spacing: 0; vertical-align: super; margin-left: .2em; color: var(--accent); font-weight: 600; }
.ed-secki-alt { margin: 4px 0 0; color: var(--label-2); font-size: 15px; line-height: 22px; max-width: 60ch; }
.ed-ok { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ed-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ed-izgara .ukart { background: transparent; box-shadow: none; border-radius: 20px;
  transition: transform .5s var(--ap-yay), translate .7s cubic-bezier(.2, .8, .2, 1), opacity .7s ease; }
.ed-izgara .ukart:hover { box-shadow: none; }
.ed-izgara .ukart.ed-egik { transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .12s linear, translate .7s cubic-bezier(.2, .8, .2, 1), opacity .7s ease; }
.ed-izgara .ukart .gor { margin: 0; border-radius: 18px; padding: 10%;
  background: radial-gradient(120% 90% at 50% 18%, var(--surface) 0%, var(--surface-2) 60%, var(--fill-3) 100%); box-shadow: var(--e1); }
.ed-izgara .ukart .gor img { filter: drop-shadow(0 14px 16px rgba(74, 54, 26, .16)); transition: transform .6s var(--ap-yay); }
.ed-izgara .ukart:hover .gor img { transform: scale(1.07) translateY(-2%); }
.ed-izgara .ukart .ic { padding: 10px 4px 4px; }
/* seçkide dokunma alanı ≥ 44 px + kalp simgesi okunur (kontrast denetimi) */
.ed-izgara .fav-dug { width: 44px; height: 44px; top: 4px; right: 4px; color: var(--label-2); }
.ed-izgara .fav-dug.dolu { color: var(--accent-fill); }
.ed-izgara .ekle { width: 44px; height: 44px; }
.ed-izgara .ukart .ad { font-size: 14px; line-height: 19px; }
.ed-parla { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 246, 222, .34), transparent 62%); mix-blend-mode: soft-light; }
.ed-izgara .ukart.ed-egik .ed-parla { opacity: 1; }

/* ---------- 4) kademeli belirme (yalnız JS + hareket açıkken; "translate" ayrı özellik → kart eğimiyle çakışmaz) ---------- */
html.ed-hareket .ed-gir:not(.ed-gorundu) { opacity: 0; translate: 0 28px; }
html.ed-hareket .ed-gir { transition: opacity .7s ease calc(var(--i, 0) * 80ms), translate .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 80ms); }
html.ed-hareket .ed-satir.ed-gir:not(.ed-gorundu) { translate: -7% 0; }
html.ed-hareket .ed-satir.sag.ed-gir:not(.ed-gorundu) { translate: 7% 0; }
html.ed-hareket .ed-izgara .ukart.ed-gir { transition: transform .5s var(--ap-yay), opacity .7s ease calc(var(--i, 0) * 80ms), translate .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 80ms); }

/* ---------- 5) özel imleç (masaüstü, pointer:fine; dokunmatikte hiç yok) ---------- */
.ed-imlec { position: fixed; left: 0; top: 0; z-index: 8000; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.ed-imlec.acik { opacity: 1; }
.ed-imlec i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transition: transform .35s var(--ap-yay), opacity .3s; }
.ed-imlec span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; font: 700 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: #1A140B; transition: transform .35s var(--ap-yay), opacity .25s; white-space: nowrap; }
.ed-imlec.buyuk i { transform: scale(7.4); opacity: .92; }
.ed-imlec.buyuk span { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media not all and (hover: hover) and (pointer: fine) { .ed-imlec { display: none; } }

/* ---------- 6) dev alt işaret ---------- */
.ed-alt-marka { display: none; }
html[data-sayfa="ana"] .ed-alt-marka { display: flex; align-items: flex-start; justify-content: center; gap: .04em; overflow: clip; padding-top: .14em !important; margin: -96px auto 0; max-width: 1680px;
  padding: 0 16px calc(96px + var(--alt)); font: 800 clamp(64px, 19.5vw, 330px)/.8 var(--font-display); letter-spacing: -.055em; color: var(--label-1); }
html[data-sayfa="ana"] .alt-bilgi { padding-bottom: 120px; }
.ed-am-i { position: relative; }
.ed-am-i::after { content: ''; position: absolute; left: 50%; top: .06em; width: .17em; height: .17em; margin-left: -.085em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F6E3B8 0, #C9A266 38%, #9A7438 70%, #5E451F 100%); }
.ed-am-telif { font-size: .22em; letter-spacing: 0; font-weight: 600; color: var(--accent); margin-top: .1em; }

/* ---------- 7) geniş ekran ---------- */
@media (min-width: 760px) {
  .ed-sahne { height: clamp(300px, 36vw, 470px); }
  .ed-marka-kap { padding: 0 32px; }
  .ed-logo { left: 6%; top: 10%; width: clamp(150px, 18vw, 270px); }
  .ed-vitrin { right: 8%; bottom: -18%; width: clamp(220px, 32vw, 470px); }
  .ed-vitrin-ad { right: 32px; top: 14px; font-size: 12px; }
  .ed-manifesto { grid-template-columns: 1.25fr 1fr auto; gap: 32px; align-items: start; padding-top: 26px; }
  .ed-eylem .ed-dug { flex-direction: column; align-items: stretch; }
  .ed-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .ed-manset { padding-top: 96px; }
  .ed-manset-alt { margin-left: auto; }
  .ed-ust { font-size: 12px; }
  html[data-sayfa="ana"] .ed-alt-marka { margin-top: -40px; padding-bottom: 40px; }
  html[data-sayfa="ana"] .alt-bilgi { padding-bottom: 60px; }
}
@media (min-width: 1100px) { .ed-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

/* ---------- 8) koyu tema ayarları ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="acik"]) .ed-logo-on { filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
  :root:not([data-tema="acik"]) .ed-vitrin-oge canvas, :root:not([data-tema="acik"]) .ed-izgara .ukart .gor img { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
  :root:not([data-tema="acik"]) .ed-halka { opacity: .42; }
}
:root[data-tema="koyu"] .ed-logo-on { filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
:root[data-tema="koyu"] .ed-vitrin-oge canvas, :root[data-tema="koyu"] .ed-izgara .ukart .gor img { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
:root[data-tema="koyu"] .ed-halka { opacity: .42; }

/* ---------- 9) hareket azaltma + baskı ---------- */
@media (prefers-reduced-motion: reduce) {
  .ed-perde { display: none !important; }
  .ed-zemin i, .ed-halka { animation: none !important; }
  .ed-vitrin-oge, .ed-izgara .ukart, .ed-gir { transition: none !important; }
  .ed-izgara .ukart { transform: none !important; }
}
@media print { .ed-gir { opacity: 1 !important; translate: none !important; } .ed-arka, .ed-logo, .ed-imlec, .ed-perde { display: none !important; } }

/* cila (Claude 2026-10-27, Hallmark denetimi): dekoratif vitrin ürünü geniş ekranda (03) Alışveriş sütununun altına girmesin — yazı ve düğmeler üstte kalır */
.ed-manifesto .ed-kol { position: relative; z-index: 1; }
