/* Core Layout Structure */
* {
  box-sizing: border-box;
}

body.site-container {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 50vh;
}

.main-content {
  flex: 1;
  left: 0;
  right: 0;

}

/* Header Component Styles */
#global-header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.call-us {
  background-color: #000;
  color: #fff;
  font: 15px "Slabo 27px", serif;
  padding: 5px 30px;
}

.call-us a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.call-us a:hover {
  color: var(--beed-gray2);
  text-decoration: underline;
}

.background-fade {
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.navbar {
  align-items: center;
  align-content: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0px 30px;
  transition: background-color 0.3s ease;
}

.background-fade.scrolled {
  background-color: #000;
  color: #fff;
}

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

.nav-links {
  display: flex;
  font: 500 18px "Abril Fatface", serif;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--beed-red);
  text-decoration: underline;
}

/* Footer Component Styles */
#global-footer {
  background-color: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
}

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

.footer-section {
  max-width: 100%;
  padding: 20px;
  text-align: left;
}

.footer-section a{
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a {
  color: var(--beed-gray2);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover, .footer-bottom a:hover {
  color: var(--beed-red);
  text-decoration: underline;
}

.footer-section h3 {
  font: 500 18px "Abril Fatface", serif;
  margin-top: 0;
}

@media (max-width: 540px) {

  #global-header {
    position: static;
  }
  .call-us {
    font-size: 14px;
    padding: 5px 15px;
  }

  .navbar {
    align-items: center;
    flex-direction: column;
    padding: 10px 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 5px;
    text-align: center;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 0px;
    width: 100%;
  }

  .footer-divide {
    grid-template-columns: 1fr;
  }
}