/* Baba Torna — page components (used by every page except the 3D studio) */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }
.h2 { font-size: clamp(36px, 4.8vw, 72px); }
.intro { color: var(--muted); font-size: 17px; max-width: 560px; margin-top: 18px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.textlink { font-size: 14.5px; color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.textlink:hover { color: var(--text); border-color: var(--text); }
@media (max-width: 860px) { .wrap { padding: 0 20px; } section { padding: 84px 0; } .h2 { font-size: clamp(32px, 9vw, 52px); } }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s; }
.nav.solid, .nav.static { background: rgba(11,11,12,.86); backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.wordmark { font: 800 18px/1 var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: .03em; white-space: nowrap; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; } .nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
@media (max-width: 1000px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav-cta .btn-line { display: none; } }

/* mobile menu */
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: 0 0 auto; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 15px; } .menu-btn span:last-child { top: 23px; }
.menu-open .menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }
@media (max-width: 1000px) { .menu-btn { display: block; } }
.mmenu { position: fixed; inset: 0; z-index: 45; background: rgba(11,11,12,.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px 20px calc(28px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.mmenu[hidden] { display: flex; } .mmenu:focus { outline: none; }
.menu-open .mmenu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a { font: 800 clamp(30px, 9vw, 44px)/1.15 var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase;
  padding: 10px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mmenu nav a[aria-current] { color: var(--accent); }
.menu-open .mmenu nav a { opacity: 1; transform: none; }
.menu-open .mmenu nav a:nth-child(1) { transition-delay: .05s; } .menu-open .mmenu nav a:nth-child(2) { transition-delay: .09s; }
.menu-open .mmenu nav a:nth-child(3) { transition-delay: .13s; } .menu-open .mmenu nav a:nth-child(4) { transition-delay: .17s; }
.menu-open .mmenu nav a:nth-child(5) { transition-delay: .21s; } .menu-open .mmenu nav a:nth-child(6) { transition-delay: .25s; }
.mmenu-foot { display: grid; gap: 10px; opacity: 0; transition: opacity .5s var(--ease) .25s; }
.menu-open .mmenu-foot { opacity: 1; }
.menu-open { overflow: hidden; }
.menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }
.page { padding-top: 72px; }

/* hero (home) */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; overflow: hidden; padding: 0;
  background: radial-gradient(60% 70% at 72% 48%, #202024 0%, #131315 45%, var(--bg) 80%); }
.hero-copy { position: relative; z-index: 2; padding: 120px 0 100px max(32px, calc((100vw - 1280px) / 2 + 32px)); }
.hero h1 { font-size: clamp(40px, 4.8vw, 80px); font-stretch: 108%; font-variation-settings: "wdth" 108; line-height: 1.04; }
.hero .lead { color: #bcbbb6; font-size: 18px; max-width: 460px; margin-top: 28px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; font-size: 13.5px; color: var(--muted); }
.facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: 2px; }
.hero-3d { position: relative; height: min(100svh, 980px); min-height: 600px; }
.hero-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-3d canvas.ready { opacity: 1; }
.hero-3d .fallback { position: absolute; inset: 12% 6%; width: 88%; height: 76%; object-fit: contain; }
.configure { position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(18,18,20,.7); backdrop-filter: blur(16px); border: 1px solid var(--line); white-space: nowrap; }
.configure .swatches { gap: 8px; flex-wrap: nowrap; } .configure .swatches button { width: 22px; height: 22px; }
.configure .seg { background: transparent; border: 0; padding: 0; } .configure .seg button { height: 32px; padding: 0 12px; font-size: 12.5px; }
.configure .divider { width: 1px; height: 22px; background: var(--line-2); }
@media (max-width: 960px) {
  /* mobile first: the 3D bar IS the hero; copy follows */
  .hero { grid-template-columns: 1fr; min-height: 100svh; align-content: start;
    background: radial-gradient(120% 60% at 50% 30%, #222226 0%, #141416 50%, var(--bg) 85%); }
  .hero-3d { order: -1; height: 58svh; min-height: 380px; margin-top: 64px; }
  .configure { bottom: 12px; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 12px; border-radius: 22px; max-width: calc(100% - 32px); }
  .configure .divider { display: none; }
  .configure .seg { display: flex; } .configure .seg button { height: 30px; padding: 0 11px; font-size: 12px; }
  .hero-copy { padding: 26px 20px 40px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 48px); }
  .hero .lead { font-size: 16px; margin-top: 16px; }
  .hero .ctas { margin-top: 24px; } .hero .ctas .btn { flex: 1 1 auto; padding: 0 18px; }
  .facts { margin-top: 24px; font-size: 12.5px; gap: 6px 16px; }
}


/* model cards */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 40px 22px; }
.card { display: block; }
.card .frame { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .frame img { transform: scale(1.035); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.card h3 { font: 800 20px/1.1 var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; }
.card .years { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.card .arrow { color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.card:hover .arrow { transform: translateX(4px); color: var(--text); }

/* order steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { list-style: none; padding: 28px 28px 0 0; }
.steps .n { font-size: 12.5px; color: var(--faint); }
.steps h3 { font: 700 19px/1.3 var(--body); margin: 14px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.promise { margin-top: 64px; padding: 36px 40px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.promise blockquote { font: 600 clamp(19px, 2vw, 25px)/1.45 var(--body); letter-spacing: -.01em; }
.promise cite { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 20px; } .promise { grid-template-columns: 1fr; padding: 28px 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* 3D teaser */
.studio { background: var(--surface); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare figure { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #0e0e10; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare figcaption { position: absolute; left: 16px; bottom: 14px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* workshop */
.proc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.pstage { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pstage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.pstage img.on { opacity: 1; }
.track { height: 2px; background: var(--line-2); margin-top: 24px; position: relative; }
.track i { position: absolute; inset: 0 auto 0 0; background: var(--text); transition: width .6s var(--ease); }
.psteps button { display: block; width: 100%; text-align: left; padding: 20px 0; border-top: 1px solid var(--line); opacity: .4; transition: opacity .4s var(--ease); }
.psteps button.on, .psteps button:hover { opacity: 1; }
.psteps strong { font-size: 17px; } .psteps small { color: var(--faint); margin-right: 12px; }
.psteps span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 960px) { .proc { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 600 18px/1.4 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; max-width: 720px; }

/* contact + footer */
.contact { border-top: 1px solid var(--line); }
.contact .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: end; }
.contact .h2 { font-size: clamp(40px, 6vw, 96px); }
.phone { display: inline-block; font: 800 clamp(28px, 3.4vw, 48px)/1 var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; margin-top: 32px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.phone:hover { border-color: var(--text); }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; border-top: 1px solid var(--line); transition: padding .3s var(--ease); }
.links a:last-child { border-bottom: 1px solid var(--line); }
.links a span { color: var(--muted); font-size: 14px; text-align: right; }
.links a:hover { padding-left: 6px; }
@media (max-width: 860px) { .contact .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--text); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer li { list-style: none; padding: 4px 0; } .footer a:hover { color: var(--text); }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr; gap: 28px; } }

/* model page */
.crumbs { font-size: 13px; color: var(--muted); padding: 28px 0 0; }
.crumbs a:hover { color: var(--text); } .crumbs span { margin: 0 8px; color: var(--faint); }
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; padding: 28px 0 96px; align-items: start; }
.gallery .main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery .thumbs button { flex: 0 0 72px; height: 72px; border-radius: 8px; overflow: hidden; opacity: .5; transition: opacity .2s; box-shadow: inset 0 0 0 1px var(--line); }
.gallery .thumbs button.on { opacity: 1; box-shadow: 0 0 0 1.5px var(--text); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { position: sticky; top: 104px; }
.pinfo h1 { font-size: clamp(30px, 3vw, 46px); }
.pinfo .desc { color: #c3c2bd; margin-top: 22px; font-size: 16.5px; }
.spec { margin: 30px 0; }
.spec div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); } .spec dd { text-align: right; }
.dots { display: inline-flex; gap: 6px; vertical-align: middle; } .dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.pinfo .acts { display: grid; gap: 10px; }
.pinfo .acts .btn { width: 100%; }
@media (max-width: 960px) { .product { grid-template-columns: 1fr; gap: 36px; } .pinfo { position: static; } }
.onbike { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.onbike button { aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.onbike img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.onbike button:hover img { transform: scale(1.03); }

/* gallery page */
.filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.filter button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: all .2s var(--ease); }
.filter button:hover { color: var(--text); border-color: var(--line-2); }
.filter button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.masonry { columns: 4 250px; column-gap: 14px; }
.masonry button { display: block; width: 100%; break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.masonry button:hover img { transform: scale(1.03); }
.masonry button[hidden] { display: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5,5,6,.96); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lb p { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13.5px; padding: 0 80px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 20px; background: rgba(11,11,12,.6); }
.lb .lx { top: 20px; right: 20px; } .lb .lp { left: 20px; top: calc(50% - 24px); } .lb .ln { right: 20px; top: calc(50% - 24px); }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound p { color: var(--muted); margin: 20px 0 32px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* info pages (Sipariş, SSS, İletişim, Atölye) */
.page-hero { padding: 40px 0 32px; }
.page-hero .crumbs { padding: 0 0 28px; }
.h1 { font-size: clamp(40px, 6.4vw, 96px); }
.h3 { font-size: clamp(26px, 2.8vw, 40px); }
.lede { font-size: 18px; max-width: 640px; color: #bdbcb7; }
.split2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; padding-top: 48px; border-top: 1px solid var(--line); }
.checklist { list-style: none; }
.checklist li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist span { color: var(--muted); text-align: right; font-size: 14.5px; }
.prose p { color: #c3c2bd; font-size: 16.5px; max-width: 620px; }
.prose p + p { margin-top: 14px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principles div { padding: 32px 28px 0 0; }
.principles b { font: 800 40px/1 var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; }
.principles h4 { font-size: 16px; margin: 18px 0 8px; } .principles p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) {
  .page-hero { padding: 24px 0 16px; }
  .split2 { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; }
  .checklist li { flex-direction: column; gap: 4px; } .checklist span { text-align: left; }
  .principles { grid-template-columns: 1fr 1fr; gap: 0 20px; }
}

/* prices */
.card .price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.pricebox { margin-top: 26px; padding: 18px 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.pricebox b { display: block; font: 800 30px/1.1 var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; margin-top: 6px; }
.pricebox small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.pricebox p { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.prices { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prices th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px 0; }
.prices td { padding: 15px 12px 15px 0; border-top: 1px solid var(--line); }
.prices td:last-child, .prices th:last-child { text-align: right; padding-right: 0; font-weight: 600; white-space: nowrap; }
.prices tr:last-child td { border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .prices td:nth-child(2), .prices th:nth-child(2) { display: none; } }

/* workshop story (Atölye): sticky photo + steps */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.story-media { position: sticky; top: 104px; }
.story .pstage { cursor: default; }
.story-bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.story-meta { flex: 1; display: grid; gap: 8px; }
.story-meta span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.story-meta .track { margin-top: 0; }
.snav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; flex: 0 0 auto; transition: border-color .2s, background .2s; }
.snav:hover { border-color: var(--text); background: var(--surface-2); }
.story-steps { list-style: none; }
.story-step { min-height: 62vh; display: flex; align-items: center; }
.story-step:last-child { min-height: 70vh; }
.story-step button { text-align: left; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); width: 100%;
  opacity: .42; transform: scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s; }
.story-step.on button { opacity: 1; transform: none; border-color: var(--line-2); }
.story-step small { display: block; color: var(--accent); font-size: 13px; margin-bottom: 10px; }
.story-step strong { display: block; font: 800 26px/1.15 var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; }
.story-step span { display: block; color: var(--muted); margin-top: 10px; font-size: 16px; }
@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-media { top: 72px; z-index: 2; background: var(--bg); padding-bottom: 12px; }
  .story .pstage { aspect-ratio: 4 / 3; }
  .story-step { min-height: 34vh; align-items: flex-start; }
  .story-step:first-child { padding-top: 16px; }
  .story-step:last-child { min-height: 52vh; }
}
