/* =====================================================
   PANTHER LAKE SITE — SHARED STYLESHEET
   Used by: index.html, history.html, ecology.html, bulletin.html
   Edit colors/fonts here to re-theme the whole site at once.
===================================================== */

/* ---------- EDIT ME: COLOR & TYPE TOKENS ---------- */
:root{
  --pine:        #1B3A2E;   /* deep forest green — headers, nav */
  --lake:        #2C5F63;   /* teal lake blue — accents, links */
  --lake-light:  #6FA3A8;   /* lighter teal — secondary accents */
  --sand:        #F5F0E4;   /* warm cream — page background */
  --sand-deep:   #EAE2CE;   /* deeper cream — card backgrounds */
  --wood:        #A9744F;   /* warm amber wood — highlights */
  --ink:         #1F2A24;   /* near-black green-grey — body text */
  --ink-soft:    #4B5A52;   /* muted text */
  --line:        #D8CFB8;   /* hairline dividers */

  --good:        #4C7A5E;   /* used for ecology status indicators */
  --fair:        #C79A3C;
  --poor:        #B25C4A;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, Segoe UI, sans-serif;
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
}

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

a{ color: var(--lake); }

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAV (shared across all pages) ---------- */
header.site-nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(245,240,228,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 28px;
  max-width: 1080px; margin:0 auto;
}
.brand{
  font-family: var(--font-display);
  font-weight:600; font-size: 1.25rem;
  color: var(--pine);
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand span{ color: var(--wood); }
nav.links{ display:flex; gap: 22px; flex-wrap: wrap; }
nav.links a{
  text-decoration:none; color: var(--ink);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em;
}
nav.links a:hover, nav.links a.active{ color: var(--lake); }
@media (max-width: 760px){ nav.links{ display:none; } }

/* ---------- HERO (home page — large) ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #234a3c 0%, var(--pine) 100%);
  color: #F5F0E4;
  padding: 96px 0 120px;
}
.hero .wrap{ position: relative; z-index: 2; }
.hero-eyebrow{
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lake-light); font-weight: 700; margin-bottom: 18px;
}
.hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  max-width: 780px;
  letter-spacing: -0.01em;
}
.hero p.lede{
  margin-top: 22px;
  max-width: 560px;
  font-size: 1.15rem;
  color: #DCE6DF;
}
.hero-stats{
  display:flex; flex-wrap:wrap; gap: 36px;
  margin-top: 48px;
}
.hero-stats div{ border-left: 2px solid var(--wood); padding-left: 14px; }
.hero-stats .num{
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  display:block;
}
.hero-stats .lbl{
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--lake-light);
}

/* Signature element: bathymetric depth-contour rings, echoing the
   lake's real survey map. Reused (smaller) on every page header. */
.contours{
  position:absolute; inset:0; z-index:1;
  opacity: 0.55;
}

/* ---------- PAGE HEADER (subpages — history / ecology / bulletin) ---------- */
.page-header{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #234a3c 0%, var(--pine) 100%);
  color: #F5F0E4;
  padding: 64px 0 72px;
}
.page-header .wrap{ position: relative; z-index: 2; }
.page-header .hero-eyebrow{ margin-bottom: 14px; }
.page-header h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  max-width: 680px;
}
.page-header p.lede{
  margin-top: 16px;
  max-width: 620px;
  font-size: 1.05rem;
  color: #DCE6DF;
}
.breadcrumb{
  font-size: 0.82rem; color: var(--lake-light); margin-bottom: 18px;
}
.breadcrumb a{ color: var(--lake-light); text-decoration: none; }
.breadcrumb a:hover{ text-decoration: underline; }

/* ---------- SECTIONS ---------- */
section{ padding: 80px 0; }
section + section{ border-top: 1px solid var(--line); }

.eyebrow{
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wood); font-weight: 700; margin-bottom: 12px;
}
h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--pine);
  max-width: 640px;
}
h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--pine);
  margin-bottom: 8px;
}
p{ color: var(--ink-soft); }
.section-lede{ max-width: 640px; margin-top: 16px; font-size: 1.05rem; }

/* ---------- ABOUT / TWO COL ---------- */
.about-grid{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  margin-top: 44px; align-items: start;
}
@media (max-width: 800px){ .about-grid{ grid-template-columns: 1fr; } }
.about-grid p{ margin-bottom: 16px; }

.photo-slot{
  background: var(--sand-deep);
  border: 1px dashed var(--wood);
  border-radius: 4px;
  aspect-ratio: 4/3;
  display:flex; align-items:center; justify-content:center;
  flex-direction: column;
  color: var(--ink-soft);
  text-align:center;
  padding: 20px;
  overflow:hidden;
}
.photo-slot img{ width:100%; height:100%; object-fit: cover; }
.photo-slot .hint{ font-size: 0.8rem; line-height:1.5; }
.photo-slot .hint strong{ display:block; color: var(--pine); font-family: var(--font-display); font-size: 0.95rem; margin-bottom:4px; }

/* ---------- CARDS (recreation, ecology "how to help") ---------- */
.card-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 44px;
}
@media (max-width: 800px){ .card-grid{ grid-template-columns: 1fr; } }
.card{
  background: var(--sand-deep);
  border-radius: 6px;
  padding: 28px 26px;
  border-top: 3px solid var(--lake);
}
.card p{ font-size: 0.95rem; }
.card ul{ margin-top: 10px; padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.card li{ margin-bottom: 4px; }

/* ---------- HISTORY (timeline) ---------- */
.timeline{
  margin-top: 48px;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--lake-light);
}
.timeline-item{
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content:"";
  position:absolute;
  left: -34px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--wood);
  border: 3px solid var(--sand);
  box-shadow: 0 0 0 2px var(--lake-light);
}
.timeline-item .year{
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.1rem;
  color: var(--pine);
  display:block; margin-bottom: 4px;
}
.timeline-item p{ max-width: 620px; font-size: 0.96rem; }
.history-note{
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--sand-deep);
  border-left: 3px solid var(--lake);
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 700px;
  border-radius: 4px;
}

/* ---------- BULLETIN BOARD ---------- */
.board{
  margin-top: 44px;
  background: #E4D9BE;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  box-shadow: inset 0 0 40px rgba(27,58,46,0.06);
}
.board-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
@media (max-width: 800px){ .board-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .board-grid{ grid-template-columns: 1fr; } }
.pin-note{
  background: #FBF6E8;
  padding: 22px 20px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  position: relative;
  transform: rotate(var(--tilt, -1deg));
  font-size: 0.9rem;
  min-height: 170px;
  display:flex; flex-direction:column;
}
.pin-note:nth-child(2){ --tilt: 1.2deg; }
.pin-note:nth-child(3){ --tilt: -0.6deg; }
.pin-note:nth-child(4){ --tilt: 0.8deg; }
.pin-note:nth-child(5){ --tilt: -1.4deg; }
.pin-note:nth-child(6){ --tilt: 0.5deg; }
.pin-note::before{
  content:"";
  position:absolute; top:-8px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--wood);
  box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}
.pin-note .tag{
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--lake);
  margin-bottom: 8px;
}
.pin-note h4{
  font-family: var(--font-display); font-size: 1.02rem; color: var(--pine);
  margin-bottom: 8px; font-weight: 600;
}
.pin-note p{ color: var(--ink-soft); font-size: 0.86rem; flex-grow: 1; }
.pin-note .meta{
  margin-top: 10px; font-size: 0.76rem; color: var(--wood); font-weight: 600;
}
.board-note{
  margin-top: 26px; font-size: 0.85rem; color: var(--ink-soft);
}

/* ---------- GALLERY ---------- */
.gallery{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 44px;
}
@media (max-width: 800px){ .gallery{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .gallery{ grid-template-columns: 1fr; } }
.gallery .photo-slot{ aspect-ratio: 1/1; }

/* ---------- ACCESS / INFO STRIP ---------- */
.info-strip{
  background: var(--pine); color: #F5F0E4;
}
.info-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 32px;
  margin-top: 44px;
}
@media (max-width: 800px){ .info-grid{ grid-template-columns: repeat(2,1fr); } }
.info-grid .num{ font-family: var(--font-display); font-size: 1.8rem; color: var(--wood); }
.info-grid .lbl{ font-size: 0.82rem; color: #DCE6DF; margin-top: 4px; }
.info-strip h2{ color: #F5F0E4; }
.info-strip .section-lede{ color: #C9D6CD; }
.note-box{
  margin-top: 40px; padding: 20px 24px;
  background: rgba(245,240,228,0.08);
  border-left: 3px solid var(--wood);
  font-size: 0.92rem; color: #DCE6DF; max-width: 700px;
}

/* ---------- ECOLOGY: gauge bars ---------- */
.gauge-grid{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-top: 44px;
}
@media (max-width: 800px){ .gauge-grid{ grid-template-columns: 1fr; } }
.gauge-card{
  background: var(--sand-deep);
  border-radius: 6px;
  padding: 24px 26px;
}
.gauge-card .gtitle{
  font-family: var(--font-display); font-weight: 600; color: var(--pine);
  font-size: 1.05rem; margin-bottom: 4px;
}
.gauge-card .gvalue{
  font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 12px;
}
.gauge-track{
  height: 10px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(90deg, var(--poor), var(--fair), var(--good));
  position: relative;
}
.gauge-marker{
  position:absolute; top:-4px; width: 3px; height: 18px;
  background: var(--pine); border-radius: 2px;
}
.gauge-card .gnote{ margin-top: 10px; font-size: 0.85rem; }

/* ---------- ECOLOGY: classification cards ---------- */
.class-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 44px;
}
@media (max-width: 900px){ .class-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .class-grid{ grid-template-columns: 1fr; } }
.class-card{
  padding: 20px; border-radius: 6px;
  background: var(--sand-deep);
  border-top: 4px solid var(--line);
}
.class-card.is-current{ border-top-color: var(--good); background: #E6EEE7; }
.class-card .clabel{
  font-family: var(--font-display); font-weight:600; color: var(--pine);
  font-size: 1rem; margin-bottom: 6px;
}
.class-card p{ font-size: 0.84rem; }
.class-card .ctag{
  display:inline-block; margin-top: 10px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--good);
}

/* ---------- ECOLOGY: food web / layers strip ---------- */
.layer-strip{
  margin-top: 44px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line);
}
.layer{
  padding: 18px 24px; display:flex; justify-content:space-between; align-items:center;
  flex-wrap: wrap; gap: 8px;
}
.layer:nth-child(1){ background: #CFE3D6; }
.layer:nth-child(2){ background: #9FC3AE; }
.layer:nth-child(3){ background: #4C7A6A; color: #F5F0E4; }
.layer .lname{ font-family: var(--font-display); font-weight: 600; }
.layer .ldesc{ font-size: 0.85rem; max-width: 560px; }
.layer:nth-child(3) .ldesc{ color: #DCE6DF; }

/* ---------- MAP ---------- */
.map-embed{
  margin-top: 44px; border-radius: 6px; overflow:hidden;
  border: 1px solid var(--line);
}
.map-embed iframe{ width:100%; height: 380px; border:0; display:block; }

/* ---------- FOOTER (shared) ---------- */
footer{
  background: var(--sand-deep);
  padding: 48px 0;
}
.footer-inner{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap: 20px;
  align-items:center;
}
footer .brand{ font-size: 1.05rem; }
footer p{ font-size: 0.85rem; }
.footer-links{ display:flex; gap: 18px; flex-wrap: wrap; }
.footer-links a{ font-size: 0.85rem; text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.footer-links a:hover{ color: var(--lake); }
