/* === Base Reset === */
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #f8f0d8;
  text-align: center;
  line-height: 1.4;
}

/* === Font Pairing === */
h1, h2, h3, .nav-link {
  font-family: 'Georgia', serif;
}
p, .subtext {
  font-family: 'Lato', 'Open Sans', sans-serif;
}

/* === Hero Container & Background Image === */
#hero-container {
  position: relative;
  width: 600px;
  max-width: 95%;
  margin: 0 auto;
}

#background {
  width: 100%;
  height: auto;
  display: block;
  z-index: -1;
}

/* === Navigation Buttons === */
.nav-link {
  position: absolute;
  display: inline-block;          /* shrink-wrap to text */
  padding: 8px 14px;
  background-color: #2f4538;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  font-family: 'Georgia', serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease, box-shadow 0.3s ease;
  white-space: nowrap;

  /* 🔒 hard lock fixes */
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: max-content;
  max-height: max-content;
  line-height: normal;
  overflow: visible;
}

.nav-link:hover {
  background-color: #3d5a4f;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(222, 201, 140, 0.7);
}

/* === Button Positions (Symbolic Layout) === */
#home {
  top: 3%;
  left: 43.8%;
}

#offerings {
  top: 15.8%;
  left: 13.1%;
}

#schedule {
  top: 15.8%;
  left: 72.7%;
}

#alighta {
  top: 35.6%;
  left: 19.3%;
}

#redox {
  top: 35.6%;
  left: 69.0%;
}

#contact {
  top: 43.6%;
  left: 42.8%;
}

/* === Tagline === */
.subtext {
  font-style: italic;
  font-size: 16px;
  color: #4f4f4f;
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}

/* === Content Layout (below the tree) === */
.content {
  max-width: 900px;
  margin: 0 auto 72px auto;
  padding: 0 20px;
  text-align: left;
}

/* === Intro Section === */
.bio-intro {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 10px auto 28px;
  text-align: center;
}

.bio-photo {
  width: 300px;
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.bio-lead p {
  font-size: 1.05rem;
  margin: 0;
}

/* === Credentials Section === */
.bio-credentials {
  margin: 24px 0 8px;
  text-align: center;
}

.bio-credentials h2 {
  margin: 8px 0 6px;
  font-size: 1.35rem;
}

.bio-credentials ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.bio-credentials li {
  margin: 4px 0;
}

.cred-note {
  margin-top: 8px;
  font-style: italic;
  color: #475047;
}

/* === Philosophy Two-Column Layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 28px 0 12px;
}

.two-col .col.image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* === Outro === */
.bio-outro {
  text-align: center;
  margin: 24px 0 0;
}

.bio-outro blockquote {
  margin: 0 auto 10px;
  max-width: 720px;
  font-style: italic;
  color: #3f4a3f;
}

/* === Call to Action Link === */
.cta-link {
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px dotted #2f4538;
  color: #2f4538;
}

.cta-link:hover {
  border-bottom-style: solid;
}

/* === Responsive Adjustments === */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 0 16px;
  }
}

@media (max-width: 700px) {
  #hero-container {
    width: 100%;
  }

  .nav-link {
    font-size: 12px;
    padding: 6px 10px;
  }

  .subtext {
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 30px;
  }
}
/* === PDF Grid Fix === */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.pdf-item {
  width: 200px;               /* lock card width */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;             /* keep text color consistent */
  width: 100%;
  height: 100%;
}

.pdf-item img {
  width: 100%;
  height: 150px;              /* consistent thumbnail height */
  object-fit: contain;        /* no stretch */
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.pdf-item div {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 0.25rem;
  text-align: center;
}

.pdf-item span {
  font-size: 0.8rem;
  color: #2f4538;
  margin-top: 0.25rem;
  text-align: center;
}
#pdf-library {
  margin-bottom: 3rem;   /* add spacing under the PDF grid */
}

.btn {
  background: #2f4538;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #3d5a4f;
  transform: scale(1.05);
}


.orders {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: center;      /* center the stack */
  gap: 0.75rem;
  margin-top: 1rem;
}

.orders a {
  display: inline-block;
  width: 220px;             /* fixed width like JB’s */
  background: #2f4538;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: all 0.25s ease;
}

.orders a:hover {
  background-color: #3d5a4f;
  transform: scale(1.05);
}
/* === Alighta Page Headings Consistency === */
.alighta-wrapper h2,
.alighta-wrapper h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 3rem;      /* space above each heading */
  margin-bottom: 1.5rem; /* space below each heading */
}
