/* ═══════════════════════════════════════════════
   AYLMER LAWN BOWLING CLUB — Global Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Raleway:wght@300;400;500;600;700&display=swap');

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

:root {
  --green-deep:   #1a3d2b;
  --green-mid:    #2d6a4f;
  --green-bright: #52b788;
  --green-light:  #b7e4c7;
  --cream:        #f8f4ec;
  --gold:         #c9a84c;
  --gold-light:   #e8d5a3;
  --white:        #ffffff;
  --charcoal:     #2c2c2c;
  --gray:         #666;
  --nav-h:        68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand span { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  padding: 8px 16px;
}

.nav-links a.nav-cta:hover {
  background: var(--gold-light);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--green-deep);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: 13px; }
}

/* ── GRASS STRIPE ── */
.grass-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--green-bright) 0px, var(--green-bright) 3px,
    var(--green-mid) 3px, var(--green-mid) 8px
  );
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--green-deep);
  padding: 56px 40px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(82,183,136,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero h1 em { color: var(--green-bright); font-style: italic; }

.page-hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--green-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── CONTENT WRAPPER ── */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ── */
section.content {
  padding: 60px 0;
}

.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 38px);
  color: var(--green-deep);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.15;
}

.lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--gray);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 32px;
}

p.body-text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 720px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 36px 0;
}

.card {
  background: var(--white);
  border-radius: 2px;
  padding: 28px 24px;
  border-top: 4px solid var(--green-bright);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card-icon { font-size: 32px; margin-bottom: 12px; display: block; }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--green-deep);
  margin-bottom: 10px;
  font-weight: 700;
}

.card p { font-size: 14px; color: #555; line-height: 1.7; }

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  margin: 36px 0;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--green-deep);
  line-height: 1.5;
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-style: normal;
  font-weight: 700;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--green-light);
}

.divider-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── DARK BAND ── */
.dark-band {
  background: var(--green-deep);
  color: var(--white);
  padding: 52px 0;
}

.dark-band .section-title { color: var(--white); }
.dark-band .lead { color: var(--green-light); }
.dark-band p.body-text { color: var(--green-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}

.btn-outline-white:hover { border-color: var(--white); }

.btn-green { background: var(--green-mid); color: var(--white); }
.btn-green:hover { background: var(--green-bright); }

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── ADDRESS BAR ── */
.address-bar {
  text-align: center;
  padding: 13px;
  background: var(--green-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-deep);
}

/* ── FOOTER ── */
footer {
  background: var(--green-deep);
  padding: 44px 24px 24px;
  text-align: center;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  list-style: none;
}

footer .footer-links a {
  color: var(--green-light);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--gold); }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-logo span { color: var(--gold); font-style: italic; }

.footer-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-contact a {
  color: var(--green-light);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--gold); }

.footer-note {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 8px;
}

/* ── UTIL ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

@media print {
  nav, footer { display: none; }
}
