/* Hızlı mimari render ve film sayfasının kendi dili (bileşen: components/hizmet/kimlik/HizliRender.astro): render konsolu, ışık ve kamera.
   Render geçişleri · model→render kareleri · kamera göstergeli kare · güneş yolu · kamera yer imleri · teslim notu · kamera numaralı rehber. */
.hk-hizli-mimari-render { --hk-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; --hk-konsol: #12161F; --hk-su: #0E8FA8; --hk-gunes: #F5B841; }

/* ───────── Öne çıkanlar: render geçişleri ───────── */
.hk-gecis-bolum { padding-top: 6px; }
.hk-gecisler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hk-gecisler li { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 24px 26px; border-radius: 18px; background: var(--hk-konsol); color: #FFFFFF; box-shadow: 0 24px 50px rgba(18, 22, 31, .22); overflow: hidden; }
.hk-gecisler li.g1 { background: linear-gradient(160deg, #1B2333, #10131B); }
.hk-gecisler li.g2 { background: radial-gradient(90% 70% at 90% 0%, rgba(14, 143, 168, .45), transparent 60%), linear-gradient(160deg, #13293A, #0E1219); }
.hk-gecisler li.g3 { background: radial-gradient(90% 70% at 10% 0%, rgba(245, 184, 65, .32), transparent 60%), linear-gradient(160deg, #2B2216, #110F0C); }
.hk-gecis__ad { font: 700 11.5px/1 var(--hk-mono); letter-spacing: .08em; color: #9BE6F3; }
.hk-gecis__histo { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin: 18px 0 20px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hk-gecis__histo i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, rgba(155, 230, 243, .85), rgba(139, 108, 255, .5)); }
.hk-gecisler h2 { margin: 0; font-family: var(--ds-display); font-size: 23px; line-height: 1.15; letter-spacing: -.02em; color: #FFFFFF; }
.hk .hk-gecisler p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .74); }

/* ───────── Modelden render'a ───────── */
.hk-donusum { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; }
.hk-vp { position: relative; margin: 0; min-width: 0; padding: 10px; border-radius: 18px; background: #E9ECF2; box-shadow: 0 20px 44px rgba(29, 24, 48, .12); }
.hk-vp.cikti { background: var(--hk-konsol); }
.hk-vp img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.hk-vp__bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 4px 10px; font: 600 12px/1.3 var(--hk-mono); color: #4A5263; }
.hk-vp.cikti .hk-vp__bas { color: rgba(255, 255, 255, .7); }
.hk-vp__bas b { font-weight: 700; color: var(--ds-ink); }
.hk-vp.cikti .hk-vp__bas b { color: #9BE6F3; }
.hk-vp__bas em { font-style: normal; min-width: 0; text-align: right; overflow-wrap: anywhere; }
.hk-donusum__ok { display: grid; justify-items: center; gap: 8px; color: var(--hk-su); font-size: 22px; }
.hk-donusum__ok small { font: 700 11px/1.2 var(--hk-mono); letter-spacing: .06em; text-transform: none; color: var(--ds-muted); white-space: nowrap; }

.hk-hud { position: relative; margin: 26px 0 0; overflow: hidden; border-radius: 22px; background: var(--hk-konsol); box-shadow: 0 30px 60px rgba(18, 22, 31, .28); }
.hk-hud img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hk-hud__kose { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .8); }
.hk-hud__kose.k1 { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hk-hud__kose.k2 { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.hk-hud__kose.k3 { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.hk-hud__kose.k4 { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.hk-hud__ust { position: absolute; top: 24px; left: 56px; right: 56px; display: flex; justify-content: space-between; gap: 12px; font: 700 12px/1.3 var(--hk-mono); color: #FFFFFF; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.hk-hud__ust em { font-style: normal; font-weight: 500; opacity: .8; }
.hk-hud__alt { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 40px); padding: 10px 16px; border-radius: 999px; background: rgba(18, 22, 31, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #FFFFFF; font: 600 12.5px/1 var(--hk-mono); white-space: nowrap; }
.hk-hud__alt .fa-sun { color: var(--hk-gunes); }
.hk-hud__alt .fa-moon { color: #C9BAFF; }
.hk-hud__ray { position: relative; width: 120px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.hk-hud__ray i { position: absolute; top: 50%; left: 82%; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(155, 230, 243, .35); animation: hk-ray 6s ease-in-out infinite alternate; }
@keyframes hk-ray { from { left: 30%; } to { left: 86%; } }
.hk-hud__alt em { font-style: normal; font-weight: 500; opacity: .75; }
.hk-hud figcaption { position: absolute; top: 56px; left: 56px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: 12px; font-weight: 600; color: var(--ds-ink); }

/* ───────── Süreç: güneş yolu ───────── */
.hk-gunes { position: relative; padding: 30px 26px 26px; border-radius: 24px; background: linear-gradient(180deg, #FFF7EA 0%, #F3F0FF 55%, #E8EEFF 100%); box-shadow: inset 0 0 0 1px var(--ds-line); }
.hk-gunes__yay { position: absolute; left: 4%; right: 4%; top: 26px; width: 92%; height: 110px; overflow: visible; }
.hk-gunes__yay path { fill: none; stroke: rgba(245, 184, 65, .65); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.hk-gunes ol { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.hk-gunes li { --y: calc((var(--i) - (var(--n) - 1) / 2) * (var(--i) - (var(--n) - 1) / 2) * 14px); display: flex; flex-direction: column; min-width: 0; padding-top: var(--y); }
.hk-gunes li { counter-increment: none; }
.hk-gunes__nokta { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 10px 24px rgba(245, 184, 65, .35); color: var(--hk-gunes); font-size: 18px; }
.hk-gunes li:last-child .hk-gunes__nokta { color: #6B55D9; box-shadow: 0 10px 24px rgba(107, 85, 217, .3); }
.hk-gunes small { margin-top: 10px; font: 700 12px/1 var(--hk-mono); color: var(--ds-muted-2); }
.hk-gunes b { margin-top: 8px; font-family: var(--ds-display); font-size: 17.5px; line-height: 1.25; color: var(--ds-ink); overflow-wrap: break-word; }
.hk .hk-gunes p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ds-muted); }

/* ───────── Kimler için: kamera yer imleri ───────── */
.hk-kameralar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hk-kamera { min-width: 0; padding: 18px 20px 22px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 18px 40px rgba(29, 24, 48, .09), 0 0 0 1px var(--ds-line); }
.hk-kamera__ust { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--hk-mono); color: var(--ds-ink); }
.hk-kamera__ust em { font-style: normal; font-weight: 500; color: var(--ds-muted-2); }
.hk-kamera__ust i { margin-left: auto; color: var(--hk-su); }
.hk-kamera__vizor { position: relative; display: block; height: 92px; margin: 14px 0 16px; border-radius: 12px; background: linear-gradient(160deg, #DDF4F8, #EEE9FF); overflow: hidden; }
.hk-kamera.c2 .hk-kamera__vizor { background: linear-gradient(160deg, #FFE9DC, #F1ECFF); }
.hk-kamera.c3 .hk-kamera__vizor { background: linear-gradient(160deg, #F2F7D8, #E4F5F8); }
.hk-kamera.c4 .hk-kamera__vizor { background: linear-gradient(160deg, #EAE4FF, #FFEFE7); }
.hk-kamera__vizor::before, .hk-kamera__vizor::after { content: ""; position: absolute; background: rgba(29, 24, 48, .14); }
.hk-kamera__vizor::before { left: 33.3%; right: 33.3%; top: 0; bottom: 0; border-inline: 1px solid rgba(29, 24, 48, .14); background: transparent; }
.hk-kamera__vizor::after { top: 33.3%; bottom: 33.3%; left: 0; right: 0; border-block: 1px solid rgba(29, 24, 48, .14); background: transparent; }
.hk-kamera__vizor i { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; translate: -50% -50%; border: 2px solid var(--hk-su); border-radius: 4px; }
.hk-kamera h3 { margin: 0; font-family: var(--ds-display); font-size: 18.5px; line-height: 1.25; color: var(--ds-ink); }
.hk .hk-kamera p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ds-muted); }

/* ───────── Çıktılar: teslim notu ───────── */
.hk-teslim-izgara { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.hk-not { position: relative; padding: 28px 30px 26px; border-radius: 6px; background: #FFFEFA; box-shadow: 0 24px 50px rgba(29, 24, 48, .12), 0 0 0 1px rgba(29, 24, 48, .06); rotate: -.6deg; }
.hk-not::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 24px; translate: -50% 0; rotate: 2deg; background: rgba(155, 230, 243, .55); }
.hk-not__bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding-bottom: 14px; border-bottom: 1px dashed rgba(29, 24, 48, .2); }
.hk-not__bas b { font-family: var(--ds-display); font-size: 21px; color: var(--ds-ink); }
.hk-not__bas span { font: 600 12px/1.3 var(--hk-mono); color: var(--ds-muted-2); }
.hk-not ul { margin: 14px 0 0; padding: 0; list-style: none; }
.hk-not li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(29, 24, 48, .06); font-size: 15px; line-height: 1.5; color: var(--ds-ink); }
.hk-not li i { flex: 0 0 auto; margin-top: 3px; color: var(--hk-su); }
.hk-not li span { min-width: 0; }
.hk-not__imza { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 18px; font: 600 12px/1 var(--hk-mono); color: var(--ds-muted-2); }
.hk-not__imza span { display: inline-flex; align-items: flex-end; gap: 8px; }
.hk-not__imza i { display: inline-block; width: 90px; border-bottom: 1px solid rgba(29, 24, 48, .3); }

/* ───────── Rehber: kamera numaralı satırlar ───────── */
.hk-rehber.kamera .hk-rehber__liste { border-radius: 22px; background: #FFFFFF; box-shadow: 0 20px 44px rgba(29, 24, 48, .08), 0 0 0 1px var(--ds-line); padding: 6px 26px; }
.hk-rehber.kamera .hk-rehber__madde { border-bottom: 1px solid var(--ds-line); }
.hk-rehber.kamera .hk-rehber__madde:last-child { border-bottom: 0; }
.hk-rehber.kamera .hk-rehber__madde > summary { padding: 20px 0; }
.hk-rehber.kamera .hk-rehber__on { padding: 6px 9px; border-radius: 8px; background: var(--hk-konsol); font: 700 11.5px/1 var(--hk-mono); color: #9BE6F3; }
.hk-rehber.kamera .hk-rehber__ok { color: var(--hk-su); }

@media (max-width: 1099.98px) {
  .hk-kameralar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-gunes ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hk-gunes li { padding-top: 0; }
  .hk-gunes__yay { display: none; }
}
@media (max-width: 899.98px) {
  .hk-donusum { grid-template-columns: minmax(0, 1fr); }
  .hk-donusum__ok { grid-auto-flow: column; align-items: center; rotate: 0deg; }
  .hk-donusum__ok i { rotate: 90deg; }
  .hk-teslim-izgara { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 767.98px) {
  .hk-gecisler li { flex: 0 0 var(--w); scroll-snap-align: start; }
  .hk-kamera { flex: 0 0 var(--w); scroll-snap-align: start; }
  .hk-gunes { padding: 22px 18px; }
  .hk-gunes ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hk-gunes li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 0 0 18px; }
  .hk-gunes__nokta { grid-row: span 3; }
  .hk-gunes small { margin-top: 2px; }
  .hk-hud__ust { left: 40px; right: 40px; top: 16px; font-size: 11px; }
  .hk-hud__ust em { display: none; }
  .hk-hud__kose { width: 18px; height: 18px; }
  .hk-hud__kose.k1, .hk-hud__kose.k2 { top: 10px; }
  .hk-hud__kose.k3, .hk-hud__kose.k4 { bottom: 10px; }
  .hk-hud__kose.k1, .hk-hud__kose.k3 { left: 10px; }
  .hk-hud__kose.k2, .hk-hud__kose.k4 { right: 10px; }
  .hk-hud__alt { bottom: 12px; gap: 8px; padding: 7px 12px; font-size: 11px; }
  .hk-hud__alt em { display: none; }
  .hk-hud__ray { width: 64px; }
  .hk-hud figcaption { top: 38px; left: 14px; padding: 4px 8px; font-size: 11px; }
  .hk-not { padding: 24px 18px 22px; rotate: 0deg; }
  .hk-rehber.kamera .hk-rehber__liste { padding: 4px 16px; }
}
@media (prefers-reduced-motion: reduce) { .hk-hud__ray i { animation: none; } }
