/* includes */
@import url(./components/sliders/slider-diagonal.css);
@import url(./includes/pop-up-full-screen.css);

.page-ini-single-type {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.page-ini-single-type > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.page-ini-single-type > div {
  color: var(--warm-silver-light);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    163deg,
    rgba(0, 0, 0, 0.37) 20%,
    rgba(185, 178, 170, 0.37) 88.2%
  );
  backdrop-filter: blur(7px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-ini-single-type .description {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.page-ini-single-type .description > .general-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.page-ini-single-type .description > .switzer-light {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.75rem 0;
}

.page-ini-single-type .description > .switzer-light > div {
  flex-basis: 50%;
}

.page-ini-single-type .description > .switzer-light > div > p {
  width: max-content;
}

.page-ini-single-type .description > .switzer-light > div > p:last-child {
  margin-top: 0.625rem;
  color: var(--point);
}

.page-ini-single-type .description > .scheme,
.page-ini-single-type .description > .scheme > img {
  width: 100%;
}

.page-ini-single-type .description > .btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.overview {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 7.5rem;
  padding: 0 8.75rem 2.5rem 0;
  max-width: 1920px;
}

.overview > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

.overview > div:has(img) {
  flex-basis: 60%;
  flex-shrink: 0;
}

.overview > div > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-bottom-right-radius: 0.625rem;
}

.single-type-features {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--purpure);
  padding: 5rem 8.75rem;
}

.single-type-features > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  color: var(--warm-silver-light);
}

.single-type-features > div > div {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8rem;
  padding: 5rem 0;
}

.single-type-features > div > div > div {
  /* text-transform: capitalize; */
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.video-big {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 8.75rem;
  max-width: 1920px;
}

.video-big > div,
.video-big > div > video {
  width: 100%;
  height: 100%;
}

.single-type-scheme-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  padding: 2.5rem 8.75rem;
  max-width: 1920px;
}

.single-type-scheme-container > .scheme-wrapper {
  width: 100%;
  overflow: hidden;
}

.single-type-scheme-container > .scheme-wrapper > .scheme-slider {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: transform 1s;
}

.scheme-slider > div {
  flex-basis: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scheme-slider > div > img {
  width: 100%;
  height: auto;
}

.single-type-scheme-container > .scheme-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.75rem;
}

.single-type-scheme-container > .scheme-menu > p {
  font-size: 2rem;
  color: var(--point);
  cursor: pointer;
  transition: color 1s;
}

.single-type-scheme-container > .scheme-menu > p.active {
  color: var(--purpure);
}

.tipologies-col-4 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  overflow: hidden;
}

.tipologies-col-4 > .tipology {
  flex-basis: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: flex-basis 1s, flex-shrink 1s;
  cursor: pointer;
}

.tipologies-col-4 > .tipology:hover {
  flex-basis: 50%;
  flex-shrink: 0;
}

.tipologies-col-4 > .tipology > img {
  width: auto;
  height: 100vh;
}

.tipologies-col-4 > .tipology > div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--warm-silver-light);
}

@media (max-width: 1024px) {
  .page-ini-single-type > div {
    width: 100%;
  }

  .page-ini-single-type > div > .description {
    align-items: center;
    max-width: none;
    padding: 0 2.5rem;
  }

  .page-ini-single-type > div > .description > .general-info,
  .page-ini-single-type > div > .description > .switzer-light {
    text-align: center;
  }

  .page-ini-single-type > div > .description > .switzer-light {
    justify-content: center;
  }

  .page-ini-single-type > div > .description > .switzer-light > div > p {
    margin: auto;
  }

  .overview {
    padding: 2.5rem 3.5rem;
    flex-direction: column;
    box-sizing: border-box;
    gap: 3.5rem;
  }

  .overview > div > img {
    width: 100%;
    height: auto;
    max-height: 40vh;
    border-radius: 0.625rem;
  }

  .single-type-features > div {
    gap: 3.5rem;
  }

  .single-type-features > div > div {
    flex-direction: column;
    gap: 3.5rem;
    padding: 0;
  }

  .single-type-features > div > div > div {
    text-align: center;
    gap: 3.5rem;
  }

  .video-big {
    padding: 2.5rem;
  }

  .single-type-scheme-container {
    padding: 2.5rem;
  }

  .tipologies-col-4 {
    flex-wrap: wrap;
  }

  .tipologies-col-4 > .tipology {
    flex-basis: 50%;
  }

  .tipologies-col-4 > .tipology > img {
    height: 50vh;
  }
}
