/* =========================================================================
   Mornington Peninsula Patchworkers — site styles
   Designed to match the group's original website:
     • Fonts:  Lora (serif, for the title & body) + Varela Round (headings, nav)
     • Colours: navy #17016d, coral #c94277, teal #48a9a6, cream #f8f4f1
   One stylesheet for the whole site. No build step — just edit and save.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Varela+Round&display=swap');

:root {
  --navy:   #17016d;   /* main text, title, buttons */
  --coral:  #c94277;   /* headings, accents, active nav */
  --teal:   #48a9a6;   /* secondary accent (from the logo) */
  --lavender: #b3abd6; /* footer & acknowledgement bands */
  --paper:  #f8f4f1;   /* page background (warm cream) */
  --ink-soft: #4a4470;
  --line:   #e3dcd6;
  --serif:  'Lora', Georgia, 'Times New Roman', serif;
  --round:  'Varela Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw:   1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
}

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

a { color: var(--coral); }
a:hover { color: #a82f5f; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header / nav ---------- */
/* HEADER START — repeated identically on every page.
   The banner uses the same soft multi-radial gradient as the original site. */
.site-header {
  border-bottom: 2px solid var(--coral);
  background:
    radial-gradient(circle at 95% 90%,   rgba(72,169,166,0.30) 0%, rgba(72,169,166,0) 40%),
    radial-gradient(circle at 6% 88%,     rgba(201,66,119,0.30) 0%, rgba(201,66,119,0) 50%),
    radial-gradient(circle at 6% 13%,     rgba(72,169,166,0.30) 0%, rgba(72,169,166,0) 70%),
    radial-gradient(circle at 94% 11%,    rgba(23,1,109,0.30)   0%, rgba(23,1,109,0)   70%),
    var(--paper);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 1.4rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand-logo { width: 140px; height: 140px; flex: none; }
.header-titlewrap { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.brand-title {
  font-family: var(--serif); font-weight: 500; color: var(--navy);
  font-size: clamp(1.5rem, 4.2vw, 2.6rem); line-height: 1.1; text-decoration: none;
}
.nav-toggle {
  display: none; background: transparent; border: none; color: var(--navy);
  padding: .2rem .4rem; font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.site-nav a {
  font-family: var(--round); font-size: .98rem; color: var(--navy);
  text-decoration: none; padding: .2rem 0;
}
.site-nav a:hover { color: var(--coral); }
.site-nav a[aria-current="page"] { color: var(--coral); }
/* HEADER END */

/* ---------- Main / typography ---------- */
main { padding: 2.5rem 0 3.5rem; }

.page-title {
  font-family: var(--round); color: var(--coral); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 1.4rem;
}
h2 { font-family: var(--serif); color: var(--navy); font-weight: 700; font-size: 1.3rem; margin: 2rem 0 .4rem; }
h3 { font-family: var(--serif); color: var(--navy); font-weight: 700; font-size: 1.1rem; margin: 1.4rem 0 .3rem; }
p { margin: 0 0 1.1rem; }
.loc { font-weight: 700; }           /* bold navy time/place lines */
.lead { font-size: 1.12rem; }
main a { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  font-family: var(--round); padding: .8rem 1.6rem; border-radius: 999px;
  font-size: 1.05rem; border: none; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: #2a1090; color: #fff; }

/* ---------- Home ---------- */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.home-grid .hero-img { border-radius: 4px; box-shadow: 0 4px 18px rgba(23,1,109,.12); }
.home-text .page-title { margin-bottom: 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
.contact-quilt { width: 270px; height: 270px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; }
form.contact label { display: block; font-family: var(--round); font-size: .9rem; margin: 0 0 .3rem; }
form.contact input, form.contact textarea {
  width: 100%; padding: .7rem .8rem; margin-bottom: 1rem; border: 1px solid var(--navy);
  border-radius: 4px; font: inherit; background: #fff; color: var(--navy);
}
form.contact textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -5000px; }   /* honeypot, hidden */
.addr { font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.gallery-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(23,1,109,.08); }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery-grid figcaption { padding: .6rem .8rem; font-size: .9rem; font-family: var(--round); color: var(--ink-soft); }

/* ---------- Maps (Find Us) ---------- */
.map-embed { border: 0; width: 100%; height: 300px; border-radius: 6px; box-shadow: 0 2px 10px rgba(23,1,109,.1); margin: .4rem 0 1.5rem; }

/* ---------- Gallery slideshow ---------- */
.slideshow { position: relative; max-width: 760px; margin: 1.5rem auto 0; display: flex; align-items: center; gap: .6rem; }
.slide-stage { margin: 0; flex: 1 1 auto; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(23,1,109,.1); }
.slide-stage img { width: 100%; height: min(70vw, 480px); object-fit: contain; background: #f1ebe5; display: block; }
.slide-stage figcaption { padding: .7rem 1rem; font-family: var(--round); color: var(--ink-soft); text-align: center; font-size: .95rem; }
.slide-nav { flex: none; background: var(--navy); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.slide-nav:hover { background: #2a1090; }
.slide-dots { text-align: center; margin-top: .9rem; }
.slide-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: none; margin: 0 4px; background: var(--line); cursor: pointer; }
.slide-dots button[aria-current="true"] { background: var(--coral); }

/* ---------- Club Days images ---------- */
.club-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 640px; margin: 2.5rem auto 0; }
.club-images img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 12px rgba(23,1,109,.12); }

/* ---------- Acknowledgement bands (home page) ---------- */
.acknowledgement, .grant { text-align: center; padding: 2.2rem 0; }
.acknowledgement { background: var(--lavender); }
.grant { background: var(--paper); }
.acknowledgement p, .grant p { max-width: 60rem; margin: 0 auto .9rem; }
.grant p:last-child, .acknowledgement p:last-child { margin-bottom: 0; }

/* ---------- Footer (global, every page) ---------- */
/* FOOTER START — keep identical on every page. */
.site-footer { margin-top: 3rem; }
.footer-cols {
  background: var(--lavender); color: var(--navy); font-family: var(--round); font-size: .95rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem;
  padding: 2.5rem max(1.5rem, calc((100% - 1180px) / 2));
}
.footer-cols p { margin: .2rem 0; }
.foot-head { font-weight: 700; margin-bottom: .6rem; }
.site-footer a { color: var(--navy); }
.foot-social { text-align: center; }
.foot-social img { width: 44px; height: 44px; display: inline-block; margin: .5rem .3rem 0; border-radius: 8px; }
.footer-copyright { background: var(--navy); color: #fff; text-align: center; padding: .8rem; font-family: var(--round); font-size: .85rem; }
/* FOOTER END */

/* ---------- Responsive ---------- */
/* Header collapses to a left-hand hamburger */
@media (max-width: 860px) {
  .header-inner { position: relative; flex-wrap: nowrap; gap: .75rem; align-items: center; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .brand-logo { width: 60px; height: 60px; }
  .brand-title { font-size: 1.3rem; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: var(--paper); border-bottom: 2px solid var(--coral);
    box-shadow: 0 10px 18px rgba(23,1,109,.12);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .25rem 1.5rem .75rem; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: none; }
}
/* Content + footer stacking */
@media (max-width: 800px) {
  .home-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-grid .hero-img { order: -1; }
  .footer-cols { grid-template-columns: 1fr 1fr; text-align: center; }
  .foot-head { margin-top: .5rem; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .club-images { max-width: 420px; }
}
