/* ============================================================
   Nature Study Club of Pittsburgh — Stylesheet
   Palette: Forest green · Parchment · Earth gold
   Fonts: Playfair Display (headings) · Inter (body)
   ============================================================ */

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

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg: #f7f4ee;
  --surface: #ede8df;
  --surface-dark: #2a3d1c;
  --border: #ceca B8;
  --border: #cec8b0;
  --primary: #2d5016;
  --primary-mid: #4a7a28;
  --primary-light: #6b9e40;
  --gold: #8b6914;
  --gold-light: #b8891a;
  --text: #1a1c14;
  --text-muted: #555848;
  --text-faint: #8a8c7a;
  --cream: #f7f4ee;
  --white: #ffffff;
  --nav-bg: #1e2e10;
  --footer-bg: #1a2a0e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}
h4 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

em {
  font-style: italic;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}
.section-lg {
  padding: 112px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}

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

/* ── Decorative ────────────────────────────────────────────── */
.section-label {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.deco-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--primary-mid);
  font-size: 0.75rem;
}

.leaf-mark {
  color: var(--primary-mid);
  font-size: 1rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--cream);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--cream);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(247, 244, 238, 0.5);
}
.btn-outline-light:hover {
  background: rgba(247, 244, 238, 0.12);
  border-color: var(--cream);
}

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(107, 158, 64, 0.2);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.nav-brand-sub {
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  color: var(--primary-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.75);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.nav-cta {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--primary-mid);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-cta:hover {
  background: var(--primary);
  color: var(--cream);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding-top: 64px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--nav-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(45, 80, 22, 0.6) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(74, 122, 40, 0.25) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #1a2a0e 0%, #0f1a08 60%, #162010 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(107, 158, 64, 0.06) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--primary-light);
  font-style: italic;
}

.hero-sub {
  color: rgba(247, 244, 238, 0.78);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.hero-emblem-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid rgba(107, 158, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 32px;
  background: rgba(45, 80, 22, 0.15);
}

.hero-emblem-year {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-emblem-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 8px;
}

.hero-emblem-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero-emblem-city {
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: rgba(247, 244, 238, 0.5);
  text-transform: uppercase;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 140px 0 72px;
  background: linear-gradient(160deg, #1a2a0e 0%, #0f1a08 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(107, 158, 64, 0.06) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
}

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

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(247, 244, 238, 0.75);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 24px rgba(45, 80, 22, 0.1);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  margin-bottom: 10px;
}
.card h4 {
  margin-bottom: 8px;
  color: var(--primary);
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Green band ────────────────────────────────────────────── */
.green-band {
  background: var(--primary);
}

.green-band h2,
.green-band h3,
.green-band p {
  color: var(--cream);
}

.green-band p {
  opacity: 0.88;
}

/* ── Event cards ───────────────────────────────────────────── */
.event-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.event-item:first-child {
  padding-top: 0;
}
.event-item:last-child {
  border-bottom: none;
}

.event-date {
  flex-shrink: 0;
  width: 68px;
  text-align: center;
  background: var(--surface);
  padding: 12px 8px;
  border-top: 3px solid var(--primary);
}

.event-date .month {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.event-date .day {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.event-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.event-meta {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.event-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Pullquote ─────────────────────────────────────────────── */
.pullquote {
  border-left: 3px solid var(--primary-light);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--surface);
}

.pullquote p {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
  margin: 0;
  line-height: 1.65;
}

/* ── Membership banner ─────────────────────────────────────── */
.join-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* ── Contact form ──────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-mid);
}

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

.form-success {
  background: var(--surface);
  border: 1px solid var(--primary-mid);
  padding: 20px 24px;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-style: italic;
  display: none;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  padding: 60px 0 32px;
  color: rgba(247, 244, 238, 0.7);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: "Cinzel", serif;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.65);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(107, 158, 64, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.4);
  margin: 0;
}

/* ── Fade-up animations ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
.fade-up-1 {
  animation-delay: 0.1s;
}
.fade-up-2 {
  animation-delay: 0.22s;
}
.fade-up-3 {
  animation-delay: 0.34s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-emblem {
    display: none;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .join-banner {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    display: none;
  }

  .section {
    padding: 56px 0;
  }
  .section-sm {
    padding: 36px 0;
  }
  .section-lg {
    padding: 72px 0;
  }
}
