/* ============ MODIFIERS =============== */

.text--color {
  color: var(--text-color);
}

.text--primary {
  color: var(--primary-color);
}

.bg--body {
  background-color: var(--body);
}

.bg--text {
  background-color: var(--text-color);
}

.bg--primary {
  background-color: var(--primary-color);
}

.bg--primary--dark {
  background-color: var(--primary-color-dark);
}

.bg--primary--light {
  background-color: var(--primary-color-light);
}

.img--cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.btn--primary {
  display: flex;
  justify-content: space-between;
  width: fit-content;
  height: fit-content;
  padding: 10px 20px;
  color: white;
  border-radius: 13px 0;
  background-color: var(--primary-color-dark);
  transition: 0.2s ease-in-out;
}

/* ====================================== */

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

.content.grid > .content__title {
  width: 60%;
}

.content__text b {
  font-weight: 700;
}

.content__btn__arrow {
  margin-left: 40px;
  transition: 0.2s ease-in-out;
}

.carousel-container {
  height: 80dvh;
}

.swiper-slide {
  overflow: hidden;
}

.swiper-slide > img {
  transform: scale(1.1);
  transition: 1s ease-in-out;
}

.swiper-slide-active > img {
  transform: scale(1);
}

.whatsapp--btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background-color: #118c7e;
}

.header {
  position: relative;
  height: fit-content;
}

.header__content {
  position: relative;
  height: 100dvh;
  min-height: 950px;
  display: flex;
  flex-direction: column;
  /* background-image: url('../assets/images/renders/header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
}

.header__logo {
  height: 30px;
}

.header__info {
  /* position: absolute;
    bottom: 0; */
  display: grid;
  grid-template-columns: 6fr 2fr 2fr 2fr;
}

.header__info__item {
  padding: 30px 100px;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'HankenGrotesk';
  font-weight: 300;
  font-size: 18px;
}

.header__info__item__icon {
  width: 50px;
  height: 50px;
  padding: 5px;
  margin-bottom: 20px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25),
    0px 18.866px 18.046px 0px rgba(0, 0, 0, 0) inset;
}

.header-form {
  position: absolute;
  right: 5%;
  top: 5%;
  padding: 30px;
  width: 410px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9);
}

.header-form__logo {
  height: 70px;
}

.header-form .form__input {
  grid-column: 1/3;
}

.map__content {
  position: absolute;
  right: 10%;
  bottom: 10%;
  z-index: 5;
  width: 500px;
  height: fit-content;
  padding: 40px;
  background-color: var(--body);
}

.map__text {
  color: rgb(165, 165, 165);
}

.map__address::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  border-top: 1px solid var(--primary-color-light);
}

.map__address__item {
  font-family: 'Graphik', sans-serif;
}

.map__address__icon {
  height: 40px;
}

.map__address__text {
  color: rgb(165, 165, 165);
  font-size: 14px;
}

.map__btn {
  padding: 7px 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 20px;
  background-color: var(--primary-color-light);
}

.map__btn:hover {
  color: white;
}

.contact-form .form__title,
.contact-form .form__desc {
  display: none;
}

/* .expand {
    transform: scale(0.8);
    transition: 0.4s ease-in-out;
} */

@media (max-width: 998px) {
  .content.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 20px;
  }

  .content.grid > .content__title {
    width: unset;
  }

  .carousel-container {
    height: 460px;
  }

  .header__content {
    min-height: unset;
  }

  .header__info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .header__info__title {
    grid-column: 1/4;
  }

  .header__info__item {
    padding: 30px 20px;
  }

  .header__info__item {
    font-size: 16px;
  }

  .header__info__item__icon {
    width: 40px;
    height: 40px;
  }

  .header-form {
    position: static;
    width: 100%;
    padding-inline: 0;
  }

  .map__content {
    position: static;
    width: 100%;
    padding-inline: unset;
  }

  .map__address::before {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 320px;
  }

  .header__logo {
    height: 20px;
  }

  .header-form__logo {
    height: 60px;
  }

  .header__info__item {
    font-size: 14px;
  }

  .header__info__item__icon {
    width: 35px;
    height: 35px;
  }
}

@media (hover: hover) {
  .btn--primary:hover {
    color: white;
    background-color: var(--primary-color-light);
  }

  .btn--primary:hover .content__btn__arrow {
    margin-left: 60px;
  }
}
