body {
    font-family: "Outfit", sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

.navbar {
  height: 64px;
  z-index: 9999;
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
}


.abstrak-img {
  z-index: 1;
}

.img-hero {
  z-index: 1;
}

.logo {
  height: 40px;          /* ukuran dasar */
  width: auto;
  transform: scale(1); /* ini yang bikin kelihatan besar */
  transform-origin: left center;
}

.menu-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-center .navbar-nav {
  font-weight: 500;  
  flex-direction: row;
  gap: 2rem;
}

.nav-link {
    font-size: 20px;
}

.nav-link.active {
    font-weight: 700;
    color: #040C97 !important;
}

/* menu mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;

  height: auto;          /* ⬅️ ini penting */
  max-height: 100vh;     /* biar tidak lebih dari layar */

  background: #fff;
  z-index: 9999;
  transition: 0.4s ease;
  padding: 20px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);

  backdrop-filter: blur(10px);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;

  overflow-y: auto;      /* ⬅️ kalau kepanjangan bisa scroll */

  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  right: 0;   /* muncul */
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  height: 40px;
}

.close-menu {
  font-size: 30px;
  cursor: pointer;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.mobile-nav li {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  text-decoration: none;
  color: #000;
}

/* submenu umum */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.has-submenu.active > .submenu {
  max-height: 1000px;
}

/* toggle */
.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

/* arrow animasi */
.arrow {
  transition: 0.3s;
}

.has-submenu.active > .submenu-toggle .arrow {
  transform: rotate(45deg);
}

/* LEVEL 2 (biar agak masuk ke dalam) */
.has-submenu.inner .submenu-toggle {
  padding-left: 25px;
  font-size: 15px;
}

.has-submenu.inner .submenu li {
  padding-left: 35px;
}

/* feature */
.feature-bar {
  background: #f8f9fb;
  border: 1px solid #eee;
  border-radius: 12px;
}

.feature-item {
  padding: 10px 15px;
}

.feature-item h6 {
  font-size: 14px;
  font-weight: 600;
}

.feature-item small {
  font-size: 12px;
  color: #6c757d;
}

.icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* warna icon background */
.bg-light-blue {
  background: #e7f1ff;
  color: #0d6efd;
}

.bg-light-green {
  background: #e6f7ee;
  color: #198754;
}

.bg-light-purple {
  background: #f0e9ff;
  color: #6f42c1;
}

.bg-light-blue2 {
  background: #e7f1ff;
  color: #0dcaf0;
}

/* property atas */
.property-header {
  background: linear-gradient(135deg, #4D56FF, #040C97);
  color: white;

  height: 181px; /* kembalikan tinggi */
  padding: 0 20px; /* kurangi padding biar muat */
  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;
}

/* bungkus kolom kanan biar full tinggi */
.property-header .row {
  height: 100%;
}

/* hapus center paksa, biar ikut grid bootstrap */
.property-header .container {
  position: relative;
  z-index: 2;
}

/* efek shape / gelombang */
.property-header::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.property-header::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -120px;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

/* text */
.property-header h1,
.property-header h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
}

.property-header p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
}

/* jika aset kosong */
.property-empty {
  padding: 80px 20px;
  text-align: center;
  color: #777;
}

.property-empty h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.property-empty p {
  font-size: 14px;
}

/* gambar monas */
.header-img {
  height: 100%;
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

/* optional animasi biar hidup */
.header-img {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.property-section {
  background: #f5f5f5;
  padding: 80px 0;
}

/* Card */
.property-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.property-card:hover {
  transform: translateY(-6px);
}

/* Image */
.property-card img {
  width: 420px;
  height: 420px; /* sesuai request */
  object-fit: cover;
}

/* Content */
.property-content {
  padding: 20px;
}

.property-content h5 {
  font-weight: 600;
  margin-bottom: 6px;
}

/* Location */
.location {
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location img {
  width: 16px;
  height: 16px;
}

/* Price */
.price {
  color: #2a6cff;
  font-weight: 600;
  margin: 8px 0;
}

.btn-detail-link {
  display: inline-flex;
  margin-left: 125px;
  gap: 6px;
  color: #2a6cff;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.btn-detail-link .arrow {
  transition: 0.3s;
}

/* Hover effect */
.btn-detail-link:hover {
  color: #040C97;
}

.btn-detail-link:hover .arrow {
  transform: translateX(5px);
}

/* Info */
.property-info {
  display: flex;
  gap: 18px;
}

.property-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.property-info span img {
  width: 18px;
  height: 18px;
}

/* modal style */
.property-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  animation: zoomFade 0.3s ease;
}

@keyframes zoomFade {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* close */
.modal-close {
  position: absolute;
  top: 0px;
  right: 15px;
  border: none;
  font-size: 28px;
  background: none;
  cursor: pointer;
  z-index: 1056; /* penting supaya tidak ketutup */
}

.property-modal .modal-content {
  position: relative;
}

/* header */
.modal-header-custom {
  padding: 20px;
}

.badge-featured {
  background: #2a6cff;
  padding: 4px 10px;
  color: white;
  border-radius: 6px;
  font-size: 12px;
}

/* ukuran modal */
.property-modal .modal-dialog {
  max-width: 480px;
}

/* image */
.modal-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* price */
.modal-price {
  font-size: 26px;
  font-weight: 600;
  color: #2a6cff;
  padding: 20px;
}

/* body */
.modal-body-custom {
  padding: 20px;
}

/* spec */
.modal-spec {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

/* facility */
.modal-facility {
  margin: 15px 0;
}

/* CTA */
.modal-cta {
  display: flex;
  gap: 10px;
}

.btn-wa {
  flex: 1;
  background: #25d366;
  color: white;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
}

.btn-viewing {
  flex: 1;
  background: #2a6cff;
  color: white;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
}

.carousel-control-prev,
.carousel-control-next {
  width: 12%;
  z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 18px;
}

/* tertarik section */
.contact-cta {
  height: 80px;
  background: #f5f5f5;
  display: flex;
  align-items: center; /* tengah vertikal */
  justify-content: center; /* tengah horizontal */
  text-align: center;
}

.contact-cta p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  color: #333;
}

.contact-cta a {
  color: #2a6cff;
  font-weight: 300;
  text-decoration: none;
}

.contact-cta a:hover {
  text-decoration: underline;
}

/* MODERN STYLE */
.modern-modal {
  border-radius: 20px;
}

/* HEADER */
.modal-header-modern {
  display: flex;
  justify-content: space-between;
  padding: 25px;
}

.modal-header-modern h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.modal-location {
  color: #777;
  font-size: 14px;
}

.modal-header-modern {
  padding: 25px;
}

/* PRICE BOX */
.price-box {
  background: #eef3fb;
  padding: 20px;
  margin: 20px;
  border-radius: 12px;
}

.price-label {
  font-size: 13px;
  color: #777;
  margin-bottom: 5px;
}

.price-box h3 {
  color: #2a6cff;
  font-weight: 600;
}

/* BODY */
.modal-body-modern {
  padding: 0 25px 25px 25px;
}

.modal-body-modern h6 {
  font-weight: 600;
  margin-top: 25px;
}

.description-text {
  color: #555;
}

/* SPEC BOX */
.spec-box {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.spec-item {
  flex: 1;
  background: #f7f7f7;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.spec-item strong {
  display: block;
  font-size: 18px;
  margin-top: 5px;
}

.spec-item span {
  font-size: 13px;
  color: #777;
}



/* INFO BOX */
.info-box {
  background: #f5f7fa;
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
}

.info-box div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.info-box span {
  color: #777;
}

/* CTA */
.modal-cta-modern {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-primary-modern {
  flex: 1;
  background: #2a6cff;
  color: white;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
}

.btn-outline-modern {
  flex: 1;
  border: 2px solid #2a6cff;
  color: #2a6cff;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
}


/* footer */
#footer {
  background: #020771;
  padding: 60px 0;
  color: #ffffff;
}

/* Logo */
.footer-logo {
  max-width: 150px;
}

/* Nama Perusahaan */
.footer-company {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 5px;
}

/* Tagline */
.footer-tagline {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Judul Kolom */
.footer-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Google Maps */
.footer-maps iframe {
  border-radius: 10px;
  width: 100%;
  height: 200px;
}

/* Biar teks tidak terlalu mepet */
.footer-contact-item p,
.footer-email-item p {
  margin: 0;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .footer-maps {
    margin-top: 20px;
  }
}

/* Contact */
.footer-contact p {
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-icon {
  width: 40px;
}

.footer-email-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-email {
  width: 40px;
  align-items: center;
}

/* Instagram */
.footer-instagram-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-instagram-item p {
  margin: 0;
  margin-left: 6px;
}

.footer-instagram {
  margin-left: 6px;
  width: 27px;
  align-items: center;
}

/* copyright */
.sub-footer {
  background: #fff;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 300;
  color: #333;
}

.sub-footer p {
  margin: 0;
}

/* Hilangkan background aneh & border */
.dropdown-menu {
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Item dropdown */
.dropdown-item {
  font-size: 16px;
  transition: all 0.2s ease;
}

/* Hover effect biar modern */
.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #000;
}



/* Hover nav */
.nav-link:hover {
  color: #040C97 !important; /* biru bootstrap */
}

/* posisi submenu ke kanan */
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}

/* hover biar muncul */
.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

/* panah kecil ke kanan */
.dropdown-submenu > .dropdown-toggle::after {
  float: right;
  margin-top: 8px;
}

/* ========================= */
/* MOBILE RESPONSIVE FIX */
/* ========================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .menu-center {
    position: static;
    transform: none;
    width: 100%;
  }

  .menu-center .navbar-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* property header */
  .property-header {
    height: auto;
    padding: 20px;
  }

  .property-header .row {
    flex-direction: row; /* ⬅️ PENTING: tetap horizontal */
    align-items: center;
  }

  /* kolom kiri (teks) */
  .property-header .col-md-6:first-child {
    width: 65%;
  }

  /* kolom kanan (gambar) */
  .property-header .col-md-6:last-child {
    width: 35%;
    justify-content: flex-end;
  }

  .property-header h1 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .property-header p {
    font-size: 12px;
    line-height: 1.4;
  }

  .header-img {
    max-height: 80px;
    width: auto;
  }

/* feature */
 .feature-bar {
    padding: 20px 10px;
  }

  .feature-item {
    flex-direction: column;        /* ⬅️ icon di atas */
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    border-radius: 12px;
  }

  .feature-item .icon {
    margin-bottom: 10px;
  }

  .feature-item h6 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .feature-item small {
    font-size: 11px;
    line-height: 1.3;
  }

  feature-bar .row {
    row-gap: 15px;
  }

  /* modal */
  .property-modal .modal-dialog {
    max-width: 92%;
    margin: 20px auto; /* ⬅️ kasih jarak atas bawah */
  }

  .property-modal .modal-content {
    max-height: 85vh; /* ⬅️ penting biar ga full */
    overflow-y: auto;
    border-radius: 16px;
  }

   .modal-image {
    height: 380px;
  }

  .modal-header-modern {
    padding: 15px;
  }

  .price-box {
    margin: 15px;
    padding: 15px;
  }

  .modal-body-modern {
    padding: 0 15px 15px 15px;
  }

  .modal-body-modern h6 {
    margin-top: 18px;
  }

  .spec-box {
    flex-direction: row;
    gap: 10px;
  }

  .modal-cta-modern {
    flex-direction: column;
  }

  .modal-close {
    top: 5px;
    right: 10px;
    font-size: 24px;
  }

  /* contact cta */
  @media (max-width: 768px) {
  .contact-cta {
    height: auto;
    padding: 20px;
  }

  .contact-cta p {
    font-size: 14px;
  }
}

   /* FOOTER */
  .footer-company,
  .footer-title {
    font-size: 18px;
  }

  .footer-tagline {
    font-size: 16px;
  }

  .footer-icon,
  .footer-email {
    width: 30px;
  }

  .footer-instagram {
    width: 20px;
  }

  .dropdown-submenu .dropdown-menu {
    display: none;
  }

  .dropdown-submenu.show .dropdown-menu {
    display: block;
  }
}

@media (min-width: 992px) {
  #navbarNav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* sembunyikan collapse */
@media (max-width: 991px) {
  #navbarNav {
    display: none !important;
  }
}
