/* =========================================================
   Wilson Garden Club — design tokens
   A members' club since 1951: brass plaques, garden greens,
   deep plum drawn from the crest, warm paper background.
   ========================================================= */
:root {
  --plum-900: #34122A;
  --plum-700: #5A1E48;
  --magenta-600: #93275F;
  --gold-500: #B4883E;
  --gold-300: #D8B876;
  --sage-600: #4F6B4F;
  --paper-100: #F6F1E7;
  --paper-050: #FBF8F1;
  --ink-900: #241A1E;
  --ink-600: #5B4D51;
  --line: rgba(52, 18, 42, 0.16);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-100);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--plum-900);
  letter-spacing: 0.2px;
}

a { color: var(--magenta-600); text-decoration: none; }
a:hover { color: var(--plum-900); }

.container { max-width: 1140px; }

/* ---------- Header ---------- */
.wgc-header {
  background: var(--paper-050);
  border-bottom: 3px solid var(--gold-500);
}
.wgc-navbar { padding: 14px 0; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--plum-900);
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-600);
}
.wgc-navbar .nav-link {
  color: var(--ink-900);
  font-weight: 600;
  margin-left: 6px;
  padding: 8px 14px !important;
  border-bottom: 2px solid transparent;
}
.wgc-navbar .nav-link:hover,
.wgc-navbar .nav-link.active {
  color: var(--magenta-600);
  border-bottom-color: var(--gold-500);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--plum-900) 0%, var(--plum-700) 100%);
  color: var(--paper-050);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(212,184,118,0.06) 0 1px, transparent 1px 90px);
  pointer-events: none;
}
.hero .eyebrow {
  color: var(--gold-300);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  max-width: 15ch;
  margin: 14px 0 20px;
}
.hero p.lead {
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  font-size: 1.1rem;
}
.hero .est-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border: 1px solid rgba(212,184,118,0.5);
  color: var(--gold-300);
  font-family: var(--font-display);
}

.wgc-hero-slider img {
  transform: scale(1);
  transition: transform 6s ease-in-out;
}
.wgc-hero-slider .carousel-item.active img {
  transform: scale(1.08);
}

/* ---------- Buttons ---------- */
.btn-wgc {
  background: var(--gold-500);
  color: var(--plum-900);
  border: none;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.btn-wgc:hover { background: var(--gold-300); color: var(--plum-900); }
.btn-wgc-outline {
  border: 1.5px solid var(--paper-050);
  color: var(--paper-050);
  padding: 10px 24px;
  border-radius: 2px;
}
.btn-wgc-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-050); }
.section-head { margin-bottom: 40px; }
.section-head .kicker {
  color: var(--sage-600);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: 6px;
}
.rule-gold {
  width: 64px;
  height: 3px;
  background: var(--gold-500);
  margin-top: 16px;
}

/* ---------- Amenities plaques ---------- */
.amenity {
  border: 1px solid var(--line);
  background: var(--paper-050);
  padding: 26px 22px;
  height: 100%;
  border-top: 3px solid var(--gold-500);
}
.amenity h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.amenity p {
  color: var(--ink-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Founder ---------- */
.founder-card {
  display: flex;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper-050);
  padding: 32px;
}
.founder-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 3px solid var(--gold-500);
  flex-shrink: 0;
}
.founder-card .founder-title {
  color: var(--sage-600);
  font-weight: 600;
  font-size: 0.9rem;
}
.founder-card h3 { margin: 6px 0 10px; }

/* ---------- Committee ---------- */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
}
.committee-member {
  text-align: center;
  border: 1px solid var(--line);
  background: var(--paper-050);
  padding: 20px 14px 18px;
}
.committee-member .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--plum-900);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  border: 2px solid var(--gold-500);
}
.committee-member h4 {
  font-size: 0.98rem;
  margin: 0 0 4px;
}
.committee-member .title {
  color: var(--ink-600);
  font-size: 0.83rem;
}
.committee-photo {
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--paper-050);
}
.committee-photo img { width: 100%; height: auto; display: block; }

/* ---------- Annual reports timeline ---------- */
.report-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.report-row:first-child { border-top: 1px solid var(--line); }
.report-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--plum-900);
  width: 100px;
  flex-shrink: 0;
}
.report-body { flex: 1; }
.report-body .status {
  color: var(--ink-600);
  font-size: 0.9rem;
}
.report-action a {
  font-weight: 700;
  border: 1.5px solid var(--magenta-600);
  padding: 8px 18px;
  display: inline-block;
}
.report-action a:hover { background: var(--magenta-600); color: #fff; }
.report-action .pending {
  color: var(--ink-600);
  font-size: 0.85rem;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-panel {
  border: 1px solid var(--line);
  background: var(--paper-050);
  padding: 32px;
}
.contact-panel h3 { margin-bottom: 18px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-item .label {
  color: var(--sage-600);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  width: 90px;
  flex-shrink: 0;
}


.form-control, .form-select {
  border-radius: 2px;
  border-color: var(--line);
  padding: 10px 14px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(180,136,62,0.2);
}
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-900);
}

/* ---------- Footer ---------- */
.wgc-footer {
  background: var(--plum-900);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 0;
}
.wgc-footer h6 {
  color: var(--gold-300);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.wgc-footer a { color: rgba(255,255,255,0.78); }
.wgc-footer a:hover { color: var(--gold-300); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand .brand-name { font-family: var(--font-display); color: #fff; font-size: 1.1rem; }
.footer-brand .brand-sub { font-size: 0.8rem; color: var(--gold-300); }
.footer-reg { font-size: 0.82rem; color: rgba(255,255,255,0.55); max-width: 38ch; }
address { font-style: normal; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: var(--plum-900);
  color: #fff;
  padding: 56px 0;
  border-bottom: 3px solid var(--gold-500);
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 60ch; margin: 10px 0 0; }

.wgc-map {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.wgc-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .founder-card { flex-direction: column; text-align: center; }
  .report-row { flex-wrap: wrap; }
}

/* ---------- Horizontal Slider ---------- */
.wgc-horizontal-slider {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.wgc-horizontal-slider::-webkit-scrollbar {
  height: 8px;
}
.wgc-horizontal-slider::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
}
.wgc-horizontal-slider::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 4px;
}
.wgc-horizontal-slider .slider-item {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
}
@media (max-width: 991px) {
  .wgc-horizontal-slider .slider-item {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 575px) {
  .wgc-horizontal-slider .slider-item {
    flex: 0 0 85%;
  }
}
