/* Pati Kulübü: tüm sayfalarda ortak üst menü ve alt bilgi.
   Sayfalara scripts/site-ortak.mjs ekler; sınıflar "pk" önekli, sayfa stilleriyle çakışmaz. */
@font-face { font-family: 'Baloo'; font-weight: 800; font-display: swap; src: url('/fonts/Baloo2_800ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Fredoka'; font-weight: 700; font-display: swap; src: url('/fonts/Fredoka_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/fonts/Nunito_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/fonts/Nunito_800ExtraBold.ttf') format('truetype'); }

:root { --pkYesil: #15BF87; --pkYesilKoyu: #0E8E64; --pkKrem: #F4EFE7; --pkKremAcik: #FFF8EC; --pkMercan: #FF6B5E; --pkMurekkep: #1F1F1F; --pkGri: #6F665C; --pkCizgi: #E6DFD3; }
html { scroll-padding-top: 92px; }
@media (max-width: 860px) { html { scroll-padding-top: 76px; } }
html.pkKilit { overflow: hidden; }

/* ---------- Üst menü ---------- */
.pkUst { position: sticky; top: 0; z-index: 50; background: var(--pkKrem); border-bottom: 4px solid var(--pkMurekkep); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--pkMurekkep); }
.pkUst a { color: inherit; }
.pkUst .pkKap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; height: 72px; display: flex; align-items: center; gap: 10px; }
.pkMarka { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.pkMarka img { width: 42px; height: 42px; border-radius: 12px; border: 3px solid var(--pkMurekkep); display: block; }
.pkMarka span { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; font-size: 23px; line-height: 1; white-space: nowrap; }
.pkKisa { display: none; }

.pkMenu { display: flex; align-items: center; gap: 2px; }
.pkMenu > a, .pkAc { font: 800 16px/1 'Nunito', system-ui, sans-serif; color: var(--pkMurekkep); text-decoration: none; background: none; border: 3px solid transparent; border-radius: 999px; padding: 9px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.pkMenu > a:hover, .pkAc:hover, .pkAcilir.acik .pkAc { background: var(--pkKremAcik); }
.pkMenu > a[aria-current="page"], .pkAc[data-aktif] { background: #fff; border-color: var(--pkMurekkep); }
.pkAc svg { width: 14px; height: 14px; transition: transform .18s ease; }
.pkAcilir:hover .pkAc svg, .pkAcilir.acik .pkAc svg { transform: rotate(180deg); }

.pkIndir { font: 800 16px/1 'Nunito', system-ui, sans-serif; text-decoration: none; background: var(--pkYesil); color: var(--pkMurekkep); border: 3px solid var(--pkMurekkep); border-radius: 999px; padding: 10px 18px; box-shadow: 0 4px 0 var(--pkMurekkep); margin-left: 10px; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease; }
.pkIndir:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--pkMurekkep); }
.pkIndir:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pkMurekkep); }

/* Rehberler açılır paneli */
.pkAcilir { position: relative; }
.pkPanel { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: 410px; background: #fff; border: 4px solid var(--pkMurekkep); border-radius: 24px; box-shadow: 0 8px 0 var(--pkMurekkep); padding: 10px; display: none; }
.pkPanel::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.pkAcilir:hover .pkPanel, .pkAcilir.acik .pkPanel { display: block; animation: pkBelir .16s ease; }
@keyframes pkBelir { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }

.pkOge { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; text-decoration: none; }
.pkOge:hover, .pkOge:focus-visible { background: var(--pkKremAcik); }
.pkOge[aria-current="page"] { background: var(--pkKremAcik); }
.pkIkon { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 3px solid var(--pkMurekkep); display: flex; align-items: center; justify-content: center; }
.pkIkon svg { width: 30px; height: 30px; display: block; }
.pkOge b { display: block; font-family: 'Baloo', 'Nunito', sans-serif; font-weight: 800; font-size: 18px; line-height: 1.15; }
.pkOge small { display: block; color: var(--pkGri); font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-top: 2px; }
.pkTum { display: flex; justify-content: space-between; align-items: center; margin: 6px 4px 2px; padding: 12px 10px 6px; border-top: 2px dashed var(--pkCizgi); font-weight: 800; color: var(--pkYesilKoyu) !important; text-decoration: none; }
.pkTum:hover { text-decoration: underline; }

/* Telefon menüsü */
.pkBurger { display: none; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--pkKremAcik); border: 3px solid var(--pkMurekkep); box-shadow: 0 3px 0 var(--pkMurekkep); cursor: pointer; padding: 0; position: relative; }
.pkBurger i { position: absolute; left: 10px; right: 10px; height: 3.5px; border-radius: 3px; background: var(--pkMurekkep); transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.pkBurger i:nth-child(1) { top: 12px; } .pkBurger i:nth-child(2) { top: 19.5px; } .pkBurger i:nth-child(3) { top: 27px; }
.pkUst.acik .pkBurger { background: var(--pkYesil); }
.pkUst.acik .pkBurger i:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.pkUst.acik .pkBurger i:nth-child(2) { opacity: 0; }
.pkUst.acik .pkBurger i:nth-child(3) { top: 19.5px; transform: rotate(-45deg); }

.pkMobil { display: none; position: fixed; left: 0; right: 0; top: 76px; bottom: 0; overflow-y: auto; background: var(--pkKrem); padding: 8px 20px 36px; }
.pkUst.acik .pkMobil { display: block; animation: pkKay .2s ease; }
@keyframes pkKay { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.pkMobil .pkBuyuk { display: flex; justify-content: space-between; align-items: center; font-family: 'Baloo', 'Nunito', sans-serif; font-weight: 800; font-size: 26px; text-decoration: none; padding: 14px 4px; border-bottom: 2px solid var(--pkCizgi); }
.pkMobil .pkBuyuk span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--pkMurekkep); background: var(--pkKremAcik); display: flex; align-items: center; justify-content: center; font-family: 'Nunito', sans-serif; font-size: 18px; }
.pkMobil .pkBaslik { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pkGri); margin: 24px 4px 10px; }
.pkMobil .pkKutu { background: #fff; border: 4px solid var(--pkMurekkep); border-radius: 22px; box-shadow: 0 6px 0 var(--pkMurekkep); padding: 6px; }
.pkMobil .pkRozet { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pkMobil .pkRozet img { height: 46px; width: auto; display: block; }
.pkMobil .pkNot { margin: 10px 4px 0; font-weight: 700; font-size: 14px; color: var(--pkGri); }

.pkUst a:focus-visible, .pkUst button:focus-visible, .pkAlt a:focus-visible { outline: 3px solid var(--pkMurekkep); outline-offset: 3px; }

@media (max-width: 860px) {
  .pkMenu { display: none; }
  .pkBurger { display: block; }
  .pkIndir { margin-left: 0; padding: 9px 16px; font-size: 15px; }
  .pkUzun { display: none; }
  .pkKisa { display: inline; }
  /* Telefon: daha sıkı ölçüler */
  .pkUst .pkKap { height: 60px; padding-inline: 16px; gap: 8px; }
  .pkMarka { gap: 8px; }
  .pkMarka img { width: 34px; height: 34px; border-radius: 10px; border-width: 2.5px; }
  .pkMarka span { font-size: 19px; }
  .pkIndir { padding: 6px 13px; font-size: 14px; border-width: 2.5px; box-shadow: 0 3px 0 var(--pkMurekkep); }
  .pkBurger { width: 38px; height: 38px; border-radius: 11px; border-width: 2.5px; }
  .pkBurger i { left: 8px; right: 8px; height: 3px; }
  .pkBurger i:nth-child(1) { top: 9.5px; } .pkBurger i:nth-child(2) { top: 15px; } .pkBurger i:nth-child(3) { top: 20.5px; }
  .pkUst.acik .pkBurger i:nth-child(1), .pkUst.acik .pkBurger i:nth-child(3) { top: 15px; }
  .pkMobil { top: 64px; padding: 4px 16px 28px; }
  .pkMobil .pkBuyuk { font-size: 19px; padding: 11px 2px; }
  .pkMobil .pkBuyuk span { width: 28px; height: 28px; border-width: 2.5px; font-size: 14px; }
  .pkMobil .pkBaslik { font-size: 11.5px; margin: 18px 2px 8px; }
  .pkMobil .pkKutu { border-width: 3px; border-radius: 18px; box-shadow: 0 4px 0 var(--pkMurekkep); padding: 4px; }
  .pkMobil .pkOge { gap: 11px; padding: 8px 10px; border-radius: 13px; }
  .pkMobil .pkIkon { width: 38px; height: 38px; border-radius: 11px; border-width: 2.5px; }
  .pkMobil .pkIkon svg { width: 24px; height: 24px; }
  .pkMobil .pkOge b { font-size: 15.5px; }
  .pkMobil .pkOge small { font-size: 12.5px; }
  .pkMobil .pkTum { font-size: 14.5px; padding: 9px 8px 5px; }
  .pkMobil .pkRozet { gap: 8px; margin-top: 20px; }
  .pkMobil .pkRozet img { height: 38px; }
  .pkMobil .pkNot { font-size: 12.5px; margin-top: 8px; }
}
@media (max-width: 340px) {
  .pkMarka span { font-size: 20px; }
  .pkIndir { display: none; }
}

/* ---------- Alt bilgi ---------- */
.pkAlt { background: var(--pkKremAcik); border-top: 4px solid var(--pkMurekkep); color: var(--pkMurekkep); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; margin-top: 56px; }
.pkAlt a { color: inherit; }
.pkAlt .pkKap { max-width: 1080px; margin: 0 auto; padding: 52px 20px 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.pkAlt .pkMarka { margin: 0 0 12px; }
.pkAlt .pkSlogan { margin: 0 0 14px; font-weight: 700; color: var(--pkGri); max-width: 30ch; }
.pkAlt .pkEposta { font-weight: 800; text-decoration: none; }
.pkAlt .pkEposta:hover { text-decoration: underline; }
.pkSosyal { display: flex; gap: 10px; margin-top: 14px; }
.pkSosyal a { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--pkMurekkep); box-shadow: 0 4px 0 var(--pkMurekkep); display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease; }
.pkSosyal a:hover { background: var(--pkYesil); transform: translateY(-2px); }
.pkSosyal svg { width: 21px; height: 21px; display: block; }
.pkSutun .pkSB { display: block; font-family: 'Baloo', 'Nunito', sans-serif; font-weight: 800; font-size: 19px; line-height: 1.2; margin: 6px 0 12px; letter-spacing: 0; }
.pkSutun ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pkAlt li { margin: 0; font-size: inherit; }
.pkSutun a { font-weight: 700; color: var(--pkGri); text-decoration: none; font-size: 15.5px; }
.pkSutun a:hover { color: var(--pkMurekkep); text-decoration: underline; }
.pkAltSon { max-width: 1080px; margin: 40px auto 0; padding: 18px 20px 28px; border-top: 2px solid var(--pkCizgi); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 14px; color: var(--pkGri); font-weight: 700; }
.pkAltSon .pkRozet { display: flex; gap: 10px; align-items: center; }
.pkAltSon .pkRozet img { height: 36px; width: auto; display: block; }

@media (max-width: 860px) {
  .pkAlt .pkKap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .pkAlt .pkKunye { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .pkAlt { margin-top: 40px; }
  .pkAlt .pkKap { padding: 30px 16px 0; gap: 22px 16px; }
  .pkAlt .pkMarka img { width: 34px; height: 34px; border-radius: 10px; border-width: 2.5px; }
  .pkAlt .pkMarka span { font-size: 19px; }
  .pkAlt .pkSlogan { font-size: 14px; margin-bottom: 8px; }
  .pkAlt .pkEposta { font-size: 14.5px; }
  .pkSosyal a { width: 38px; height: 38px; border-width: 2.5px; box-shadow: 0 3px 0 var(--pkMurekkep); }
  .pkSosyal svg { width: 18px; height: 18px; }
  .pkSutun .pkSB { font-size: 16px; margin: 0 0 8px; }
  .pkSutun ul { gap: 6px; }
  .pkSutun a { font-size: 14px; }
  .pkAltSon { margin-top: 26px; padding: 14px 16px 22px; font-size: 12.5px; }
  .pkAltSon .pkRozet img { height: 32px; }
  .pkAltSon { flex-direction: column-reverse; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .pkPanel, .pkMobil { animation: none !important; }
  .pkBurger i, .pkIndir, .pkSosyal a { transition: none; }
}
