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

:root {
  --bg: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --link: #0000cc;
  --link-visited: #a12a2b;
  --link-hover: #0000ff;
  --border: #cccccc;
  --header-bg: #D53839;
  --section-bg: #f6f6f6;
  --input-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1a1a;
    --text: #cccccc;
    --text-muted: #999999;
    --link: #6699cc;
    --link-visited: #cc6666;
    --link-hover: #88bbee;
    --border: #444444;
    --header-bg: #a12a2b;
    --section-bg: #222222;
    --input-bg: #2a2a2a;
  }
}

:root[data-theme="dark"] {
  --bg: #1a1a1a;
  --text: #cccccc;
  --text-muted: #999999;
  --link: #6699cc;
  --link-visited: #9966cc;
  --link-hover: #88bbee;
  --border: #444444;
  --header-bg: #3a0848;
  --section-bg: #222222;
  --input-bg: #2a2a2a;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 { line-height: 1.3; }
h2 { font-size: 16px; margin-bottom: 8px; }
h3 { font-size: 14px; margin-bottom: 4px; }

a { color: var(--link); }
a:visited { color: var(--link-visited); }
a:hover { color: var(--link-hover); }

hr { border: none; border-top: 1px solid var(--border); margin: 12px 0; }

/* ---- Site header ---- */

.site-header {
  background: var(--header-bg);
  padding: 8px 15px;
}

.site-header-inner {
  max-width: 750px;
  margin: 0 auto;
}

.site-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}
.site-title:visited { color: #ffffff; }
.site-title:hover { color: #ffcccc; }

/* ---- Nav bar ---- */

.site-nav {
  background: var(--section-bg);
  border-bottom: 1px solid var(--border);
  padding: 6px 15px;
  font-size: 12px;
}

.site-nav-inner {
  max-width: 750px;
  margin: 0 auto;
}

.site-nav a { margin-right: 4px; }
.site-nav a + a::before {
  content: '| ';
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 3px 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: var(--text);
  margin-bottom: 4px;
}

.nav-links {
  display: inline;
}

/* ---- Page layout ---- */

main {
  flex: 1;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 15px 30px;
}

.container { max-width: 750px; margin: 0 auto; }
.container-narrow { max-width: 480px; margin: 0 auto; }

.section-intro {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.page-heading {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* ---- Home photo ---- */

.home-photo {
  border: 1px solid var(--border);
  padding: 2px;
  background: var(--bg);
  margin-bottom: 12px;
}
.home-photo svg { display: block; width: 100%; height: auto; }

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 18px;
  border: 1px solid var(--border);
  background: var(--section-bg);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--border); }
.btn:visited { color: var(--text); }

/* ---- Forms ---- */

.form { text-align: left; max-width: 420px; margin: 0 auto; }
.form-group { margin-bottom: 10px; }

.form-group > label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.optional { font-weight: normal; font-style: italic; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 4px 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--border);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 1px dotted var(--link);
}

.form-group textarea { resize: vertical; min-height: 60px; }

.radio-group { margin-top: 3px; }
.radio-label {
  display: flex; align-items: center; gap: 4px; cursor: pointer;
  font-size: 12px; color: var(--text); font-weight: normal;
  margin-bottom: 2px;
}
.radio-label input[type="radio"] { width: auto; }

.form .btn { width: 100%; margin-top: 6px; }

.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
  display: flex; align-items: center;
  padding: 4px 0 4px 6px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-muted); font-size: 13px;
}

.confirmation {
  margin-top: 12px; padding: 10px;
  background: var(--section-bg);
  border: 1px solid var(--border);
  font-size: 13px;
}

/* ---- Details ---- */

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  text-align: left;
  margin-top: 12px;
}

.detail-card {
  background: var(--section-bg);
  padding: 10px;
  border: 1px solid var(--border);
}

.detail-card h3 { color: var(--link); font-size: 13px; margin-bottom: 4px; }
.detail-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.detail-venue { font-weight: bold; color: var(--text) !important; }
.detail-note { margin-top: 4px; font-style: italic; }

/* ---- Menu ---- */

.menu { max-width: 420px; margin: 0 auto; text-align: left; }
.menu-item { padding: 8px 0; border-bottom: 1px solid var(--border); }
.menu-item:first-child { border-top: 1px solid var(--border); }
.menu-item h3 { font-size: 14px; color: var(--text); }
.menu-item p { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.menu-spacer { height: 8px; }

/* ---- Flat message ---- */

.flat-message { font-size: 12px; color: var(--text-muted); padding: 30px 0; }

/* ---- Donations ---- */

.donation-grid {
  display: flex; gap: 5px; justify-content: center;
  flex-wrap: wrap; margin-top: 10px;
}

.donation-btn {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: bold;
  padding: 6px 18px;
  background: var(--section-bg);
  border: 1px solid var(--border);
  cursor: pointer; color: var(--text);
}
.donation-btn:hover { border-color: var(--link); }
.donation-btn.selected {
  background: var(--link); color: #fff; border-color: var(--link);
}

/* ---- FAQ ---- */

.faq-list { text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  padding: 8px 0; font-size: 13px; font-weight: bold;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 14px; font-weight: normal;
  color: var(--text-muted); flex-shrink: 0; margin-left: 10px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 8px; font-size: 12px; color: var(--text-muted); }

/* ---- Footer ---- */

footer {
  padding: 12px 15px;
  text-align: left;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: 11px;
  color: var(--text-muted);
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}

footer p { margin-bottom: 2px; }
.footer-disclaimer { margin-top: 8px; font-size: 10px; color: var(--border); }
.footer-donotcontact { margin-top: 6px; font-size: 10px; }

/* ---- Mobile ---- */

@media (max-width: 600px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; }
  .nav-links.open { display: block; }
  .nav-links.open a { display: block; padding: 3px 0; }
  .nav-links.open a + a::before { content: none; }

  .details-grid { grid-template-columns: 1fr; }
  .radio-group { flex-direction: column; }
  .donation-grid { flex-direction: column; align-items: center; }
  .donation-btn { width: 100%; max-width: 140px; }

  .hero-domain { font-size: 16px !important; }
}
