/* ============================================================
   PEYSAN EXPORT — peynir-aski.css
   "Peynir Aşkı" tek sayfası: Akademi, Atlas, Rehber, Ansiklopedi,
   Dostlar, FAQ — kurumsal.css ile aynı zarif/premium dili paylaşır
   (krem/altın vurgular, italik serif başlıklar) ama kendi kapsamında.
   ============================================================ */

/* ============================================================
   HERO — sade ama zarif: iri italik başlık, altın vurgulu "&",
   altta bir dergi içindekiler tablosu gibi zarif bir bölüm dizini
   ============================================================ */
.ph-hero { padding-inline: var(--pad-x); padding-bottom: var(--s-3xl); border-bottom: 1px solid var(--line); }
.ph-hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin: 0.3em 0 0.45em;
}
.ph-hero h1 em { font-style: italic; color: var(--text-accent); }
.ph-hero-lead {
  font-size: var(--fs-body-lg);
  color: var(--text);
  max-width: 34em;
  line-height: var(--lh-150);
  margin-bottom: var(--s-3xl);
}
.ph-index {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md) var(--s-2xl);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--line);
}
.ph-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1em;
  color: var(--text);
  transition: color 0.35s var(--ease);
}
.ph-index a:hover { color: var(--text-accent); }
.ph-upright { font-family: var(--font-body); font-style: normal; }
.ph-index-num {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-body-xs);
  font-weight: 600;
  color: var(--b-400);
}

/* ---------- Bölüm başlıkları — büyük, italik, altın ikon ---------- */
.ph-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
}
.ph-title-row .ph-icon {
  display: inline-flex;
  color: var(--b-400);
  flex: none;
}
.ph-title-row .ph-icon svg { width: 1.3em; height: 1.3em; }
.ph-title-row h2 {
  margin: 0;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  color: var(--text);
}
.section-head .eyebrow { margin-bottom: 0.2em; }

.ph-lead {
  text-align: center;
  color: var(--text);
  max-width: 34em;
  margin: var(--s-md) auto var(--s-3xl);
  line-height: var(--lh-160);
}

/* ---------- Genel kart ızgarası (Akademi / Ansiklopedi) ---------- */
.ph-grid {
  display: grid;
  gap: var(--s-lg);
}
.ph-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ph-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ph-card {
  padding: var(--s-xl);
  background: var(--n-100);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 0.3em 1em rgba(20, 17, 14, 0.04);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ph-card:hover { transform: translateY(-0.3em); border-color: var(--b-300); box-shadow: 0 1.2em 2.4em rgba(20, 17, 14, 0.1); }
.ph-card h3 {
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--s-sm);
}
.ph-card p { color: var(--text); line-height: var(--lh-160); }
.ph-card-pairing {
  grid-column: 1 / -1;
  border-radius: var(--r-full);
  text-align: center;
  padding: var(--s-xl) var(--s-3xl);
}
.ph-card-pairing h3 { margin-bottom: var(--s-sm); }
.ph-card-pairing p { max-width: 52em; margin-inline: auto; }

/* ============================================================
   PEYNİR ATLASI — el çizimi yöresel peynir haritası
   Çerçeve: sıcak krem zemin + içte ince altın çizgili ikinci kenar
   (paspartu gibi); harita kendi kâğıt tonunda, kenarlara doğru çok
   hafif sepya gölgeyle. Üzerine gelince harita yavaşça yakınlaşır.
   Mobilde etiketler okunsun diye harita büyük kalır, yana kaydırılır.
   ============================================================ */
.ph-map-wrap {
  position: relative;
  max-width: 76em;
  margin: 0 auto var(--s-4xl);
  padding: clamp(0.9em, 2vw, 1.6em);
  background: linear-gradient(160deg, var(--n-300) 0%, var(--bg) 100%);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 0 0 1px rgba(184, 146, 90, 0.28),
    0 2em 4em -1em rgba(20, 17, 14, 0.14),
    0 0.6em 1.4em rgba(20, 17, 14, 0.05);
}
/* İçteki ince altın paspartu çizgisi */
.ph-map-wrap::before {
  content: "";
  position: absolute;
  inset: clamp(0.45em, 1vw, 0.8em);
  border: 1px solid rgba(184, 146, 90, 0.35);
  border-radius: calc(var(--r-lg) - 0.35em);
  pointer-events: none;
}
.ph-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1959 / 803;
  border-radius: calc(var(--r-lg) - 0.5em);
  overflow: hidden;
  background: #f5f1e8;   /* haritanın kâğıt tonu — yüklenirken boş kalmasın */
  box-shadow: inset 0 0 0 1px rgba(120, 90, 50, 0.12);
}
/* Kenarlarda çok hafif sepya vinyet — etiketleri karartmadan derinlik verir */
.ph-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 110% at 50% 50%, transparent 62%, rgba(120, 88, 45, 0.12) 100%);
  pointer-events: none;
}
.ph-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.4s var(--ease);
}
.ph-map:hover .ph-map-img { transform: scale(1.025); }

/* "Kaydırarak keşfedin" ipucu — yalnızca mobilde */
.ph-map-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin-top: 0.8em;
  font-size: var(--fs-body-xs);
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.ph-map-hint svg { width: 1.1em; height: 1.1em; color: var(--b-300); }

.ph-atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
}
.ph-atlas-card {
  padding: var(--s-lg);
  background: var(--n-100);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ph-atlas-card:hover { transform: translateY(-0.3em); border-color: var(--b-300); box-shadow: 0 1.2em 2.2em rgba(20, 17, 14, 0.08); }
.ph-tag {
  display: inline-block;
  font-size: var(--fs-body-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3em 0.75em;
  border-radius: var(--r-full);
  margin-bottom: var(--s-sm);
}
.ph-tag.is-taze { background: #E3F0DD; color: #3E7A34; }
.ph-tag.is-yari-olgun { background: #F6E4CC; color: #B06A1E; }
.ph-tag.is-olgun { background: #F5DCE0; color: #A83A55; }
.ph-tag.is-artizan { background: #F7E1CE; color: #B0631E; }
.ph-atlas-card h3 {
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.2em;
}
.ph-atlas-card .ph-loc { display: block; font-size: var(--fs-body-xs); color: var(--text-soft); margin-bottom: var(--s-sm); }
.ph-atlas-card p { color: var(--text); font-size: var(--fs-body-sm); line-height: var(--lh-150); }

/* ============================================================
   PEYNİR REHBERİ — eşleştirme tablosu
   ============================================================ */
.ph-table-wrap { overflow-x: auto; }
.ph-table { width: 100%; border-collapse: collapse; }
.ph-table th {
  text-align: left;
  font-size: var(--fs-body-sm);
  font-weight: 700;
  color: var(--text-accent);
  padding: var(--s-sm) var(--s-md);
  border-bottom: 2px solid var(--b-300);
}
.ph-table td {
  padding: var(--s-sm) var(--s-md);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.ph-table tbody tr:nth-child(even) { background: var(--bg-alt); }

/* ============================================================
   PEYNİR DOSTLARI — koyu bordo topluluk CTA'sı
   ============================================================ */
.ph-community {
  position: relative;
  overflow: hidden;
  padding: var(--s-3xl) var(--s-2xl);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--n-800) 0%, var(--b-500) 70%, #2a0f0c 100%);
  color: var(--n-200);
  text-align: center;
}
.ph-community::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(184, 146, 90, 0.22), transparent 60%);
  pointer-events: none;
}
.ph-community .inner { position: relative; z-index: 1; max-width: 36em; margin-inline: auto; }
.ph-community h3 { color: var(--n-200); margin-bottom: var(--s-md); }
.ph-community p { color: rgba(244, 238, 228, 0.75); line-height: var(--lh-160); margin-bottom: var(--s-xl); }

/* ============================================================
   PEYNİR FAQ — <details>/<summary> akordeon
   ============================================================ */
.ph-faq-list { display: flex; flex-direction: column; gap: var(--s-sm); max-width: 44em; margin-inline: auto; }
.ph-faq {
  background: var(--n-100);
  border-radius: var(--r-md);
  padding: var(--s-md) var(--s-lg);
}
.ph-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.ph-faq summary::-webkit-details-marker { display: none; }
.ph-faq summary .ph-faq-caret {
  flex: none;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--b-400);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.ph-faq summary .ph-faq-caret svg { width: 0.75em; height: 0.75em; }
.ph-faq[open] summary .ph-faq-caret { transform: rotate(180deg); background: var(--b-400); color: var(--n-200); }
.ph-faq p {
  color: var(--text);
  line-height: var(--lh-160);
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--line);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ph-grid-3 { grid-template-columns: 1fr; }
  .ph-grid-2 { grid-template-columns: 1fr; }
  .ph-atlas-grid { grid-template-columns: 1fr 1fr; }
  .ph-card-pairing { padding: var(--s-xl) var(--s-lg); }
}
/* Telefonda harita ekrana sığdırılırsa peynir etiketleri okunmuyor —
   harita büyük kalıyor ve çerçevenin içinde parmakla yana kaydırılıyor */
@media (max-width: 767px) {
  .ph-map {
    aspect-ratio: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ph-map::-webkit-scrollbar { display: none; }
  .ph-map::after { display: none; }
  .ph-map-img { width: 46em; max-width: none; height: auto; }
  .ph-map:hover .ph-map-img { transform: none; }
  .ph-map-hint { display: flex; }
}
@media (max-width: 560px) {
  .ph-atlas-grid { grid-template-columns: 1fr; }
}
