/* Ana sayfadaki hazır siteler şeridi ve /hazir-siteler sayfası */

/* ---------- Ana sayfa şeridi ---------- */
.demo-teaser { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dt-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.dt-copy > p:not(.kicker) { color: var(--muted); margin-top: 0.9rem; font-size: 1.02rem; line-height: 1.6; }
.dt-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.dt-actions .btn .ico { width: 16px; height: 16px; margin-left: 0.2rem; transition: transform 0.25s var(--ease); }
.dt-actions .btn:hover .ico { transform: translateX(3px); }
.dt-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.dt-tags li { font-size: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); }

.dt-stack { position: relative; display: block; height: 380px; perspective: 1400px; }
.dt-card {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translate(calc(-50% + (var(--i) - 2.5) * 13%), calc(-50% + (var(--i) - 2.5) * 5%)) rotate(calc((var(--i) - 2.5) * 3.2deg));
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
  z-index: calc(10 - var(--i));
}
.dt-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dt-stack:hover .dt-card { transform: translate(calc(-50% + (var(--i) - 2.5) * 19%), calc(-50% + (var(--i) - 2.5) * 6%)) rotate(calc((var(--i) - 2.5) * 4.6deg)); }
.dt-stack:hover .dt-card:nth-child(1) { box-shadow: 0 30px 70px rgba(15, 15, 14, 0.25); }

/* ---------- Üst menü bu sayfada da görünsün ---------- */
body[data-view="gallery"] .topbar .tb-links { display: flex; }

/* ---------- Sayfa ---------- */
.gallery { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem 0; }
.gv-hero { padding: clamp(2.5rem, 7vh, 4.5rem) 0 2rem; text-align: center; max-width: 820px; margin: 0 auto; animation: fadeUp 0.6s var(--ease) both; }
.gv-crumb { display: inline-flex; gap: 0.5rem; font-size: 0.84rem; color: var(--muted); margin-bottom: 1rem; }
.gv-crumb a { color: var(--muted); text-decoration: none; }
.gv-crumb a:hover { color: var(--ink); }
.gv-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.045em; line-height: 1; }
.gv-sub { color: var(--muted); font-size: 1.06rem; line-height: 1.6; margin: 1rem auto 0; max-width: 40rem; }
.gv-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.8rem 0 0; }
.gv-facts li { display: flex; align-items: baseline; gap: 0.35rem; padding: 0.5rem 0.95rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; }
.gv-facts b { font-weight: 650; }
.gv-facts span { color: var(--muted); }

.gv-bar { position: sticky; top: var(--header); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; margin-bottom: 1.2rem; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gv-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.gv-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 0.86rem; padding: 0.45rem 0.9rem; border-radius: 99px; cursor: pointer; transition: all 0.2s; }
.gv-chip:hover { border-color: var(--line-2); color: var(--ink); }
.gv-chip.active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.gv-sort select { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.86rem; padding: 0 0.7rem; }

.gv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gv-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; animation: fadeUp 0.55s var(--ease) both; animation-delay: calc(var(--i) * 0.06s); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.gv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gv-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--surface-2); cursor: pointer; overflow: hidden; text-align: left; }
.gv-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.gv-card:hover .gv-shot img { transform: scale(1.03); }
.gv-hover { position: absolute; inset: 28px 0 0; display: grid; place-items: center; background: rgba(15, 15, 14, 0.32); opacity: 0; transition: opacity 0.3s; }
.gv-hover .btn { transform: translateY(8px); transition: transform 0.3s var(--ease); }
.gv-shot:hover .gv-hover, .gv-shot:focus-visible .gv-hover { opacity: 1; }
.gv-shot:hover .gv-hover .btn { transform: none; }
.gv-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.gv-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.gv-pkg { font-size: 0.76rem; color: var(--muted); }
.gv-body h3 { font-size: 1.3rem; letter-spacing: -0.025em; margin: 0; }
.gv-body > p { margin: 0; font-size: 0.93rem; line-height: 1.55; }
.gv-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.gv-tags li { font-size: 0.74rem; font-weight: 600; padding: 0.22rem 0.6rem; border-radius: 99px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.gv-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.gv-price { display: grid; gap: 0.1rem; }
.gv-price strong { font-size: 1.45rem; letter-spacing: -0.02em; }
.gv-actions { display: flex; gap: 0.5rem; }
.gv-actions .btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.gv-actions .ico, .gv-hover .ico { width: 15px; height: 15px; }

.gv-section { padding: clamp(4rem, 9vh, 6rem) 0 0; }
.gv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: st; }
.gv-steps li { position: relative; display: grid; gap: 0.5rem; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: st; }
.gv-steps li::after { content: counter(st); position: absolute; top: 1rem; right: 1.1rem; font-family: var(--mono); font-size: 0.75rem; color: var(--faint); }
.gv-step-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.gv-step-ic .ico { width: 19px; height: 19px; }
.gv-steps b { font-size: 1.02rem; }
.gv-steps p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.gv-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.gv-caps > div { display: grid; gap: 0.45rem; align-content: start; padding: 1.4rem; background: var(--surface); }
.gv-caps .ico { width: 20px; height: 20px; color: var(--accent); }
.gv-caps b { font-size: 0.98rem; }
.gv-caps p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.gv-faq { max-width: 760px; margin: 0 auto; }
.gv-faq details { border-bottom: 1px solid var(--line); padding: 0.2rem 0; }
.gv-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.gv-faq summary::-webkit-details-marker { display: none; }
.gv-faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; transition: transform 0.25s; }
.gv-faq details[open] summary::after { transform: rotate(45deg); }
.gv-faq details p { color: var(--muted); margin: 0 0 1.1rem; line-height: 1.6; }
.gv-cta { margin-top: clamp(4rem, 9vh, 6rem); }

/* ---------- Önizleme penceresi ---------- */
body.gvp-open { overflow: hidden; }
.gv-preview { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--bg); animation: fade 0.25s; }
.gvp-bar { display: flex; align-items: center; gap: 0.8rem; height: 60px; padding: 0 1rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.gvp-title { display: grid; min-width: 0; margin-right: auto; line-height: 1.25; }
.gvp-title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gvp-price { font-weight: 650; white-space: nowrap; }
.gvp-stage { flex: 1; display: grid; place-items: center; overflow: auto; padding: 1rem; background: var(--surface-2); }
.gvp-frame { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transition: width 0.45s var(--ease), height 0.45s var(--ease), border-radius 0.45s; }
.gvp-frame[data-device="tablet"] { width: 820px; height: min(1080px, 100%); border-radius: 22px; border: 10px solid #1d1d1f; }
.gvp-frame[data-device="mobile"] { width: 390px; height: min(820px, 100%); border-radius: 40px; border: 10px solid #1d1d1f; }
.gvp-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.gvp-loading { position: absolute; inset: 0; display: grid; place-items: center; background: var(--surface); }
.gvp-loading .spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }

@media (max-width: 900px) {
  .demo-teaser { grid-template-columns: 1fr; }
  .dt-stack { height: 280px; }
  .gv-grid { grid-template-columns: 1fr; }
  .gv-steps, .gv-caps { grid-template-columns: 1fr 1fr; }
  .gvp-devices, .gvp-price { display: none; }
}
@media (max-width: 560px) {
  .gv-steps, .gv-caps { grid-template-columns: 1fr; }
  .gv-bar { flex-direction: column; align-items: stretch; }
  .gv-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gv-chip { flex: none; }
  .gv-actions { width: 100%; }
  .gv-actions .btn { flex: 1; justify-content: center; }
  .dt-card { width: 74%; }
}
@media (prefers-reduced-motion: reduce) { .gv-card, .gv-hero, .dt-card { animation: none !important; transition: none !important; } }
