/* GLOBAL IMAGE ROUND */
img {
  border-radius: 14px;
}

/* UNIT IMAGE */
.img-wrap img {
  border-radius: 14px;
}

/* SPLIT IMAGE */
.split img {
  border-radius: 16px;
}

/* FULL IMAGE SECTION (optional soft corner look) */
.full-image {
  border-radius: 20px;
  overflow: hidden;
}

/* HERO tetap sharp (biasanya premium tetap full edge) */
.hero,
.hero-slide {
  border-radius: 0;
}
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',sans-serif;background:#E8E5DF;color:#dcdcdc;line-height:1.7;overflow-x: hidden;}
/* HEADLINES */
h1, h2, h3{
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

section{padding:120px 10%;position:relative;}

/* BACKGROUND SYSTEM */
.bg-dark{background:#E8E5DF;}
.bg-green{background:linear-gradient(135deg,#0f1a14,#1c2c22);}
.bg-soft{background:#111815;}

/* NAVBAR */
.navbar{
position:fixed;top:0;width:100%;z-index:999;padding:20px 10%;
transition:.4s;
}
.navbar.scrolled{
background:rgba(10,15,13,.8);
backdrop-filter:blur(14px);
}

.progress-bar{
position:absolute;top:0;left:0;height:2px;width:0%;
background:#c6a86b;
}

.nav-container{
display:flex;justify-content:space-between;align-items:center;
}

.logo{font-family:'Playfair Display';letter-spacing:3px;opacity:0;}
    .logo img {
  display: block;
}

.menu a{
margin:0 18px;color:#fff;text-decoration:none;position:relative;
opacity:.8;
}
.menu a::after{
content:"";position:absolute;bottom:-5px;left:0;width:0;height:1px;
background:#c6a86b;transition:.3s;
}
.menu a:hover::after{width:100%;}
.menu a:hover{opacity:1;}

.nav-cta{
background:#c6a86b;color:#000;border:none;padding:10px 20px;
cursor:pointer;
}

.hamburger{display:none;font-size:22px;cursor:pointer;}

.mobile-menu{
position:fixed;top:0;right:-100%;width:70%;height:100vh;
background:#E8E5DF;display:flex;flex-direction:column;
justify-content:center;align-items:center;transition:.5s;
}
.mobile-menu a{font-size:26px;margin:20px;color:#c6a86b;text-decoration:none;}
.mobile-menu.active{right:0;}

/* HERO */
.hero {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0; /* remove padding dari section global */
}

.hero{height:100vh;position:relative;overflow:hidden;}
/* HERO CINEMATIC */
.hero-slide {
  position:absolute;
  width: 100%;
  height: 100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.1);
  transition:opacity 1.5s ease, transform 6s ease;
}

.hero-slide.active {
  opacity:1;
  transform:scale(1);
}
.hero-overlay{
position:absolute;width:100%;height:100%;
background:linear-gradient(to bottom,rgba(0,0,0,.3),rgba(0,0,0,.9));
}
.hero-content{
position:absolute;bottom:12%;left:10%;max-width:600px;
}
.hero h1{font-size:70px;margin-bottom:20px;}
.hero p{opacity:.8;margin-bottom:30px;}


/* BUTTON */
.btn{padding:14px 28px;cursor:pointer;}
.btn-primary{background:#c6a86b;color:#000;border:none;}
.btn-outline{border:1px solid #fff;background:transparent;color:#fff;}
.btn:hover{transform:scale(1.05);}

/* SPLIT */
.split{
display:grid;grid-template-columns:1fr 1fr;
gap:80px;align-items:center;
}

/* SMOOTH IMAGE */
.lazy-img {
  width:100%;
  height:500px;
  object-fit:cover;
  filter: blur(8px);
  transform: scale(1);
  
  opacity: 0;
  transition: 1s ease;
}
.lazy-img.loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

/* FULL IMAGE */
.full-image{
height:80vh;background-size:cover;background-position:center;
display:flex;align-items:flex-end;
padding:60px;
}
.full-image h2{max-width:500px;}

/* UNITS */
.units{
display:grid;grid-template-columns:repeat(3,1fr);gap:30px;
}
.unit img{height:400px;width:100%;object-fit:cover;}

/* CTA */
.cta{text-align:center;background:linear-gradient(135deg,#0f1a14,#1c2c22);}

/* WA */
.whatsapp{
position:fixed;bottom:20px;right:20px;
background:#25D366;padding:16px;border-radius:50%;
animation:pulse 2s infinite;
}
@keyframes pulse{
0%{transform:scale(1);}
50%{transform:scale(1.1);}
100%{transform:scale(1);}
}

@media(max-width:768px){
.split{grid-template-columns:1fr;}
.units{grid-template-columns:1fr;}
.menu{display:none;}
.hamburger{display:block;}
.hero h1{font-size:42px;}
}
/* IMAGE HOVER */
.img-wrap {
  position: relative;
  overflow: hidden;
  background: #000; /* ðŸ”¥ ini kunci hilangin grey edge */
  border-radius: 16px;
  transition: 0.4s ease;
  box-shadow: none;
}

.img-wrap img {
  width:100%;
  height:400px;
  object-fit:cover;
  transition: transform 0.6s ease;
  display: block;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ZOOM */
.img-wrap:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.img-wrap:hover .overlay {
  opacity:1;
  transform:translateY(0);
}
/* TEXT BASE (SELALU TERLIHAT) */
.overlay.always {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;

  /* default: subtle */
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  transition: 0.4s;
}

/* TEXT STYLE */
.overlay.always h3 {
  margin-bottom: 5px;
}

.overlay.always p {
  opacity: 0.8;
}

/* HOVER STATE (PERTEGAS, BUKAN MUNCUL) */
.img-wrap:hover .overlay.always {
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

/* TEXT */
.overlay h3 {
  margin-bottom:5px;
}

.overlay p {
  opacity:0.8;
}
.img-wrap:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.fac-list {
  margin-top: 20px;
  line-height: 1.8;
}

.fac-list li {
  opacity: 0.9;
}
.promo-section {
  background: linear-gradient(135deg,#0f1a14,#1c2c22);
  padding: 120px 10%;
}

.promo-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.promo-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.promo-sub {
  opacity: 0.85;
  margin-bottom: 25px;
}

/* BOX PROMO */
.promo-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.promo-box ul {
  list-style: none;
}

.promo-box li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* WARNING */
.promo-warning {
  color: #ffcc66;
  margin-bottom: 25px;
  font-size: 14px;
}

/* BIG BUTTON */
.btn.big {
  padding: 18px 36px;
  font-size: 16px;
}

/* IMAGE */
.promo-image img {
  height: 450px;
}

/* MOBILE */
@media(max-width:768px){
  .promo-container {
    grid-template-columns: 1fr;
  }
}
/* INQUIRE BUTTON STYLE */
/* ===== BTN INQUIRE (NIVASA STYLE FIXED) ===== */
.btn-inquire {
  position: relative;
  display: inline-block;

  padding: 16px 42px;

  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;

  color: #c6a86b;
  text-decoration: none;

  background: transparent;
  border: none;

  transition: color 0.4s ease;
}

/* BORDER */
.btn-inquire::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(198,168,107,0.5);
  transition: 0.4s ease;
}

/* FILL */
.btn-inquire::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #c6a86b;

  opacity: 0;
  transform: scale(0.96);

  transition: 0.4s ease;
}

/* TEXT */
.btn-inquire span {
  position: relative;
  z-index: 2;
}

/* HOVER */
.btn-inquire:hover {
  color: #000;
}

.btn-inquire:hover::before {
  border-color: #c6a86b;
}

.btn-inquire:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* FOOTER */
.footer {
  background: #070b09;
  padding: 80px 10% 40px;
  color: #ccc;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

/* TITLE */
.footer h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 15px;
}

/* TEXT */
.footer p {
  opacity: 0.7;
  line-height: 1.6;
}

/* LINKS */
.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #c6a86b;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* MOBILE */
@media(max-width:768px){
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* SLIDESHOW */
/* ========================= */
/* FIX SLIDESHOW ONLY */
/* ========================= */

/* isolate slideshow from global img rules */
.slideshow img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* active slide */
.slideshow img.active {
  opacity: 1;
  z-index: 1;
}

/* prevent global hover zoom conflict */
.slideshow:hover img {
  transform: scale(1); /* cancel global */
}

/* only zoom active slide */
.slideshow:hover img.active {
  transform: scale(1.05);
}

/* fix container height */
.slideshow {
  position: relative;
  height: 400px;
  overflow: hidden;
}

/* overlay stays above */
.slideshow .overlay {
  position: absolute;
  z-index: 3;
}

/* BUTTON FIX (restore properly) */
.slideshow .slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

/* show buttons on hover */
.slideshow:hover .slide-btn {
  opacity: 1;
}

/* keep button positions */
.slideshow .prev { left: 10px; }
.slideshow .next { right: 10px; }

.location-section {
  background: #E8E5DF;
  padding: 50px 10%;
}

.location-container {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: 10px;
  align-items: center;
}

/* MAP */
.location-map img {
  width: 100%;
  border-radius: 10px;
}

/* CONTENT */
.location-content h2 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #333333;
}

.location-content h2 span {
  color: #c6a86b;
}

.subtitle {
  opacity: 0.7;
  margin-bottom: 40px;
  color: #333333;
}

/* GRID */
.location-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.loc-group h4 {
  margin-bottom: 10px;
  color: #333333;
}

.loc-group ul {
  list-style: none;
  padding: 0;
  color: #6D6D6D;
}

.loc-group li {
  opacity: 0.8;
  margin-bottom: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* ðŸ”¥ ini kunci */
    gap: 20px;
  }
}
.section-label{
  font-family:'Inter',sans-serif;
  letter-spacing:0.25em;
  font-size:12px;
  color:#c6a86b;
  text-transform:uppercase;
  margin-bottom:20px;
}

.section-title{
  font-size:44px;
  line-height:1.2;
  font-weight:400;
}

.section-title span{
  font-style:italic;
  color:#dfe8e1; /* soft greenish tint */
}
.section-desc{
  max-width:600px;
  color:#9ca3af; /* soft gray */
  font-size:16px;
}
.feature-title{
  font-family:'Playfair Display',serif;
  font-size:20px;
  margin-top:15px;
  margin-bottom:10px;
}

.feature-desc{
  color:#8a8f94;
  font-size:14px;
}
/* BANK SECTION */
.bank-section {
  text-align: center;
}

/* BANK GRID FIX (iOS SAFE) */
.bank-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}

/* LOGO */
.bank-logos img {
  width: 100%;
  height: auto;
  border-radius: 1px;
  max-width: 110px;
  margin: 0 auto;

  display: block;

  filter: grayscale(100%) brightness(1.1);
  opacity: 0.9;

  transition: 0.3s ease;
}

/* HOVER */
.bank-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* âœ… MOBILE FIX (IMPORTANT) */
@media (max-width: 768px) {
  .bank-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* BACK TO TOP */
#backToTop {
  position: fixed;
  right: 90px;
  bottom: 30px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  color: #fff;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;

  cursor: pointer;

  /* ðŸ”¥ INI WAJIB */
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(20px);

  transition: all 0.4s ease;

  z-index: 9999;
  
  /* ðŸ”¥ iOS FIX */
  transform: translateY(20px) translateZ(0);
  will-change: transform, opacity;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* SHOW */
#backToTop.show {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}

/* HOVER */
#backToTop:hover {
  background: #c6a86b;
  color: #000;
  transform: translateY(-4px) scale(1.05);
}
#backToTop {
  opacity: 1 !important;

}
/* VIDEO SECTION FULL BLEED */
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* ✅ 16:9 ratio */
  overflow: hidden;
  background: black;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  border: 0;
}

/* CONTROLS */
.video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  gap: 10px;
}

.video-controls button {
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 6px;
}