/*
 * KAEO Main Stylesheet
 * Project: KAEO website
 * Version: 1.6
 * Last Updated: 03-31-25
 * Author: Christopher Estep
 */
 
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'pt-serif', serif;
}

body {
  line-height: 34px;
  color: rgb(51, 51, 51);
  font-size: 20px;
  font-weight: 400;
}

p {
  color: rgb(51, 51, 51);
  padding-bottom: 12px;
}

h1 {
  font-size: 55px;
  line-height: 55px;
}

h2 {
  font-size: 48px;
  line-height: 48px;
  text-align: center;
}

h3 {
  font-size: 24px;
  line-height: 36px;
  padding-bottom: 12px;
  color: rgb(48, 123, 41);
}

h3 > a {
    font-weight: 700;
}

h4 {
  color: rgb(2, 87, 144);
  padding: 24px 0 8px;
}

a {
  color: rgb(0, 167, 207);
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px dotted;
  padding-bottom: 1px;
}

iframe {
  padding: 24px 0;
  max-width: 100%;
}

.italic {
  font-style:italic;
}

/* Updated Navigation Bar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  color: #333;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 10px
}

.logo a {
  border-bottom: none;
  padding-bottom: 0;
}

.logo img {
  max-height: 50px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -280px; /* Start off-screen */
  width: 280px;
  height: 100vh;
  background-color: #fff;
  padding: 80px 1rem 1rem;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  z-index: 90;
  overflow-y: auto;
  list-style: none;
}

.nav-links.active {
  right: 0; /* Slide in from right */
}

.nav-links li {
  margin:  0;
  padding: 8px 0;
  width: 100%;
  text-align: left;
  font-size: 16px;
  height: 36px;
}

.nav-links a {
  color: #333;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 0;
  padding-left: 32px;
  display: block;
  width: 100%;
  font-family: lato;
}

.nav-links a:hover {
  color: rgb(48, 123, 41);
}

.hamburger {
  display: flex; 
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
  font-family: lato;
  font-size: 2rem;
  z-index: 101; 
  position: relative;
}

.nav-overlay {
  /* Overlay when sidebar is open */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 89;
}

.nav-overlay.active {
  display: block;
}

#home-page-link {
  font-weight: 700;
  padding-left: 0;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  text-align: center;
}

.hero-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
}

.hero-box-upper {
  margin-bottom: 2rem;
}

.hero-box-divider {
  height: 2px;
  width: 50%;
  background-color: rgba(255, 255, 255, .3);
  margin: 0 auto;
}

.hero-box-lower {
  margin-top: 1rem;
  font-size: 25px;
  color: #fff !important;
}

.hero-box-lower p {
  color: #fff;
}

/* Blockquote Styles */
.bq {
  margin: 12px 0 24px;
  padding: 24px 0;
  border-top: 2px solid rgba(204, 204, 204, 0.3);
  border-bottom: 2px solid rgba(204, 204, 204, 0.3);
}

blockquote {
  font-style: italic;
  font-size: 18px;
  margin-left: 0;
  margin-right: 0;
  color: rgb(2, 87, 144);
}

.bq footer {
  font-style: normal;
  margin-top: 10px;
  padding: 0;
  color: rgb(119, 119, 119);
  background-color: #fff;
  text-align: left;
  font-size: 16px;
  font-family: lato;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer p {
  color: white;
  font-size: 14px;
}

/* To Top Button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  border: none;
  outline: none;
  background-color: rgb(2, 87, 144);
  color: white;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  font-family: lato;
}

#myBtn:hover {
  background-color: rgb(48, 123, 41);
}

@media (max-width: 768px) {
  .hero {
      height: 400px;
  }

  .hero h1 {
      font-size: 36px;
      line-height: 36px;
  }

  .hero p {
      font-size: 24px;
      line-height: 30px;
  }
}