.house-showcase-section-embul {
  padding: 50px 5%;
  background: #fafafa;
  text-align: center;
}

.house-showcase-section-embul h1 {
  font-size: 2.9rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #03324f;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Hide all slides by default */
.slides {
  display: none;
}

/* Images */
.slides img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

/* Fade animation */
.fade {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {opacity: .4}
  to {opacity: 1}
}


.embul-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0; /* no spacing for bundled look */
  margin-top: 40px;
}

.embul-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.embul-grid img:hover {
  transform: scale(1.02);
}


.house-details {
  padding: 70px 5%;
  background: linear-gradient(to bottom, #f9f9f9, #fff);
}

.house-details h2 {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 50px;
  color: #072f4f;
  font-weight: 700;
  position: relative;
}

.house-details h2::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #0078ff;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Container */
.details-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Cards */
.details-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.details-card:hover {
  transform: translateY(-5px);
}

/* List styling */
.details-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-card li {
  font-size: 1.5rem;
  color: #103262;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.details-card strong {
  color: #000;
}

/* Highlighted card */
.highlight-card {
  text-align: center;
  background: #f0f7ff;
  border: 2px solid #0078ff;
}

.price {
  font-size: 3rem;
  color: #0078ff;
  margin-bottom: 15px;
  font-weight: 700;
}

.highlight {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.05rem;
}

.btn-contact {
  background: #0078ff;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s;
  display: inline-block;
}

.btn-contact:hover {
  background: #005bb5;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .house-details h2 {
    font-size: 1.8rem;
  }
  .details-container {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 1024px) {
  .slides img {
    height: 400px; /* smaller height for tablets */
  }
}

@media (max-width: 768px) {
  .house-showcase-section-embul h1 {
    font-size: 1.6rem;
  }
  .slides img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .house-showcase-section-embul {
    padding: 20px 2%;
  }
  .house-showcase-section-embul h1 {
    font-size: 1.3rem;
  }
  .slides img {
    height: 220px;
  }
}
