/* ============================================================
   SPRINGFIELD HOUSE — MASTER STYLESHEET
   Museum & Nature Walk | 2025 Edition
   ------------------------------------------------------------
   Simplified, optimized, and unified visual system.
   ============================================================ */

/* === ROOT VARIABLES === */
:root {
  --green: #2a5d34;
  --gold: #ffd700;
  --earth: #8c6b4f;
  --cream: #fdfcf8;
  --lightgreen: #eef7f0;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Open Sans", Arial, sans-serif;
  --font-quote: "Libre Baskerville", serif;
}

/* === BASE TYPOGRAPHY === */
body {
  font-family: var(--font-sans);
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--green);
}

blockquote,
.quote {
  font-family: var(--font-quote);
  font-style: italic;
  color: var(--green);
}

/* === HEADER === */
header {
  background: var(--green);
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}

header .logo-title img {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  max-height: 130px;
  width: auto;
}

header h1 {
  font-size: 3em;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
}

header h2 {
  font-size: 1.6em;
  margin: 0.3em 0 0;
  font-style: italic;
  color: white;
}

nav {
  margin-top: 1em;
}

nav a {
  color: white;
  margin: 0 1em;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  border-bottom: 3px solid var(--gold);
  color: var(--gold);
  padding-bottom: 3px;
}

/* === MOBILE HEADER === */
@media (max-width: 700px) {
  header .logo-title img {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto 10px;
  }
  header h1 {
    font-size: 2.2em;
  }
  header h2 {
    font-size: 1.3em;
  }
}

/* === SECTION DEFAULTS === */
section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}

section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1rem;
}

/* === UNIVERSAL IMAGE STYLE === */
img.standard,
section img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* === TIMELINE === */
.timeline {
  margin-top: 2em;
  padding-left: 1em;
  border-left: 2px dotted var(--earth);
}

.timeline-entry {
  margin-bottom: 1.5em;
}
.timeline-entry h4 {
  margin: 0;
  color: var(--green);
}
.timeline-entry p {
  margin: 0.3em 0 0 0.8em;
}

/* === FOOTER === */
footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9em;
}
footer a {
  color: var(--green);
  text-decoration: none;
}

/* ============================================================
   HISTORY PAGE ELEMENTS
   ============================================================ */
.travelbook {
  background: var(--cream);
  border-left: 5px solid var(--earth);
  padding: 1.5rem;
  margin: 2rem auto;
  border-radius: 6px;
  max-width: 800px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.history-bridge {
  background: var(--cream);
  border-left: 3px solid var(--earth);
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  font-style: italic;
  font-family: var(--font-quote);
  color: var(--green);
  margin: 2rem auto;
}

.construction-glimpse,
.spring1970 {
  text-align: center;
  margin: 2.5rem auto;
}

.construction-glimpse figcaption,
.spring1970 figcaption {
  font-family: var(--font-quote);
  font-size: 0.95em;
  color: #555;
  border-left: 3px solid var(--earth);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 3px;
}

.travel-trade {
  background-color: #f8f8f5;
  padding: 2rem 1rem;
  border-top: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
}

.travel-trade h2 {
  text-align: center;
  color: var(--green);
  font-family: var(--font-serif);
}

.travel-intro {
  max-width: 850px;
  margin: 0 auto 2rem;
  text-align: justify;
}

.travel-intro img.portrait {
  display: block;
  margin: 1rem auto;
  max-width: 420px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.travel-intro figcaption {
  font-family: var(--font-quote);
  font-size: 0.9em;
  color: #444;
  text-align: center;
  margin-top: 0.3rem;
  font-style: italic;
}

/* Artifact Grid */
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.artifact {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}
.artifact:hover {
  transform: scale(1.01);
}
.artifact img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #ddd;
}
.artifact h3 {
  color: var(--green);
  text-align: center;
  font-family: var(--font-serif);
}
.artifact p {
  font-size: 0.95rem;
  color: #333;
  margin: 0.4rem 1rem 1rem;
  line-height: 1.5;
  text-align: justify;
}

/* ============================================================
   ART PAGE
   ============================================================ */
.art-gallery {
  padding: 2rem 1rem;
  text-align: center;
}
.art-gallery h3 {
  color: var(--green);
  margin-bottom: 1.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}
.gallery-grid img {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
}
.gallery-grid figcaption {
  font-style: italic;
  color: var(--green);
  margin-top: 0.5rem;
}

/* ============================================================
   SPRINGFIELD FORWARD (Support) PAGE
   ============================================================ */
.forward-hero {
  background: var(--lightgreen);
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 3px solid var(--green);
}
.forward-hero h2 {
  font-family: var(--font-serif);
  font-size: 2.4em;
  color: var(--green);
}
.forward-hero p {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #444;
}

.forward-mission,
.forward-donate,
.forward-tagline {
  max-width: 850px;
  margin: 3em auto;
  padding: 2em;
  background: #ffffff;
  border-left: 6px solid var(--green);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.forward-mission h3,
.forward-donate h3 {
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 1.8em;
  text-align: center;
}

.forward-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  max-width: 950px;
  margin: 3em auto;
  padding: 0 1em;
}
.pillar {
  background: #f9f8f4;
  border: 1px solid #e3dcc3;
  border-radius: 10px;
  padding: 1.5em;
  transition: transform 0.3s ease;
}
.pillar:hover {
  transform: translateY(-4px);
}
.pillar h4 {
  color: var(--green);
  font-family: var(--font-serif);
  margin-top: 0;
}

.donate-button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.donate-button:hover {
  background: #347746;
}

.forward-tagline blockquote {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--green);
  font-size: 1.3em;
  margin: 1em auto;
}

/* ============================================================
   ARCHBOLD PAGE
   ============================================================ */
.archbold-hero {
  text-align: center;
  background-color: #f5f5f0;
  padding: 3rem 1rem;
}
.archbold-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.5rem;
}
.archbold-quote blockquote {
  font-style: italic;
  font-size: 1.6em;
  font-weight: bold;
  color: var(--green);
  border-left: 4px solid var(--green);
  padding-left: 1rem;
  line-height: 1.4;
}
.archbold-later {
  background-color: var(--cream);
  padding: 3rem 1rem;
  text-align: center;
}
.archbold-later img {
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.archbold-reflection {
  background: var(--lightgreen);
  border-left: 5px solid var(--green);
  padding: 2rem 1.5rem;
  margin: 3rem auto;
  max-width: 800px;
  border-radius: 8px;
  text-align: center;
}
.archbold-reflection blockquote {
  font-style: italic;
  font-size: 1.3em;
  color: var(--green);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.qr-section {
  text-align: center;
  margin: 2em auto;
  padding: 2em 1em;
  max-width: 700px;
  background-color: var(--lightgreen);
  border: 2px solid var(--green);
  border-radius: 10px;
}
.qr img {
  width: 200px;
  display: block;
  margin: 0 auto;
}
.qr p {
  margin-top: 0.5em;
  font-weight: bold;
  color: var(--green);
}

/* --- End of Master Springfield Stylesheet --- */
/* === Compact QR Section (Springfield Museum 2025) === */
.qr-section {
  text-align: center;
  margin: 2rem auto;
  padding: 2rem 1rem;
  max-width: 700px;
  background-color: #eef7f0;
  border: 2px solid #2a5d34;
  border-radius: 10px;
}

.qr-section h2 {
  color: #2a5d34;
  margin-bottom: 0.5rem;
}

.qr-section p {
  margin-bottom: 1rem;
  color: #333;
}

/* Row layout for QR items */
.qr-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap; /* allows stacking on mobile */
  margin-top: 1rem;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 120px; /* smaller size */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.qr-item p {
  margin-top: 0.4rem;
  font-weight: bold;
}

.qr-item a {
  color: #2a5d34;
  text-decoration: none;
}

.qr-item a:hover {
  text-decoration: underline;
}

.coming-soon {
  margin-top: 1.5rem;
  font-style: italic;
  color: #2a5d34;
  font-size: 0.95em;
}
