/* FORMA — mobilya/ev. Editoryal serif, perde açılışlı vitrin, kaydırmaya bağlı yatay oda galerisi, ürün noktalı sahne. */
:root {
  --kit-bg: var(--tk-bg); --kit-surface: var(--tk-surface); --kit-text: var(--tk-text); --kit-muted: var(--tk-muted); --kit-soft: color-mix(in srgb, var(--tk-text) 70%, var(--tk-bg));
  --kit-line: color-mix(in srgb, var(--tk-text) 14%, transparent); --kit-line-2: color-mix(in srgb, var(--tk-text) 26%, transparent); --kit-accent: var(--tk-accent); --kit-accent-ink: #fff; --kit-accent-2: var(--tk-olive); --kit-accent-2-ink: #fff;
  --kit-link: var(--tk-accent); --kit-btn-bg: var(--tk-text); --kit-btn-ink: var(--tk-bg); --kit-btn-radius: var(--tk-radius); --kit-chip-radius: var(--tk-radius);
  --kit-radius: var(--tk-radius); --kit-radius-sm: var(--tk-radius); --kit-border-w: 1px; --kit-shadow: none; --kit-shadow-sm: none;
  --kit-font-display: var(--tk-font-display), Georgia, serif; --kit-font-body: 'Inter', system-ui, sans-serif; --kit-display-weight: 500; --kit-display-tracking: -0.01em;
  --kit-field-bg: var(--tk-surface); --kit-img-bg: color-mix(in srgb, var(--tk-text) 6%, var(--tk-bg));
  --kit-chip-on-bg: var(--tk-text); --kit-chip-on-ink: var(--tk-bg); --kit-badge-bg: var(--tk-bg); --kit-badge-ink: var(--tk-text); --kit-badge-border: 0;
  --kit-band-bg: color-mix(in srgb, var(--tk-olive) 10%, var(--tk-bg)); --kit-header-h: 80px; --kit-h1: 96px; --kit-danger: #a33b2b; --kit-ok: var(--tk-olive);
  --forma-ease: cubic-bezier(.77, 0, .18, 1);
}
.theme-forma { background: var(--tk-bg); }
.forma-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--tk-accent); }
.forma-bar { background: var(--tk-text); color: var(--tk-bg); text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; }

/* Üst bar: ince çizgi, numaralı menü */
.forma-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--tk-bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--kit-line); transition: transform .5s var(--forma-ease); }
.forma-head.hide { transform: translateY(-100%); }
.forma-head-in { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 80px; display: flex; align-items: center; gap: 40px; }
.forma-logo { font-family: var(--kit-font-display); font-size: 30px; font-weight: 500; letter-spacing: .02em; text-decoration: none; color: var(--tk-text); }
.forma-logo img { height: 34px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.forma-nav { flex: 1; display: flex; justify-content: center; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.forma-nav a { position: relative; color: var(--tk-text); text-decoration: none; font-size: 14px; white-space: nowrap; padding: 6px 0; }
.forma-nav sup { font-size: 9px; color: var(--tk-muted); margin-right: 4px; }
.forma-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--forma-ease); }
.forma-nav a:hover::after, .forma-nav a.on::after { transform: scaleX(1); transform-origin: left; }
.forma-tools { display: flex; gap: 22px; }
.forma-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--tk-text); text-decoration: none; cursor: pointer; }
.forma-link:hover { color: var(--tk-accent); }
.forma-cart b { font-weight: 600; }
.forma-search { display: none; border-top: 1px solid var(--kit-line); }
.forma-search.open { display: block; }
.forma-search form { max-width: 1440px; margin: 0 auto; padding: 14px 40px; display: flex; gap: 10px; }
.forma-search input { flex: 1; height: 44px; border: 0; border-bottom: 1px solid var(--kit-line-2); background: transparent; font-family: var(--kit-font-display); font-size: 24px; color: var(--tk-text); outline: none; }
.forma-toast { text-align: center; padding: 12px; background: var(--tk-olive); color: #fff; font-size: 14px; }
.forma-toast a { color: inherit; }
@media (max-width: 960px) { .forma-head-in { padding: 0 16px; gap: 16px; justify-content: space-between; height: 64px; } .forma-nav { display: none; } .forma-tools { gap: 14px; } .forma-search form { padding: 12px 16px; } }

/* Vitrin: perde açılışı, satır satır başlık */
.forma-hero { display: grid; grid-template-columns: 1.35fr 1fr; min-height: min(calc(100vh - 116px), 920px); border-bottom: 1px solid var(--kit-line); }
.forma-hero-media { position: relative; overflow: hidden; background: var(--kit-img-bg); clip-path: inset(0 100% 0 0); animation: forma-curtain 1.6s var(--forma-ease) .15s forwards; }
@keyframes forma-curtain { to { clip-path: inset(0 0 0 0); } }
.forma-slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--forma-ease); }
.forma-slide.on { clip-path: inset(0 0 0 0); z-index: 1; }
.forma-slide.out { clip-path: inset(0 0 0 0); z-index: 0; }
.forma-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.forma-slide.on img { transform: scale(1); }
.forma-hero-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding: 56px 56px 64px; }
.forma-index { font-family: var(--kit-font-display); font-size: 18px; color: var(--tk-muted); margin-bottom: auto; }
.forma-index b { color: var(--tk-text); font-weight: 500; font-size: 40px; }
.forma-title { margin: 0; font-family: var(--kit-font-display); font-weight: 400; font-size: clamp(56px, 7.4vw, 124px); line-height: .9; letter-spacing: -0.02em; }
.forma-title > span { display: block; overflow: hidden; padding-bottom: .06em; }
.forma-title > span > i { display: block; font-style: normal; transform: translateY(105%); animation: forma-line 1.1s var(--forma-ease) forwards; }
.forma-title > span:nth-child(2) > i { animation-delay: .12s; font-style: italic; color: var(--tk-accent); }
.forma-title > span:nth-child(3) > i { animation-delay: .24s; }
.forma-title.swap > span > i { animation: forma-line-swap 1.1s var(--forma-ease) both; }
@keyframes forma-line { from { transform: translateY(105%); } to { transform: none; } }
@keyframes forma-line-swap { 0% { transform: none; } 45% { transform: translateY(-105%); } 46% { transform: translateY(105%); } 100% { transform: none; } }
.forma-hero-copy p { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.7; color: var(--tk-muted); }
.forma-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.forma-arrows { display: flex; gap: 8px; }
.forma-arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--kit-line-2); background: transparent; color: var(--tk-text); font-size: 18px; cursor: pointer; transition: background .3s, color .3s; }
.forma-arrows button:hover { background: var(--tk-text); color: var(--tk-bg); }
@media (max-width: 960px) { .forma-hero { grid-template-columns: 1fr; min-height: 0; max-height: none; } .forma-hero-media { aspect-ratio: 4 / 3.4; } .forma-hero-copy { padding: 28px 16px 40px; } .forma-index { margin-bottom: 0; } }

/* Kayan serif şerit */
.forma-marquee { overflow: hidden; border-bottom: 1px solid var(--kit-line); padding: 18px 0; }
.forma-marquee > div { display: flex; gap: 32px; width: max-content; align-items: center; font-family: var(--kit-font-display); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--tk-text); animation: forma-marquee 40s linear infinite; }
.forma-marquee i { font-style: normal; color: var(--tk-accent); }
@keyframes forma-marquee { to { transform: translateX(-33.333%); } }

/* Odalar: dikey kaydırma → yatay hareket */
.forma-rail { position: relative; height: calc(100vh + var(--n) * 30vh); }
.forma-rail-sticky { position: sticky; top: 80px; height: calc(100vh - 80px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 0 0 0 40px; }
.forma-rail-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-right: 40px; }
.forma-rail-head .kit-h2 { flex: 1; }
.forma-rail-hint { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--tk-muted); }
.forma-rail-track { display: flex; gap: 28px; width: max-content; will-change: transform; }
.forma-room { position: relative; display: block; width: clamp(280px, 30vw, 440px); color: var(--tk-text); text-decoration: none; }
.forma-room .kit-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--kit-img-bg); }
.forma-room img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--forma-ease); }
.forma-room:hover img { transform: scale(1.02); }
.forma-room-meta { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--kit-line-2); margin-top: 14px; }
.forma-room-meta sup { font-size: 11px; color: var(--tk-muted); }
.forma-room-meta b { font-family: var(--kit-font-display); font-weight: 500; font-size: 30px; flex: 1; }
.forma-room-meta i { font-style: normal; font-size: 13px; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s; }
.forma-room:hover .forma-room-meta i { opacity: 1; transform: none; }
@media (max-width: 960px) { .forma-rail { height: auto; } .forma-rail-sticky { position: static; height: auto; padding: 56px 0 0 16px; } .forma-rail-track { overflow-x: auto; width: auto; padding-right: 16px; scroll-snap-type: x mandatory; } .forma-room { flex: none; width: 74vw; scroll-snap-align: start; } }

.forma-section { max-width: 1440px; margin: 0 auto; padding: 110px 40px 0; }
.forma-section-head { display: flex; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--kit-line); }
.forma-section-head .forma-eyebrow { width: 100%; }
.forma-section-head .kit-h2 { flex: 1; font-size: clamp(34px, 4.4vw, 64px); }
.forma-more { color: var(--tk-text); font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 760px) { .forma-section { padding: 72px 16px 0; } }

/* Sahne: nabız atan ürün noktaları */
.forma-scene { position: relative; aspect-ratio: 16 / 8; background: var(--kit-img-bg); }
.forma-scene > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.forma-spot { position: absolute; transform: translate(-50%, -50%); }
.forma-spot > button { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 0; background: color-mix(in srgb, #fff 92%, transparent); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.forma-spot > button::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #fff; animation: forma-pulse 2.2s ease-out infinite; }
.forma-spot > button i { position: absolute; inset: 12px; border-radius: 50%; background: var(--tk-accent); transition: transform .3s; }
.forma-spot > button[aria-expanded=true] i { transform: scale(1.6); }
@keyframes forma-pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.forma-spot-card { position: absolute; left: 50%; bottom: calc(100% + 16px); width: 250px; display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--tk-bg); color: var(--tk-text); text-decoration: none; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .35s, transform .35s var(--forma-ease), visibility 0s .35s; }
.forma-spot > button[aria-expanded=true] + .forma-spot-card, .forma-spot:hover .forma-spot-card { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s, transform .35s var(--forma-ease); }
.forma-spot-card .kit-img { width: 64px; height: 64px; flex: none; overflow: hidden; }
.forma-spot-card img { width: 100%; height: 100%; object-fit: cover; }
.forma-spot-card b { display: block; font-family: var(--kit-font-display); font-size: 18px; font-weight: 500; line-height: 1.1; }
.forma-spot-card small { color: var(--tk-accent); font-size: 13px; font-weight: 600; }
@media (max-width: 760px) { .forma-scene { aspect-ratio: 4 / 3.6; } .forma-spot-card { width: 200px; } }

/* Ürün kartı: ikinci görsele geçiş, alttan "İncele" */
.forma-card { display: flex; flex-direction: column; gap: 14px; }
.forma-card-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--kit-img-bg); }
.forma-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s, transform 1.2s var(--forma-ease); }
.forma-card-img img.alt { opacity: 0; }
.forma-card:hover .forma-card-img.has-alt img.alt { opacity: 1; }
.forma-card:hover .forma-card-img img { transform: scale(1.04); }
.forma-tag { position: absolute; left: 0; top: 14px; padding: 6px 12px; background: var(--tk-bg); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.forma-card-view { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: color-mix(in srgb, var(--tk-bg) 92%, transparent); text-align: center; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; transform: translateY(100%); transition: transform .5s var(--forma-ease); }
.forma-card:hover .forma-card-view, .forma-card-img:focus-visible .forma-card-view { transform: none; }
.forma-card-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; }
.forma-card-name { font-family: var(--kit-font-display); font-size: 22px; line-height: 1.15; color: var(--tk-text); text-decoration: none; }
.forma-card-meta { grid-column: 1; font-size: 13px; color: var(--tk-muted); }
.forma-card-price { grid-column: 2; grid-row: 1; font-size: 15px; font-weight: 600; white-space: nowrap; text-align: right; }
.forma-card-price s { display: block; font-weight: 400; font-size: 12px; color: var(--tk-muted); }

/* Altbilgi: dev marka yazısı */
.forma-foot { margin-top: 130px; border-top: 1px solid var(--kit-line); }
.forma-foot-in { max-width: 1440px; margin: 0 auto; padding: 64px 40px 24px; display: flex; flex-direction: column; gap: 56px; overflow: hidden; }
.forma-foot-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.forma-foot-quote { margin: 0; font-family: var(--kit-font-display); font-style: italic; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; }
.forma-news { display: flex; flex-direction: column; gap: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tk-muted); margin: 0; }
.forma-news span { display: flex; border-bottom: 1px solid var(--tk-text); }
.forma-news input { flex: 1; height: 52px; border: 0; background: transparent; font: inherit; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--tk-text); outline: none; }
.forma-news button { border: 0; background: none; font-size: 24px; color: var(--tk-text); cursor: pointer; transition: transform .3s; }
.forma-news button:hover { transform: translateX(6px); }
.forma-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.forma-foot-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.forma-foot-cols span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--tk-muted); margin-bottom: 6px; }
.forma-foot-cols a, .forma-foot-bottom a { color: var(--tk-text); text-decoration: none; }
.forma-foot-cols a:hover { color: var(--tk-accent); }
.forma-foot-brand { font-family: var(--kit-font-display); font-size: clamp(56px, 10.5vw, 200px); line-height: .85; letter-spacing: -0.04em; overflow-wrap: anywhere; color: color-mix(in srgb, var(--tk-text) 92%, var(--tk-bg)); }
.forma-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--kit-line); font-size: 13px; color: var(--tk-muted); }
@media (max-width: 960px) { .forma-foot-in { padding: 48px 16px 20px; gap: 40px; } .forma-foot-top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .forma-hero-media, .forma-title > span > i { animation: none !important; clip-path: none; transform: none; } .forma-marquee > div, .forma-spot > button::before { animation: none !important; } }

/* Telefonda iki sütun ürün */
@media (max-width: 600px) { .theme-forma .kit-grid { --kit-card-min: 150px !important; gap: 12px; } }
@media (max-width: 600px) { .forma-card-body { grid-template-columns: 1fr; } .forma-card-price { grid-column: 1; grid-row: auto; text-align: left; } .forma-card-name { font-size: 18px; } }
