.navBar {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #0d2543;
    width: 100%;
    margin: 0;  
    height: 120px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .topText {
    color: white;
    font-size: 40px;
    font-family: Inria Serif;
    font-weight: 500;
    word-wrap: break-word;
    margin-left: 20px;
  }
  
  .bottomText {
    color: white;
    font-size: 22px;
    font-family: Inria Serif;
    line-height: 15.86px;
    letter-spacing: 3.72px;
    font-weight: 1000;
    word-wrap: break-word;
    text-align: center;
    margin-left: 20px;
    margin-top: 8px;
  }
  
  .topText a {
    color: white;
    text-decoration: none;
  }
  
  .bottomText a {
    color: white;
    text-decoration: none;
  }
  
  .navBar li {
    list-style: none;
  }

  .aboutList {
    color: black;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.75rem;
    margin-left: 2rem;
    font-family: Instrument Sans; 
    padding: 0 2rem;
  }

  .aboutList li {
    padding: 0.5rem;
  }

  .listHeader {
    text-align: center;
    color: #0d2543;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: Instrument Sans; 
  }

  
  .navLogo {
    display: flex;
    flex-direction: column; /* Stack text vertically */
    color: white;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 1; /* Reduce spacing between lines */
    text-align: center;
  }
  
  .navLogoFooter{
    display: flex;
    flex-direction: column; /* Stack text vertically */
    color: white;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 1; /* Reduce spacing between lines */
    text-align: center;
  }
  
  .navItems {
    display: flex;
    flex-direction: row;
    gap: 40px; /* Adds space between menu items */
    list-style: none;
    align-items: center;
    text-align: center;
  }
  
  html, body {
      margin: 0;
      padding: 0;
      width: 100%; /* Ensures body does not exceed viewport */ 
      overflow-x: hidden;
  }
  
  .menuOption {
    color: white; 
    font-size: 1rem; 
    font-family: Instrument Sans; 
    font-weight: 700; 
    line-height: 14.64px; 
    letter-spacing: 3.60px; 
    list-style: none;
    text-align: center;
    position: relative;
    display: inline-block;
  }
  
  .navOption {
    color: white; 
    font-size: 14px; 
    font-family: Instrument Sans; 
    font-weight: 700; 
    line-height: 14.64px; 
    letter-spacing: 3.60px; 
    list-style: none;
    text-align: center;
    position: relative;
    display: inline-block;
  }
  
  /* #4: https://prismic.io/blog/css-hover-effects */
  .navOption::after,
  .navOption::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, white, white);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
  }
  
  .navOption::before {
    top: -5px;
    transform-origin: left;
  }
  
  .navOption:hover::after,
  .navOption:hover::before {
    transform: scaleX(1);
  }
  
  
  a {
    text-decoration: none;
  }
  
  .navOption a {
    color: white;  /* white color for all links inside navOption */
    text-decoration: none; /* Remove underline */
    display: block;
    text-align: center;
    white-space: nowrap;
  }
  
  .findAGraveButton {
    width: 154px; 
    height: 40px; 
    background: #af8c30; 
    border-radius: 19px;
    border-style: solid;
    border-color: #af8c30;
    color: white;
    font-weight: 700; 
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .findAGraveButton:hover {
    color: black;
    background: white;
    border-color: black;
  }
  
  * {
    margin: 0;
    padding: 0;
  }
    
  
  
  .footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #af8c30;
    width: 100%;
    margin: 0;  
    padding: 20px; 
    height: 90px;
    align-items: center;
  }
  
  .footerColumns {
    display: flex;
    flex-direction: column;
  }
  
  
  .footerTop {
    color: white;
    font-size: 20px;
    font-family: Inria Serif;
    font-weight: 500;
    word-wrap: break-word;
    margin-left: 40px;
    text-align: center;
    text-decoration: none;
  }
  
  .footerTopTitle {
    color: white;
    font-size: 30px;
    font-family: Inria Serif;
    font-weight: 500;
    word-wrap: break-word;
    margin-left: 40px;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .footerBottom {
    color: white;
    font-size: 20px;
    font-family: Inria Serif;
    line-height: 15.86px;
    font-weight: 500;
    word-wrap: break-word;
    text-align: center;
    margin-left: 40px;
  }
  
  /* Dropdown Button */
  /* credit: https://www.w3schools.com/howto/howto_js_dropdown.asp */
  .dropbtn {
    background-color: #0d2543;
    color: white;
    padding: 16px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    display: none;
    font-family: Inria Serif; 
    transition: 0.3s ease;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: #0d2543;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: none;
  }
  
  .dropdown{
    color: white; 
    font-size: 18px; 
    font-family: Inria Serif; 
    font-weight: 600; 
    line-height: 14.64px; 
    letter-spacing: 3.60px; 
    list-style: none;
    text-align: center;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: #0d2543;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {display:block;}
  
  @media (max-width: 1000px){
    .navOption, .findAGraveButton{
      display: none;
    }
    .dropbtn{
      display: block;
    }
    .dropdown{
      display: inline-block;
    }
    .navLogo {
      width: 50%;
    }
    .navLogoFooter{
      display: none;
    }
    .footerColumns {
      width: 50%;
    }
    .footerTop, .footerBottom, .footerTopTitle{
      font-size: 1.2rem;
    }
    html, body {
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
  }
  
  /* Hero section with parallax background */
.bg-hero {
  position: relative;
  background: url("img/nisky.jpg") center/cover no-repeat; 
  color: #fff;
  min-height: 45vh;   /* adjust height (70% of viewport) */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* dark overlay for readability */
.bg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* darker overlay for better text contrast */
}

/* content sits above overlay */
.bg-hero .content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

/* tighter spacing for this hero */
.bg-hero .historyHeader {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.bg-hero .historyInfo {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: #fff;
}

/* Base block styles */
.block{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 2rem);
  padding: var(--panel-pad) clamp(1rem, 4vw, 4rem);
  width:100%;
  max-width: 100%;
  overflow:hidden;
  box-sizing: border-box;
}

/* Centered panels */
.block.center{ 
  grid-template-columns: 1fr; 
  text-align:center; 
}

/* Narrow content wrapper */
.block .narrow{ 
  max-width: 800px; 
  margin: 0 auto; 
}

/* Content area */
.block .content{
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 1rem;
  align-self: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 0;
  box-sizing: border-box;
}

/* Base heading styles */
.historyHeader {
  color: black; 
  font-size: 3.125rem; 
  font-family: Instrument Sans; 
  font-weight: 600; 
  margin-top: 1.775rem; 
  text-align: center;
}

/* Optional entrance animation */
@keyframes fadeUp { 
  from{opacity:0; transform: translateY(12px);} 
  to{opacity:1; transform:none;} 
}
.block{ 
  animation: fadeUp .5s ease both; 
}

/* Responsive stacking */
@media (max-width: 1000px){
  .block{
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: clamp(2rem, 5vw, 3rem) 1rem;
  }
  .historyHeader{ 
    font-size: 2.25rem; 
  }
  .historyInfo{ 
    font-size: 1.25rem; 
  }
}
  
  