/*
| --------------------------------------------------------
| File : yit-project-details.css
| Description : Custom styles for Project Details page
| --------------------------------------------------------
*/

/* --- Book Now Nav Button --- */
.nav-btn-book .btn-book-now {
  background: #4c5687;
  color: #fff !important;
  padding: 8px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.nav-btn-book .btn-book-now:hover {
  background: #3a4268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 86, 135, 0.3);
}

/* --- Page Title Banner --- */
.page-title-banner {
  position: relative;
  height: 100vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.bg-overlay-black::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-title-banner .container {
  position: relative;
  z-index: 2;
}

.page-title-banner h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-title-banner p {
  font-size: 18px;
  font-weight: 300;
}

/* --- Force Landscape for Project Gallery --- */
.project-gallery-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.project-carousel .yit-team-item {
    border: none !important;
    margin-bottom: 0 !important;
}

.project-carousel .yit-team-item .yit-team-thumb,
.project-carousel .yit-team-item .yit-team-img {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

/* Force landscape ratio on all images inside carousel */
.project-carousel .yit-team-item img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.project-carousel .yit-team-item:hover img {
    transform: scale(1.08) !important;
}

/* Hide the detail box since we only need images */
.project-carousel .yit-team-detail {
    display: none !important;
}

.project-carousel .yit-team-thumb::after {
    display: none !important;
}

.project-carousel .team-social {
    display: none !important;
}



@media (max-width: 767px) {
    .project-carousel .yit-team-item img {
        height: 300px !important;
    }
}

/*** Project Intro Section CSS BOF ***/
.project-intro {
  padding-top: 80px;
  padding-bottom: 80px;
}

.project-intro .project-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.project-intro .yit-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.project-intro hr.yit-seprator-l {
  width: 60px;
  height: 2px;
  margin: 10px auto;
}

/*** Project Facts Section CSS BOF ***/
.project-facts {
  padding-top: 80px;
  padding-bottom: 80px;
}

.project-facts h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-facts hr.yit-seprator-l {
  width: 60px;
  height: 2px;
  margin: 10px auto;
}

.fact-card {
  display: flex;
  align-items: flex-start;
  padding: 30px;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.fact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.fact-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.fact-icon i {
  font-size: 40px;
}

.fact-content h6 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.fact-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

/*** Project Amenities Section CSS BOF ***/
.project-amenities h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-amenities hr.yit-seprator-l {
  width: 60px;
  height: 2px;
  margin: 10px auto;
}

.amenity-item {
  padding: 30px 15px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.amenity-item:hover {
  transform: translateY(-5px);
}

.amenity-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.amenity-item h6 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}

/*** Project Location Section CSS BOF ***/
.project-location {
  padding-top: 80px;
  padding-bottom: 80px;
}

.project-location h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-location hr.yit-seprator-l {
  width: 60px;
  height: 2px;
  margin: 10px auto;
}

.location-map-wrapper {
  width: 100%;
  overflow: hidden;
}

.location-map-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.location-details {
  margin-bottom: 30px;
}

.location-details h6 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.location-details ul.yit-common-listing {
  font-size: 15px;
}

.location-details ul.yit-common-listing li {
  margin-bottom: 10px;
  color: #666;
}

/*** Project Why Choose (Invest) Section CSS BOF ***/
.project-why-choose {
  padding-top: 0;
  padding-bottom: 0;
}

.project-why-choose .yit-feature.style-5 .icon-badge {
  width: 80px;
  height: 80px;
  top: 0;
}

.project-why-choose .yit-feature.style-5 .icon-badge-icon {
  font-size: 28px;
  color: #fff;
  line-height: 80px;
}

.project-why-choose .yit-feature.style-5 .yit-feature-item {
  margin-bottom: 25px;
}

.project-why-choose .yit-feature.style-5 .yit-feature-item h6 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.project-why-choose .yit-feature.style-5 .yit-feature-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/*** Project CTA Section CSS BOF ***/
.project-cta {
  padding-top: 80px;
  padding-bottom: 80px;
}

.cta-wrapper h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}

.cta-wrapper p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.cta-wrapper .btn-primary {
  background: #4c5687;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  transition: all 0.3s ease;
}

.cta-wrapper .btn-primary:hover {
  background: #3a4268;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(76, 86, 135, 0.3);
  color: #fff;
}

/*** Responsive CSS BOF ***/
@media (max-width: 767px) {
  .page-title-banner {
    height: 60vh;
    min-height: 400px;
  }

  .page-title-banner h1 {
    font-size: 2rem;
  }

  .page-title-banner p {
    font-size: 14px;
  }

  .project-banner {
    padding: 40px 0;
  }

  .project-slide-item img {
    height: 250px;
  }

  .project-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 16px;
    opacity: 1;
  }

  .project-carousel .owl-nav button.owl-prev i,
  .project-carousel .owl-nav button.owl-next i {
    line-height: 40px;
  }

  .project-intro {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .project-intro .project-title {
    font-size: 32px;
  }

  .project-facts,
  .project-amenities,
  .project-location,
  .project-why-invest,
  .project-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .project-facts h3,
  .project-amenities h3,
  .project-location h3,
  .project-why-invest h3,
  .cta-wrapper h2 {
    font-size: 28px;
  }

  .fact-card {
    padding: 20px;
  }

  .fact-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .fact-icon i {
    font-size: 32px;
  }

  .project-why-choose .yit-feature.style-5 .icon-badge {
    width: 60px;
    height: 60px;
  }

  .project-why-choose .yit-feature.style-5 .icon-badge img {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .project-slide-item img {
    height: 350px;
  }

  .project-carousel .yit-team-item img {
    height: 350px !important;
  }

  .page-title-banner {
    height: 70vh;
    min-height: 450px;
  }

  .page-title-banner h1 {
    font-size: 2.5rem;
  }

  .project-facts h3,
  .project-amenities h3,
  .project-location h3 {
    font-size: 32px;
  }

  .project-why-choose .yit-feature.style-5 {
    padding: 50px 30px;
  }
}
