/* =============================================================================
   contact-styles.css — styles specific to contact/index.php
   ============================================================================= */

/* --- Hero --- */

.contact-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
  url(images/contact-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 40%;
}

/* --- GET IN TOUCH section --- */

#contact-white {
  background-color: white;
}

/* --- Shared contact component styles --- */

.contact-container-white {
  width: 100%;
  background-color: white;
}

.contact-container-white:nth-of-type(odd) {
  background-color: var(--lg);
}

.contact-container-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-container-text h2 {
  color: var(--gold);
  font-weight: 800;
  font-size: 40px;
  margin-bottom: 75px;
  position: relative;
}

.contact-container-text h2:after {
  content: '';
  background-color: var(--gold);
  height: 2px;
  width: 50px;
  position: absolute;
  top: 65px;
  left: 0px;
}

.contact-container-text h3 {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 40px;
}

.contact-container-text p {
  margin-bottom: 20px;
}

.contact-container-text li {
  list-style-type: none;
}

.contact-container-text ul {
  margin: 0;
  padding: 0;
}

.contact-button {
  background-color: transparent;
  color: black;
  border: 2px solid var(--gold);
  border-radius: 10px;
  width: 205px;
  padding: 15px 35px;
  font-weight: 800;
  margin: 30px 0;
  transition: all .5s;
  align-self: flex-start;
}

.contact-button:hover {
  background-color: var(--gold);
  color: white;
  border: 2px solid black;
  transition: all .5s;
}

.contact-phone {
  color: var(--darkblack);
  /* text-decoration: underline;
  text-decoration-color: var(--gold); */
  transition: all .5s;
}

.contact-phone:hover {
  color: var(--gold);
  font-weight: 800;
  transition: all .5s;
}

/* --- Desktop: old single-contact layout (1100px+) --- */

@media (width >= 1100px) {

  .contact-container-white {
    padding: 60px 0px;
  }

  .contact-container {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    padding: 30px 0px;
  }

  /* .contact-container:nth-of-type(1) {
    margin-top:50px;
  } */

  .contact-container-map {
    margin-left: 40px;
  }

  .contact-container-map iframe {
    width: 600px;
    height: 450px;
  }

}

/* --- Mobile: old single-contact layout (1099px and below) --- */

@media (width <= 1099px) {

  .contact-container-white {
    padding: 50px 20px;
  }

  .contact-container {
    width: 95%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    padding: 30px 0px;
  }

  .contact-container-map {
    margin-top: 40px;
  }

  .contact-container-map iframe {
    width: 300px;
    height: 225px;
  }

}

/* --- Office grid (CSS grid) --- */

.contact-flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.contact-flex .contact-container {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: none;
}

.contact-flex .contact-container-alt {
  background-color: var(--lg);
}

.contact-flex .contact-container-text h2 {
  font-size: 30px;
  margin-bottom: 30px;
  line-height: 1;
  width: 225px;
}

.contact-flex .contact-container-text h2:after {
  top: 40px;
}

.contact-container-text-img {
  display: flex;
  margin: auto 0 0;
}

.contact-container-text-img img {
  width: 225px;
  height: 150px;
  object-fit: cover;
  box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.49);
  -webkit-box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.49);
  margin-top: 15px;
}

/* Tablet: 2-column grid (768px–1099px) */

@media (min-width: 768px) and (max-width: 1099px) {
  .contact-flex {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container-text-img {
    margin: auto 0;
  }
}

/* Mobile: 1-column grid (under 768px) */

@media (max-width: 767px) {
  .contact-flex {
    grid-template-columns: 1fr;
  }

  .contact-container-text-img {
    margin: auto 0;
  }
}

/* --- Page-level --- */

.page-contact footer.footer2 {
  display: none;
}

.g-recaptcha {
  margin: 20px 0;
}

.captcha-error {
  color: red;
  margin: auto 10px;
}
