/* Rugby Croquet Club — site.css */

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

body {
  font-family: 'Nunito', sans-serif;
  background: #f5f0e8;
  color: #3a3025;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.site-header {
  background: #2c4a1e;
  padding: 24px 32px 20px;
  text-align: center;
  border-bottom: 4px solid #8b6914;
}
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo-circle {
  width: 72px; height: 72px;
  background: white;
  border-radius: 50%;
  border: 3px solid #8b6914;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: #2c4a1e; letter-spacing: 1px;
  flex-shrink: 0;
}
.club-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700; color: #f5f0e8; letter-spacing: 2px;
}
.tagline {
  font-size: clamp(12px, 2.5vw, 15px);
  color: #c8b99a; letter-spacing: 2px; margin-top: 4px;
}

/* ── NAV ── */
.site-nav {
  background: #3d6b2a;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.site-nav a {
  color: #d4e8c2;
  font-size: clamp(15px, 3vw, 18px);
  letter-spacing: 1px;
  padding: 12px 24px;
  text-decoration: none;
  border-right: 1px solid #2c4a1e;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:last-child { border-right: none; }
.site-nav a:hover { background: #2c4a1e; color: #f5f0e8; }
.site-nav a.active { background: #2c4a1e; color: #c8b99a; font-weight: 700; }

/* ── MAIN BODY ── */
.site-body {
  flex: 1;
  padding: 36px 24px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.rule {
  border: none;
  border-top: 2px solid #8b6914;
  width: 80px;
  margin: 0 auto 24px;
}
.welcome {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 4vw, 24px);
  color: #2c4a1e;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
}
.founded {
  font-size: 16px; color: #8b6914;
  text-align: center; letter-spacing: 1px; margin-bottom: 24px;
}
.body-text {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.8; color: #3a3025; margin-bottom: 16px;
}
.body-text a { color: #2c4a1e; }
.body-text a:hover { color: #8b6914; }

.address {
  background: #e8e0d0;
  border-left: 3px solid #8b6914;
  padding: 12px 16px;
  font-size: clamp(15px, 2.5vw, 18px);
  color: #3a3025; margin: 20px 0;
  font-style: italic;
  font-family: 'Nunito', sans-serif;
}

.quick-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.quick-links a {
  color: #2c4a1e;
  font-size: clamp(15px, 2.5vw, 18px);
  text-decoration: underline;
  letter-spacing: 0.5px;
  transition: color 0.15s;
}
.quick-links a:hover { color: #8b6914; }

/* ── FOOTER ── */
.site-footer {
  background: #2c4a1e;
  color: #c8b99a;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  letter-spacing: 1px;
  border-top: 3px solid #8b6914;
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .site-header { padding: 20px 16px; }
  .site-body { padding: 24px 16px; }
  .site-nav a { padding: 10px 16px; }
  .quick-links { gap: 16px; }
}

/* ── INFO PAGE ── */
.info-content { font-size: clamp(16px, 2.5vw, 18px); line-height: 1.85; color: #3a3025; }
.info-content p { margin-bottom: 1.1rem; }
.info-content em { font-style: italic; }
.info-content strong { font-weight: 700; }
.info-content a { color: #2c4a1e; }
.info-content a:hover { color: #8b6914; }

.contact-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: clamp(15px, 2.5vw, 17px); }
.contact-table td { padding: 14px 16px; border: 1px solid #c8b99a; background: #e8e0d0; vertical-align: top; line-height: 1.7; width: 50%; }

.info-updated { font-size: 13px; color: #8b6914; margin-top: 1.5rem; font-style: italic; }
.loading-msg { color: #8b6914; font-style: italic; }

.back-home { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #c8b99a; }
.back-home a { color: #2c4a1e; font-size: 16px; text-decoration: none; font-weight: 600; }
.back-home a:hover { color: #8b6914; text-decoration: underline; }
