/* Mekke / Medine Otel Tanıtım sayfaları (lib/otel-harita.js, js/pusula-otel-harita.js) */
.po {
  --po-lacivert: #1b2a4a;
  --po-turuncu: #C3561F;
  --po-yesil: #1E6B34;
  --po-cizgi: #e6e9f0;
  --po-soluk: #6b7486;
  --po-zemin: #f6f7fb;
  margin: 28px 0 72px;
  color: var(--po-lacivert);
  font-family: inherit;
}
.po .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.po svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Giriş */
.po-giris {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: 20px;
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(217, 105, 30, .18), transparent 65%),
    linear-gradient(135deg, #1b2a4a 0%, #24395f 100%);
  color: #fff;
}
.po-giris__ust { margin: 0 0 6px; color: #F4A261; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.po-giris__baslik { margin: 0 0 8px !important; color: #fff !important; font-size: 30px !important; font-weight: 800 !important; line-height: 1.15 !important; }
.po-giris__metin { max-width: 520px; margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }
.po-ozet { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.po-ozet li {
  display: flex;
  flex-direction: column;
  min-width: 104px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
}
.po-ozet b { font-size: 22px; font-weight: 800; line-height: 1.1; }
.po-ozet span { color: rgba(255, 255, 255, .72); font-size: 12.5px; }

/* Araç çubuğu */
.po-arac {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 10px;
  border: 1px solid var(--po-cizgi);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -16px rgba(27, 42, 74, .35);
}
.po-ara {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  margin: 0;
  padding: 0 14px;
  height: 42px;
  border-radius: 11px;
  background: var(--po-zemin);
  color: var(--po-soluk);
  font-weight: 400;
}
.po-ara input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--po-lacivert); font-size: 15px; outline: none; padding: 0 !important; }
.po-cipler { display: flex; gap: 6px; flex-wrap: wrap; }
.po-cip {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--po-cizgi);
  border-radius: 999px;
  background: #fff;
  color: var(--po-lacivert);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.po-cip span[aria-hidden] { color: #E0A100; }
.po-cip:hover { border-color: var(--po-lacivert); }
.po-cip.is-aktif { border-color: var(--po-lacivert); background: var(--po-lacivert); color: #fff; }
.po-cip.is-aktif span[aria-hidden] { color: #F4C04B; }
.po-sirala { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; color: var(--po-soluk); font-size: 13px; font-weight: 500; }
.po-sirala select {
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--po-cizgi);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2a4a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
  color: var(--po-lacivert);
  font-size: 14px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
}
.po-sonuc { margin: 14px 2px 10px; color: var(--po-soluk); font-size: 13.5px; }
.po-sonuc b { color: var(--po-lacivert); }

/* Gövde: kartlar + sabit harita */
.po-govde { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.po-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.po-harita-kap { position: sticky; top: 20px; }
.pusula-otel-harita {
  height: calc(100vh - 40px);
  min-height: 460px;
  max-height: 760px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--po-cizgi);
  background: #f2efe9;
  scroll-margin-top: 110px;
}
.po-bos { margin: 24px 0; padding: 20px; border-radius: 14px; background: var(--po-zemin); color: var(--po-soluk); text-align: center; }

/* Kart */
.po-kart {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--po-cizgi);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.po-kart[hidden] { display: none; }
.po-kart:hover,
.po-kart.is-secili { border-color: rgba(195, 86, 31, .55); box-shadow: 0 14px 30px -18px rgba(27, 42, 74, .45); transform: translateY(-2px); }
.po-kart__logo {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--po-cizgi);
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
}
.po-kart__logo img { max-width: 100%; max-height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.po-kart__harf {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6efe6, #ebe2d4);
  color: var(--po-turuncu);
  font-size: 26px;
  font-weight: 800;
}
.po-kart__govde { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 16px 14px; }
.po-kart__ad { margin: 0 !important; color: var(--po-lacivert) !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; }
.po-kart__yildiz { color: #E0A100; font-size: 13px; letter-spacing: 1px; }
.po-kart__bilgi { display: flex; flex-direction: column; gap: 5px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--po-soluk); font-size: 13px; }
.po-kart__bilgi li { display: flex; align-items: center; gap: 7px; }
.po-kart__bilgi b { color: var(--po-lacivert); }
.po-kart__alt { margin-top: auto; padding-top: 10px; }
.po-kart__git {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--po-zemin);
  color: var(--po-lacivert);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.po-kart__git::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C3561F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.6 7-11a7 7 0 1 0-14 0c0 5.4 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.po-kart__git:hover { background: var(--po-lacivert); color: #fff; }
.po-kart__konumsuz { color: #a3aab8; font-size: 12.5px; }

/* Harita noktaları */
.pusula-otel-nokta {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--po-lacivert, #1b2a4a);
  box-shadow: 0 2px 6px rgba(27, 42, 74, .35);
  color: #fff;
  font: 700 11px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.pusula-otel-nokta:empty { min-width: 18px; height: 18px; padding: 0; }
.pusula-otel-nokta:hover,
.pusula-otel-nokta.is-secili { background: #C3561F; transform: scale(1.22); z-index: 3; }
.pusula-otel-nokta--onemli {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  cursor: default;
}
.pusula-otel-nokta--onemli:hover { background: none; transform: none; }
.pusula-otel-nokta__ikon {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1E6B34 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.pusula-otel-nokta--onemli em {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  color: #1E6B34;
  font: normal 700 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  white-space: nowrap;
}
.pusula-otel-popup { display: flex; flex-direction: column; gap: 3px; padding-right: 12px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.pusula-otel-popup b { color: #1b2a4a; font-size: 14px; }
.pusula-otel-popup span { color: #6b7486; font-size: 12.5px; }

/* Duyarlı */
@media (max-width: 1199px) {
  .po-liste { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .po-govde { grid-template-columns: minmax(0, 1fr); }
  .po-harita-kap { position: relative; top: 0; order: -1; }
  .pusula-otel-harita { height: 380px; min-height: 0; }
  .po-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .po-giris { padding: 22px 18px; }
  .po-giris__baslik { font-size: 24px !important; }
  .po-ozet { width: 100%; }
  .po-ozet li { flex: 1; min-width: 0; padding: 10px 12px; }
  .po-ozet b { font-size: 18px; }
  .po-sirala { margin-left: 0; }
  .po-liste { grid-template-columns: minmax(0, 1fr); }
}
