/* IMPORT FONT */
@font-face {
  font-family: "Lato";
  src: url("../font/Lato/Lato-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  src: url("../font/Playfair_Display/static/PlayfairDisplay-Regular.ttf")
    format("truetype");
}
/* END IMPORT FONT */

body {
  background-color: rgba(255, 255, 255, 1);
}

/* APPLY FONT */
h1,
h2,
h5,
p.card-title {
  font-family: "Playfair Display";
  color: rgba(0, 0, 0, 1);
}
p,
.btn,
h4,
.nav-link {
  font-family: "Lato";
  color: rgba(0, 0, 0, 1);
  font-weight: medium;
  line-height: auto;
}

.footer h4,
.footer p {
  font-family: "Playfair Display";
  color: white;
}
/* END APPLY FONT */

/* NAVBAR */
.navbar-nav .nav-link {
  display: inline;
}
/* END NAVBAR */

/* FLOATING BUTTON */
/* Kontainer untuk tombol */
.floating-buttons-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-button {
  background-color: #ffffff;
  color: #000000;
  border-radius: 50%;
  padding: 6px 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  width: 40px;
  height: 40px;
}

.floating-button:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background-color: #000000;
  color: #ffffff;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
}

.floating-logo {
  width: 24px;
  height: 24px;
  filter: invert(0);
  -webkit-filter: invert(0);
}

.floating-button:hover .floating-logo {
  filter: invert(1);
  -webkit-filter: invert(1);
}
/* END FLOATING BUTTON */

/* JUMBOTRON */
.jumbotron {
  background-image: url("../asset/bg-jumbotron.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 56.25%; /* 4:3 Aspect Ratio (3/4 * 100) */
  position: relative;
}

.jumbotron-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: justify;
}
/* END JUMBOTRON */

/* GALERI */
.gallery-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-10px) scale(1.05);
  -moz-transform: translateY(-10px) scale(1.05);
  -ms-transform: translateY(-10px) scale(1.05);
  -o-transform: translateY(-10px) scale(1.05);
}

.gallery-image-main {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-image-hover {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 12px 11px;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-card:hover .gallery-image-hover {
  opacity: 1;
}

/* Card Title */
.gallery-card-title {
  font-weight: bold;
  margin: 0;
  text-transform: capitalize;
}

/* Hover Button Styling */
.gallery-hover-button {
  position: absolute;
  bottom: 20%;
  left: 10%;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover .gallery-hover-button {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
  -webkit-transform: translateX(-50%) translateY(-10px);
  -moz-transform: translateX(-50%) translateY(-10px);
  -ms-transform: translateX(-50%) translateY(-10px);
  -o-transform: translateX(-50%) translateY(-10px);
}
/* END GALERI */

/* MARQUEE */
@keyframes marquee {
  from {
    transform: translateX(-165%);
    -webkit-transform: translateX(-165%);
    -moz-transform: translateX(-165%);
    -ms-transform: translateX(-165%);
    -o-transform: translateX(-165%);
  }
  to {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
}
.marquee-content {
  animation: marquee 15s linear infinite;
  white-space: nowrap;
  -webkit-animation: marquee 15s linear infinite;
  -webkit-animation: marquee 15s linear infinite;
}

.marquee-item {
  font-family: "Playfair Display"; /* Ganti font sesuai kebutuhan / color: black; / Warna teks */
  font-weight: bolder;
}

/* Optional: Pause animation on hover */
.marquee-container:hover .marquee-content {
  animation-play-state: running;
}

/* FAQ */
/* menghilangkan ikon default Bootstrap (^ dan v) */
.accordion-button::after {
  display: none;
}
/* ikon custom + saat collapsed */
/* ikon custom + saat collapsed */
.accordion-button.collapsed::before {
  content: "+";
  /*Gantiikondefaultdengan+*/
  font-size: 1.5rem;
  /*Ukuranfontuntukikon*/
  color: white;
  /*Warnaikonputih*/
  background-color: black;
  /*Latarbelakanghitam*/
  border: 2px solid white;
  /*Borderputihdenganketebalan2px*/
  border-radius: 50%;
  /*Membuatikonbulatsempurna*/
  padding: 10px;
  /*Lebihbanyakpaddingagarbulatsempurna*/
  position: absolute;
  right: 20px;
  /*Posisidisebelahkanantombol*/
  top: 50%;
  transform: translateY(-50%);
  /*Agarvertikalcenter*/
  width: 40px;
  /*Ukuranlebardantinggiyangsamaagarikonbulat*/
  height: 40px;
  /*Ukurantinggiyangsama*/
  display: flex;
  /*Agarkonten(+)vertikaldanhorizontalcenter*/
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* Mengganti ikon menjadi - saat accordion terbuka */
.accordion-button:not(.collapsed)::before {
  content: "-"; /* Ganti ikon dengan - */
  font-size: 1.5rem; /* Ukuran font */
  color: white; /* Warna ikon putih */
  background-color: black; /* Latar belakang hitam */
  border: 2px solid white; /* Border putih dengan ketebalan 2px */
  border-radius: 50%; /* Ikon tetap bulat sempurna */
  padding: 10px; /* Lebih banyak padding agar bulat sempurna */
  position: absolute;
  right: 20px; /* Posisi di sebelah kanan tombol */
  top: 50%;
  transform: translateY(-50%); /* Agar vertikal center */
  width: 40px; /* Ukuran lebar dan tinggi yang sama */
  height: 40px; /* Ukuran tinggi yang sama */
  display: flex; /* Agar konten (-) vertikal dan horizontal center */
  align-items: center;
  justify-content: center;
}

/* Styling untuk tombol accordion */
.accordion-button {
  background-color: black; /* Background hitam untuk tombol */
  color: white; /* Teks putih untuk tombol */
  position: relative; /* Membuat posisi relatif untuk ikon sebelum */
  box-shadow: none; /* Menghilangkan bayangan */
  transition: background-color 0.3s ease;
}

/* Styling saat tombol collapsed */
.accordion-button.collapsed {
  background-color: black; /* Background hitam saat collapsed */
  color: white; /* Warna teks putih */
}

/* Menghilangkan efek klik biru */
.accordion-button:focus {
  background-color: black; /* Tetap hitam saat fokus */
  color: white; /* Tetap putih untuk teks */
  box-shadow: none; /* Hilangkan shadow fokus */
  outline: none; /* Hilangkan outline fokus */
}
/* END FAQ */

/* BUTTON */
/* Basic Button Styles */
button {
  border-radius: 30px;
}
.btn {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: white; /* White text by default */
  background-color: black; /* Black background by default */
  border: 2px solid black; /* Black border */
  text-align: center;
  overflow: hidden;
  transition: color 0.4s ease, background-color 0.4s ease,
    border-color 0.4s ease;
  z-index: 1;
}

/* Before Pseudo-element to create the fill effect */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  left: 0;
  background-color: white; /* White background for the fill effect */
  transition: right 0.4s ease;
  z-index: -1;
}

/* Hover Effect - fill background from right to left */
.btn:hover::before {
  right: 0; /* Move the background to the left, filling the button */
}

.btn:hover {
  color: black; /* Change text color to black on hover */
  background-color: white; /* Background changes to white on hover */
  border-color: white; /* Border changes to white */
}

/* Active/Click Effect */
.btn:active::before {
  background-color: #e6e6e6; /* Slightly darker white for clicked state */
  transition: none; /* Disable animation on active to avoid flicker */
}

.btn:active {
  color: #333; /* Darker text color on click */
  background-color: #f2f2f2; /* Lighter background color on click */
  border-color: #f2f2f2; /* Adjust border color on click */
}

/* END BUTTON */

/* Gift CARD */
.gift-card {
  background-color: #ffffff; /* Warna putih bersih */
  border: 1px solid #f0f0f0; /* Border halus */
  border-radius: 10px; /* Membulatkan sudut */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
  transition: transform 0.3s, box-shadow 0.3s; /* Animasi saat hover */
  position: relative; /* Untuk positioning tombol */
  overflow: hidden; /* Agar konten tidak keluar */
}

.gift-card:hover {
  transform: translateY(-10px); /* Mengangkat card saat hover */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih tebal */
}

.gift-card img {
  object-fit: cover; /* Menjaga proporsi gambar */
  border-radius: 10px 10px 0 0; /* Membulatkan bagian atas */
}

.gift-card .card-body {
  padding: 1rem; /* Ruang di sekitar teks */
  text-align: center;
}

.gift-card .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333; /* Warna teks utama */
}

.gift-card .card-text {
  font-size: 0.9rem;
  color: #666; /* Warna teks deskripsi */
}

/* Gaya untuk tombol hover */
.gift-hover-button {
  position: absolute;
  bottom: 25%;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.gift-hover-button {
  position: absolute;
  bottom: 29%;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.gift-card:hover .gift-hover-button {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-15px);
  -webkit-transform: translateX(-50%) translateY(-15px);
  -moz-transform: translateX(-50%) translateY(-15px);
  -ms-transform: translateX(-50%) translateY(-15px);
  -o-transform: translateX(-50%) translateY(-15px);
}

/* MEDIA QUERIES */
@media (max-width: 480px) {
  /* JUMBOTRON */
  .jumbotron-content {
    padding-top: 3rem;
    padding-left: 2rem;
  }

  .jumbotron h1 {
    font-size: clamp(1rem, 5vw, 1.25rem);
  }

  .jumbotron a {
    font-size: clamp(
      0.4rem,
      3vw,
      0.6rem
    ); /* Compact button text on small screens */
  }
  /* END JUMBOTRON */

  /* GALERI */
  .gallery-card {
    width: 100%; /* Gunakan lebar penuh layar */
  }

  .gallery-card-title {
    font-size: 0.6rem; /* Kecilkan ukuran teks */
  }

  /* Gambar Galeri */
  .gallery-image-main {
    height: 250px; /* Sesuaikan tinggi gambar untuk perangkat kecil */
    object-fit: cover; /* Pastikan gambar tetap proporsional */
  }

  .gallery-image-hover {
    height: 261px; /* Pastikan tinggi konsisten dengan gambar utama */
    object-fit: cover; /* Sama seperti gambar utama */
  }

  .gallery-hover-button {
    font-size: 0.6rem; /* Sesuaikan ukuran tombol */
    padding: 6px 10px; /* Lebih kecil agar sesuai layar HP */
    bottom: 24%;
    left: 24%;
  }
  maps-container,
  .overlay {
    border-radius: 0 !important;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .jumbotron-content {
    padding-top: 5rem;
    padding-left: 3rem;
  }

  .jumbotron h1 {
    font-size: clamp(1.2rem, 6vw, 2.5rem);
  }

  .jumbotron a {
    font-size: clamp(
      0.6rem,
      4vw,
      0.9rem
    ); /* Compact button text on small screens */
  }
  .gallery-card-title {
    font-size: 0.6rem;
  }

  .gallery-image-main {
    height: 300px; /* Sesuaikan tinggi gambar untuk perangkat kecil */
    object-fit: cover; /* Pastikan gambar tetap proporsional */
  }
  .gallery-image-hover {
    height: 311px; /* Pastikan tinggi konsisten dengan gambar utama */
    object-fit: cover; /* Sama seperti gambar utama */
  }
  .gallery-hover-button {
    position: absolute;
    bottom: 17%;
    left: 50%;
  }
  .gallery-hover-button {
    font-size: 0.7rem; /* Sesuaikan ukuran tombol */
    padding: 6px 10px; /* Lebih kecil agar sesuai layar HP */
  }
  .gift-hover-button {
    font-size: 1rem; /* Sesuaikan ukuran tombol */
    padding: 6px 10px; /* Lebih kecil agar sesuai layar HP */
    bottom: 20%;
  }
}
@media (min-width: 768px) and (max-width: 915px) {
  .jumbotron-content {
    padding-top: 6rem;
    padding-left: 3.4rem;
  }

  .jumbotron h1 {
    font-size: clamp(1rem, 7vw, 3rem);
  }

  .jumbotron p {
    font-size: clamp(0.1rem, 2.5vw, 0.6rem);
  } /* Adjusted lead text for smartphones */
  /* Slightly smaller for better readability on mobile */

  .jumbotron a {
    font-size: clamp(
      0.8rem,
      5vw,
      1.2rem
    ); /* Compact button text on small screens */
  }
  .gallery-card-title {
    font-size: 0.7rem;
  }

  .gallery-hover-button {
    font-size: 0.8rem; /* Sesuaikan ukuran tombol */
    padding: 6px 10px; /* Lebih kecil agar sesuai layar HP */
    bottom: 28%;
  }
  .gift-hover-button {
    font-size: 0.9rem; /* Sesuaikan ukuran tombol */
    padding: 3px 5px; /* Lebih kecil agar sesuai layar HP */
    bottom: 41%;
  }
}

@media (min-width: 916px) and (max-width: 1199px) {
  .jumbotron-content {
    padding-top: 6rem;
    padding-left: 3.4rem;
  }

  .jumbotron h1 {
    font-size: clamp(1.5rem, 8vw, 3.5rem);
  }

  .jumbotron p {
    font-size: clamp(
      0.2rem,
      2.5vw,
      0.8rem
    ); /* Adjusted lead text for smartphones */
    /* Slightly smaller for better readability on mobile */
  }

  .jumbotron a {
    font-size: clamp(
      1rem,
      3vw,
      1.5rem
    ); /* Compact button text on small screens */
  }
  .gallery-card-title {
    font-size: 0.7rem;
  }
  .gift-hover-button {
    font-size: 1rem; /* Sesuaikan ukuran tombol */
    padding: 6px 10px; /* Lebih kecil agar sesuai layar HP */
  }
  .gift-hover-button {
    position: absolute;
    bottom: 40%;
  }
  .gallery-hover-button {
    position: absolute;
    bottom: 13%;
    left: 50%;
  }
}
@media (min-width: 1200px) {
  .jumbotron a {
    font-size: clamp(
      1.5rem,
      3vw,
      1.7rem
    ); /* Compact button text on small screens */
  }
  .jumbotron-content {
    padding-top: 6rem;
    padding-left: 4rem;
  }
}
