/* =============================================
   White Rose Riichi — shared stylesheet
   Colour tokens: change these to restyle everything
   ============================================= */
:root {
  --brand-dark:  #1a1a2e;
  --brand-gold:  #c9a84c;
  --brand-light: #f5f5f0;
  --text-muted:  #666;
  --card-bg:     #ffffff;
  --card-border: #ddd;
}

/* ── Base ── */
body {
  background: var(--brand-light);
  color: #222;
  margin: 0;
  padding: 0;
}

/* ── Navbar ── */
.site-nav {
  background: var(--brand-dark);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-nav .logo {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.site-nav ul a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  padding-bottom: 2px;
}
.site-nav ul a:hover {
  color: var(--brand-gold);
}
.site-nav ul a.active {
  color: var(--brand-gold);
  border-bottom: 1px solid var(--brand-gold);
}

/* ── Hero ── */
.hero {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem 3rem;
}
.hero h1 {
  color: #fff;
  font-size: 2.25rem;
  margin: 0 0 0.5rem;
}
.hero .subtitle {
  color: #aaa;
  font-size: 1rem;
  margin: 0 0 1.75rem;
}
.hero .cta {
  background: var(--brand-gold);
  color: var(--brand-dark);
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.hero .cta:hover {
  background: #b8943e;
}

/* ── Page header (non-hero pages) ── */
.page-header {
  background: var(--brand-dark);
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}
.page-header p {
  color: #aaa;
  margin: 0;
  font-size: 0.9rem;
}

/* ── Main content wrapper ── */
.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ── Section title ── */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--brand-gold);
  display: inline-block;
}

/* ── Info cards ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.info-card {
  background: var(--card-bg);
  border: 0.5px solid var(--card-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.info-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--brand-dark);
}
.info-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Body text ── */
.body-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0.75rem 0 0;
}

/* ── Schedule table ── */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 1rem;
}
.schedule-table th {
  background: var(--brand-gold);
  color: #000000;
  padding: 0.6rem 1rem;
  text-align: left;
}
.schedule-table td {
  padding: 0.55rem 1rem;
  border-bottom: 0.5px solid #e0e0e0;
  color: #000000;
}
.schedule-table tr:nth-child(even) td {
  background: #f0f0eb;
}

.schedule-table tr:nth-child(odd) td {
  background: #f1ebac;
}

/* ── Rules list ── */
.rules-list {
  padding-left: 1.25rem;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.9;
}

/* ── Contact details ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.contact-card {
  background: var(--card-bg);
  border: 0.5px solid var(--card-border);
  border-radius: 8px;
  padding: 1.25rem;
}
.contact-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--brand-dark);
}
.contact-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-card a {
  color: var(--brand-gold);
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}

/* ── Registration form ── */
.reg-form {
  background: var(--card-bg);
  border: 0.5px solid var(--card-border);
  border-radius: 8px;
  padding: 1.75rem;
  margin-top: 1.25rem;
}
.reg-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-dark);
}
.reg-form input,
.reg-form select,
.reg-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  border: 0.5px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.9rem;
  background: var(--brand-light);
  box-sizing: border-box;
}
.reg-form textarea {
  resize: vertical;
  min-height: 100px;
}
.reg-form .submit-btn {
  background: var(--brand-gold);
  color: var(--brand-dark);
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-block;
}
.reg-form .submit-btn:hover {
  background: #b8943e;
}

/* ── Footer ── */
.site-footer {
  background: var(--brand-dark);
  color: #888;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  margin-top: 3rem;
}
.site-footer a {
  color: var(--brand-gold);
  text-decoration: none;
}
