@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --green: #173f35;
  --cream: #f6f1e7;
  --ink: #19332c;
  --muted: #71827b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); }
a { color: inherit; }
.share-topbar {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 62px); border-bottom: 1px solid rgba(23, 63, 53, .1);
  background: rgba(255, 255, 255, .76); backdrop-filter: blur(12px);
}
.share-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.share-brand span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--green); font-size: 11px; font-weight: 900; }
.share-brand strong { font-size: 14px; }
.join-button, .google-open {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px;
  color: #fff; background: var(--green); text-decoration: none; font-size: 11px; font-weight: 800;
}
.join-button { min-height: 39px; padding: 0 17px; }
.share-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 70px; }
.share-hero { max-width: 800px; margin-bottom: 30px; }
.share-eyebrow { color: #568574; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.share-hero h1 { margin: 10px 0; font-family: Georgia, serif; font-size: clamp(34px, 6vw, 64px); line-height: 1.03; }
.share-hero p { margin: 0 0 23px; color: var(--muted); font-size: 13px; }
.google-open { min-height: 46px; padding: 0 20px; }
.route-share-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(440px, 1.4fr); gap: 20px; align-items: stretch; }
.shared-stop-card, .shared-google-map, .shared-atlas-card {
  overflow: hidden; border: 1px solid rgba(23, 63, 53, .11); border-radius: 24px; background: #fff;
  box-shadow: 0 18px 50px rgba(33, 65, 55, .1);
}
.shared-stop-card { padding: 22px; }
.shared-stop-card h2 { margin: 0 0 14px; font-size: 18px; }
.shared-stop-card ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.shared-stop-card li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 10px; align-items: center; padding: 10px; border: 1px solid #e5ebe8; border-radius: 13px; }
.shared-stop-card li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 10px; font-weight: 900; }
.shared-stop-card strong, .shared-stop-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-stop-card strong { font-size: 11px; }
.shared-stop-card small { margin-top: 3px; color: #81908b; font-size: 8px; }
.shared-stop-card li > a { text-decoration: none; }
.shared-google-map { min-height: 560px; }
.shared-google-map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; }
.atlas-hero { margin-inline: auto; text-align: center; }
.shared-atlas-card { padding: 18px; }
.shared-legend { display: flex; align-items: center; gap: 18px; padding: 5px 7px 17px; color: #63746d; font-size: 10px; }
.shared-legend span { display: flex; align-items: center; gap: 6px; }
.shared-legend i { width: 9px; height: 9px; border-radius: 50%; background: #c85d50; }
.shared-legend i.visited { background: #3c926d; }
.shared-legend small { margin-left: auto; }
.shared-map-wrap { min-height: 420px; display: grid; place-items: center; border-radius: 18px; background: #f5f0e6; }
#sharedTurkeyMap { width: 100%; max-height: 470px; }
.shared-province { fill: #cf6559; stroke: #fff; stroke-width: 1; cursor: pointer; transition: fill .16s ease, opacity .16s ease; }
.shared-province:hover { opacity: .8; }
.shared-province.visited { fill: #3e966f; }
.shared-province.selected { fill: #e2a83b; stroke: #173f35; stroke-width: 2.5; }
.shared-province-details { min-height: 82px; padding: 20px 8px 4px; }
.shared-province-details > p { margin: 0; color: var(--muted); text-align: center; font-size: 11px; }
.shared-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.shared-detail-head h2 { margin: 0; font-size: 20px; }
.shared-detail-head span { padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--green); font-size: 9px; }
.shared-place-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.shared-place-grid article { display: grid; grid-template-columns: 28px minmax(0, 1fr) 25px; gap: 9px; align-items: center; padding: 10px; border: 1px solid #e3eae7; border-radius: 12px; }
.shared-place-grid article > span { color: #3d916d; font-weight: 900; }
.shared-place-grid strong, .shared-place-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-place-grid strong { font-size: 10px; }
.shared-place-grid small { margin-top: 3px; color: #84928d; font-size: 8px; }
.shared-place-grid a { text-decoration: none; }
.share-empty { max-width: 560px; margin: 70px auto; padding: 45px; border-radius: 24px; background: #fff; text-align: center; }
.share-empty > span { font-size: 42px; }
.share-empty h1 { margin: 14px 0 8px; }
.share-empty p { color: var(--muted); }
.share-empty a { display: inline-block; margin-top: 10px; color: var(--green); font-weight: 800; }
@media (max-width: 850px) {
  .route-share-layout { grid-template-columns: 1fr; }
  .shared-google-map, .shared-google-map iframe { min-height: 380px; }
  .shared-place-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .share-page { width: min(100% - 20px, 1180px); padding-top: 34px; }
  .join-button { padding-inline: 12px; font-size: 9px; }
  .shared-legend { flex-wrap: wrap; }
  .shared-legend small { width: 100%; margin-left: 0; }
  .shared-map-wrap { min-height: 270px; }
}

/* Mobil okunabilirlik */
.share-hero p { font-size: 15px; line-height: 1.55; }
.shared-stop-card strong { font-size: 13px; }
.shared-stop-card small { font-size: 10px; line-height: 1.4; }
.shared-legend, .shared-province-details > p { font-size: 12px; }
.shared-place-grid strong { font-size: 12px; }
.shared-place-grid small { font-size: 10px; }

@media (max-width: 520px) {
  .share-topbar { height: auto; min-height: 64px; gap: 10px; padding: 10px 12px; }
  .share-brand strong { font-size: 13px; }
  .join-button { min-height: 40px; font-size: 10px; text-align: center; }
  .share-hero h1 { font-size: 34px; }
  .shared-stop-card { padding: 16px; }
  .shared-map-wrap { min-height: 0; padding-block: 4px; }
  #sharedTurkeyMap { display: block; height: auto; margin: 0; }
}
