/* ============================================================
   menu-kurtarici.css — Menü Kurtarıcı sayfasına özel stiller
   - SADECE menu-kurtarici.php tarafından yüklenir.
   - Mobile-first: hap butonlar, kartlar, animasyonlar.
   - Kapsam: tüm seçiciler .mk-page ile başlar (globali ezmez).
   - !important yok, hack'li media query yok.
   ============================================================ */

.mk-page {
  box-sizing: border-box;
  overflow-x: clip;
  background: #f8f9fa;
  color: #1f2937;
  line-height: 1.6;
  font-family: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.mk-page *,
.mk-page *::before,
.mk-page *::after {
  box-sizing: inherit;
}

.mk-page :where(h1, h2, h3, p, figure) {
  margin: 0;
}

.mk-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  width: 100%;
}

/* Hero */
.mk-hero {
  text-align: center;
  margin-bottom: 24px;
}

.mk-hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1f2937;
}

.mk-hero-sub {
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.95rem;
}

.mk-lead {
  margin-top: 16px;
  line-height: 1.8;
  color: #444;
  font-size: 1em;
  text-align: left;
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* YMYL yazar kutusu */
.mk-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #166534;
  margin-top: 16px;
}

.mk-author-box svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mekan seçimi: swipeable hap butonlar */
.mk-venue-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  margin-top: 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.mk-venue-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.mk-venue-btn:hover {
  border-color: #4caf50;
  transform: translateY(-1px);
}

.mk-venue-btn:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 2px;
}

.mk-venue-btn[aria-pressed="true"] {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.mk-venue-emoji {
  font-size: 1.15rem;
}

/* Sonuç kartları */
.mk-results {
  margin-top: 8px;
}

.mk-results-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.mk-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.mk-card {
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border-top: 6px solid #9ca3af;
  opacity: 0;
  transform: translateY(18px);
  animation: mk-rise 0.5s ease forwards;
}

.mk-cards .mk-card:nth-child(2) {
  animation-delay: 0.1s;
}

.mk-cards .mk-card:nth-child(3) {
  animation-delay: 0.2s;
}

.mk-card-green {
  border-top-color: #22c55e;
}

.mk-card-yellow {
  border-top-color: #f59e0b;
}

.mk-card-red {
  border-top-color: #ef4444;
}

.mk-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.mk-card-green .mk-card-badge {
  background: #dcfce7;
  color: #15803d;
}

.mk-card-yellow .mk-card-badge {
  background: #fef3c7;
  color: #b45309;
}

.mk-card-red .mk-card-badge {
  background: #fee2e2;
  color: #b91c1c;
}

.mk-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.mk-card-desc {
  color: #4b5563;
  font-size: 0.925rem;
  line-height: 1.65;
}

.mk-card-cal {
  margin-top: 12px;
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.mk-card-green .mk-card-cal {
  color: #15803d;
}

.mk-card-yellow .mk-card-cal {
  color: #b45309;
}

.mk-card-red .mk-card-cal {
  color: #b91c1c;
}

/* Paylaş */
.mk-share-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.mk-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mk-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(76, 175, 80, 0.4);
}

.mk-share-btn:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: 3px;
}

.mk-share-note {
  font-size: 0.8125rem;
  color: #16a34a;
  font-weight: 600;
  min-height: 20px;
}

.mk-hint {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 30px 10px;
}

/* SSS */
.mk-faq {
  margin-top: 34px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mk-faq-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.mk-faq-item {
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.mk-faq-item:last-child {
  margin-bottom: 0;
}

.mk-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
}

.mk-faq-question::-webkit-details-marker {
  display: none;
}

.mk-faq-question::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 1.25rem;
  line-height: 1;
}

.mk-faq-item[open] .mk-faq-question::after {
  content: "−";
}

.mk-faq-question:focus-visible {
  outline: 3px solid rgba(76, 175, 80, 0.55);
  outline-offset: -3px;
}

.mk-faq-answer {
  padding: 0 18px 16px;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Kaynakça */
.mk-references {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.75rem;
  color: #718096;
  line-height: 1.6;
}

/* Animasyon */
@keyframes mk-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet/üstü: 3 kart yan yana */
@media (min-width: 720px) {
  .mk-hero-title {
    font-size: 2.1rem;
  }

  .mk-venue-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }

  .mk-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-page *,
  .mk-page *::before,
  .mk-page *::after {
    animation-duration: 0.01ms;
    transition-duration: 0.01ms;
  }

  .mk-card {
    opacity: 1;
    transform: none;
  }
}
