/* === Tombol menu (ikon hamburger 3 garis) === */
.menu-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3000; /* pastikan di atas semua elemen */
}
.menu-btn span {
  display: block;
  height: 3px;           /* tebal garis */
  width: 100%;           /* lebar penuh tombol */
  background-color: #fff; /* warna putih biar kontras */
  border-radius: 2px;    /* sedikit bulat */
  transition: all 0.3s ease;
}

/* Awal menu tersembunyi */
.dropdown-content {
  position: fixed;
  top: 50px;
  left: 15px;
  background: rgb(0,0,0,0.9);
  padding: 15px;
  border-radius: 10px;
  z-index: 3000;
  
  max-height: 0;          /* sembunyikan */
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* Saat menu terbuka */
.dropdown-content.show {
  max-height: 1000px;      /* sesuaikan tinggi menu */
  opacity: 1;
  transform: translateY(0);
}



.dropdown-content a,
.dropdown-content h4 {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-content a:hover,
.dropdown-content h4:hover {
  background: rgb(255, 255, 255, 0.15);
  color: #ffd700;
}

.show {
  display: block;
}

/* === Style Global Buku Digital === */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
   overflow-x: auto;
  overflow-y: auto; /* biar halaman lokasi & layanan bisa geser */
  touch-action: pan-y;
}

body {
  background: url("image/bg.webp") no-repeat center center fixed;
  background-size: cover;   /* sama di desktop & mobile */
  font-family: 'Open Sans', sans-serif;
}

/* === Container Buku === */
.book {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden; /* tidak ada scroll di dalam */
}

/* === Halaman Umum === */
.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  overflow: hidden;
}

/* === Status Halaman === */
.page.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}

.page.left {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 1;
}

/* === Gambar Halaman === */
.full-img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}


/* === Tombol navigasi bawah === */
.nav-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 1000;
}

.nav-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: rgb(1, 76, 160, 0.8);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0 10px; /* ganti gap dengan margin */
}

.nav-buttons button:hover {
  background: rgb(1, 76, 160, 1);
}

.nav-hint {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}

/* === Social Links (pojok kanan atas) === */
.social-links {
  
  width: auto;
  max-width: 420px;
  display: flex;
  justify-content: flex-end;
 
  background: rgb(0,0,0,0.35);
  border-bottom-left-radius: 10px;
  z-index: 1100;
  box-sizing: border-box;
}

.social-links a {
  flex: 0 0 auto;
  font-size: 13px;
  color: #fff;
  background: rgb(0, 0, 0, 0.6);
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
  margin-left: 6px; /* ganti gap dengan margin */
}

.social-links a:first-child {
  margin-left: 0;
}

.social-links a:hover {
  background: rgb(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* === Responsif (HP/Tablet) === */
@media (max-width: 768px) {
  .nav-buttons {
    display: none;
  }
  .social-links {
    width: 80vw;
    font-size: 12px;
  }
}
.info-page {
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #fff; /* semua teks putih */
}

.info-page h3 {
  font-size: 28px;     /* besar */
  font-weight: bold;   /* huruf tebal */
  margin-bottom: 15px;
  color: #fff;         /* putih */
}

.info-page {
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #fff; /* semua teks putih */
}



.info-page p {
  font-size: 16px;
  margin: 10px 0;      /* jarak antar paragraf */
  line-height: 1.6;    /* spasi antar baris */
}

.info-page a {
  color: #ffd700; /* link warna emas biar kontras */
  text-decoration: none;
  font-weight: bold;
}

.info-page a:hover {
  text-decoration: underline;
}

.map-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* Rasio 16:9 biar responsif */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin: 20px auto; /* kasih jarak atas-bawah & center di desktop */
}

.map-container iframe {
  position: absolute;
  pointer-events: none; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Aturan untuk desktop === */
@media (min-width: 768px) {
  .map-container {
    max-width: 600px;   /* batasi lebar */
    padding-bottom: 40%; /* tinggi lebih kecil */
  }
}
.layanan-page {
  text-align: center;
  padding: 40px 20px;
  color: #fff;
  position: relative;
  font-family: Arial, sans-serif;
}

.layanan-page .judul-wrap {
  position: relative;
  display: inline-block;
}

.layanan-page .judul {
  font-size: 36px;
  font-weight: bold;
  color: #ff0000;
  text-shadow: 2px 2px 3px #000;
  margin: 0;
}

.layanan-page .judul span {
  font-size: 50px;
  display: block;
  margin-top: 5px;
}

.layanan-page .logo-marlin {
  position: absolute;
  top: -40px;
  right: -90px;
  width: 160px;
  transform: rotate(-5deg);
}

.layanan-page .subjudul {
  font-size: 22px;
  font-weight: bold;
  margin: 25px 0 15px;
  text-transform: uppercase;
}

.layanan-page .layanan-item {
  font-size: 18px;
  margin: 6px 0;
  font-weight: bold;
}

.layanan-page .kontak {
  font-size: 20px;
  font-weight: bold;
  margin-top: 25px;
  color: #ffd700; /* biar menonjol */
}

