@charset "utf-8";

/* ------------------------------------
   RESET / BASE
------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  font-family: sans-serif;
  background-color: #e6e6e6;
  line-height: 1.45;
}

/* ------------------------------------
   LAYOUT WRAPPER
------------------------------------ */
#wrapper { max-width: 1020px; margin: 0 auto; background: transparent; }

/* ------------------------------------
   HEADER + SIMPLE NAV
------------------------------------ */
header {
  background: #f5f5f5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px;            /* tight */
  border-bottom: 1px solid #ddd;
  min-height: 72px;
}
.logo-responsive, .logo-wrapper img { height: 56px; width: auto; display: block; }

/* Navigation */
nav {
  background: #1e4634; /* logo green */
  padding: 1rem 2rem;
  font-family: 'Lora', serif;
  border-radius: 10px; /* soft rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtle wellness shadow */
  margin: 0 auto;
  max-width: 1020px; /* keep it aligned with page width */
}

nav .nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0;
  position: relative;
}
nav ul {
  list-style: none; display: flex; justify-content: center; align-items: center;
  gap: 3rem; margin: 0; padding: 0;
}
nav li { white-space: nowrap; }

/* Navigation */
nav {
  background: #1e4634; /* logo green */
  padding: 1rem 2rem;
  font-family: 'Lora', serif;
}

/* Nav links */
nav a {
  color: #ffffff; /* white text for contrast */
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .25s ease, border-bottom .25s ease;
}

/* Hover / Focus */
nav a:hover,
nav a:focus {
  color: #d99200; /* warm orange accent from logo */
  border-bottom-color: #d99200;
}


@media (max-width: 768px) {
  nav ul { flex-direction: column; gap: 1rem; }
}

/* ------------------------------------
   OPTIONAL LEGACY HEADER IMAGE (index)
------------------------------------ */
#content1 { clear: both; }
#headerimg {
  background: #333 url(/images/magellanic-cloud_header.jpg) center/cover no-repeat;
  height: 500px;
}
#caption1, #caption2 {
  width: 20%; color: #737; font-size: .75rem; font-family: source-sans-pro, sans-serif;
}
#caption1 { float: right; text-align: right; margin: 480px 15px 0 0; }
#caption2 { float: left;  text-align: left;  margin: 20px 0 0 50px; }

/* ------------------------------------
   CONTAINED HERO (calm, smaller)
------------------------------------ */
.hero-small {
  position: relative;
  height: 40vh;                                /* smaller header */
  background: url("images/stacked-stones.jpg") center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.hero-small::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 2.2rem; margin-bottom: .5rem; font-family: 'Lora', serif; }
.hero-content p  { font-size: 1.2rem; font-family: 'Raleway', sans-serif; }

/* ------------------------------------
   TYPOGRAPHY (shared)
------------------------------------ */
h2 {
  font-weight: 500; letter-spacing: .05em; color: #333;
  font-family: source-sans-pro, sans-serif;
}

/* ------------------------------------
   CONTAINER + GRID
------------------------------------ */
.container {
  max-width: 1020px; margin: 0 auto;
  padding: 16px 20px 40px;
  background: transparent;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 16px 0 28px; }
.grid-3 h3 { margin-bottom: 8px; }
.grid-3 ul { margin: 0; padding-left: 20px; }

/* ------------------------------------
   SERENITY STRIP (image row)
------------------------------------ */
.serenity-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; align-items: start; margin-bottom: 30px;
}
.serenity-strip img {
  width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 6px;
}

/* ------------------------------------
   LEGACY GALLERY (Lightbox grid)
------------------------------------ */
#gallery { position: relative; display: block; width: 100%; margin: 0; background: #fff; padding: 40px 0 50px; }
#gallery h2 {
  font-family: source-sans-pro, sans-serif; font-weight: 500; letter-spacing: .05em;
  color: #333; text-align: left; margin: 0 0 0 50px;
}
#gallery h4 {
  margin: 0; font-family: source-sans-pro, sans-serif; font-weight: 500; letter-spacing: .05em; color: #333;
}
#gallery h3 {
  font-family: source-sans-pro, sans-serif; letter-spacing: .01em; color: #5E5E5E;
  text-align: left; margin: 20px 0 0 50px; font-weight: 400;
}
p {
  display: block; width: 80%; margin: 5px 0 0 50px;
  font-size: 1.1rem; line-height: 1.6; color: #333; letter-spacing: .01em;
  font-weight: 300; font-family: source-sans-pro, sans-serif;
}
#lightboxWrap { margin: 30px 0 0 50px; width: 90%; }
#gallery img { width: 100%; opacity: .9; outline: none; transition: opacity .2s ease; }
#gallery a:hover img { opacity: 1; }

#gallery .imgGallery .thumbnailCaption {
  position: absolute; bottom: 0; left: 0; right: 0; display: block; height: 0%;
  overflow: hidden; padding: 0; font: 1em/1.2em source-sans-pro, sans-serif; text-align: center;
  color: #fff; background-color: rgba(55,192,253,0.0);
}
#gallery .imgGallery:hover .thumbnailCaption {
  height: 25%; padding: 5% 5%; background-color: rgba(255,255,255,.6);
  -moz-transition: height .4s, background-color .3s ease;
}
.imgGallery { position: relative; display: inline-block; outline: none; width: 22.5%; margin: 0 1.33% 0 0; }
.thumbnailWrapper { background-color: #000; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/* Responsive gallery grid (modern) */
.gallery-grid {
  background:#fff; padding:20px;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:18px;
}
.gallery-grid figure { margin:0; }
.gallery-grid img {
  width:100%; height:200px; object-fit:cover; border-radius:10px; display:block;
}
.gallery-grid figcaption { margin-top:8px; font-size:.95rem; color:#444; text-align:center; }

/* ------------------------------------
   SIMPLE INFO TABLE (if used)
------------------------------------ */
.info-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.info-table th, .info-table td { border: 1px solid #e3e3e3; padding: 10px 12px; text-align: left; }
.info-table thead th { background: #f5f5f5; font-weight: 600; }

/* ------------------------------------
   WELLNESS FOR ALL (namespaced)
------------------------------------ */
.wf-hero {
  background: url('images/hero-wellness.jpg') center/cover no-repeat;
  min-height: 40vh; display: grid; place-items: center;
  padding: 3rem 1rem; color: #fff; text-align: center; position: relative;
}
.wf-hero::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.25); }
.wf-hero, .wf-hero * { position: relative; z-index: 1; }
.wf-hero-inner { max-width: 900px; }

.wf-breadcrumb { font-size: .9rem; padding: .75rem 1rem; }
.wf-breadcrumb a { text-decoration: none; }

.wf-intro { padding: 1rem; max-width: 960px; margin: 0 auto; }
.wf-section-title { margin: 0 0 .25rem; }
.wf-lead { font-size: 1.05rem; opacity: .9; }

.wf-section { padding: 2rem 1rem; max-width: 1100px; margin: 0 auto; }
.wf-section-header { margin-bottom: 1rem; }
.wf-section-kicker { color: #555; margin-top: .25rem; }

.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) { .wf-grid { grid-template-columns: 1fr; } }

.wf-card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}

.wf-checklist { list-style: none; padding: 0; margin: 0; }
.wf-checklist li { padding: .4rem 0; }

.wf-cta { display: flex; gap: .75rem; margin: 1rem 0; flex-wrap: wrap; }
.wf-button { display: inline-block; padding: .6rem .9rem; border-radius: 999px; background: #0d6efd; color: #fff; text-decoration: none; }
.wf-link { align-self: center; text-decoration: none; }

.wf-plan-list { margin: .5rem 0 0 1.25rem; }
.wf-resources ul { margin: .5rem 0 0 1.25rem; }

/* Mega menu (left-aligned panel) */
.wf-has-mega { position: static; }
.wf-mega {
  position: absolute; top: calc(100% + 12px); left: 0; right: auto;
  width: 1080px; max-width: calc(100vw - 40px);
  display: none; background: #f9fdfb; border: 1px solid #e3f2e9;
  box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 1.25rem 1.75rem; z-index: 1000;
  display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)); gap: 1.25rem 2rem;
}
.wf-has-mega:hover > .wf-mega,
.wf-has-mega:focus-within > .wf-mega { display: grid; }
.wf-mega-col h4 {
  margin: 0 0 .6rem; font: 700 1rem 'Raleway', sans-serif; color: #1e4634;
  border-bottom: 2px solid #e3f2e9; padding-bottom: .25rem;
}
.wf-mega-col a {
  display: block; padding: .35rem 0; text-decoration: none;
  font: 500 .95rem 'Raleway', sans-serif; color: #2c3e50;
  transition: color .2s ease, transform .15s ease;
}
.wf-mega-col a:hover { color: #2ba84a; transform: translateX(4px); }

@media (max-width: 1100px) {
  nav .nav-inner > ul { gap: 2rem; }
  .wf-mega { width: 920px; grid-template-columns: repeat(3, minmax(200px, 1fr)); }
}
@media (max-width: 900px) {
  nav .nav-inner > ul { gap: 1rem; flex-wrap: wrap; }
  .wf-mega { position: static; width: auto; max-width: none; box-shadow: none; border: none; padding: .5rem 0; grid-template-columns: 1fr; display: none; }
  .wf-has-mega:focus-within > .wf-mega { display: block; }
}

/* ------------------------------------
   FOOTER
------------------------------------ */
footer {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  background: #fff; padding: 40px 20px; margin-top: 40px; border-top: 1px solid #e3e3e3;
}
#contact, #subscribeFooter { flex: 1 1 300px; }
#stargazerFooter { margin: 0 0 20px 0; }
.footerList { list-style: none; margin: 6px 0; color: #333; font-size: 1.1em; }
#subscribe { margin: 0 0 15px 0; }
.newsletter { display: flex; gap: 8px; }
input { flex: 1; padding: 10px; font-size: 1em; border: 2px solid #eee; height: 46px; color: #333; font-weight: 300; font-family: source-sans-pro, sans-serif; }
button {
  padding: 10px 14px; background: #eee; border: 1px solid #ccc; font-size: 1em; cursor: pointer;
  width: 60px; height: 46px; transition: background,color .3s ease; color: #333;
}
button:hover { background: #dadada; color: #C43C3E; }

/* ------------------------------------
   RESPONSIVE (global)
------------------------------------ */
@media (max-width: 700px) {
  header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .logo-responsive { height: 48px; }
  .imgGallery { width: 48%; margin: 0 2% 16px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .serenity-strip { grid-template-columns: 1fr 1fr; }
  .serenity-strip img { height: 180px; }
  #contact, #subscribeFooter { width: 100%; }
}

/* --- Blurred header image + overlay --- */
.hero-small {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;                 /* hide blurred edges */
}

/* Put the image on ::before so we can blur it */
.hero-small::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/stacked-stones.jpg") center/cover no-repeat;
  filter: blur(4px) saturate(.95);
  transform: scale(1.05);           /* avoids edge clipping after blur */
  z-index: 0;
}

/* Soft dark fade for readability */
.hero-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 0;
}

/* Text sits above the blur/fade */
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-family:'Lora',serif; font-size:2.2rem; margin-bottom:.5rem; }
.hero-content p  { font-family:'Raleway',sans-serif; font-size:1.2rem; }


/* --- Center the nav --- */
nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;   /* center the block */
  align-items: center;
}

nav .nav-inner > ul {
  display: flex;
  gap: 3rem;
  justify-content: center;   /* center the items */
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Optional: if a logo sits in the same row and pushes links, hide it on index */
.index .logo { display: none; }   /* only if you add class="index" on <body> */


/* ------- BLURRED HERO (index header) ------- */
/* Your HTML should be:
   <section class="hero-small">
     <div class="hero-content">
       <h1>Wellness for All</h1>
       <p>Balance in body, peace in mind, joy in spirit</p>
     </div>
   </section>
*/

.hero-small {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;                 /* hides blur edges */
  background: none !important;      /* cancel any previous background */
}

/* Put the image on ::before so we can blur it */
.hero-small::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/stacked-stones.jpg") center/cover no-repeat !important;
  filter: blur(6px) saturate(.95);
  transform: scale(1.06);           /* avoids edge clipping after blur */
  z-index: 0;
}

/* Soft dark fade for readability */
.hero-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 0;
}

/* Text sits above */
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-family:'Lora',serif; font-size:2.2rem; margin-bottom:.5rem; }
.hero-content p  { font-family:'Raleway',sans-serif; font-size:1.2rem; }

/* ------- CENTER THE NAV ------- */
nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 1rem 2rem;
  display: flex !important;
  justify-content: center !important;   /* center the whole group */
  align-items: center !important;
  text-align: center;
}

nav .nav-inner > ul {
  display: flex !important;
  gap: 3rem;
  justify-content: center !important;   /* center items */
  align-items: center;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
}

/* If a logo inside the same row is pushing things,
   keep it but don't let it offset the links */
nav .nav-inner > a.logo,
nav .nav-inner > .logo { margin-right: 0 !important; }

/* ===== Hero (blurred header image) ===== */
.hero-small {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-small::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/stacked-stones.jpg") center/cover no-repeat;
  filter: blur(6px) brightness(0.85);
  transform: scale(1.05); /* prevents blurred edges */
  z-index: 0;
}

.hero-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* dark overlay for text readability */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: .5rem;
  font-family: 'Lora', serif;
}

.hero-content p {
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
}

/* ===== Blurred hero (magellanic-cloud_header.jpg) ===== */
.hero-small {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;              /* hides blur edges */
}

.hero-small .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(.95);
  transform: scale(1.06);        /* avoids edge artifacts after blur */
  z-index: 0;
}

.hero-small::after {
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);   /* dark overlay for readability */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family:'Lora',serif;
  font-size: 2.4rem;
  margin-bottom: .5rem;
}

.hero-content p {
  font-family:'Raleway',sans-serif;
  font-size: 1.2rem;
}

/* ===== Center the nav ===== */
nav {
  background: #f9fdfb;
  border-bottom: 2px solid #e3f2e9;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 1rem 2rem;
}

nav ul {
  list-style: none;
  display: flex !important;
  gap: 2.5rem;
  justify-content: center !important;
  align-items: center;
  margin: 0 auto !important;
  padding: 0 !important;
}

nav li { white-space: nowrap; }

nav a {
  text-decoration: none;
  font-family:'Lora',serif;
  font-weight: 600;
  letter-spacing: .5px;
  color:#1e4634;
  padding-bottom:4px;
  border-bottom:2px solid transparent;
  transition: color .25s, border-bottom .25s;
}

nav a:hover {
  color:#2ba84a;
  border-bottom-color:#2ba84a;
}

/* ===== Sitewide centered header/nav ===== */
header{
  display:grid !important;
  grid-template-columns: 1fr auto 1fr;  /* [logo] [nav] [spacer] */
  align-items:center;
  padding:8px 20px;
  background:#f5f5f5;
  border-bottom:1px solid #ddd;
}
.logo-wrapper{ grid-column:1; justify-self:start; }
header > nav{ grid-column:2; justify-self:center; }
header > nav ul{
  display:flex !important;
  gap:2.5rem;
  list-style:none;
  margin:0;
  padding:0;
  justify-content:center !important;
  align-items:center;
}
header > nav, header > nav ul, header > nav li{ float:none !important; }

/* ===== Centered mega menu panel ===== */
header > nav{ position:relative; z-index:50; } /* anchor for absolute panel */

.wf-has-mega{ position:static; } /* li itself not positioning context */

.wf-mega{
  position:absolute;
  top:calc(100% + 12px);
  left:50%;
  transform:translateX(-50%);              /* <- true center */
  width:min(1100px, calc(100vw - 40px));   /* responsive max width */
  background:#f9fdfb;
  border:1px solid #e3f2e9;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  padding:1.25rem 1.75rem;
  display:none;
  z-index:1000;

  /* grid inside the panel */
  display:grid;
  grid-template-columns:repeat(4, minmax(200px, 1fr));
  gap:1.25rem 2rem;
}

/* show it */
.wf-has-mega:hover > .wf-mega,
.wf-has-mega:focus-within > .wf-mega{ display:grid; }

/* tidy headings/links inside */
.wf-mega-col h4{
  margin:0 0 .6rem;
  font:700 1rem 'Raleway', sans-serif;
  color:#1e4634;
  border-bottom:2px solid #e3f2e9;
  padding-bottom:.25rem;
}
.wf-mega-col a{
  display:block;
  padding:.35rem 0;
  text-decoration:none;
  font:500 .95rem 'Raleway', sans-serif;
  color:#2c3e50;
  transition:color .2s, transform .15s;
}
.wf-mega-col a:hover{ color:#2ba84a; transform:translateX(4px); }

/* mobile: stack the panel inline */
@media (max-width: 900px){
  .wf-mega{
    position:static;
    transform:none;
    width:auto;
    box-shadow:none;
    border:none;
    padding:.5rem 0;
    grid-template-columns:1fr;
    display:none;
  }
  .wf-has-mega:focus-within > .wf-mega{ display:block; }
}

/* ===== Centered mega menu panel ===== */
header > nav{ position:relative; z-index:50; } /* anchor for absolute panel */

.wf-has-mega{ position:static; } /* li itself not positioning context */

.wf-mega{
  position:absolute;
  top:calc(100% + 12px);
  left:50%;
  transform:translateX(-50%);              /* <- true center */
  width:min(1100px, calc(100vw - 40px));   /* responsive max width */
  background:#f9fdfb;
  border:1px solid #e3f2e9;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  padding:1.25rem 1.75rem;
  display:none;
  z-index:1000;

  /* grid inside the panel */
  display:grid;
  grid-template-columns:repeat(4, minmax(200px, 1fr));
  gap:1.25rem 2rem;
}

/* show it */
.wf-has-mega:hover > .wf-mega,
.wf-has-mega:focus-within > .wf-mega{ display:grid; }

/* tidy headings/links inside */
.wf-mega-col h4{
  margin:0 0 .6rem;
  font:700 1rem 'Raleway', sans-serif;
  color:#1e4634;
  border-bottom:2px solid #e3f2e9;
  padding-bottom:.25rem;
}
.wf-mega-col a{
  display:block;
  padding:.35rem 0;
  text-decoration:none;
  font:500 .95rem 'Raleway', sans-serif;
  color:#2c3e50;
  transition:color .2s, transform .15s;
}
.wf-mega-col a:hover{ color:#2ba84a; transform:translateX(4px); }

/* mobile: stack the panel inline */
@media (max-width: 900px){
  .wf-mega{
    position:static;
    transform:none;
    width:auto;
    box-shadow:none;
    border:none;
    padding:.5rem 0;
    grid-template-columns:1fr;
    display:none;
  }
  .wf-has-mega:focus-within > .wf-mega{ display:block; }
}


/* === Softer Hero Background with Overlay === */
.hero-small {
  position: relative;
  height: 40vh;  /* keep size */
  background: url("images/magellanic-cloud_header.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-small::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;        /* use same image */
  filter: blur(2.5px) saturate(.95);  /* softer blur */
  transform: scale(1.05);     /* avoids edges showing */
  z-index: 0;
}

.hero-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);  /* soft dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;   /* keeps text above blur+overlay */
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: .5rem;
}

.hero-content p {
  font-size: 1.2rem;
}

/* HERO: remove all blur, keep a gentle dark fade */
.hero-small::before,
.hero-small .hero-bg {
  filter: none !important;      /* kill any previous blur */
  transform: scale(1.02);       /* tiny zoom to avoid edges */
}
.hero-small::after {
  background: rgba(0,0,0,0.28) !important;  /* a bit lighter than before */
}

/* Hero text styling */
.hero-small h1 {
  color: #fff !important;         /* white for heading */
  text-shadow: 0 2px 6px rgba(0,0,0,0.5); /* subtle shadow for contrast */
}

.hero-small p {
  color: #fff !important;         /* white for subtext */
  text-shadow: 0 2px 6px rgba(0,0,0,0.5); /* same shadow for clarity */
}

#season-caption {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;  /* white so it shows over the image */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Hero using a real <img> so it never goes blank */
.hero-small{
  position: relative;
  height: 40vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}

/* the image layer */
.hero-small .hero-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(2.5px) saturate(.95);  /* gentle */
  transform: scale(1.04);             /* hide blur edges */
  z-index: 0;
}

/* soft dark veil for readability */
.hero-small::after{
  content:""; position:absolute; inset:0;
  background: rgba(0,0,0,.30); z-index: 1;
}

/* text */
.hero-content{ position: relative; z-index: 2; }
.hero-small h1, .hero-small p{ color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.5); }
#season-caption{ display:block; margin-top:.5rem; font-weight:600; text-shadow:0 2px 6px rgba(0,0,0,.5); }

/* === About Page Hero === */
.about-hero {
  position: relative;
  height: 50vh;
  background: url("images/forest-sunrise.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* soft fade overlay */
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 1rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: .95;
}

/* About page hero with blurred background */
#hero {
  position: relative;
  background: url("/images/magellanic-cloud_header.jpg") center/cover no-repeat;
  height: 280px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit; /* copy the background image */
  filter: blur(6px) brightness(0.7); /* blur + darken */
  transform: scale(1.1); /* avoids blur edges */
  z-index: 0;
}

#hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 1rem 2rem;
}

#hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: .5rem;
}

#hero-text p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* === Sections === */
.about-section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-section h2 {
  margin-bottom: 1rem;
  color: #1e4634;
}

.alt-bg {
  background: #f9fdfb;
  border-radius: 8px;
}

/* === Grid === */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about-grid h3 {
  margin-bottom: .5rem;
  font-size: 1.2rem;
  color: #2ba84a;
}

/* === Quote === */
.about-quote {
  background: #2ba84a;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-style: italic;
  font-size: 1.3rem;
}

/* About page hero background */
body.about #hero {
  position: relative;
  background: url("/images/PorchHouse.jpg") center/cover no-repeat;
  height: 280px; /* adjust height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

body.about #hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(6px) brightness(0.7);
  transform: scale(1.1);
  z-index: 0;
}

body.about #hero #hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 1rem 2rem;
}

body.about #hero h1,
body.about #hero p {
  color: #ffffff;                 /* pure white for maximum contrast */
  text-shadow: 0 2px 6px rgba(0,0,0,0.7); /* subtle shadow for readability */
}

/* Optional: make the paragraph slightly lighter than the heading */
body.about #hero p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #f1f1f1; /* softer white */
  margin-top: 0.5rem;
}

/* Mobile Navigation Fix */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;   /* stack links vertically */
    gap: 0.5rem;              /* small space between links */
    align-items: center;      /* center them nicely */
  }

  nav li {
    width: 100%;              /* full width */
    text-align: center;       /* keep them centered */
  }

  nav a {
    display: block;           /* make them clickable blocks */
    padding: 0.75rem 0;
  }
}

/* Mobile Navigation - Tidy Layout */
@media (max-width: 768px) {
  header {
    flex-direction: column;       /* stack logo and nav vertically */
    align-items: center;          /* center everything */
  }

  nav ul {
    flex-direction: column;       /* stack links */
    align-items: center;          /* center links */
    gap: 0.75rem;                 /* nice space between links */
    margin: 0;
    padding: 0;
  }

  nav li {
    width: auto;                  /* let them shrink to content */
  }

  nav a {
    display: block;
    width: 100%;                  /* each link takes full width */
    text-align: center;           /* text centered */
    padding: 0.75rem;
    background: #f9fdfb;          /* match your nav background */
    border-radius: 6px;           /* soften edges */
  }

  nav a:hover {
    background: #e3f2e9;          /* greenish hover */
    color: #2ba84a;               /* logo green */
  }
}

/* Base: hide the toggle on desktop */
.nav-toggle { display:none; }

/* Mobile menu */
@media (max-width: 768px){
  header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: .75rem;
  }

  .nav-toggle{
    display:block;
    border:0;
    background:#1e4634;     /* logo green */
    color:#fff;
    font-size:1.25rem;
    line-height:1;
    padding:.6rem .8rem;
    border-radius:8px;
  }

  /* collapse nav by default */
  header nav{
    position: absolute;
    top: 64px;               /* below header */
    left: 0; right: 0;
    background:#f9fdfb;
    border-bottom:1px solid #e3f2e9;
    display:none;            /* hidden until opened */
    z-index: 100;
  }

  /* show when open */
  header nav.open{ display:block; }

  header nav ul{
    list-style:none;
    margin:0; padding:.5rem 1rem 1rem;
    display:flex;
    flex-direction:column;
    gap:.5rem;
  }

  header nav li{ margin:0; }

  header nav a{
    display:block;
    padding:.75rem 1rem;
    text-align:center;
    text-decoration:none;
  }
}

/* ================================
   NAV: Desktop baseline / resets
   ================================ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;           /* anchor for absolute/fixed children if needed */
}

.nav-toggle {                   /* hide burger on desktop */
  display: none !important;
}

header nav {                    /* desktop nav is inline, not absolute */
  position: static !important;
  display: block;
  width: auto;
  box-shadow: none;
  border: 0;
}

header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;      /* center the links on desktop */
  gap: 3rem;
  margin: 0;
  padding: 0;
}

/* =================================
   NAV: Mobile behaviour (<= 768px)
   ================================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;  /* show burger only on mobile */
    border: 0;
    background: #1e4634;        /* logo green */
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    padding: .6rem .8rem;
    border-radius: 8px;
  }

  /* collapse nav by default and pin it full-width under the header */
  header nav {
    position: fixed !important;
    top: 64px;                  /* adjust if your header is taller/shorter */
    left: 0;
    right: 0;                   /* ensure it spans the full width */
    width: 100vw;               /* prevents “shift to the right” */
    background: #f9fdfb;
    border-bottom: 1px solid #e3f2e9;
    display: none;              /* hidden until opened */
    z-index: 1000;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
  }

  header nav.open { display: block; }

  header nav ul {
    flex-direction: column;
    align-items: stretch;       /* make each item full-width */
    gap: .25rem;
    margin: 0;
    padding: .5rem 1rem 1rem;
  }

  header nav li { margin: 0; }

  header nav a {
    display: block;
    padding: .9rem 1rem;
    text-align: center;
    border-radius: 8px;
  }
}

/* ===== DESKTOP NAV FIX ===== */
header nav{
  width: 100%;                 /* let the background span all tabs */
  background: #1e4634;         /* logo green */
  border: 0;
  position: static;
  box-shadow: none;
}

header nav ul{
  max-width: 1200px;           /* match your page width */
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: center;     /* center tabs */
  align-items: center;
  gap: 3rem;
}

/* Links: remove any bubble background/pill; use underline/hover instead */
header nav a{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #fff;                 /* white text on green */
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-bottom-color .2s ease;
}

header nav a:hover,
header nav a:focus{
  color: #d99200;              /* logo orange accent */
  border-bottom-color: #d99200;
}

/* Keep hamburger ONLY on mobile, and keep mobile rules you added earlier */
@media (max-width: 768px){
  /* your mobile styles from earlier remain in effect */
}

header nav a.active{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ===== MOBILE NAV DROPDOWN FIX ===== */
@media (max-width: 768px){
  header nav{
    background: #fff;             /* white background for dropdown */
  }

  header nav ul{
    flex-direction: column;       /* vertical stack */
    align-items: flex-start;      /* left align items */
    gap: 1rem;
    padding: 1rem;
  }

  header nav a{
    color: #1e4634;               /* logo green text on white */
    border-bottom: none;
    font-size: 1.1rem;
  }

  header nav a:hover,
  header nav a:focus{
    color: #d99200;               /* orange hover */
  }
}

/* Mobile menu should scroll with the page */
@media (max-width: 768px){
  header { position: relative; }             /* anchor for absolute menu */
  header nav{
    position: absolute !important;           /* was fixed */
    top: 100%;                                /* directly below header */
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    display: none;
    z-index: 1000;
    border-bottom: 1px solid #e3f2e9;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
  }
  header nav.open{ display:block; }
}

/* ==== MOBILE NAV: force proper dropdown panel ==== */
@media (max-width: 768px){

  /* The header is the anchor; menu lives directly under it */
  header{
    position: relative;
    width: 100%;
  }

  /* The dropdown panel */
  header nav{
    position: absolute !important;  /* was fixed/static */
    top: 100%;                       /* directly below header */
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    display: none;                   /* shown when .open added by JS */
    padding: .5rem 0;
    z-index: 1000;
    border-bottom: 1px solid #e3f2e9;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
  }
  header nav.open{ display:block; }

  /* Force column layout and remove desktop centering/gaps */
  header nav ul{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0;
    padding: 0;
  }

  /* Kill nowrap that keeps items in one line */
  header nav li,
  header nav a{
    white-space: normal !important;
  }

  header nav li{
    display: block;
    margin: 0 !important;
  }

  header nav a{
    display: block;
    width: 100%;
    text-align: left;                /* or center if you prefer */
    padding: .9rem 1rem;
    color: #1e4634;
    background: transparent !important;
    border: 0;
  }

  header nav a:hover,
  header nav a:focus{
    color: #d99200;
  }

  /* Prevent any horizontal wiggle */
  html, body{ overflow-x: hidden; }
}

/* === MOBILE NAV: push content down (no overlay) === */
@media (max-width: 768px) {
  /* Header stays as a simple stack */
  header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: .75rem;
  }

  /* Show the burger */
  .nav-toggle {
    display: block;
    border: 0;
    background: #1e4634;
    color: #fff;
    font-size: 1.25rem;
    padding: .6rem .8rem;
    border-radius: 8px;
  }

  /* CRITICAL RESET: nav must be in normal flow */
  header nav {
    position: static !important;     /* <-- not fixed/absolute */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    display: none;                   /* hidden until opened */
    background: #fff;                /* light panel */
    border-bottom: 1px solid #e3f2e9;
    box-shadow: none;                /* no overlay shadow */
    z-index: auto;                   /* no stacking over content */
  }
  header nav.open { display: block; }

  /* Stack links neatly */
  header nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0;
    margin: 0;
    padding: .5rem 0;
  }

  header nav li { margin: 0 !important; }

  header nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: .9rem 1rem;
    color: #1e4634;
    background: transparent !important;
    border: 0;
    white-space: normal !important;  /* prevent one long line */
  }

  header nav a:hover,
  header nav a:focus { color: #d99200; }

  /* No horizontal scroll wiggle */
  html, body { overflow-x: hidden; }
}

/* === HAMBURGER: hard overrides for mobile === */
@media (max-width: 768px){

  /* Make sure the button is visible and clickable */
  .nav-toggle{
    display:block !important;
    position: relative !important;
    z-index: 3001 !important;
    border: 0;
    background:#1e4634;
    color:#fff;
    font-size:1.25rem;
    padding:.6rem .8rem;
    border-radius:8px;
    touch-action: manipulation;
  }

  /* Nav is CLOSED by default */
  header nav{
    position: static !important;     /* in normal flow (won’t cover hero) */
    display: none !important;        /* hidden until opened */
    width: 100% !important;
    background:#fff !important;
    border-bottom:1px solid #e3f2e9 !important;
    box-shadow:none !important;
    z-index: 3000 !important;
  }

  /* When JS adds .open, SHOW it */
  header nav.open{
    display: block !important;
  }

  /* Stack links cleanly */
  header nav ul{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    margin:0 !important;
    padding:.5rem 0 !important;
  }

  header nav li{ margin:0 !important; }
  header nav a{
    display:block !important;
    width:100% !important;
    text-align:left !important;
    padding:.9rem 1rem !important;
    color:#1e4634 !important;
    background:transparent !important;
    border:0 !important;
    white-space: normal !important;
  }

  /* Make sure nothing blocks clicks (hero overlays, etc.) */
  #hero{ position:relative; z-index: 0 !important; }
  #hero::after{ pointer-events:none !important; z-index:0 !important; }
  header{ position:relative; z-index: 3002 !important; }

  /* Prevent sideways scroll */
  html, body{ overflow-x:hidden; }
}

/* Desktop: hide the burger */
@media (min-width: 769px){
  .nav-toggle{ display:none !important; }
  header nav{ display:block !important; }
}











