:root {
  color-scheme: light dark;
  --bg: #0f1220;
  --fg: #f2f2f7;
  --accent: #6c5ce7;
  --card: #1a1e33;
  --muted: #9aa0b4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #2a2f4a;
}

.site-header .logo {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.1rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
}

.site-header nav a:hover { color: var(--fg); }

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem;
}

h1 { font-size: 2rem; margin-bottom: 0.25rem; }
h2 { font-size: 1.25rem; color: var(--muted); font-weight: 500; }

.intro { font-size: 1.05rem; color: var(--fg); }

.hero-image, .banner-image, .about-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: block;
  object-fit: cover;
}
.hero-image { max-height: 380px; }
.banner-image { max-height: 260px; }
.about-image { max-height: 320px; max-width: 420px; }

.toc {
  background: var(--card);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}
.toc h3 { margin-top: 0; font-size: 0.9rem; text-transform: uppercase; color: var(--muted); }
.toc ul { columns: 2; padding-left: 1.2rem; }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.listing {
  padding: 1rem 0;
  border-bottom: 1px solid #2a2f4a;
}
.listing h3 { margin-bottom: 0.2rem; }
.listing-location { color: var(--muted); margin-top: 0; }
.listing-rating { color: #f5c518; margin: 0.2rem 0; font-size: 0.9rem; }
.listing-reviews { color: var(--muted); }
.listing-address { color: var(--fg); margin: 0.2rem 0; }
.listing-meta { color: var(--muted); font-size: 0.9rem; margin: 0.2rem 0; }
.listing-meta a { color: var(--accent); text-decoration: none; }
.listing-hours { margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.listing-hours summary { cursor: pointer; color: var(--fg); }
.listing-hours ul { list-style: none; padding-left: 0; margin: 0.4rem 0 0; }
.listing-hours .day { display: inline-block; width: 5.5rem; color: var(--fg); }

.state-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.state-grid a {
  display: block;
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.state-grid a:hover { background: var(--accent); }

.cta {
  display: inline-block;
  margin-top: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
}

.back-link { margin-top: 2rem; }
.back-link a { color: var(--muted); }

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  font-size: 0.85rem;
}
