/* RESET BODY MARGINS */
body {
  margin: 0;
  padding: 0;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 30px;
  background-color: #272726;
  color: white;
}

/* LOGO */
.logo {
  font-size: 20px;
  font-weight: bold;
  display: flex;
}

.logo img {
  height: 100px;
  width: auto;
  margin-left: -25px;
  margin-bottom: -1px;
  margin-top: 5px;
}

.logo a:hover img {
  transform: scale(1.05);
  transition: transform 0.3s;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Serif', serif;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 19px;
  display: inline-block;
}

.nav-links a:hover {
  text-decoration: underline;
  color: #f5cc6b;
  transform: scale(1.1);
  transition: 0.3s;
}

/* HAMBURGER */
.hamburger {
  display: none;
}

/* HERO IMAGE AND TEXT */
.hero-image {
  background-image: url(-assets/-images/home-page-quote-banner.jpg);
  background-size: cover;
  background-position: center;
  height: 200px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 0px;
  text-align: center;
  font-size: 20px;
  font-family: 'IBM Plex Serif', serif;
  margin-left: 10px;
  margin-right: 10px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: bold;
}

.hero-text p {
  font-size: 20px;
  font-style: italic;
}

/* CONTENT SECTION */
.content-section {
  padding: 10px 20px;
  font-family: 'IBM Plex Serif', serif;
  line-height: 1.4;
  color: #333;
  text-align: left;
  margin-left: 100px;
  margin-right: 100px;
}

.content-section h2 {
  color: #272726;
  font-size: 32px;
  margin-bottom: 10px;
}

.content-section p {
  font-size: 18px;
  margin-bottom: 10px;
}

.content-section img {
  vertical-align: middle;
  margin-right: 10px;
  height: 15px;
}

.content-section button[data-modal-target] {
  font-family: 'IBM Plex Serif', serif;
  font-size: 18px;
  padding: 4px 4px;
  background-color: white;
  color: #272726;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: underline;
}

.content-section button[data-modal-target]:hover {
  background-color: #f5cc6b;
  transform: scale(1.1);
  transition: transform 0.3s;
}

/* QUESTION SECTION */
.question-section {
  padding: 10px 0;
  border-top: 2px solid #272726;
  margin-top: 20px;
}

.question-section a {
  color: #272726;
  text-decoration: underline;
  display: inline-block;
}

.question-section a:hover {
  transform: scale(1.1);
  transition: transform 0.3s;
  text-decoration: underline;
  color: #f5cc6b;
}

/* MODAL */
*, *::before, *::after {
  box-sizing: border-box;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border: 1px solid #888;
  border-radius: 10px;
  z-index: 2000;
  background-color: #fefefe;
  width: 500px;
  max-width: 80%;
  overflow: hidden;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #888;
}

.modal-header .title {
  font-size: 1.25rem;
  font-weight: bold;
  font-family: 'IBM Plex Serif', serif;
}

.modal-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 1.25rem;
  font-weight: bold;
}

.modal-body {
  padding: 10px 15px;
  font-family: 'IBM Plex Serif', serif;
}

.modal-body img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1500;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* MOBILE STYLES */
@media (max-width: 600px) {

  /* MOBILE NAVBAR */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-direction: row;
    align-items: center;
    padding: 2px 20px;
  }

  /* MOBILE LOGO */
  .logo img {
    height: 90px;
    margin-left: -15px;
  }

  /* MOBILE HAMBURGER */
  .hamburger {
    display: block;
    font-size: 32px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;

    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    transition: transform 0.3s, color 0.3s;
  }

  .hamburger:focus {
    color: #f5cc6b;
  }

  .hamburger.active {
    color: #f5cc6b;
    transform: translateY(-50%) rotate(90deg);
  }

  /* MOBILE NAV LINKS */
  .navbar nav {
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    width: calc(100% - 20px);
    background-color: #272726;
    text-align: center;
    gap: 0;

    position: absolute;
    top: 100px;
    left: 10px;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;

    border-radius: 0 0 14px 14px;

    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .nav-links.show {
    max-height: 420px;
    opacity: 1;
    padding: 10px 0;
  }

  .nav-links li {
    list-style: none;
    padding: 10px 0;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #444;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: #f5cc6b;
  }

  /* MOBILE HERO IMAGE AND TEXT */
  .hero-image {
    height: 160px;
    align-items: center;
  }

  .hero-text {
    font-size: 16px;
    padding: 8px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
  }

  /* MOBILE CONTENT SECTION */
  .content-section {
    padding: 20px 16px;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.5;
  }

  .content-section h2 {
    font-size: 24px;
  }

  .content-section h3 {
    font-size: 18px;
  }

  .content-section p {
    font-size: 16px;
  }

  .content-section button[data-modal-target] {
    font-size: 16px;
  }

  /* MOBILE QUESTION SECTION */
  .question-section {
    margin-top: 18px;
    padding: 12px 0;
  }

  /* MOBILE MODAL */
  .modal {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .modal-header .title {
    font-size: 1.1rem;
  }

  .modal-body {
    font-size: 15px;
  }

  .modal-body img {
    width: 100%;
    max-width: 280px;
  }
  /* MOBILE FOOTER */
.site-footer {
  margin-top: 35px;
  padding: 30px 20px 15px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.footer-brand img {
  width: 170px;
  max-width: 100%;
}

.footer-brand p {
  font-size: 13px;
}

.site-footer h3 {
  font-size: 20px;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 10px;
}

.footer-contact p {
  margin-bottom: 12px;
}

.footer-bottom {
  font-size: 13px;
  padding-top: 12px;
}
}



/*------FOOTER-----*/
/* FOOTER */
.site-footer {
  background-color: #272726;
  color: white;
  font-family: 'IBM Plex Serif', serif;
  margin-top: 50px;
  padding: 35px 30px 15px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img {
  width: 180px;
  height: auto;
  border: 1px solid #f5cc6b;
}

.footer-brand p {
  color: #f5cc6b;
  margin-top: 10px;
  font-size: 14px;
}

.site-footer h3 {
  color: #f5cc6b;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-contact p {
  margin: 0 0 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #f5cc6b;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 25px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #ddd;
}