body {
  margin: 0;
  font-family: 'Cabin', sans-serif;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Quicksand', sans-serif;
}

#header {
  background-image: url('images/background2.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(141, 134, 134);
}

.header-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logoWrapper {
  padding-top: 0;
}

#logoImage {
  max-width: 200px;
  height: auto;
}

#mainNavigation {
  margin-top: 0;
}

#mainNavigation a {
  font-family: 'Cabin', sans-serif;
  color: rgb(141, 134, 134);
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.2em;
}

#mainNavigation a.active {
  border-bottom: 2px solid rgb(141, 134, 134);
}

#mainNavigation a.button {
    background-color: #8d8686;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border-bottom: none;
}

#mainNavigation a.button.active {
    background-color: #a39e9e;
    text-decoration: underline;
    text-decoration-color: #8d8686;
}

#header h1 {
    font-size: 4em;
}

#header h2 {
    font-size: 2.5em;
    font-family: 'Cabin', sans-serif;
    font-weight: normal;
}

.main-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.sqs-html-content {
  font-family: 'Cabin', sans-serif;
  line-height: 1.6;
  font-size: 24px;
}

.two-column-layout {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  align-items: flex-start;
}

.two-column-layout .image-column {
  flex: 1;
}

.two-column-layout .text-column {
  flex: 2;
}

.contact-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.2em;
}

.contact-details h2 {
    margin-top: 0;
}

#map {
    height: 440px;
    width: 100%;
    border-radius: 8px;
}

#footer {
  background-color: #f2f2f2;
  padding: 20px;
  text-align: center;
}

#siteInfo {
  font-family: 'Cabin', sans-serif;
}

#siteInfo span {
  margin: 0 10px;
}

/* Mobile and Tablet Adaptations */
@media (max-width: 768px) {
  #header {
    height: 50vh;
    color: rgb(51, 51, 51); /* Darker color for better contrast */
  }

  #header h1 {
    font-size: 2.5em;
  }

  #header h2 {
    font-size: 1.2em;
  }

  .header-top {
    flex-direction: column;
    position: static;
    padding: 10px;
    width: auto;
  }

  #mainNavigation {
    margin-top: 10px;
  }

  #mainNavigation a {
    margin: 5px 10px;
    font-size: 1em;
  }

  #mainNavigation a.button {
    background-color: transparent; /* Remove solid background */
    padding: 0; /* Remove padding */
    border-radius: 0; /* Remove border-radius */
    color: rgb(51, 51, 51); /* Darker text color for button */
    font-weight: bold;
  }

  #mainNavigation a.button.active {
    background-color: transparent;
    border-bottom: 2px solid rgb(51, 51, 51); /* Darker underline */
    text-decoration: none; /* Ensure no default underline */
  }

  .two-column-layout {
    flex-direction: column;
  }

  .two-column-layout .image-column,
  .two-column-layout .text-column {
    flex: none;
    width: 100%;
  }

  .sqs-html-content {
    font-size: 18px;
  }

  .main-content {
    padding: 20px 10px;
  }

  #map {
    height: 300px;
  }

  .contact-details {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  #header {
    height: 40vh;
    color: rgb(51, 51, 51); /* Darker color for better contrast */
  }

  #header h1 {
    font-size: 2em;
  }

  #header h2 {
    font-size: 1em;
  }

  #logoImage {
    max-width: 150px;
  }

  #mainNavigation a {
    margin: 5px;
    font-size: 0.9em;
  }

  #mainNavigation a.button {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    color: rgb(51, 51, 51);
    font-weight: bold;
  }

  #mainNavigation a.button.active {
    background-color: transparent;
    border-bottom: 2px solid rgb(51, 51, 51);
    text-decoration: none;
  }

  .sqs-html-content {
    font-size: 16px;
  }

  #map {
    height: 250px;
  }
}
