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

/* ═══════════════════════════════════════
   Savannah Traveler — Light & Warm Theme
   ═══════════════════════════════════════ */

:root {
  --bg: #FAF7F2;
  --bg-warm: #F3EDE4;
  --card: #FFFFFF;
  --text: #2C2417;
  --muted: #6B5E4F;
  --brand: #B37A1A;
  --brand-dark: #8B5E0F;
  --brand-light: #D4A017;
  --accent: #4A7C59;
  --border: #E0D6C8;
  --shadow: 0 4px 20px rgba(44,36,23,.08);
  --shadow-hover: 0 12px 36px rgba(44,36,23,.14);
  --radius: 14px;
  --max: 1140px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 16px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 18px; color: var(--text);
}
.brand img { height: 44px; width: auto; border-radius: 8px; }
.brand:hover { text-decoration: none; color: var(--text); }
.nav-links { display: flex; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-warm); color: var(--text); text-decoration: none;
}

/* ── Mobile nav ── */
.menu-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--text); }
@media(max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; width: 100%;
    flex-direction: column; gap: 0;
    border-top: 1px solid var(--border); padding-top: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 0; }
}

/* ── Hero ── */
.hero { padding: 56px 0 28px; text-align: center; }
.hero .kicker {
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
  font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.15; margin-bottom: 16px;
}
.hero .lead {
  color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto;
}
.divider {
  width: 60px; height: 3px; background: var(--brand);
  margin: 16px auto 0; border-radius: 2px; opacity: .5;
}

/* ── Section headers ── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 52px 0 22px; flex-wrap: wrap; gap: 8px;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
}
.section-header .view-all { font-size: 14px; font-weight: 500; }

/* ── Card Grid ── */
.grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media(min-width:600px) { .grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:940px) { .grid { grid-template-columns: repeat(3,1fr); } }

.card {
  position: relative; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-media {
  position: relative; aspect-ratio: 4/3;
  background: var(--bg-warm); overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }

.badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,.92); color: var(--brand-dark);
  padding: 5px 10px; border-radius: 999px; font-size: 11px;
  font-weight: 600; letter-spacing: .04em;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.card-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(44,36,23,.65), transparent);
  padding: 24px 16px 14px;
  font-weight: 700; font-size: 18px;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.card-body { padding: 14px 16px 18px; }
.card-body p { color: var(--muted); font-size: 14px; margin-bottom: 12px; line-height: 1.5; }
.card-body .alts { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.card-body .alts a { color: var(--brand); font-weight: 500; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 10px;
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: 14px; border: 0; cursor: pointer;
  transition: all .2s;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.btn-outline {
  background: transparent; color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ── Map cards ── */
.maps-row {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 22px;
}
@media(min-width:700px) { .maps-row { grid-template-columns: 1fr 1fr; } }

.map-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow); transition: transform .25s;
}
.map-card:hover { transform: translateY(-3px); }
.map-card h3 { font-family: var(--serif); font-size: 20px; }
.map-card p { color: var(--muted); font-size: 14px; flex: 1; line-height: 1.5; }
.map-icon { font-size: 32px; margin-bottom: 4px; }

/* ── Itinerary cards ── */
.itin-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 22px;
}
@media(min-width:700px) { .itin-grid { grid-template-columns: repeat(3,1fr); } }

.itin-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow); transition: transform .25s;
}
.itin-card:hover { transform: translateY(-3px); }
.itin-duration {
  display: inline-block; font-size: 12px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--brand); font-weight: 600;
}
.itin-card h3 { font-family: var(--serif); font-size: 20px; }
.itin-card p { color: var(--muted); font-size: 14px; flex: 1; line-height: 1.5; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--bg-warm); border-radius: var(--radius);
  padding: 44px 32px; text-align: center; margin-top: 56px;
  border: 1px solid var(--border);
}
.cta-banner h2 { font-family: var(--serif); margin-bottom: 8px; }
.cta-banner p { color: var(--muted); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.footer {
  margin-top: 64px; padding: 36px 0;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 14px;
  text-align: center; background: var(--bg-warm);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer img { height: 56px; border-radius: 10px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--brand); }

/* ── Page-level styles (for sub-pages) ── */
.page-hero { padding: 48px 0 24px; }
.page-hero .kicker {
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin-bottom: 12px;
}
.page-hero .lead { color: var(--muted); font-size: 17px; }

.prose { max-width: 700px; }
.prose p { color: var(--muted); margin-bottom: 16px; line-height: 1.7; }
.prose h2 { font-family: var(--serif); margin: 32px 0 12px; font-size: 24px; }
.prose h3 { margin: 24px 0 8px; font-size: 18px; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 24px; color: var(--muted); }
.prose li { margin-bottom: 6px; line-height: 1.6; }
.prose a { font-weight: 500; }

/* ── Listing cards (directory-style, no image) ── */
.listing-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px;
}
@media(min-width:700px) { .listing-grid { grid-template-columns: repeat(2,1fr); } }

.listing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.listing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.listing-card h3 {
  font-family: var(--serif); font-size: 18px; margin-bottom: 4px;
}
.listing-card .address {
  font-size: 13px; color: var(--brand); font-weight: 500; margin-bottom: 8px;
}
.listing-card p {
  color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0;
}
.listing-card p + p { margin-top: 8px; }

.category-label {
  font-family: var(--serif); font-size: clamp(20px, 2.5vw, 26px);
  margin: 44px 0 4px; padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.category-label:first-of-type { margin-top: 32px; }

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }

/* ── Hours / TODO (eat + Jazz Fest ops) ── */
.todo {
  display: inline;
  background: var(--bg-warm);
  color: var(--brand-dark);
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.1em 0.4em;
  border-radius: 0.25rem;
  border: 1px dashed #C4A574;
}
.place-hours { font-size: 13px; color: var(--muted); margin: 8px 0 12px; line-height: 1.5; }
.listing-card .place-hours { margin: 8px 0 0; }
.listing-card .todo-row { margin-top: 8px; }
.card-body .place-hours { margin-top: 0; }
.meta { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.skip-if {
  border-left: 4px solid var(--brand);
  background: var(--bg-warm);
  padding: 16px 20px;
  margin: 20px 0 8px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.skip-if p { margin: 0; color: var(--text); font-size: 15px; }

/* ── Ops article (Jazz Fest body classes, scoped) ── */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 8px 12px; background: var(--brand-dark); color: #fff;
  text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; color: #fff; }

main.wrap {
  width: min(100% - 2rem, 40rem);
  margin-inline: auto;
  padding: 32px 0 48px;
}
main.wrap h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  margin: 0 0 12px;
}
main.wrap h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
}
main.wrap h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}
main.wrap p { margin: 0 0 14px; }
main.wrap ul, main.wrap ol { margin: 0 0 14px; padding-left: 1.25rem; }
main.wrap li { margin-bottom: 6px; }
main.wrap .lede {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 16px;
}
main.wrap .meta { margin-bottom: 20px; }
main.wrap .part-of { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
main.wrap .skip-if { margin: 0 0 24px; }
main.wrap .card {
  padding: 20px 22px;
  margin: 0 0 20px;
}
main.wrap .card:hover { transform: none; }
main.wrap .card p:last-child,
main.wrap .card ul:last-child { margin-bottom: 0; }

.btn-link {
  display: inline-block;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
}
.btn-link:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }

.sources { font-size: 14px; color: var(--muted); }
.sources a { word-break: break-word; }

.site-footer {
  margin-top: 0;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  background: var(--bg-warm);
}
.site-footer .wrap,
.site-footer .container { padding-block: 0; }
.event-list { list-style: none; margin: 0 0 20px; padding: 0; }
.event-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event-meta { font-size: 14px; color: var(--muted); }
.event-blurb { font-size: 15px; color: var(--muted); }
