/* ============================================================
   VUVID FX PRO — Gelişmiş Görselli Kullanım Rehberi (guide.css)
   Ana siteyle birebir siyah + crimson neon + glassmorphism dili
   ============================================================ */

.guide-hero {
  padding: 118px 0 46px;
  border-bottom: 1px solid var(--line);
}

.guide-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.guide-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.guide-hero p {
  max-width: 68ch;
  color: var(--grey);
  font-size: 1rem;
}

.guide-controls {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.guide-search-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 460px;
}

.guide-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--grey);
  pointer-events: none;
}

.guide-search {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: var(--blur);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-search:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.guide-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-pill {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--grey);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.guide-pill:hover {
  color: var(--white);
  border-color: rgba(239, 68, 68, 0.45);
  background: var(--red-soft);
}

/* Main 2-column layout */
.guide-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0 90px;
  align-items: start;
}

/* Sticky Sidebar TOC */
.guide-toc {
  position: sticky;
  top: 86px;
  padding: 18px 14px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: var(--blur);
  max-height: calc(100vh - 106px);
  overflow-y: auto;
}

.guide-toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dim);
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.guide-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guide-toc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--grey);
  transition: all 0.18s ease;
}

.guide-toc-list a .toc-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  min-width: 20px;
}

.guide-toc-list a:hover,
.guide-toc-list a.is-active {
  color: var(--white);
  background: rgba(239, 68, 68, 0.14);
}

.guide-toc-list a.is-active {
  border-left: 2px solid var(--red);
}

/* Guide Content Sections */
.guide-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.guide-section {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: var(--blur);
  scroll-margin-top: 88px;
}

.guide-section.is-hidden {
  display: none;
}

.guide-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.guide-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.guide-sec-head h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
}

.guide-sec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 310px);
  gap: 26px;
  align-items: start;
}

.guide-lead {
  color: var(--grey);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.guide-block-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fca5a5;
  margin: 18px 0 10px;
}

.guide-parts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-parts li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.87rem;
  color: #e5e7eb;
}

.guide-part-num {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.guide-parts li b {
  color: var(--white);
}

.guide-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: step;
}

.guide-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 30px;
  font-size: 0.87rem;
  color: var(--grey);
}

.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guide-tip {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 0.84rem;
  color: #f3f4f6;
}

.guide-tip strong {
  color: #fca5a5;
}

/* Screenshot Frame + Click to Zoom */
.guide-shot-wrap {
  position: relative;
  border-radius: 16px;
  padding: 10px;
  background: #070709;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.guide-shot-btn {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.guide-shot-btn img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.28s ease;
}

.guide-shot-btn:hover img {
  transform: scale(1.018);
}

.guide-shot-zoom-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.guide-shot-caption {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--grey-dim);
  text-align: center;
}

.guide-dual-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Lightbox Modal */
.guide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.guide-lightbox.is-open {
  display: flex;
}

.guide-lightbox-inner {
  position: relative;
  max-width: min(92vw, 560px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.guide-lightbox-inner img {
  max-height: 82vh;
  width: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}

.guide-lightbox-cap {
  font-size: 0.86rem;
  color: var(--grey);
  text-align: center;
}

.guide-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #141418;
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-empty {
  display: none;
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--grey);
}

@media (max-width: 960px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-toc {
    position: static;
    max-height: none;
  }
  .guide-toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
  .guide-sec-grid {
    grid-template-columns: 1fr;
  }
  .guide-shot-wrap {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* Mono tema renk paleti (rehber bileşenleri) */
html.is-mono-theme .guide-sec-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f4f4f5;
}

html.is-mono-theme .guide-block-title {
  color: #e4e4e7;
}

html.is-mono-theme .guide-part-num {
  background: #262626;
  border-color: #444444;
  color: #f4f4f5;
}

html.is-mono-theme .guide-toc-list a .toc-num {
  color: #e4e4e7;
}

html.is-mono-theme .guide-toc-list a:hover,
html.is-mono-theme .guide-toc-list a.is-active {
  background: rgba(255, 255, 255, 0.09);
  border-left-color: #ededed;
}

html.is-mono-theme .guide-pill:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

html.is-mono-theme .guide-search:focus {
  border-color: #ededed;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

html.is-mono-theme .guide-tip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

html.is-mono-theme .guide-tip strong {
  color: #ffffff;
}
