/* Color Palette Variables */
:root {
  --primary-red: #D1232A;      /* Logo text red */
  --header-bg: #FFFFFF;        /* Header background */
  --nav-text: #000000;         /* Navigation links & social icons */
  --sky-blue: #A9D1F3;         /* Sky accent */
  --grass-green: #8CC63F;      /* Grass accent */
  --horse-brown: #C85328;      /* Chestnut brown accent */
}

/* Navigation Text Styling */
.main-nav {
  font-family: "Futura", "Avenir", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--nav-text);
  text-decoration: none;
}

/* Base navigation menu links */
.main-nav ul li a {
  font-family: "Futura", "Avenir", "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

/* Hover state for interactive feel */
.main-nav ul li a:hover {
  color: #D1232A; /* Accent red from the logo */
}

/* Optional: Include social media icons in the same styling */
.main-nav .social-links a {
  color: #000000;
  font-size: 1.125rem;
  margin-left: 0.75rem;
}

/* Keep the brand container cleanly aligned */
.brand-name {
  display: inline-block;
  line-height: 0; /* Removes extra vertical whitespace under images */
}

/* Control logo size */
.brand-name img {
  height: 125px; /* Adjust height to fit your header layout */
  width: auto;   /* Maintains original aspect ratio */
  display: block;
}


/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: "Gill Sans", "Gill Sans MT", "Lato", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 400; /* Regular */
  color: #222222;
  line-height: 1.65;
}

.bio-text {
  font-family: "Gill Sans", "Gill Sans MT", "Lato", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
}
/* Header & Navigation Layout */
.site-header {
  width: 100%;
  background-color: #ffffff;
  padding: 1.5rem 3rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
        border-bottom: 3px solid rgba(107, 170, 215, 0.75);
  align-items: center;
}

.brand-name {
  font-size: 2.5rem;
  font-weight: 400;
  color: #1a73e8; /* Blue brand title */
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #1a73e8;
}

/* Social Icons */
.social-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-links a {
  color: #000000;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 80vh;
  min-height: 500px;
  background: url('../images/coverimage.jpg') no-repeat center center/contain;
  position: relative;
  display: flex;
  justify-content: center;
   align-items: flex-start; /* Aligns content to the top */
  padding-top: 6rem; /* Adjust this value to set exact distance from top nav */
}
  
  
/* Quote Overlay Container */
.hero-overlay {
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 6rem;
}

.hero-quote {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  font-style: italic;
  color: #ffffff;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Short Stack', cursive;
letter-spacing: -0.03em;
  
}

.hero-quote span {
  position: relative;
}


.hero-quote2 {
  position: relative;
  display: inline-block;
    font-style: italic;
   
}


/* Base Styles Shared by Both Quote Marks */
.hero-quote2::before,
.hero-quote2 span::after {
  position: absolute;
  font-size: 6.0rem;
  font-family: Georgia, serif;
  color: rgba(107, 170, 215, 0.55);
  line-height: 1;
  pointer-events: none;
}

/* Large Opening Quote */
.hero-quote2::before {
  content: '“';
  left: -1.8rem;
  top: -1.2rem;
}

/* Large Closing Quote */
.hero-quote2 span::after {
  content: '”';
  right: -2.8rem;
  bottom: -3.5rem; /* Offsets down to rest near the bottom right of the text */
}

/* Base Styles Shared by Both Quote Marks */
.hero-quote::before,
.hero-quote span::after {
  position: absolute;
  font-size: 6.0rem;
  font-family: Georgia, serif;
  color: rgba(107, 170, 215, 0.75);
  line-height: 1;
  pointer-events: none;
}

/* Large Opening Quote */
.hero-quote::before {
  content: '“';
  left: -2.8rem;
  top: -1.2rem;
}

/* Large Closing Quote */
.hero-quote span::after {
  content: '”';
  right: -2.8rem;
  bottom: -3.5rem; /* Offsets down to rest near the bottom right of the text */
}


/* Bio Main Container */
.bio-section {
  width: 100%;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #7fa1b8; /* Muted blue tone matching the heading */
  margin-bottom: 2rem;
}

/* Two-Column Grid */
.bio-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Equal split side-by-side */
  gap: 3.5rem;
  align-items: start;
}

/* Image Wrapper */
.bio-image img {
  width: 90%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle crisp shadow */
}
/* Image Wrapper */
.bio-image2 img {
  width: 90%;
  height: auto;
  display: block;
  object-fit: scale-down;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle crisp shadow */
}
/* Bio Text Typography */
.bio-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222222;
  font-size: 1.05rem;
  line-height: 1.65;
}

.bio-text p {
  margin-bottom: 1.5rem;
}

.bio-text h1 {
  margin-bottom: 1.0rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: #7fa1b8; /* Muted blue tone matching the heading */

}
.bio-text h2 {
  margin-bottom: 1.0rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: #000000; /* Muted blue tone matching the heading */

}
.bio-text h3 {
  margin-bottom: 1.0rem;
  font-size: 1.0rem;
  font-weight: 400;
  color: #000000; /* Muted blue tone matching the heading */

}

.bio-text em {
  font-style: italic;
}

.award-container {
  display: flex;
  align-items: center; /* Vertically aligns text and logo in the center */
  gap: 15px;          /* Space between the text and the logo */
}

.award-text p {
  margin: 0;          /* Adjust or remove default paragraph spacing */
  line-height: 1.4;
}

.award-logo {
  width: 120px;       /* Set desired width for the image */
  height: auto;       /* Maintains aspect ratio */
  flex-shrink: 0;     /* Prevents logo from squishing on smaller screens */
}

.btn-purchase {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2b4c7e; /* Change to your brand color */
  color: #ffffff;            /* Text color */
  text-decoration: none;      /* Removes the underline */
  border-radius: 5px;        /* Softens the corners */
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s ease;
}


/* Container for each feature row */
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal-width columns */
  gap: 40px;                      /* Space between text and image */
  align-items: start;             /* Crucial: Forces text and image to align at the top */
  margin-bottom: 60px;            /* Vertical spacing between rows */
  width: 100%;
  box-sizing: border-box;
}

.story-text p {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222222;
  font-size: 1.05rem;
  line-height: 1.65;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-media img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 400px; /* Keeps tall images from blowing up */
  width: auto;
  height: auto;
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;  /* Stack into a single column on phone screens */
    gap: 20px;
  }
}



/* Hover effect */
.btn-purchase:hover {
  background-color: #1a3254; /* Darker shade when hovered */
}

/* Isolated 3-Column Layout */
.bio-grid-3col {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Force items into 3 equal columns without inheriting 2-column styles */
.bio-col-3 {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
  box-sizing: border-box;
}

/* Ensure images within the 3-column layout shrink to fit */
.bio-col-3 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive fallback: stacks back to 1 column on smaller screens */
@media (max-width: 768px) {
  .bio-grid-3col {
    flex-direction: column !important;
  }
}


.bio-grid-3col-multi {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  
  /* Spacing controls */
  column-gap: 24px; /* Horizontal space between columns */
  row-gap: 30px;    /* Tight, controlled vertical space between rows */
  
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.bio-card-3col {
  width: 100% !important;
  box-sizing: border-box;
  margin: 0; /* Prevents extra margins from causing weird gaps */
}

.bio-card-3col img {
  max-width: 100%;
  height: auto;
  display: block;
  border:2px solid #000000;
  border-radius:4px;
  box-sizing:border-box;
}

.bio-card-3col p {
  font-size: 1.0em;      /* Adjust pixel size as needed */
  line-height: 1.5;     /* Adds comfortable spacing between lines of text */
  margin-top: 12px;  /* Spacing below each paragraph */
  font-weight: normal;
}

/* Indicates the image can be clicked */
.zoomable-img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.zoomable-img:hover {
  opacity: 0.9;
}



/* Add this class to a card or paragraph you want to take up 2 grid slots */
.bio-card-span-2 {
  grid-column: span 2 !important;
}


.shared-para-span2 {
  grid-column: span 2;
  align-self:start;
  margin-top: 0px; /* Pulls text closer to the images above */
  padding-top:0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
 
}

@media (max-width: 768px) {
  .shared-para-span2 {
    grid-column: span 1;
  }
}




/* Full-screen backdrop hidden by default */
.modal-overlay {
  display: none; 
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  
  /* Centers image horizontally & vertically */
  align-items: center;
  justify-content: center;
}

/* Shown when active */
.modal-overlay.active {
  display: flex !important;
}

/* Container around the image to hold the 'X' button */
.modal-content {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 85vh;
}

/* Enlarged image preview */
#modal-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  
}

/* Dark backdrop behind the image */
#modal-img::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

/* 'X' Close Button anchored to the top-right of the image */
.modal-close-btn {
  position: absolute;
  top: -12px;        /* Moves button slightly above the top edge */
  right: -12px;      /* Moves button slightly past the right edge */
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: #f0f0f0;
}






/* Responsive adjustment for screens under 768px */
@media (max-width: 768px) {
  .bio-grid-3col-multi {
    grid-template-columns: 1fr !important;
    row-gap: 20px;
  }
}
/* Mobile Responsiveness */
@media (max-width: 850px) {
  .bio-content {
    grid-template-columns: 1fr; /* Stacks image on top of text on phones/tablets */
    gap: 2rem;
  }

  .section-title {
    margin-bottom: 1rem;
  }
}
/* Footer Layout */
.site-footer {
  width: 100%;
 background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  padding: 3.5rem 1rem 2.5rem;
  margin-top: 0rem;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo Styling */
.footer-logo img {
  max-width: 150px; /* Adjust size based on your logo image dimensions */
  height: auto;
  margin-bottom: 1.5rem;
}

/* Footer Navigation */
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 1.8rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  text-decoration: none;
  color: #333333;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #1a73e8;
}

/* Contact Details */
.footer-contact p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 1.5rem;
}

.footer-contact a {
  color: #1a73e8;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Horizontal Line Divider */
.footer-divider {
  width: 100%;
  max-width: 400px;
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 1rem 0 1.5rem;
}

/* Copyright & Quote */
.copyright {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: #333333;
  font-size: 1.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #1a73e8;
  transform: translateY(-2px); /* Subtle hover lift effect */
}





























/* Responsive Layout */
@media (max-width: 768px) {

  .site-header {
    padding: 1.5rem 1rem;
  }

  .nav-container {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .brand-name {
    font-size: 2.2rem;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Main menu */
  .main-nav ul {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    list-style: none;
    gap: 0.7rem 1.2rem;

    margin: 0;
    padding: 0;
  }

  .main-nav li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  /* Social icons */
  .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
  }

/* Hero Section */
.hero {

  padding-top: 1rem !important; /* Adjust this value to set exact distance from top nav */
}
  
  


  .hero-quote {
    font-size: 1.5rem;
  }

  .hero-quote::before {
    left: -1.0rem;
    top: -1.2rem;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    gap: 20rem;
  }
}











