:root {
  --accent: #262c44;
  --accent-2: #818cf8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: system-ui, sans-serif;
  overflow-x: hidden; /* biar tidak geser samping */
  overflow-y: auto; /* aktifkan scroll vertikal */
}

.money {
  position: relative;
  width: 100%;
  height: 100vh; /* tetap full layar untuk slider */
  overflow: hidden; /* hanya slider yg hidden agar gambar tidak bocor */
}

/* --- sisanya tetap sama --- */
.money-slides {
  display: flex;
  height: 100%;
  transition: all 0.5s ease-in-out 0.3s;
}
.money-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.money-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.money-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* agar tepat di tengah */
  padding: 16px 22px;
  border-radius: 12px;
  /* backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.5); */
  color: white;
  font-size: 1.2rem;
  text-align: center;
  max-width: 80%;
  font-family: sans-serif;
}

/* .money-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.4);
  color: white;
  font-size: 1rem;
} */

.money-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  pointer-events: none;
}
.money-btn {
  pointer-events: auto;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.money-btn svg {
  width: 22px;
  height: 22px;
}
/* 
.money-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.money-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.money-dot.active {
  background: var(--accent);
  transform: scale(1.3);
} */

.money-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}
.money-progress .money-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width var(--dur) linear;
}

/* Default: tampilkan logo merah */
#logo .logo {
  height: 50px;
  transition: opacity 0.3s ease-in-out;
}

#logo .logo-white {
  display: none;
}

.header-scrolled #logo .logo-red {
  display: none;
}

.header-scrolled #logo .logo-white {
  display: inline-block;
}

/* Warna default (sebelum scroll) */
#navbar ul li a {
  color: rgb(255, 255, 255);
  transition: color 0.3s ease-in-out;
}

/* Warna setelah discroll */
.header-scrolled #navbar ul li a {
  color: white;
}

/* Default */
#navbar .mobile-nav-toggle {
  color: #8f2424;
}

/* Setelah discroll */
.header-scrolled #navbar .mobile-nav-toggle {
  color: white;
}

/* @media (max-width: 991px) {
  #Money .money, 
  .content1.money-progress, 
  .money-bar, .money-slides, .money-nav, .money-btn {
    padding: auto;
  }
}

@media (max-width: 767px) {
   #Money .money, 
  .content1.money-progress, 
  .money-bar, .money-slides, .money-nav, .money-btn {
    padding: auto;
  }
}

@media (max-width: 480px) {
   #Money .money, 
  .content1.money-progress, 
  .money-bar, .money-slides, .money-nav, .money-btn {
    padding: auto;
  }
} */

/* HP */
/* @media (max-width: 576px) {
  .money, 
  .content1.money-progress, 
  .money-bar, .money-slides, .money-nav, .money-btn {
    flex-direction: column;
    text-align: center;
  }
    .money, 
  .content1.money-progress, 
  .money-bar, .money-slides, .money-nav, .money-btn{
    max-width: 100%;
    height: auto;
  }
} */

/* Tablet */
/* @media (max-width: 768px) {
    .money, 
  .content1.money-progress, 
  .money-bar, .money-slides, .money-nav, .money-btn{
    padding: 10px;
  }
} */


/* Fasilitas */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card p {
  margin: 0;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

/* Lightbox */
/* Lightbox utama */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  overflow-y: auto; /* ✅ agar bisa scroll */
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Konten lightbox */
.lightbox-content {
  text-align: center;
  max-width: 1000px;
  margin: auto; /* center */
}

.lightbox img {
  width: 100%;
  height: auto;
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.lightbox p {
  color: #fff;
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.4;
  padding: 0 10px;
}

/* Tombol close */
.close {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1100;
}
.close:hover { color: #ccc; }

/* Navigasi kiri/kanan */
.prev, .next {
  cursor: pointer;
  position: fixed;
  top: 50%;
  padding: 16px;
  font-size: 30px;
  color: #fff;
  user-select: none;
  transition: color 0.3s;
  z-index: 1100;
}
.prev:hover, .next:hover { color: #ccc; }
.prev { left: 10px; }
.next { right: 10px; }

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  .lightbox img {
    max-width: 95%;
  }
  .lightbox p {
    font-size: 15px;
  }
}

/* Handphone */
@media (max-width: 600px) {
  .lightbox {
    padding: 20px 10px;
  }
  .lightbox img {
    max-width: 100%;
  }
  .lightbox p {
    font-size: 14px;
  }
  .close {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }
  .prev, .next {
    font-size: 22px;
    padding: 10px;
  }
}
/* ======== RESPONSIVE ======== */

/* Tablet (max 1024px) → 2 kolom */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Handphone (max 600px) → 1 kolom */
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .card img {
    height: auto; /* biar proporsional */
  }
}


.hero {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}
.hero__video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}
.hero__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
z-index: 1;
}
.hero__content {
position: relative;
z-index: 2;
text-align: center;
top: 50%;
transform: translateY(-50%);
padding: 0 20px;
}

.hero__content h1 {
  color: #fff;
}

.hero__content h2 {
  color: #8f2424;
}