/* Town Basket — shared stylesheet (mobile-first) */

:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #e8f5e9;
  --text: #1f2a24;
  --muted: #5a6b62;
  --bg: #ffffff;
  --border: #e0e6e2;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--green-dark);
}

a:hover {
  color: var(--green);
}

/* Header */
.site-header {
  background: var(--green);
  color: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.brand .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #fff;
  color: var(--green);
  border-radius: 50%;
  font-size: 1.1rem;
}

.site-header nav a {
  color: #eafaf0;
  text-decoration: none;
  font-size: 0.95rem;
  margin-left: 0.9rem;
}

.site-header nav a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

main.wrap {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

/* Hero / landing */
.hero {
  text-align: center;
  padding: 2.5rem 1.25rem 1.5rem;
  background: var(--green-light);
}

.hero .badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
  color: var(--green-dark);
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 auto 1rem;
  max-width: 32ch;
}

.hero p.desc {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.75rem auto 0;
  max-width: 420px;
  text-align: left;
}

.contact-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card li {
  margin: 0.4rem 0;
}

/* Content pages */
.page-title {
  color: var(--green-dark);
  border-bottom: 3px solid var(--green-light);
  padding-bottom: 0.4rem;
}

.last-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.4rem;
}

h2 {
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-top: 2rem;
}

.placeholder {
  background: #fff7e6;
  border: 1px dashed #d9a300;
  border-radius: 4px;
  padding: 0 0.25rem;
  font-style: italic;
}

.note {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin: 1.25rem 0;
}

table.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table.contact-table th,
table.contact-table td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.contact-table th {
  width: 40%;
  color: var(--muted);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #cdd8d1;
  font-size: 0.9rem;
}

.site-footer .wrap {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-bottom: 0.75rem;
}

.site-footer nav a {
  color: #eafaf0;
  text-decoration: none;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.site-footer .copyright {
  color: #94a79c;
}

/* Larger screens */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}
