/* ============================================================
   YO Mobile Menu — Full-Screen Glass Overlay
   Sadece mobil (<= 768px). Blocksy drawer gizlenir.
   ============================================================ */

/* Blocksy drawer'ı gizle — sadece mobilde */
@media (max-width: 768px) {
  .ct-drawer-canvas .ct-panel.ct-header {
    display: none;
  }
}

/* ── Overlay ──────────────────────────────────────────────── */
.yo-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(
    160deg,
    rgba(12, 40, 40, 0.72) 0%,
    rgba(20, 56, 56, 0.78) 40%,
    rgba(26, 62, 50, 0.82) 100%
  );
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
}

.yo-nav.is-open {
  display: flex;
  flex-direction: column;
}

.yo-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Noktalı doku ─────────────────────────────────────────── */
.yo-nav::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(196, 98, 45, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

/* ── Header ──────────────────────────────────────────────── */
.yo-nav__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(196, 98, 45, 0.18);
}

.yo-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0.93;
  transition: opacity 0.15s ease;
}

.yo-nav__logo:hover {
  opacity: 1;
}

/* Turuncu daire + pin ikonu */
.yo-nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #C4622D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6-5.4 6-11a6 6 0 1 0-12 0c0 5.6 6 11 6 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}

/* yoldaolmak yazısı — Montserrat, site ile aynı stil */
.yo-nav__logo-text {
  font-family: "Montserrat", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}

.yo-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.yo-nav__close:hover,
.yo-nav__close:focus-visible {
  background: rgba(196, 98, 45, 0.3);
  transform: rotate(90deg);
  outline: none;
}

.yo-nav__close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}

/* ── Body ────────────────────────────────────────────────── */
.yo-nav__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 22px 16px;
  gap: 18px;
}

/* ── Bölüm etiketi ───────────────────────────────────────── */
.yo-nav__section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4622D;
  margin-bottom: 12px;
}

/* ── Coğrafi 2 kolon: Türkiye + Dünya ───────────────────── */
.yo-nav__geo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.yo-nav__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 8px;
  display: block;
}

.yo-nav__geo-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.yo-nav__geo-links li a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 5px 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.12s ease, padding-left 0.15s ease;
}

.yo-nav__geo-links li:last-child a {
  border-bottom: none;
}

.yo-nav__geo-links li a:hover,
.yo-nav__geo-links li a:focus-visible {
  color: #C4622D;
  padding-left: 5px;
  outline: none;
}

/* ── Ayraç ───────────────────────────────────────────────── */
.yo-nav__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 98, 45, 0.22), transparent);
  border: none;
  margin: 0;
}

/* ── Tema linkleri (pill butonlar) ──────────────────────── */
.yo-nav__theme-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yo-nav__theme-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  letter-spacing: -0.01em;
}

.yo-nav__theme-links a:hover,
.yo-nav__theme-links a:focus-visible {
  color: #fff;
  background: rgba(196, 98, 45, 0.18);
  border-color: rgba(196, 98, 45, 0.38);
  outline: none;
}

/* ── CTA kartı ───────────────────────────────────────────── */
.yo-nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px 14px;
  background: rgba(196, 98, 45, 0.1);
  border: 1px solid rgba(196, 98, 45, 0.22);
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.yo-nav__cta:hover,
.yo-nav__cta:focus-visible {
  background: rgba(196, 98, 45, 0.2);
  outline: none;
}

.yo-nav__cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #C4622D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yo-nav__cta-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.yo-nav__cta-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.yo-nav__cta-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Footer: yardımcı + sosyal ───────────────────────────── */
.yo-nav__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 10px;
}

.yo-nav__footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.yo-nav__footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.12s ease;
}

.yo-nav__footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.yo-nav__social {
  display: flex;
  gap: 8px;
}

.yo-nav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.yo-nav__social a:hover {
  background: rgba(196, 98, 45, 0.22);
  color: #fff;
}

.yo-nav__social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Stagger animasyonu ──────────────────────────────────── */
.yo-nav__animate {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yo-nav.is-visible .yo-nav__animate {
  opacity: 1;
  transform: translateY(0);
}

.yo-nav.is-visible .yo-nav__animate:nth-child(1) { transition-delay: 0.05s; }
.yo-nav.is-visible .yo-nav__animate:nth-child(2) { transition-delay: 0.10s; }
.yo-nav.is-visible .yo-nav__animate:nth-child(3) { transition-delay: 0.14s; }
.yo-nav.is-visible .yo-nav__animate:nth-child(4) { transition-delay: 0.18s; }
.yo-nav.is-visible .yo-nav__animate:nth-child(5) { transition-delay: 0.22s; }
.yo-nav.is-visible .yo-nav__animate:nth-child(6) { transition-delay: 0.26s; }

/* ── Body scroll kilidi ──────────────────────────────────── */
body.yo-nav-open {
  overflow: hidden;
  touch-action: none;
}

/* ── Sadece mobilde aktif ────────────────────────────────── */
@media (min-width: 769px) {
  .yo-nav {
    display: none;
  }
}
