body {
  margin: 0;
  font-family: poppins;
}

/* navbar */

.navbar-custom {
  background-color: #1c1c1c;
  border-bottom: solid 1px #f46e6c;
}

.navbar-brand {
  font-family: "Leckerli One", cursive;
  color: #fe8fb0;
}

.navbar-custom .nav-link,
.navbar-custom {
  font-family: poppins;
  font-weight: bold;
  color: #fe8fb0;
}
.navbar-custom .nav-link:hover {
  background-color: #fcfdfd;
  border-radius: 5px;
  color: #1c1c1c;
}
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* section 1 */
.main-content-section {
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}
/* section 1 stop*/

/* section 2 */
.carousel-item img {
  width: 100%;
  height: 300px; /* atau sesuaikan tinggi yang kamu mau */
  object-fit: cover;
  border-radius: 12px; /* biar tetap soft */
}

/* section 2 stop*/

/* tambahan */
.long-text-container {
  max-width: 100%;
  margin: 0 5%;
}

.long-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  text-align: left; /* Default di PC/laptop */
}

/* Responsif di layar kecil (misal < 768px) */
@media screen and (max-width: 768px) {
  .long-text {
    text-align: center;
  }
}

/* tambahan stop*/

/* section 3 */
.doa-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.doa-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.doa-card {
  min-width: 300px;
  max-width: 150px;
  height: 320px;
  border-radius: 15px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-family: poppins;
  font-weight: bold;
  color: #ffffff;
}

.doa-card h6 {
  font-family: poppins;
  font-weight: bold;
}

.doa-card:nth-child(odd) {
  background-color: #1c1c1c;
  border-left: solid 7px #fe90b3;
  border-bottom: solid 7px #fe90b3;
}

.doa-card:nth-child(even) {
  background-color: #fe90b3;
  border-left: solid 7px #1c1c1c;
  border-bottom: solid 7px #1c1c1c;
}

.doa-card:hover {
  transform: scale(1.05);
}
/* section 3 stop*/

/* section 4 */
.bubble-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.photo-card video {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

#galeri {
  position: relative;
  z-index: 1;
}

.photo-card {
  background-color: white;
  border-radius: 15px;
  padding: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(205, 134, 134, 0.1);
}

.foto-galeri {
  width: 100%;
  height: 250px; /* Ubah sesuai kebutuhan */
  object-fit: cover;
  border-radius: 10px;
}

.photo-card:hover {
  transform: scale(1.02);
}
#galeri .container {
  position: relative;
  z-index: 2; /* Supaya konten di atas gelembung */
}
/* section 4 stop*/

/* section 5 */
.wheel-container {
  width: 100%;
  max-width: 500px; /* besar di desktop */
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding-bottom: 10%;
}

canvas#wheel {
  width: 100%;
  height: auto;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid #fff;
  background-color: #fedada;
  position: relative;
  overflow: hidden;
  transform: rotate(0deg);
  transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
}

.wheel .item {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 0% 0%;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  color: #000;
  background-color: #fcf0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
}

.spin-btn {
  margin-top: 20px;
  background-color: #ff69b4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto; /* tombol di tengah */
}
.wheel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

#result {
  margin-top: 20px;
  font-size: 20px;
  color: black; /* sudah diubah jadi hitam */
  font-weight: bold;
  text-align: center; /* hasil di tengah */
  padding: 3% 0;
  font-family: poppins;
}

h1 {
  text-align: center; /* judul di tengah */
  font-family: "Leckerli One", cursive;
  margin-top: 5%;
}

.wheel-wrapper button {
  background-color: #ff69b4;
  border-radius: 10%;
  border: solid 2px #1c1c1c;
  color: #ffffff;
  font-family: poppins;
  font-weight: bold;
}

@media (max-width: 600px) {
  .wheel-container {
    max-width: 300px;
  }

  h1 {
    font-size: 20px;
  }

  .spin-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  #result {
    font-size: 16px;
  }
}

.love-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.love {
  width: 100px;
  transition: transform 0.2s;
}

.heart-splash {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("https://cdn-icons-png.flaticon.com/512/833/833472.png")
    no-repeat center;
  background-size: cover;
  animation: splash 1s ease-out forwards;
}

/* ===== SECTION 6 REAL FLIP BOOK ===== */

.section6 {
  min-height: 100vh;
  background: #1c1c1c;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.book-wrapper {
  perspective: 3000px;
}

.book {
  position: relative;
  width: 400px;
  height: 520px;
  transform-style: preserve-3d;
}

/* Spine */
.book::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0;
  width: 14px;
  height: 100%;
  background: #e08fb3;
  border-radius: 6px 0 0 6px;
  box-shadow: inset 3px 0 10px rgba(0, 0, 0, 0.4);
}

/* Page */
.page {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform-style: preserve-3d;
  transition: transform 1s ease;
  cursor: pointer;
}

.page .front,
.page .back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffbbd2;
  color: white;
  border-radius: 8px 20px 20px 8px;
  padding: 40px 30px;
  box-shadow:
    inset 8px 0 15px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.page .back {
  transform: rotateY(180deg);
}

/* Flip state */
.page.flipped {
  transform: rotateY(-180deg);
}

.page-content {
  position: relative;
  width: 100%;
}

/* hello kitty sticker */
.kitty-sticker {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 70px;
  animation: kittyBounce 2.5s infinite ease-in-out;
}

/* animasi lucu */
@keyframes kittyBounce {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.page .front::before {
  content: "💗";
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 20px;
  opacity: 0.6;
}

.page .front::after {
  content: "🌸";
  position: absolute;
  bottom: 15px;
  left: 20px;
  font-size: 18px;
  opacity: 0.6;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  text-align: center;
}

.scrap-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

/* hello kitty di bawah teks */
.kitty-sticker {
  width: 65px;
  margin-top: 10px;
  animation: kittyFloat 2.5s ease-in-out infinite;
}

/* ===== HELLO KITTY PAGE ===== */

.kitty-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffbbd2, #fe8fb0);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.kitty-content {
  max-width: 600px;
  color: white;
  font-family: "Poppins", sans-serif;
  animation: fadeInKitty 1.2s ease forwards;
}

.kitty-content h2 {
  font-family: "Leckerli One", cursive;
  margin-bottom: 30px;
}

.kitty-gif {
  max-width: 250px;
  margin: 0 auto 30px auto;
}

.kitty-content p {
  font-size: 18px;
  line-height: 1.6;
}

@keyframes fadeInKitty {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kittyFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.video-galeri {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
/* Responsive */
@media (max-width: 500px) {
  .book {
    width: 300px;
    height: 420px;
  }
}

@keyframes splash {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) rotate(360deg);
  }
}
/* section 5 stop*/
