/* Existing havenwood-section styles */
.havenwood-section {
  background-color: #fdfdea;
  position: relative;
  text-align: center;
  padding: 4rem 2rem 6rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #453f36;
  overflow: hidden;
}

/* Remove the old ::after wave */
.havenwood-section::after {
  display: none;
}

/* Container */
/*.container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}*/

.availability {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.title {
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.social-icons a {
  margin: 0 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #453f36;
  text-decoration: none;
  user-select: none;
  display: inline-block;
}

.social-icons a:hover {
  color: #a1a199;
}

.units {
  margin-top: 4rem;
  font-weight: 700;
  font-size: 1rem;
}

/* Illustrations */
.illustration {
  position: absolute;
  bottom: 0;
  width: 180px;
  user-select: none;
  pointer-events: none;
}

.illustration.left {
  left: 3%;
  bottom: 10%;
  transform: translateY(-10%);
}

.illustration.right {
  right: 3%;
  bottom: 10%;
  transform: translateY(-10%);
}

/* Wave Container */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  overflow: hidden;
  z-index: 1;
}

.wave-container svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  display: block;
}

.wave-container path {
  fill-opacity: 1;
  stroke: none;
}

.carousel-kinghouse {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  overflow: hidden;
  background-color: #fff0b9;
}

.carousel-wrapper-kinghouse {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.carousel-track-kinghouse {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0 10%;
  gap: 1rem;
  width: 80%;
}

.carousel-slide-kinghouse {
  flex: 0 0 80%;
  transition: transform 0.3s ease;
  opacity: 0.6;
  transform: scale(0.85);
}

.carousel-slide-kinghouse.active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.carousel-slide-kinghouse img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 400px;
}

/* Arrows */
.carousel-arrow-kinghouse {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  padding: 0.5rem 1rem;
  border-radius: 50%;
}

.carousel-arrow-kinghouse.left {
  left: 2%;
}

.carousel-arrow-kinghouse.right {
  right: 2%;
}

.introduction-kinghouseresidence {
  margin: 70px 20px;
  font-family: 'Arial', sans-serif;
}

.introduction-kinghouseresidence h2 {
  font-weight: bold;
  font-size: 40px;
  color: #483b32;
  margin-bottom: 20px;
}

.introduction-kinghouseresidence p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/*Carousell image */

/* CTA Box */
.intro-right .cta-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px 20px;
  background-color: #fff;
  max-width: 400px;
  margin-left: auto;
}

.cta-title {
  font-weight: bold;
  font-size: 20px;
  color: #483b32;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.cta-buttons .btn {
  display: block;
  text-align: center;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn-whatsapp {
  background-color: #f3e18c;
  color: #483b32;
}

.btn-brochure {
  background-color: #483b32;
  color: #fff;
}

.spec-residence{
  background-color: #483b32;
}

.spec-residence {
  background: #f8f9fa; /* light grey corporate */
}

.spec-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50; /* dark corporate blue */
}

.spec-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #34495e;
}

.spec-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.spec-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 20px rgba(0,0,0,0.08);
}

.spec-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.creditSimulation {
  background-color: #fff0b9;
}

.titleKPR {
  padding: 40px;
}
.titleKPR h1 {
  font-size: 30px;
  color: black;
  text-align: center;
  container: inherit;
}

#kredit-kalkulator {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}
#kredit-kalkulator input, #kredit-kalkulator select {
  width: 100%;
  padding: 10px;
  margin: 8px 0 16px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#kredit-kalkulator button {
  background-color: #483b32;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
}
#kredit-kalkulator button:hover {
  background-color: #000000;
}
#hasil {
  margin-top: 15px;
  font-weight: bold;
  background: #e9ecef;
  padding: 10px;
  border-radius: 6px;
}

/* Responsive typography */
@media (max-width: 992px) {
  .spec-heading {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .spec-title {
    font-size: 1.2rem;
  }

  .spec-box p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .spec-heading {
    font-size: 1.7rem;
  }
}



/* RESPONSIVE */

/* Tablet */
@media (max-width: 992px) {
  .havenwood-section {
    padding: 3rem 1.5rem 5rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1rem;
    max-width: 90%;
  }

  .illustration {
    width: 140px;
  }

  .wave-container,
  .wave-container svg {
    height: 200px;
    margin-bottom: 50px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .havenwood-section {
    padding: 2rem 1rem 4rem;
  }

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .illustration {
    width: 100px;
  }

  .social-icons a {
    font-size: 1.1rem;
    margin: 0 0.5rem;
  }

  .units {
    margin-top: 3rem;
    font-size: 0.9rem;
  }

  .wave-container,
  .wave-container svg {
    height: 150px;
  }
  .carousel-kinghouseresidence1 {
    background-color: #fff0b9;
  }

  @media (max-width: 768px) {
  .carousel-slide-kinghouse {
    flex: 0 0 100%;
  }

  .carousel-slide-kinghouse img {
    height: 250px;
  }
}
.projectGalleryKingHouseResidence5 {
  background-color: #f3e18c;
}
h3.gallery-title {
  align-items: center;
  text-align: center;
}
}
