/* ── Almaden Quicksilver Park — Shared Stylesheet ── */

:root {
  --forest: #2d4a1e;
  --moss: #4a6741;
  --gold: #c8922a;
  --amber: #e8a83e;
  --cream: #f5f0e8;
  --bark: #5c3d1e;
  --sky: #7aa8c4;
  --text: #1a2e10;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background-color: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
header {
  background: var(--forest);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(74,103,65,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(92,61,30,0.4) 0%, transparent 50%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a6741' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.header-top {
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.park-emblem {
  width: 52px;
  height: 52px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.park-title {
  text-align: center;
}

.park-title h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.park-title span {
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
}

/* ── NAV ── */
nav {
  background: var(--bark);
  border-top: 1px solid rgba(200,146,42,0.3);
  border-bottom: 3px solid var(--gold);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0 48px;
  justify-content: center;
}

nav ul li a {
  display: block;
  padding: 14px 28px;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--amber);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  transform: scaleX(1);
}

/* ── HERO BAND ── */
.hero-band {
  background: linear-gradient(135deg, var(--moss) 0%, var(--forest) 100%);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-band::after {
  content: 'SANTA CLARA COUNTY PARKS';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(245,240,232,0.12);
  font-family: 'Playfair Display', serif;
  white-space: nowrap;
}

.hero-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 1.5vw, 1.7rem);
  color: var(--cream);
  font-weight: 500;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
}

.hero-band h2 em {
  color: var(--amber);
  font-style: italic;
}

.hero-tagline {
  margin-top: 12px;
  color: rgba(245,240,232,0.75);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* ── MAIN CONTENT ── */
main {
  flex: 1;
  padding: 52px 48px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.content-block {
  display: block;
}

.float-wrap {
  float: left;
  width: 420px;
  margin: 0 36px 20px 0;
}

.float-img {
  width: 100%;
  display: block;
  border: 5px solid white;
  box-shadow: 8px 8px 0 var(--moss), 12px 12px 0 var(--gold);
}

.photo-caption {
  margin-top: 8px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--moss);
  text-align: center;
  letter-spacing: 0.04em;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  margin-bottom: 16px;
}

.content-block p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #2a3a20;
}

.content-block p + p {
  margin-top: 14px;
}

/* ── NATURE PAGE — topic cards ── */
.nature-intro {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #2a3a20;
  margin-bottom: 40px;
  max-width: 780px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.topic-card {
  display: block;
  text-decoration: none;
  background: white;
  border: 1px solid rgba(74,103,65,0.2);
  border-bottom: 4px solid var(--gold);
  padding: 32px 24px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 4px 4px 0 rgba(74,103,65,0.12);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 10px 0 rgba(74,103,65,0.18);
}

.topic-card .card-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 14px;
}

.topic-card .card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest);
  display: block;
  margin-bottom: 8px;
}

.topic-card .card-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--moss);
  font-style: italic;
}

/* ── PLAN YOUR VISIT — entrance sections ── */
.entrance {
  border-top: 2px solid rgba(74,103,65,0.2);
  padding: 36px 0;
}

.entrance:first-of-type {
  border-top: none;
  padding-top: 0;
}

.entrance-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.entrance-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.entrance h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
}

.entrance-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 12px;
}

.entrance-desc p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #2a3a20;
}

.entrance-desc p + p {
  margin-top: 12px;
}

.entrance-directions {
  background: white;
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  box-shadow: 3px 3px 0 rgba(74,103,65,0.1);
}

.entrance-directions h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.entrance-directions p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #2a3a20;
  font-style: italic;
}

.visit-intro {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #2a3a20;
  margin-bottom: 44px;
  max-width: 780px;
}

@media (max-width: 768px) {
  .entrance-body { grid-template-columns: 1fr; }
  .entrance-number { font-size: 1.5rem; }
}

/* ── FOOTER ── */
footer {
  background: var(--forest);
  background-image: linear-gradient(to right, var(--bark), var(--forest));
  border-top: 3px solid var(--gold);
  padding: 24px 48px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  color: rgba(245,240,232,0.65);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-style: italic;
}

footer .footer-links {
  display: flex;
  gap: 20px;
}

footer .footer-links a {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  transition: color 0.2s;
}

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

@media (max-width: 768px) {
  .header-top, nav ul, main, footer { padding-left: 20px; padding-right: 20px; }
  .hero-band { padding: 36px 20px; }
  .float-wrap { float: none; width: 100%; margin: 0 0 24px 0; }
  nav ul { flex-wrap: wrap; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
}
