@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* GLOBAL STYLES */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #003d2e;
  line-height: 1.7;
}
body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  color: #ffffff;
}

h1 {
  font-size: 3.2rem;
  background-color: #d49100;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color:transparent;
}

/* Title Shadow untuk Carousel - Tetap elegan dengan efek visibility */
.title-shadow {
  background-color: #d49100;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.6)) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.4));
  font-weight: 700;
  letter-spacing: 0.5px;
}



.text-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #d49100; /* warna emas/oranye */
  font-size: 36px;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 10px;
  backdrop-filter: blur(2px); /* efek blur background */
}
h2 {
  font-size: 2.5rem;
  color: #003d2e;
}

h3 {
  font-size: 1.8rem;
}

h3 a {
  color: #003d2e;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

h3 a:hover {
  color: #ffd700;
  letter-spacing: 1px;
}

/* NAVBAR */
.navbar {
  transition: background-color 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(18, 8, 8, 0.4); 
  backdrop-filter: blur(10px);                /* efek blur */        
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 650;
  font-size: 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fafaf9 !important;
  transform: scale(1.05);
}

.custom-navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  padding: 18px 0;
}

/* Navbar-toggler positioning untuk mobile */
.navbar-toggler {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 10000;
  border: 2.5px solid #ffffff;
  padding: 10px 14px;
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 4px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
  border-color: #ffffff;
  outline: none;
}

.navbar-toggler-icon {
  width: 28px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

@media (max-width: 768px) {
  .navbar-collapse {
    width: 260px !important;
    top: 50px;
  }

  nav ul.navbar-nav li a.nav-link {
    padding: 12px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .navbar-collapse {
    width: 240px !important;
    top: 45px;
  }

  .navbar-toggler {
    top: 10px;
    right: 12px;
    padding: 5px 8px;
  }

  nav ul.navbar-nav li a.nav-link {
    padding: 10px 15px;
    font-size: 12px;
  }
}

nav ul.navbar-nav li ul.dropdown-menu li a.dropdown-item {
  padding: 12px 20px;
  font-size: 13px;
  color: #000;
  display: block;
  transition: 0.3s ease;
}

nav ul.navbar-nav li ul.dropdown-menu li a.dropdown-item:hover {
  background-color: transparent;
  color: #ffd700;
}

nav ul.navbar-nav li ul.dropdown-menu li {
  position: relative;
}

nav ul.navbar-nav li ul.dropdown-menu li:hover > ul.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Hover dropdown only on desktop (prevents touch devices from showing dropdown on tap/scroll) */
@media (min-width: 992px) {
  nav ul.navbar-nav li:hover > ul.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav ul.navbar-nav li ul.dropdown-menu li:hover > ul.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed !important;
    top: 55px;
    right: 0;
    left: auto;
    width: 280px;
    background: rgba(0, 0, 0, 0.95) !important;
    border-left: 1px solid rgba(244, 243, 240, 0.3);
    border-radius: 0 0 0 8px;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
    flex-direction: column;
    z-index: 9998;
    max-height: calc(100vh - 55px);
    overflow-y: auto;
    box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.5);
  }

  .navbar-collapse.show {
    display: flex !important;
  }

  nav .container {
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 10px 20px;
    padding-right: 70px;
    justify-content: flex-start;
  }

  nav ul.navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  nav ul.navbar-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
  }

  nav ul.navbar-nav li a.nav-link {
    line-height: 1.5;
    padding: 15px 20px;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
  }

  nav ul.navbar-nav li a.nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700 !important;
  }

  nav ul.navbar-nav li ul.dropdown-menu,
  nav ul.navbar-nav li ul.dropdown-menu li ul.dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(30, 30, 30, 0.95);
    border: none;
    border-left: 3px solid #ffd700;
    padding: 0;
    margin: 0;
  }

  nav ul.navbar-nav li ul.dropdown-menu.show,
  nav ul.navbar-nav li ul.dropdown-menu li ul.dropdown-menu.show {
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 500px;
  }

  nav ul.navbar-nav li ul.dropdown-menu li a.dropdown-item {
    padding: 10px 20px !important;
    color: #ffffff !important;
    background: transparent;
  }

  nav ul.navbar-nav li ul.dropdown-menu li a.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700 !important;
  }
}


/* --- Info Container --- */
.cluster-info {
  margin: 8px 0;
  padding : 0 12px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.cluster-info:first-of-type {
  margin-top: 20px;  
}

.image-container {
  position: relative;
}

.image-container img {
  width: 100%;
  display: block;
}

/* --- Badge Tipe Rumah --- */
.type-list {
  margin-top: 8px;
  Padding : 0 12px;
  text-align: center;
}

.type-badge {
  display: inline-block;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 2px 4px 0 0;
  transition: 0.3s;
  cursor: pointer;
}

/* Warna berbeda untuk tiap tipe */

.tipe-70 {
  background: #2E7D32; /* hijau tua */
}
.tipe-70:hover {
  background: #F8F9F4;
}
.tipe-90 {
  background: #1B5E20; /* hijau tua */
}
.tipe-90:hover {
  background: #D4AF37;
}

.tipe-100 {
  background: #556B2F; /* hijau tua */
}
.tipe-100:hover {
  background: #F5F5DC;
}

.tipe-120 {
  background: #98FF98; /* emas */
}
.tipe-120:hover {
  background: #333333;
}

.tipe-140 {
  background: #008080; /* hijau tua */
}
.tipe-140:hover {
  background: #FFFDD0;
}

.tipe-90 {
  background: #9DC183; /* hijau tua */
}
.tipe-90:hover {
  background: #CD7F32;
}

.tipe-150 {
  background: #32CD32; /* ungu */
}
.tipe-150:hover {
  background: #4B3621;
}

/* --- Gambar & Label Cluster --- */
.image-container {
  position: relative;
}

.image-container img {
  width: 100%;
  display: block;
}

.cluster-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  background-color: #004d25;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 30px;
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  z-index: 10;
}

.cluster-label:hover {
  background-color: #007a3d; /* hijau lebih cerah */
}

/* --- Link Cluster --- */
.cluster-link {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.cluster-link:hover {
  color: #004d25;
}

.card .card-body {
  padding: 20px;
  text-align: center; /* biar konsisten */
}

.card .card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px; /* jarak ke deskripsi */
}

.card .card-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px; /* jarak ke tombol atau tipe rumah */
}

/* CAROUSEL */
.carousel-caption {
  padding: 20px 40px !important;
  width: 90%;
  left: 5% !important;
  right: 5% !important;
  overflow: visible !important;
  white-space: normal;
  bottom: 30px !important;
}

.carousel-caption h1 {
  font-size: 2.8rem;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.7);
  line-height: 1.3;
  word-break: break-word;
  margin: 0;
}

.carousel-item img {
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  height: 550px;
  object-fit: cover;
}

.carousel-inner img {
  max-height: 100%;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 50% 50%;
}

.floating-carousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.gallery img,
.image-container img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

#galeri h2 {
  font-weight: 700;
  color: #003d2e;
}

.btn-btn-outline-succes:hover {
  color: white;
  padding: 12px 28px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  transform: scale(1.1);
}

/* SOCIAL ICONS */

.contact-section {
  background: url('image/kontak.jpg') no-repeat center center/cover;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}

.contact-section > * {
  position: relative;
  z-index: 2;
}

.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h5,
.contact-section p,
.contact-section a {
  color: #fff !important;
}

.contact-info {
  background-color: #ff4d4d;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.social-icons a {
  color: #003d2e;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #FFD700;
}

/* ANIMATIONS */
@keyframes slideIn {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide {
  animation: slideIn 1s ease-out;
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slideUp 1s ease-out forwards;
  text-decoration-color: #fff;
}

/* FEATURES */
.feature-card {
  background: #eef5f2;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.feature-card .card-title {
  color: #003d2e;
}


/* VIDEO EMBED */
.video-embed-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #eef3f7;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.video-embed-card {
  background: #fff;
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.video-embed-card:hover {
  transform: translateY(-4px);
}

.video-embed-title {
  font-size: 22px;
  font-weight: 600;
  color: #003d2e;
  margin-bottom: 20px;
}

.video-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #2f5d3f;
}

.property-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.property-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

/* LT & LB sejajar */
.ltlb {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #444;
  font-weight: 500;
}

/* Spesifikasi grid */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 15px;
  font-size: 0.9rem;
  color: #555;
}

.specs-grid span {
  display: flex;
  align-items: center;
}

.specs-grid i {
  margin-right: 6px;
  color: #2f5d3f;
}

/* FOOTER */
.footer {
  background-color: #212b24;
  color: #e0e0e0;
  padding: 20px 10px 5px;
  font-family: 'Arial', sans-serif;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(200px, 1fr) minmax(280px, 1.2fr);
  gap: 30px;
  padding-bottom: 20px;
  align-items: start;
}

.footer-logo {
  max-width: 180px;  /* atur sesuai kebutuhan */
  height: auto;
  display: block;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.footer-heading {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #ffffff;
  left: 0;
  bottom: -8px;
  border-radius: 2px;
}

.footer-desc,
.footer-links,
.contact-list {
  font-size: 13px;
  line-height: 1.8;
}

.footer-desc {
  text-align: justify;
}

.footer-links,
.contact-list {
  list-style: none;
  padding: 0;
}

.footer-links li,
.contact-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.footer-links a,
.contact-list li i {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: 8px;
}

.footer-links a:hover,
.contact-list li:hover i {
  color: #ffd700;
}

.footer-bottom {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.highlight-text {
  color: #ffd700;
  font-weight: bold;
}


/* WHATS APP SET*/
.wa-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Balon Chat */
.wa-bubble {
  position: absolute;
  bottom: 70px; /* jarak balon dari tombol */
  right: 0;
  background: #f5f7fb;
  color: #333;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  max-width: 240px;
  white-space: nowrap;
}

/* Ekor balon */
.wa-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: #f5f7fb transparent transparent transparent;
}

/* Tombol WhatsApp */
.wa-float {
  background: #25d366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float img {
  width: 28px;
  height: 28px;
}

/* Animasi muncul */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== GALERY CLUSTER FINAL ===== */
.cluster-gallery {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: linear-gradient(135deg, #e0f7fa, #e8f5e9);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

/* Judul Galeri */
.gallery-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  color: #004d40;
  margin-bottom: 30px;
  position: relative;
}
.gallery-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #26a69a;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Setiap item cluster */
.cluster-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background-color: #ffffffcc;
}

/* Tombol accordion */
.cluster-header {
  width: 100%;
  padding: 15px 20px;
  background: #00796b;
  color: #fff;
  font-weight: bold;
  font-size: 1.rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
.cluster-header:hover {
  background: #004d40;
}

/* Panah */
.arrow {
  transition: transform 0.3s ease;
}
.cluster-item.active .arrow {
  transform: rotate(180deg);
}

/* Konten gambar */
.cluster-content {
  display: none;
  padding: 15px;
  background: #f9f9f9;
  animation: fadeIn 0.4s ease forwards;
}

/* Tampilkan saat aktif */
.cluster-item.active .cluster-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

/* Gambar */
.cluster-content img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  object-fit: cover;
}
.cluster-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Animasi fade */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsif */
@media (max-width: 768px) {
  .gallery-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .gallery-title {
    font-size: 1.5rem;
  }
}

.rivi-classic {
  background: linear-gradient(135deg, #f8f6f3, #ebe7e1);
  padding: 50px 20px;
  font-family: 'Georgia', serif;
  color: #333;
}

/* Banner */
.rivi-banner {
  text-align: center;
  margin-bottom: 50px;
}
.rivi-banner h1 {
  font-size: 3rem;
  color: #4b3b2a;
  font-weight: bold;
}
.rivi-banner p {
  font-style: italic;
  color: #6b5843;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Grid tipe unit */
.rivi-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Card */
.rivi-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.rivi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.rivi-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.rivi-card-content {
  padding: 20px;
}
.rivi-card-content h2 {
  font-size: 1.8rem;
  color: #b89068;
  margin-bottom: 10px;
}
.rivi-card-content p {
  color: #555;
  margin-bottom: 15px;
}
.rivi-card-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.rivi-card-content li {
  margin: 6px 0;
  padding-left: 25px;
  position: relative;
  color: #444;
}
.rivi-card-content li::before {
  content: "•";
  color: #b89068;
  position: absolute;
  left: 0;
  font-size: 1.4rem;
}

/* Tombol */
.btn-group {
  display: flex;
  gap: 10px;
}
.btn-main {
  background: #b89068;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-main:hover {
  background: #8a6b4c;
}
.btn-outline {
  border: 2px solid #b89068;
  background: transparent;
  color: #b89068;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #b89068;
  color: #fff;
}

/* Responsif */
@media (max-width: 768px) {
  .rivi-banner h1 {
    font-size: 2.2rem;
  }
  .rivi-card-content h2 {
    font-size: 1.6rem;
  }
}

 /* Bingkai modern dengan efek kaca */
 .body { margin:0; padding:0; }

 .carousel,
 .carousel-inner,
 .carousel-item {
   width: 100%;
   height: 500px; /* atur tinggi sesuai kebutuhan */
 }

 .carousel-item img {
   width: 100%;
   height: 100%;
   object-fit: cover; /* gambar penuh tanpa distorsi */
 }

 .text-panel {
   position: absolute;
   top: 50%;
   right: 5%;
   transform: translateY(-50%);
   max-width: 40%;
   background: rgba(0, 105, 92, 0.55); /* hijau transparan */
   backdrop-filter: blur(8px); /* blur halus */
   padding: 30px 40px;
   border-radius: 15px;
   color: #fff;
   box-shadow: 0 4px 20px rgba(0,0,0,0.25);
 }

 .text-panel h2 {
   font-weight: 800;
   font-size: 2rem;
   color: #ffeb3b;
   text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
   margin-bottom: 1rem;
 }

 .text-panel p {
   font-size: 1.1rem;
   line-height: 1.5;
 }

 @media (max-width: 992px) {
   .carousel, .carousel-inner, .carousel-item { height: 350px; }
   .text-panel {
     max-width: 80%;
     right: 50%;
     transform: translate(50%,-50%);
     padding: 20px;
   }
   .text-panel h2 { font-size: 1.5rem; }
   .text-panel p { font-size: 1rem; }
 }


 .property-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.property-card .carousel {
  width: 100%;
  height: 250px;        /* samakan tinggi gambar card lain */
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.property-card .carousel-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.property-info {
  flex-grow: 1;
  padding: 15px;
}



#panorama {
      width: 100vw;
      height: 100vh;
}

.pnlm-controls {
  display: none !important;
}

/* ===== MINI MAP STYLE ===== */
#miniMap {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  background: #222;
}

.map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Titik lokasi */
.map-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: red;
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.map-point:hover {
  transform: translate(-50%, -50%) scale(1.3);
}

/* Efek berdenyut untuk titik aktif */
.map-point.active {
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  z-index: 10;
}

.map-point.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 0, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pulseGlow 1.5s ease-out infinite;
  z-index: -1;
}

/* Animasi denyut utama (titik inti) */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Animasi kilau keluar */
@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Tulisan Mini Map */
.mini-map-title-1 {
  position: absolute;
  top: 8px;
  left: 10px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}
.mini-map-title-2 {
  position: absolute;
  top: 25px;
  left: 10px;
  color: white;
  font-size: 10px;
}





/* Tombol buka menu */
.menu-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
}

/* Panel menu */
.menu-panel {
  position: absolute;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: rgba(0,0,0,0.85);
  color: white;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 9999;
  padding: 20px 10px;
}

/* Menu aktif */
.menu-panel.active {
  left: 0;
}

/* Judul dan daftar */
.menu-panel h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
}

.menu-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-panel li {
  list-style: none;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-panel li:hover {
  background: rgba(255,255,255,0.2);
}

#sceneMenu {
  position: absolute;
  top: 60px;
  left: 20px;
  z-index: 9999; /* pastikan lebih tinggi dari panorama */
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
  display: none;
}

#sceneMenu.active {
  display: block;
}

#menuToggle {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(246, 244, 244, 0.951);
  color: white;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10000;
}

.map-point.active {
  background: #ffd700; /* warna kuning emas */
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  transform: translateX(-20px); /* geser ke kiri */
  padding-left: 20px; /* geser ke kanan */
}

.card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

/* Override untuk portrait-img di team cards */
.portrait-img {
  aspect-ratio: auto !important;
  height: 350px !important;
}
