
.kartu {
  background-size:contain;
  background-position: center;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  width: 350px;
  height: 200px; /* Menyesuaikan tinggi kartu */
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}



/* Menetapkan background gambar sesuai bank */
#bri-card {
  background-image: url('../img/bri.png');
  background-size: contain; /* Menyesuaikan ukuran gambar agar pas */
  background-position: center; /* Memusatkan gambar */
  background-repeat: no-repeat; /* Mencegah gambar terulang */
  width: 100%; /* Mengisi lebar modal */
  height: auto; /* Menyesuaikan tinggi */
  max-width: 500px; /* Batas ukuran agar tidak terlalu besar */
  margin: 0 auto 30px; /* Pusatkan kartu di dalam modal */
  display: block; /* Pastikan elemen tampil sebagai blok */
}

#alamat-card {
  padding-right: 100px;
  padding-left: 100px;
  margin-bottom: 30px;
}

/* Responsive CSS */
@media (max-width: 768px) {
  #alamat-card {
      padding-right: 20px;
      padding-left: 20px;
      margin-bottom: 20px;
  }
}

/* Gaya untuk teks agar tetap terbaca */
.bank-name, .kartu p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}

.alamat-name, .kartu p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}

/* Button styling */
.tombol {
  cursor: pointer;
  padding: 8px 16px;
  background-color: gold;
  color: black;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.tombol:hover {
  background-color: #d4af37;
}

.tombol:hover {
  background-color: #d4af37;
}

  /* Style untuk Guestbook form */
  .guestbook_form_wrapper {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .guestbook_form_wrapper .form-control {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .guestbook_form_wrapper button {
    background-color: #5C6BC0;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .guestbook_form_wrapper button:hover {
    background-color: #3949ab;
  }

  /* Style untuk bagian Guestbook Wishes */
  .wishes_display_wrapper {
    max-height: 400px; /* Sesuaikan tinggi kotak sesuai dengan yang diinginkan */
    overflow-y: auto; /* Menambahkan scroll vertikal jika konten lebih panjang */
    margin-top: 40px;
    padding: 20px;
    background-color: #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .wishes_display_wrapper h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }

  /* Daftar komentar (wishes) */
  .wishes_list_wrapper {
    max-height: 400px;  /* Tentukan tinggi maksimal area scrollable */
    overflow-y: auto;   /* Agar bisa digulir vertikal */
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: start;
  }

  .wish_item {
    background-color: #fafafa;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
    text-align: start;
  }

  .wish_item strong {
    font-size: 18px;
    color: #5C6BC0;
    text-align: start;
  }

  .wish_item p {
    font-size: 14px;
    color: #555;
    text-align: start;
  }

  .wish_item strong {
    font-size: 14px;
    color: #000000;
    text-align: start;
  }

  /* Animasi untuk item wish */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Responsif untuk ukuran layar kecil */
  @media (max-width: 768px) {
    .guestbook_form_wrapper {
      padding: 15px;
    }

    .wishes_display_wrapper {
      padding: 15px;
    }

    .wishes_display_wrapper h3 {
      font-size: 20px;
    }

    .wish_item {
      padding: 10px;
    }

    .guestbook_form_wrapper button {
      font-size: 14px;
      padding: 10px 16px;
    }
  }

  .book-section {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.flipbook-container {
  position: relative;
  width: 700px;
  height: 500px;
  perspective: 1500px; /* Menambahkan perspektif untuk efek 3D */
}

.book {
    width: 100%;
    height: 100%;
    display: flex;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.halaman {
    width: 50%;
    height: 100%;
    position: absolute;
    background: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transform-origin: center left;
    transition: transform 1s ease-in-out;
    backface-visibility: hidden;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.halaman-kiri {
  left: 0;
  border-right: 2px solid #b5b3b3; /* Warna emas lembut */
  display: flex;
  justify-content: center; /* Menempatkan gambar di tengah */
  align-items: center; /* Menjaga gambar tetap berada di tengah secara vertikal */
  overflow: hidden; /* Mencegah gambar meluap keluar halaman */
}

.halaman-kanan {
    right: 0;
}

.halaman img {
  position: relative;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 5px;
}

.halaman h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.halaman p {
    text-align: center;
    font-size: 16px;
}

/* Tombol Navigasi */
.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Agar tidak mengganggu interaksi lain */
}

.btnpage {
    width: 40px;
    height: 40px;
    background-color: #c99797;   /* Warna dasar tombol */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: auto; /* Supaya tombol bisa ditekan */
}

/* Efek Hover */
.btnpage:hover {
    background-color: #9e5061;  /* Warna dasar tombol */
    transform: scale(1.1);
}

/* Tombol "Sebelumnya" di kiri */
.btnpage:first-child {
    position:relative;
    left: -60px;
}

/* Tombol "Selanjutnya" di kanan */
.btnpage:last-child {
    position:relative;
    right: -60px;
}

/* Responsif untuk layar lebih kecil */
@media (max-width: 768px) {
  .flipbook-container {
      height: 340px; /* Lebih kecil untuk tablet atau layar lebih kecil */
  }
  
  .book {
      width: 100%; /* Lebih kecil untuk tablet */
  }

  .halaman h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.halaman p {
  text-align: center;
  font-size: 12px;
}

.halaman-kiri {
  left: 0;
  border-right: 2px solid #b5b3b3; /* Warna emas lembut */
  display: flex;
  justify-content: center; /* Menempatkan gambar di tengah */
  align-items: center; /* Menjaga gambar tetap berada di tengah secara vertikal */
  overflow: hidden; /* Mencegah gambar meluap keluar halaman */
}

.halaman img {
  position: relative;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
  
  .btnpage {
      width: 40px;
      height: 40px;
      font-size: 18px;
  }

  .btnpage:first-child {
    position:relative;  
    left: 80px;
      top: 200px;
  }

  .btnpage:last-child {
    position:relative;  
    right: 80px;
      top: 200px;
  }
  

}

