/* ==================================================
   HOMEPAGE
   Bluecrest Estates
================================================== */

/* HERO */

.hero-section {
  position: relative;
}

.hero-section img {
  object-fit: cover;
}

.hero-title {
  line-height: 1.05;
}

.hero-text {
  max-width: 750px;
  margin: 30px auto 0;
}

/* FEATURED LISTINGS */

#featuredListingsContainer {
  align-items: stretch;
}

.featured-card {
  background: white;

  border-radius: 28px;

  overflow: hidden;

  box-shadow: 0 4px 20px rgba(0,0,0,.05);

  transition: all .35s ease;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,.08);
}

.featured-card img {
  transition: transform .8s ease;
}

.featured-card:hover img {
  transform: scale(1.05);
}

/* MEET JAKUB */

.about-jakub-image {
  border-radius: 32px;
  overflow: hidden;
}

.about-jakub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TESTIMONIALS */

.testimonial-slider {
  display: flex;
  gap: 32px;
  width: max-content;
}

.testimonial-card {
  transition: all .35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

/* CTA */

.cta-section {
  position: relative;
  overflow: hidden;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .hero-title {
    line-height: 1.1;
  }

  .testimonial-card {
    width: 320px;
  }

}