/* --------------------------------------------------
|| Grids
-------------------------------------------------- */

/* 2-1-1 Grid */
.grid-2-1-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.825rem;

  @media (max-width: 1024px) {
    flex-wrap: wrap;
  }
}
.grid-2-1-1 .box {
  position: relative;
  height: 16rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.825rem;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-bg-overlay);
  background-blend-mode: overlay;

  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  border-radius: 0.5rem;

  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;

  overflow: hidden;
}
.grid-2-1-1 .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: transform 0.8s ease-in-out;
  -moz-transition: transform 0.8s ease-in-out;
  -ms-transition: transform 0.8s ease-in-out;
  -o-transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  z-index: 1;
}
.grid-2-1-1 .box:hover::before {
  -webkit-transform: scale(1.2) rotate(3deg);
  -moz-transform: scale(1.2) rotate(3deg);
  -ms-transform: scale(1.2) rotate(3deg);
  -o-transform: scale(1.2) rotate(3deg);
  transform: scale(1.2) rotate(3deg);

  -webkit-filter: saturate(30%);
  filter: saturate(30%);
}
.grid-2-1-1 .box-one {
  width: calc(50% + 0.825rem);

  @media (max-width: 1024px) {
    width: 100%;
    height: 20rem;
  }
}
.grid-2-1-1 .box-two,
.grid-2-1-1 .box-three {
  width: 25%;

  @media (max-width: 1024px) {
    width: calc(50% - 0.4125rem);
  }

  @media (max-width: 768px) {
    width: 100%;
  }
}

/* 1-1-2 Grid */
.grid-1-1-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.825rem;

  @media (max-width: 1024px) {
    flex-wrap: wrap;
  }
}
.grid-1-1-2 .box {
  position: relative;
  height: 16rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.825rem;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-bg-overlay);
  background-blend-mode: overlay;

  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  border-radius: 0.5rem;

  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;

  overflow: hidden;
}
.grid-1-1-2 .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: transform 0.8s ease-in-out;
  -moz-transition: transform 0.8s ease-in-out;
  -ms-transition: transform 0.8s ease-in-out;
  -o-transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  z-index: 1;
}
.grid-1-1-2 .box:hover::before {
  -webkit-transform: scale(1.2) rotate(3deg);
  -moz-transform: scale(1.2) rotate(3deg);
  -ms-transform: scale(1.2) rotate(3deg);
  -o-transform: scale(1.2) rotate(3deg);
  transform: scale(1.2) rotate(3deg);

  -webkit-filter: saturate(30%);
  filter: saturate(30%);
}
.grid-1-1-2 .box-one,
.grid-1-1-2 .box-two {
  width: 25%;

  @media (max-width: 1024px) {
    width: calc(50% - 0.4125rem);
  }

  @media (max-width: 768px) {
    width: 100%;
  }
}
.grid-1-1-2 .box-three {
  width: calc(50% + 0.825rem);

  @media (max-width: 1024px) {
    width: 100%;
  }
}

/* 2-1--1 Grid */
.grid-2-1--1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.825rem;

  @media (max-width: 1024px) {
    flex-wrap: wrap;
  }
}
.grid-2-1--1 .box {
  position: relative;
  height: 16rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.825rem;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-bg-overlay);
  background-blend-mode: overlay;

  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  border-radius: 0.5rem;

  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;

  overflow: hidden;
}
.grid-2-1--1 .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: transform 0.8s ease-in-out;
  -moz-transition: transform 0.8s ease-in-out;
  -ms-transition: transform 0.8s ease-in-out;
  -o-transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  z-index: 1;
}
.grid-2-1--1 .box:hover::before {
  -webkit-transform: scale(1.2) rotate(3deg);
  -moz-transform: scale(1.2) rotate(3deg);
  -ms-transform: scale(1.2) rotate(3deg);
  -o-transform: scale(1.2) rotate(3deg);
  transform: scale(1.2) rotate(3deg);

  -webkit-filter: saturate(30%);
  filter: saturate(30%);
}
.grid-2-1--1 .left {
  @media (max-width: 1024px) {
    width: 100%;
    height: 20rem;
  }
}

.grid-2-1--1 .left .box-one {
  @media (max-width: 1024px) {
    width: 100%;
  }
}

.grid-2-1--1 .right {
  display: flex;
  flex-direction: column;
  gap: 0.825rem;
  width: 50%;
  height: 30rem;

  @media (max-width: 1024px) {
    flex-direction: row;
    width: 100%;
    height: auto;
  }

  @media (max-width: 768px) {
    flex-direction: column;
    width: 100%;
    height: auto;
  }
}
.grid-2-1--1 .box-one {
  width: 50%;
  height: 30rem;

  @media (max-width: 1024px) {
    width: 100%;
    height: 20rem;
  }

  @media (max-width: 768px) {
    width: 100%;
    height: 20rem;
  }
}
.grid-2-1--1 .right .box-two,
.grid-2-1--1 .right .box-three {
  width: 100%;
  height: calc(15rem - 0.4125rem);

  @media (max-width: 1024px) {
    width: calc(50% - 0.4125rem);
  }

  @media (max-width: 768px) {
    background-color: brown;
    width: 100%;
    height: 20rem;
  }
}

/* 1--1-2 Grid */
.grid-1--1-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.825rem;

  @media (max-width: 1024px) {
    flex-wrap: wrap;
  }
}
.grid-1--1-2 .box {
  position: relative;
  height: 16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.825rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-bg-overlay);
  background-blend-mode: overlay;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  overflow: hidden;
}
.grid-1--1-2 .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: transform 0.8s ease-in-out;
  -moz-transition: transform 0.8s ease-in-out;
  -ms-transition: transform 0.8s ease-in-out;
  -o-transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  z-index: 1;
}
.grid-1--1-2 .box:hover::before {
  -webkit-transform: scale(1.2) rotate(3deg);
  -moz-transform: scale(1.2) rotate(3deg);
  -ms-transform: scale(1.2) rotate(3deg);
  -o-transform: scale(1.2) rotate(3deg);
  transform: scale(1.2) rotate(3deg);

  -webkit-filter: saturate(30%);
  filter: saturate(30%);
}
.grid-1--1-2 .left {
  display: flex;
  flex-direction: column;
  gap: 0.825rem;
  width: 50%;
  height: 30rem;

  @media (max-width: 1024px) {
    flex-direction: row;
    width: 100%;
    height: auto;
  }

  @media (max-width: 768px) {
    flex-direction: column;
    width: 100%;
    height: auto;
  }
}
.grid-1--1-2 .box-one,
.grid-1--1-2 .box-two {
  width: 100%;
  height: calc(15rem - 0.4125rem);

  @media (max-width: 1024px) {
    width: calc(50% - 0.4125rem);
  }

  @media (max-width: 768px) {
    width: 100%;
    height: 20rem;
  }
}
.grid-1--1-2 .right {
  width: 50%;
  height: 30rem;

  @media (max-width: 1024px) {
    width: 100%;
    height: 20rem;
  }
}

/* --------------------------------------------------
|| Home Page
-------------------------------------------------- */
/* ---------- Hero Section ---------- */
.hero-video {
  width: 100%;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}
.hero-background-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100dvh;
  object-fit: cover;
  z-index: 1;
}
.video-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100dvh;
  background: hsla(195, 43%, 11%, 0.25);
  z-index: 2;
}
.hero-video-content {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4rem;
  z-index: 3;

  @media (max-width: 1024px) {
    padding-bottom: 3rem;
  }

  @media (max-width: 480px) {
    padding-bottom: 2rem;
  }
}
.hero-video-content p {
  text-align: center;
  font-size: clamp(15px, 1.8vw, 36px);
}

/* -------------- Featured Locations Section -------------- */
/* Top Row */
.featured-locations .grid-2-1-1 .box-one {
  background-image: url(../media/locations/location-13.jpg);
}
.featured-locations .grid-2-1-1 .box-two {
  background-image: url(../media/locations/location-14.jpg);
}
.featured-locations .grid-2-1-1 .box-three {
  background-image: url(../media/locations/location-16.jpg);
}
.grid-2-1-1 .box .box-content {
  position: relative;
  width: 100%;
  padding-block: 0.825rem;
  background-color: hsla(from var(--color-secondary) h s l / 0.25);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.grid-2-1-1 .box .box-content .box-title {
  font-size: var(--fs-200);
  font-weight: 400;
  text-decoration: none;
}
/* Bottom Row */
.featured-locations .grid-1-1-2 {
  margin-top: 0.825rem;
}
.featured-locations .grid-1-1-2 .box-one {
  background-image: url(../media/locations/location-06.jpg);
}
.featured-locations .grid-1-1-2 .box-two {
  background-image: url(../media/locations/location-07.jpg);
}
.featured-locations .grid-1-1-2 .box-three {
  background-image: url(../media/locations/location-15.jpg);
}
.grid-1-1-2 .box .box-content {
  position: relative;
  width: 100%;
  padding-block: 0.825rem;
  background-color: hsla(from var(--color-secondary) h s l / 0.25);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.grid-1-1-2 .box .box-content .box-title {
  font-size: var(--fs-200);
  font-weight: 400;
  text-decoration: none;
}

/* -------------- Popular Categories Section -------------- */
.popular-categories .grid-2-1--1 {
  margin-top: 0.825rem;
}
.popular-categories .grid-2-1--1 .box-one {
  background-image: url(../media/categories/luxury-homes-02.jpg);
}
.popular-categories .grid-2-1--1 .box-two {
  background-image: url(../media/categories/duplex-penthouse-07.jpg);
}
.popular-categories .grid-2-1--1 .box-three {
  background-image: url(../media/categories/villas-bungalows-05.jpg);
}
.grid-2-1--1 .box .box-content {
  position: relative;
  width: 100%;
  padding-block: 0.825rem;
  background-color: hsla(from var(--color-secondary) h s l / 0.25);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.grid-2-1--1 .box .box-content .box-title {
  font-size: var(--fs-200);
  font-weight: 400;
  text-decoration: none;
}
.grid-2-1--1 .box .box-content {
  position: relative;
  width: 100%;
  padding-block: 0.825rem;
  background-color: hsla(from var(--color-secondary) h s l / 0.25);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.grid-2-1--1 .box .box-content .box-title {
  font-size: var(--fs-200);
  font-weight: 400;
  text-decoration: none;
}

/* -------------- Explore By Possession Status Section -------------- */
.explore-by-possession-status .grid-1--1-2 {
  margin-top: 0.825rem;
}
.explore-by-possession-status .grid-1--1-2 .box-one {
  background-image: url(../media/status/upcoming-launch-02.jpg);
}
.explore-by-possession-status .grid-1--1-2 .box-two {
  background-image: url(../media/status/ready-possession-01.jpg);
}
.explore-by-possession-status .grid-1--1-2 .box-three {
  background-image: url(../media/status/under-construction-03.jpg);
}
.grid-1--1-2 .box .box-content {
  position: relative;
  width: 100%;
  padding-block: 0.825rem;
  background-color: hsla(from var(--color-secondary) h s l / 0.25);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.grid-1--1-2 .box .box-content .box-title {
  font-size: var(--fs-200);
  font-weight: 400;
  text-decoration: none;
}
.grid-1--1-2 .box .box-content {
  position: relative;
  width: 100%;
  padding-block: 0.825rem;
  background-color: hsla(from var(--color-secondary) h s l / 0.25);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.grid-1--1-2 .box .box-content .box-title {
  font-size: var(--fs-200);
  font-weight: 400;
  text-decoration: none;
}
