/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --green-900: #1b5e20;
  --green-800: #2e7d32;
  --green-500: #4caf50;
  --green-200: #a5d6a7;
  --green-100: #e8f5e9;
  --green-50:  #f1f8e9;
  --sky-200:   #b3e5fc;
  --sky-300:   #81d4fa;
  --yellow-300: #ffd54f;
  --yellow-600: #f9a825;
  --white:     #ffffff;
  --text-900:  #1a2e1a;
  --text-600:  #3e5e3e;
  --shadow-sm: 0 1px 4px rgba(27, 94, 32, 0.12);
  --shadow:    0 2px 10px rgba(27, 94, 32, 0.16);
  --radius:    12px;
  --pill:      999px;
  --max-w:     900px;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-900);
  background: var(--white) url('../images/ecofest-tile.png') repeat;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green-800); }
a:hover { color: var(--green-900); }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
section { padding: 1rem 0; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-500) 100%);
  color: var(--white);
  padding: 2.75rem 0 3.25rem;
  text-align: center;
}

.hero__logo {
  max-width: 120px;
  margin: 0 auto 1rem;
}
/* Logo image: drop Churches Together logo at assets/images/logo.png */
.hero__logo img {
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  padding: 0.4rem;
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.hero__organiser {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hero__when {
  display: inline-block;
  background: rgba(255,255,255,0.13);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 0.75rem 1.75rem;
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.8;
}
.hero__when strong { font-size: 1.1rem; }

.badge-free {
  display: inline-block;
  background: var(--yellow-300);
  color: var(--green-900);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3em 1.2em;
  border-radius: var(--pill);
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero__strapline {
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.hero__nav a {
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.12);
  border-radius: var(--pill);
  padding: 0.35em 1.05em;
  font-size: 0.88rem;
  transition: background 0.18s;
}
.hero__nav a:hover { background: rgba(255,255,255,0.28); color: var(--white); }

/* ── Section typography ────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 0.5rem;
}
.section-intro {
  color: var(--text-600);
  margin-bottom: 2rem;
  max-width: 660px;
}

/* ── About ─────────────────────────────────────────────────────────────────── */
.about { background: transparent; }
.about > .container {
  background: var(--green-50);
  padding-block: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about p { max-width: 680px; font-size: 1.05rem; line-height: 1.75; }

/* ── Highlights strip ──────────────────────────────────────────────────────── */
.highlights { background: transparent; }
.highlights > .container {
  background: var(--green-200);
  padding-block: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.highlights__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}
.highlights__label {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.highlight-pill {
  background: var(--white);
  color: var(--green-800);
  border: 1.5px solid var(--green-500);
  border-radius: var(--pill);
  padding: 0.35em 1.1em;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}

/* ── What's On cards grid ──────────────────────────────────────────────────── */
#whats-on { background: transparent; }
#whats-on > .container {
  background: var(--white);
  padding-block: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-500);
}
.card__name {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.card__desc {
  font-size: 0.85rem;
  color: var(--text-600);
  line-height: 1.45;
}

/* ── Stallholders ──────────────────────────────────────────────────────────── */
#stallholders { background: transparent; }
#stallholders > .container {
  background: var(--green-50);
  padding-block: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stall-info-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
}
.stall-info-list li {
  padding: 0.55rem 0 0.55rem 1.75rem;
  position: relative;
  color: var(--text-600);
  border-bottom: 1px solid var(--green-200);
  font-size: 0.97rem;
  line-height: 1.55;
}
.stall-info-list li:last-child { border-bottom: none; }
.stall-info-list li::before {
  content: "✦";
  color: var(--green-500);
  position: absolute;
  left: 0;
  top: 0.6rem;
  font-size: 0.75rem;
}

.cta-button {
  display: inline-block;
  background: var(--green-800);
  color: var(--white);
  text-decoration: none;
  padding: 0.65em 1.75em;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: background 0.18s, transform 0.12s;
}
.cta-button:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-2px);
}
.deadline {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-600);
}
.deadline strong { color: var(--green-900); }

.form-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* ── Important notice callout ──────────────────────────────────────────────── */
.notice-callout {
  background: var(--yellow-300);
  border-left: 5px solid var(--yellow-600);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-top: 2.25rem;
  font-weight: 600;
  color: var(--text-900);
  box-shadow: var(--shadow-sm);
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 2.25rem 0;
  font-size: 0.9rem;
  line-height: 2.1;
}
.site-footer a { color: var(--green-200); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0.5rem auto;
  max-width: 200px;
}
