/* ============================================================
   The Park Pantry — Shared Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark:   #2d6a4f;
  --green-mid:    #52b788;
  --green-light:  #b7e4c7;
  --green-pale:   #d8f3dc;
  --bg:           #f8f5f0;
  --bg-card:      #ffffff;
  --text-dark:    #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-soft:    #666666;
  --earth-warm:   #a07850;
  --earth-light:  #e8ddd0;
  --border:       #e0d8cc;
  --shadow-sm:    0 2px 8px rgba(45, 106, 79, 0.08);
  --shadow-md:    0 4px 20px rgba(45, 106, 79, 0.12);
  --shadow-lg:    0 8px 40px rgba(45, 106, 79, 0.16);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --max-w:        1120px;
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--green-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; color: var(--text-mid); }
li { margin-bottom: 0.4rem; }

strong { color: var(--text-dark); font-weight: 600; }

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--green-pale);
}

.section--earth {
  background-color: var(--earth-light);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 0.75rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__brand span {
  color: var(--green-mid);
}

.nav__brand:hover { text-decoration: none; }

.nav__links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
}

.nav__links a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav__links a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  text-decoration: none;
}

.nav__links a.active {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 600;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-align: center;
  border: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #235a40;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn--outline:hover {
  background: var(--green-pale);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--green-dark) 0%, #1a4430 100%);
  color: #ffffff;
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Decorative leaf shape */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: rgba(82, 183, 136, 0.15);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: rgba(82, 183, 136, 0.10);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__district {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Cards ────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Two-Column Layout ────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col--wide {
  grid-template-columns: 3fr 2fr;
}

/* ── Offer Columns ────────────────────────────────────────── */
.offer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.offer-col {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.offer-col h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--green-pale);
}

.offer-col ul {
  list-style: none;
  padding: 0;
}

.offer-col ul li {
  padding: 0.45rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.offer-col ul li:last-child { border-bottom: none; }

.offer-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* ── Bullet List (styled) ─────────────────────────────────── */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text-mid);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Profile Cards (About) ────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.profile-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  display: block;
}

.profile-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.profile-card__role {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.9rem;
}

/* ── Story / Callout Block ────────────────────────────────── */
.callout {
  background: var(--green-dark);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem 2.5rem;
}

.callout h2, .callout h3 {
  color: #ffffff;
}

.callout p {
  color: rgba(255,255,255,0.85);
}

.callout .section-label {
  color: var(--green-light);
}

/* ── Stat / Highlight Strip ───────────────────────────────── */
.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.highlight-strip__item {
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.highlight-strip__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.highlight-strip__item p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem;
  max-width: 600px;
  box-shadow: var(--shadow-md);
}

.contact-box h2 {
  margin-bottom: 1rem;
}

.contact-form {
  margin-top: 1.75rem;
}

.form-row { display: flex; flex-direction: column; gap: 1rem; }

.form-row--half { flex-direction: row; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group label span {
  color: var(--green-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.25rem;
  cursor: pointer;
}

.form-submit {
  margin-top: 0.75rem;
  width: 100%;
}

.form-row { margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }

@media (max-width: 680px) {
  .form-row--half { flex-direction: column; }
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 3px;
  width: 56px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  border-radius: 3px;
  margin: 1rem 0 1.5rem;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* ── Banner accent strip ──────────────────────────────────── */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-mid), var(--earth-warm));
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--green-light);
  text-decoration: none;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer__social:hover {
  color: var(--green-light);
}

.footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--green-dark) 0%, #1a4430 100%);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: rgba(82, 183, 136, 0.12);
  pointer-events: none;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .two-col,
  .two-col--wide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .offer-columns {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .highlight-strip {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 680px) {
  .section { padding: 3.5rem 0; }

  .container { padding: 0 1.25rem; }

  .hero { padding: 5rem 0 4rem; }

  .page-hero { padding: 3rem 0 2.75rem; }

  .contact-box { padding: 2rem 1.5rem; }

  .callout { padding: 2rem 1.5rem; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow-md);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .cards {
    max-width: 100%;
  }
}
