/* ── SEO Pages Stylesheet ────────────────────────────────────────────────────
   Used by generated pages in dist/parking/...
   Separate from style.css (which is for the interactive map app)
──────────────────────────────────────────────────────────────────────────── */

:root {
  --green: #27AE60;
  --red: #E74C3C;
  --yellow: #F39C12;
  --text: #222;
  --muted: #666;
  --border: #e0e0e0;
  --radius: 10px;
  --max-w: 900px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #f9f9f9;
  margin: 0;
  line-height: 1.6;
}

/* ── Layout ── */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}
.site-logo svg { flex-shrink: 0; }
.header-cta {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}
.header-cta:hover { background: #219150; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .82rem;
  color: var(--muted);
  padding: 12px 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

/* ── Page title ── */
h1 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 8px 0 6px;
  color: var(--text);
  line-height: 1.2;
}
h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--text);
}
h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--text);
}
.page-intro {
  font-size: 1rem;
  color: #444;
  margin: 0 0 20px;
  max-width: 680px;
}

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 20px 0 28px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Map CTA ── */
.map-cta {
  display: block;
  text-align: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius);
  margin: 0 0 28px;
  transition: background .15s;
}
.map-cta:hover { background: #219150; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 0 0 28px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
thead {
  background: #f5f5f5;
}
th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-green { background: #e8f8ef; color: var(--green); }
.badge-yellow { background: #fef9e7; color: #b7770d; }
.badge-red { background: #fdecea; color: var(--red); }
.badge-grey { background: #f0f0f0; color: #888; }
td a { color: var(--green); text-decoration: none; }
td a:hover { text-decoration: underline; }

/* ── Tip boxes ── */
.tip-box {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 20px;
  font-size: .9rem;
}
.tip-box.warning { border-left-color: var(--yellow); }
.tip-box strong { display: block; margin-bottom: 4px; }

/* ── External link list (landmarks) ── */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  transition: border-color .15s;
}
.link-card:hover { border-color: var(--green); }
.link-card-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ── Area footer grid ── */
.area-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}
.area-footer-grid a {
  display: block;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .82rem;
  color: var(--text);
  text-decoration: none;
}
.area-footer-grid a:hover { border-color: var(--green); color: var(--green); }

/* ── Adjacent areas / usecase pills ── */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}
.pill-link {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.pill-link:hover { background: var(--green); color: #fff; }

/* ── Footer ── */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  margin-top: 48px;
  font-size: .82rem;
  color: var(--muted);
}
.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-footer a { color: var(--green); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-areas { margin-top: 16px; }
.footer-areas h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 8px;
}

/* ── Area hub grid ── */
.area-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}
.area-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s;
}
.area-card:hover { border-color: var(--green); }
.area-card strong { font-size: .95rem; }
.area-card span { font-size: .78rem; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .map-container { padding-bottom: 65%; }
  th, td { padding: 8px 10px; }
}
