@import "./global.css";

/* Background Block */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999;
}
.background__image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
}

.background__container--base {
  background-color: white;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.05));
}

/* Hero Block */
.hero__bottom-background {
  margin-top: -1px;
  width: 100%;
}
.hero__image {
  width: 100%;
  height: 35vw;
  object-fit: cover;
}

.hero__container--sm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  padding-top: clamp(10px, 5.27vw, 110px);
  padding-bottom: 3vw;
}

.hero__container--full {
  background-color: var(--tosca-light);
  color: white;
}

.hero__section {
  display: flex;
  flex-direction: column;
}

.hero__card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 0.5vw, 10px);
  width: fit-content;
  place-self: center end;
}

.hero__card-item > img {
  height: clamp(40px, 4vw, 77px);
  width: clamp(70px, 7vw, 130px);
  object-fit: contain;
  padding: 1.3vw 0;
  box-sizing: content-box;
  background-color: var(--tosca-dark);
}

.hero__card-item > p {
  text-align: center;
  font-size: var(--text-xs);
  font-family: var(--grandstander);
  font-weight: 800;
  color: #a1edef;
  margin-top: 0.5vw;
}
.hero__text {
  font-family: var(--nunito);
  font-size: var(--text-base);
  display: block;
}

.hero__cta {
  color: white;
  font-weight: var(--font-bold);
  font-size: var(--text-3xl);
  font-family: var(--grandstander);
}
.hero__cta-container {
  place-self: center start;
}

.hero__wrapper {
  position: relative;
}

.hero__content-container--base {
  position: absolute;
  display: grid;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 17.4vw;
}

.hero__content-container--base > picture > img {
  width: 20.4vw;
  align-self: center;
}

/* Inquiries Block */
#inquiries__section {
  margin-bottom: 6vw;
  margin-top: 5.5vw;
}
.inquiries__container--sm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.inquiries__other-inquiries-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1vw;
}
.inquiries__other-inquiries-container p {
  text-align: center;
  max-width: 80%;
}
.inquiries__other-inquiries-container p#left {
  text-align: center;
  max-width: 70%;
}
.inquiries__icon-image {
  width: 9.375vw;
  height: 9.375vw;
  object-fit: contain;
  margin-bottom: 1.45vw;
}
.inquiries__cta-button {
  text-decoration: none;
  color: var(--black);
  background-image: url("/assets/button-background.png") !important;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 1vw 2vw;
  font-weight: var(--font-bold);
  font-size: var(--button);
}
.inquiries__text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.inquiries__title {
  font-weight: var(--font-bold);
  font-size: var(--text-2xl);
  color: var(--black);
  font-family: var(--grandstander);
  text-align: center;
  margin-bottom: 1.35vw;
}
.inquiries__content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.inquiries__cta-button {
  margin-top: 3.9vw;
  width: fit-content;
}
.inquiries__other-inquiries-container:first-child {
  border-right: 2px solid rgba(249, 125, 47, 0.2);
}

/* Get In Touch Block */
.get-in-touch__submit-button.button--zoom.disabled:hover {
  transform: scale(1);
  cursor: progress;
}
.get-in-touch__submit-button.button--zoom.disabled {
  opacity: 0.7;
}

.get-in-touch__popup-overlay,
.get-in-touch__popup-container {
  display: none;
}
.get-in-touch__popup-container.active {
  display: flex;
}
.get-in-touch__popup-overlay.active {
  display: block;
}
.get-in-touch__popup-container--sm {
  width: 100%;
}
.get-in-touch__popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 10vw 0;
  z-index: 2;
}

.get-in-touch__popup-overlay {
  position: absolute;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.get-in-touch__popup-content-container--base {
  width: 90vw;
  background-color: var(--tosca-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5vw;
  color: white;
  gap: 0 5.2vw;
  border-radius: 1%;
  overflow: hidden;
  position: relative;
}
.get-in-touch__popup-title > span > span {
  color: var(--orange);
}
.get-in-touch__popup-title--desktop {
  display: inline-block;
}
.get-in-touch__popup-title--mobile {
  display: none;
}
.get-in-touch__popup-title {
  font-size: clamp(28px, 3.3vw, 65px);
  font-weight: var(--font-bold);
  font-family: var(--grandstander);
}
.get-in-touch__popup-description {
  margin: 2.6vw 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  font-family: var(--nunito);
}
.get-in-touch__popup-socials-container > a > img {
  height: 4.7vw;
  margin: auto;
  place-self: center;
}
.get-in-touch__popup-socials-container > a {
  aspect-ratio: 1/1;
  display: grid;
  background-color: var(--tosca-dark);
}
.get-in-touch__popup-socials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5vw;
}
.get-in-touch__popup-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get-in-touch__input::placeholder,
.get-in-touch__textarea::placeholder {
  color: white;
}
.get-in-touch__textarea {
  resize: none;
}
.get-in-touch__input,
.get-in-touch__select,
.get-in-touch__textarea {
  width: 100%;
  outline: none;
  background-color: transparent;
  color: white;
  font-family: var(--nunito);
  font-size: var(--text-sm);
  padding: 1.5vw 0;
  appearance: none;
  padding-left: 1.5vw;
  border: 1px solid white !important;
  margin-bottom: 1.5vw;
}
.get-in-touch__submit-button {
  width: fit-content;
  background-color: transparent;
  outline: none;
  border: none;
  font-family: var(--nunito);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  background-image: url("/assets/button-background.png") !important;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: white;
  padding: 1.5vw 2.8vw;
  margin-top: 0.5vw;
}
.get-in-touch__background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.get-in-touch__popup-text-container,
.get-in-touch__popup-form-container {
  position: relative;
  z-index: 2;
}
.get-in-touch__close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2vw;
  background-color: transparent;
  border: none;
  outline: none;
}

/* Popup Block */
.collaboration__popup-overlay,
.collaboration__popup-container {
  display: none;
}
.collaboration__popup-container.active {
  display: flex;
}
.collaboration__popup-overlay.active {
  display: block;
}
.collaboration__popup-container--sm {
  width: 100%;
}
.collaboration__popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 10vw 0;
  z-index: 2;
}

.collaboration__popup-overlay {
  position: absolute;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.collaboration__popup-content-container--base {
  width: 90vw;
  background-color: var(--tosca-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5vw;
  color: white;
  gap: 0 5.2vw;
  border-radius: 1%;
  overflow: hidden;
  position: relative;
}
.collaboration__popup-title > span > span {
  color: var(--orange);
}
.collaboration__popup-title--desktop {
  display: inline-block;
}
.collaboration__popup-title--mobile {
  display: none;
}
.collaboration__popup-title {
  font-size: clamp(28px, 3.3vw, 65px);
  font-weight: var(--font-bold);
  font-family: var(--grandstander);
}
.collaboration__popup-description {
  margin: 2.6vw 0;
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  font-family: var(--nunito);
}
.collaboration__popup-socials-container > a > img {
  height: 4.7vw;
  margin: auto;
  place-self: center;
}
.collaboration__popup-socials-container > a {
  aspect-ratio: 1/1;
  display: grid;
  background-color: var(--tosca-dark);
}
.collaboration__popup-socials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5vw;
}
.collaboration__popup-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collaboration__input::placeholder,
.collaboration__textarea::placeholder {
  color: white;
}
.collaboration__textarea {
  resize: none;
}
.collaboration__input,
.collaboration__select,
.collaboration__textarea {
  width: 100%;
  outline: none;
  background-color: transparent;
  color: white;
  font-family: var(--nunito);
  font-size: var(--text-sm);
  padding: 1.5vw 0;
  appearance: none;
  padding-left: 1.5vw;
  border: 1px solid white !important;
  margin-bottom: 1.5vw;
}
.collaboration__submit-button {
  width: fit-content;
  background-color: transparent;
  outline: none;
  border: none;
  font-family: var(--nunito);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  background-image: url("/assets/background-btn.png") !important;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: white;
  padding: 1.5vw 3.8vw;
  margin-top: 0.5vw;
}
.collaboration__background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.collaboration__popup-text-container,
.collaboration__popup-form-container {
  position: relative;
  z-index: 2;
}
.collaboration__close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2vw;
  background-color: transparent;
  border: none;
  outline: none;
}
.collaboration__option {
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
}
.collaboration__submit-button.button--zoom.disabled:hover {
  transform: scale(1);
  cursor: progress;
}
.collaboration__submit-button.button--zoom.disabled {
  opacity: 0.7;
}

@media (max-width: 641px) {
  /* Hero Block */

  .hero__image {
    height: 123.8vw;
  }
  .hero__container--sm {
    grid-template-columns: 1fr;
  }
  .hero__text {
    display: block;
    font-size: var(--text-sm);
    font-family: var(--nunito);
    font-weight: var(--font-medium);
    color: white;
    text-align: center;
  }
  .hero__card-container {
    width: 100%;
    margin-top: 11.8vw;
    padding-bottom: 10vw;
  }
  .hero__card-item > img {
    height: 10.2vw;
    width: 100%;
    padding: 5vw 0;
  }
  .hero__card-item > p {
    margin-top: 6.6vw;
  }
  .hero__cta-container {
    place-self: center;
  }
  .hero__container--sm {
    gap: 6.6vw;
    margin-bottom: 8vw;
  }
  .hero__cta {
    font-size: var(--text-xl);
  }
  .hero__content-container--base {
    padding-left: 0;
    top: 35vw;
    height: fit-content;
    justify-content: center;
  }
  .hero__content-container--base > picture {
    display: block;
  }
  .hero__content-container--base > picture > img {
    width: 50.2vw;
  }
  /* Inquiries Block */
  .inquiries__other-inquiries-container:first-child {
    border: none;
  }
  .inquiries__container--sm {
    display: flex;
    flex-direction: column;
  }
  .inquiries__container--sm > div:first-child {
    margin-bottom: 13.8vw;
  }
  .inquiries__title {
    font-size: var(--text-md);
    margin-bottom: 6.6vw;
  }
  .inquiries__icon-image {
    width: 27.7vw;
    height: 27.7vw;
    margin-bottom: 6.6vw;
  }
  .inquiries__cta-button {
    margin-top: 6.6vw;
    padding: 2.3vw 6vw;
    color: var(--black);
    font-size: var(--text-xs);
  }
  #inquiries__section {
    margin-bottom: 13.8vw;
    margin-top: 12.8vw;
  }

  /* Get In Touch Popup Block */
  .get-in-touch__popup-container--sm {
    width: 80%;
  }
  .get-in-touch__popup-title--desktop {
    display: none;
  }
  .get-in-touch__popup-title--mobile {
    display: inline-block;
  }
  .get-in-touch__popup-content-container--base {
    grid-template-columns: 1fr;
    gap: 13.8vw 0;
  }
  .get-in-touch__popup-title {
    font-size: var(--text-xl);
    text-align: center;
    line-height: 8vw;
  }
  .get-in-touch__popup-description {
    text-align: center;
    font-size: var(--text-sm);
    margin: 6.6vw 0;
  }
  .get-in-touch__input,
  .get-in-touch__select,
  .get-in-touch__textarea {
    margin-bottom: 6.6vw;
    padding: 4vw 6.4vw;
  }

  .get-in-touch__submit-button {
    padding: 2vw 6.6vw;
  }
  .get-in-touch__popup-socials-container > a > img {
    height: 10.5vw;
  }
  .get-in-touch__popup-content-container--base {
    padding-top: 22vw;
    padding-bottom: 0vw;
  }
  .get-in-touch__popup-container {
    overflow-y: scroll;
  }
  .get-in-touch__popup-overlay,
  .get-in-touch__popup-container {
    display: none;
  }
  .get-in-touch__popup-overlay.active,
  .get-in-touch__popup-container.active {
    display: block;
  }
  .get-in-touch__close-button {
    padding: 5vw;
  }

  /* Let Us Know Popup Block */

  .collaboration__popup-container--sm {
    width: 80%;
  }
  .collaboration__popup-title--desktop {
    display: none;
  }
  .collaboration__popup-title--mobile {
    display: inline-block;
  }
  .collaboration__popup-content-container--base {
    grid-template-columns: 1fr;
    gap: 13.8vw 0;
  }
  .collaboration__popup-title {
    font-size: var(--text-xl);
    text-align: center;
    line-height: 8vw;
  }
  .collaboration__popup-description {
    text-align: center;
    font-size: var(--text-sm);
    margin: 6.6vw 0;
  }
  .collaboration__input,
  .collaboration__select,
  .collaboration__textarea {
    margin-bottom: 6.6vw;
    padding: 4vw 6.4vw;
  }
  .collaboration__submit-button {
    margin-top: 0;
    padding: 2vw 6.6vw;
  }
  .collaboration__popup-socials-container > a > img {
    height: 10.5vw;
  }
  .collaboration__popup-content-container--base {
    padding-top: 22vw;
    padding-bottom: 0vw;
  }
  .collaboration__popup-container {
    overflow-y: scroll;
  }
  .collaboration__popup-overlay,
  .collaboration__popup-container {
    display: none;
  }
  .collaboration__popup-overlay.active,
  .collaboration__popup-container.active {
    display: block;
  }
  .collaboration__close-button {
    padding: 5vw;
  }
}
