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

/* navbar */

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

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

.navbar-custom .nav-link,
.navbar-custom {
  font-family: poppins;
  font-weight: bold;
  color: black;
}
.navbar-custom .nav-link:hover {
  background-color: #889293;
  border-radius: 5px;
  color: #000000;
}
.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: 200px;
  max-width: 100px;
  height: 230px;
  border-radius: 15px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-family: poppins;
  font-weight: bold;
  color: #e3e8eb;
}

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

.doa-card:nth-child(odd) {
  background-color: #5e6566;
  border-left: solid 7px #ccd6d8;
  border-bottom: solid 7px #ccd6d8;
}

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

.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%; /* Lebar 100% agar memenuhi lebar container */
  height: 500px; /* Atur tinggi video */
  object-fit: cover; /* Agar video tetap terisi penuh tanpa terpotong */
  border-radius: 10px; /* Untuk memberi sudut melengkung pada video */
  margin-top: 20px; /* Memberikan jarak atas jika diperlukan */
}

#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(0, 0, 0, 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: #5e6566;
  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: #5e6566;
  border-radius: 10%;
  border: solid 2px #e3e8eb;
  color: #e3e8eb;
  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;
}

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