
/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
.hero-banner {display: none;}

.hero {
  position: relative;
  background-image: var(--gradient);
  color: var(--neutral-90);
  padding-block: 130px 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-title {color: var(--neutral-100);}

.hero-text {margin-block: 16px 32px;}

.hero .bg-pattern {
  position: absolute;
  top: 50%;
  min-height: 100%;
  min-width: 100%;
  right: 0;
  translate: 0 -50%;
  min-height: 100%;
  pointer-events: none;
  z-index: -2;
}



/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/

.feature-banner {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-extra-large);
}

.feature-content {padding: 24px 16px 0;}

.feature-content .feature-text {margin-block: 16px;}

.feature-text .feature-item {color: var(--neutral-30);}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  color: var(--primary-100);
  font-size: 2.2rem;
}




/*-----------------------------------*\
  #VIDEO
\*-----------------------------------*/
.video_section {
  background-color: var(--body-color);
  margin-top: -10rem !important;
  padding-bottom: 15rem !important;
}

.video_property-container {
  box-shadow: 0 0.5rem 1rem -0.15rem hsla(0, 0%, 0%, 0.10);
  border: 2px solid var(--primary-color-light2);
  background-color: var(--primary-color-light2);
  border-radius: 1.5rem;
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
  justify-content: center;
  overflow: hidden;
}

.div-video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.div-video video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}


/*-----------------------------------*\
  #LOCATIONS
\*-----------------------------------*/
.location .container {
  margin-top: 10rem;
  padding: 0px 30px 0 30px;
}

.location .section-subtitle {color: var(--primary-100);}

.location .section-title {margin-block: 12px;}

.location .title-wrapper {
  display: grid;
  gap: 16px;
}

.location-list {
  display: grid;
  gap: 16px;
  cursor: pointer;
}

.location-card {
  position: relative;
  height: 260px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}

.location-card:where(:hover, :focus-visible) {scale: 0.99;}

.location-card .overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000000 33.33%, #000000cc 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px;
}




/* Initially, the lightbox is hidden */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  display: block;
  max-width:90%;
    max-height:90%;
    position:absolute;
    top:7rem; left:0; right:0; bottom:0;
    margin:auto;
  justify-content: center;
  border-radius: var(--radius-large);
}



/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/
/* RESPONSIVE FOR LARGER THAN 768PX SCREEN */
@media (min-width: 470px) {

  /* LOCATION */

  .location-list {grid-template-columns: 1fr 1fr;}
 
}



/* RESPONSIVE FOR LARGER THAN 768PX SCREEN */
@media (min-width: 768px) {

   /* HERO */
   .hero {padding-block: 160px 100px;}


   /* PROPERTY */
   .property {padding-block-start: 80px;}

   .property .section-text {margin-block-end: 0;}



   /* FEATURE */
   .feature-content {padding-block-start: 32px;}

   .feature-content .feature-text {
    margin-block: 16px 24px;
    line-height: 28px;
   }

   .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
   }



   /* VIDEO */
   .video-card {height: 400px;}

   .play-btn {
    width: 96px;
    height: 96px;
   }

   .play-btn .material-symbols-rounded {font-size: 4.8rem;}



   /* LOCATION */
   .location .section-title {margin-block: 16px;}

   .location-list {grid-template-columns: 1fr 1fr 1fr;}
  
}




/* RESPONSIVE FOR LARGER THAN 992PX SCREEN */
@media (min-width: 992px) {

  /* HERO */
  .hero .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .hero-content {grid-column: 1 / 7;}

  .hero-banner {
    display: block;
    position: absolute;
    bottom: 0;
    left: 40%;
    max-width: 720px;
    z-index: -1;
  }




  /* PROEPRTY */
  .property .section-text {max-width: 640px;}




  /* FEATURE */
  .feature .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .feature-content {padding: 40px;}

  .feature-list {grid-template-columns: 1fr;}

  .feature-banner {aspect-ratio: auto;}

  .feature-2 .feature-banner {order: 1;}


}



/* RESPONSIVE FOR LARGER THAN 1440PX SCREEN */
@media (min-width: 1440px) {

 /* HERO */
 .hero .container {
  min-height: 580px;
  align-items: center;
}

.hero-content {grid-column: 1 / 6;}

.hero-banner {
  max-width: 820px;
  width: 100%;
  left: calc(50% - 108px);
}




/* FEATURE */
.feature-content {padding: 60px;}

.feature-list {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* LOCATION */
.location .section-title {max-width: 820px;}

.location-list {grid-template-columns: repeat(12, 1fr);}

.location-card:where(:nth-child(1), :nth-child(6)) {
  grid-column: span 3;
}

.location-card:where(:nth-child(3), :nth-child(5)) {
  grid-column: span 4;
}

.location-card:where(:nth-child(2), :nth-child(4)) {
  grid-column: span 5;
}

}
