/* Global Styles */
body {
  font-family: var(--bs-font-Merriweather);
  font-size: 3.8vh;
  color: rgb(23, 31, 34);
  text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5);
  padding-top: 17vh; /* Hindari navbar menutupi konten */
}

/* Navbar */
/* Navbar */
.navbar {
  height: auto;
  padding: auto;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 10vh;
  align-items: center;
}

/* Hamburger Custom */
.custom-toggler-icon {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #fef577;
  position: relative;
}

.custom-toggler-icon::before,
.custom-toggler-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #fef577;
  left: 0;
}

.custom-toggler-icon::before {
  top: -8px;
}

.custom-toggler-icon::after {
  top: 8px;
}

/* Warna link navbar */
.navbar-light .navbar-nav .nav-link {
  color: #fef577;
}

/* Warna background navbar */
.main-color {
  background-color: #1b3a2a !important;
}

.base-color {
  background-color: rgb(41, 44, 54);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  margin-top: -5vh;
  align-items: center;
  min-height: 90vh;
  text-align: center;
  background-image: url("../image/sungai.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 1% 2%;
  box-sizing: border-box;
  overflow: hidden; /* agar overlay tidak bocor keluar */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* .hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 40%;
  bottom: 0;
  background: linear-gradient(0deg, #e3d75c 8%, rgba(255, 255, 255, 0) 50%);
} */

.hero .content {
  padding: 5% 2%;
  max-width: 100rem;
}

.hero .content h1 {
  font-size: 8vh;
  color: rgb(255, 255, 255);
  text-shadow: 1px 1px 3px rgba(98, 98, 117, 0.5);
  line-height: 1.2;
  text-align: center;
}

.hero .content h2 {
  font-size: 5vh;
  color: rgb(255, 255, 255);
  text-shadow: 1px 1px 3px rgba(98, 98, 117, 0.5);
  line-height: 1.2;
  text-align: center;
}

.hero .content h1 span {
  color: #fef577;
}

.hero1 .content1 h1 span {
  color: #fef577;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.hero .hero-images {
  display: flex;
  justify-content: center; /* Menengahkan gambar */
  gap: 20px; /* Memberikan jarak antara gambar */
  margin-top: 20px; /* Jarak antara teks dan gambar */
  flex-wrap: wrap; /* Memungkinkan gambar turun ke bawah saat layar kecil */
}

.hero .hero-images img {
  width: 50vh; /* Ukuran gambar lebih besar di layar besar */
  height: auto;
  border-radius: 10px; /* Opsional: Membuat sudut gambar lebih halus */
  transition: all 0.3s ease; /* Animasi perubahan ukuran */
}

/* RESPONSIVE: Jika layar kurang dari 768px, gambar akan stack ke atas-bawah */
@media (max-width: 768px) {
  .hero .hero-images {
    flex-direction: column; /* Mengubah layout menjadi atas-bawah */
    align-items: center; /* Menengahkan gambar */
  }

  .hero .hero-images img {
    width: 80%; /* Membuat gambar lebih responsif di layar kecil */
    max-width: 350px; /* Batas maksimum ukuran gambar */
  }
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.hero1 {
  margin-top: -5vh;
  display: flex;
  justify-content: center; /* Menengahkan teks secara horizontal */
  align-items: center; /* Menengahkan teks secara vertikal */
  height: auto;
  min-height: 90vh;
  text-align: center; /* Teks rata tengah */
  /* background: linear-gradient(rgb); */
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../image/back.jpg") no-repeat center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 5% 5%; /* Memberi ruang di kanan & kiri */
  box-sizing: border-box;
  flex-grow: 1;
}

.hero1 .content1 {
  font-size: 3.5vh;
  color: rgb(255, 255, 255);
  max-width: 1400px; /* Batasi lebar teks agar tidak terlalu melebar */
  width: 100%;
  text-align: center; /* Sesuaikan dengan keinginan, bisa justify atau center */
  padding: 100px 20px;
  /* text-shadow: 1px 1px 3px rgba(20, 20, 20, 0.2); */
  text-shadow: #000000;
}

/* .hero1::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 25%;
  top: 0;
  background: linear-gradient(180deg, #e3d75c 0%, rgba(255, 255, 255, 0) 50%);
}

.hero1::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 40%;
  bottom: 0;
  background: linear-gradient(0deg, #e3d75c 0%, rgba(255, 255, 255, 0) 50%);
} */

/* RESPONSIVE: Pastikan teks tetap rapi di layar kecil */
@media (max-width: 768px) {
  .hero1 {
    padding: 25% 1%; /* Kurangi padding agar tetap proporsional */
  }

  .hero1 .content1 {
    font-size: 3.5vh; /* Kurangi ukuran font agar tetap terbaca */
    max-width: 90%; /* Pastikan teks tidak terlalu lebar */
    text-align: center;
  }
}

.hero11 {
  display: flex;
  justify-content: center; /* Menengahkan teks secara horizontal */
  align-items: center; /* Menengahkan teks secara vertikal */
  height: auto;
  min-height: 80vh;

  text-align: center; /* Teks rata tengah */
  /* background-image: url("../image/bg/bg3.png"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 5% 5%; /* Memberi ruang di kanan & kiri */
  box-sizing: border-box;
  flex-grow: 1;
}

.btn-group-lg > .btn,
.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 3vh;
  border-radius: 0.3rem;
}

.container2 {
  max-width: 100%; /* Menyesuaikan lebar container agar tidak terlalu lebar */
  margin: 0 auto; /* Membuatnya berada di tengah */
  padding: 2% 10%; /* Memberikan ruang pada konten */
  /* background: url("../image/bg/bgmen.png") no-repeat center center; */
  background-size: cover; /* Pastikan gambar memenuhi seluruh area */
  border-radius: 10px; /* Memberikan sudut yang lebih halus */
}

.container-brand {
  background-image: url("../image/bg/bg3.png");
}

.hero-p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  align-items: center;
  min-height: 40vh;
  text-align: center;
  background-image: url("../image/bg/bg3.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 1% 2%;
  box-sizing: border-box;
}

.hero-p::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 40%;
  top: 0;
  background: linear-gradient(180deg, #b3bdd3 8%, rgba(255, 255, 255, 0) 50%);
}

.hero-p::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 40%;
  bottom: 0;
  background: linear-gradient(0deg, #b3bdd3 8%, rgba(255, 255, 255, 0) 50%);
}

.hero-p .content-p {
  padding: 5% 2%;
  max-width: 100rem;
}

.hero-p .content-p h1 {
  font-size: 8vh;
  color: rgb(65, 93, 103);
  text-shadow: 1px 1px 3px rgba(98, 98, 117, 0.5);
  line-height: 1.2;
  text-align: center;
}

/* button product */
.button-p {
  display: flex;
  gap: 4vh;
  justify-content: center;
}

.album {
  align-items: center;
  justify-content: center;
  background-image: url("../image/bg/bg.6.jpg");
}

.container-p {
  max-width: 100%; /* Batasi lebar maksimum */
  margin: 2% 8%; /* Pusatkan elemen secara horizontal */
  display: flex; /* Gunakan flexbox untuk penyelarasan */
  flex-direction: column; /* Tata letak vertikal */
  align-items: center; /* Pusatkan secara horizontal */
  justify-content: center; /* Pusatkan secara vertikal jika diperlukan */
  text-align: center; /* Pastikan teks di dalamnya berada di tengah */
  background: linear-gradient(rgb(235, 235, 237), rgba(0, 0, 0, 0.2)),
    url("../image/bg/bg7.png");
}

.category-button {
  background-color: #b0b8c9; /* Warna abu-abu seperti contoh */
  border: none;
  border-radius: 25px; /* Membuat sudut membulat */
  padding: 10px 20px;
  font-size: 3vh;
  color: rgb(23, 31, 34);
  cursor: pointer;
}

.category-button:hover {
  background-color: #9aa3b8; /* Warna lebih gelap saat hover */
}

/* Banner */
.banner {
  height: auto;
  background: linear-gradient(rgb(255, 255, 255), rgba(0, 0, 0, 0.2)),
    url("../image/bg/bg.6.jpg");
  background-size: cover;
  background-position: center;
}

/* Custom Text */
.custom-text {
  font-size: 25px;
  color: rgb(41, 44, 54);
  text-align: center;
}

/* Cover Container */
.cover-container {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  padding: 20px;
  background-image: url("../image/bg/bg3.png");
  background: linear-gradient(rgb(235, 235, 237), rgba(0, 0, 0, 0));
  background-size: cover;
  background-position: center;
}

.container1 {
  max-width: 90%; /* Lebar container1 lebih besar dari container biasa */
  background-color: #f8f9fa; /* Warna latar belakang lebih terang */
  padding: 30px; /* Padding lebih besar */
  border-radius: 10px; /* Membuat sudut membulat */
}

/* .container11 {
  background: linear-gradient(rgb(235, 235, 237), rgba(0, 0, 0, 0.2)),
    url("../image/bg/bg7.png");
} */

.card-text {
  font-size: 3vh;
}

.footer1 {
  text-align: center;
  height: 9vh;
}

/* Custom Button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none;
}

/* Navbar Links */
.nav-masthead .nav-link {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 0.25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Styling Grid Produk */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product-item {
  width: 48%; /* Menjadikan 2 produk per baris */
  display: flex;
  justify-content: center;
}

/* Styling Card Produk */
.card {
  width: 100%;
  max-width: 70vh; /* Agar tidak terlalu besar */
  text-align: center;
}

.card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsiveness */
@media (max-width: 768px) {
  .product-item {
    width: 100%; /* 1 produk per baris di layar kecil */
  }
}

.main-product {
  justify-content: center; /* Pusatkan konten secara horizontal */
  align-items: center; /* Pusatkan konten secara vertikal jika perlu */
  text-align: center; /* Jika ingin teks berada di tengah */
  max-width: 80%; /* Sesuaikan dengan kebutuhan */
  margin: 0 auto;
}

.footer-product {
  height: 40vh;
  background-color: rgb(235, 235, 237);
  background-size: cover;
  background-position: center;
}

.full-width-image {
  margin: 2rem 0;
}

.full-width-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.line-dot-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.line {
  height: 1.5px;
  width: 5rem;
  background-color: #fef577;
  border-radius: 9999px;
}
.dot {
  width: 1rem;
  height: 1rem;
  background-color: #fef577;
  border-radius: 9999px;
}

.potensi-carousel {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.potensi-card {
  flex: 0 0 auto;
  width: 90%;
  max-width: 300px;
  background-color: #1b3a2a;
  border-radius: 8px;
  color: white;
  scroll-snap-align: start;
  position: relative;
}

.potensi-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.potensi-card .card-body {
  padding: 1rem;
  font-size: 14px;
  line-height: 1.5;
}

.read-more {
  display: block;
  margin-top: 1rem;
  color: #fef577;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: #1b3a2a;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
}

.carousel-btn:hover {
  opacity: 1;
}

.prev-btn {
  left: -10px;
}

.next-btn {
  right: -10px;
}

/* Responsive */
@media (min-width: 768px) {
  .potensi-card {
    width: calc(100% / 3 - 1rem);
  }
}

@media (max-width: 767px) {
  .potensi-card {
    width: 85%;
  }
}

/* about page */
/* body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: #222;
  background-color: #fff;
} */

.location-section {
  padding: 40px 20px;
  background: #fff;
  margin-top: -20px;
}

.location-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  align-items: center;
}

.location-container .map {
  flex: 1 1 45%;
}

.location-container .address {
  flex: 1 1 45%;
}

.address p {
  font-size: 16px;
  line-height: 1.5;
}

.btn-location {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: rgb(247, 232, 186);
  color: #222;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-location:hover {
  background-color: #fef577;
}

.footer {
  position: relative;
  background: url("../image/background.png") no-repeat center center/cover;
  color: #fff;
  padding: 50px 20px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1b3a2ad9;
  z-index: 0;
}
.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 30px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  flex: 1 1 20%;
}

.contact,
.subscribe {
  flex: 1 1 35%;
}

.opening-hours {
  display: flex;
  align-items: center; /* Membuat ikon dan teks sejajar tengah secara vertikal */
  color: white; /* Atau sesuaikan dengan desainmu */
  gap: 10px; /* Jarak antara ikon dan teks */
  font-size: 14px; /* Sesuaikan ukuran teks jika perlu */
}

.opening-hours i {
  font-size: 20px; /* Ukuran ikon tetap seperti semula */
}

.contact h4,
.subscribe h4 {
  color: #fef577;
  margin-bottom: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  margin-right: 15px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #fef577;
}

.hero-gua {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
    url("../image/potensi/cagar.jpg") no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-gua .container {
  max-width: 1140px;
}

.hero-gua h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-gua p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* sarana card */
.potensi-carousel1 {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.potensi-card1 {
  flex: 0 0 auto;
  width: 90%;
  max-width: 300px;
  background-color: #fbf05b;
  border-radius: 8px;
  color: rgb(80, 79, 79);
  scroll-snap-align: start;
  position: relative;
}

.potensi-card1 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.potensi-card1 .card-body {
  padding: 1rem;
  font-size: 14px;
  line-height: 1.5;
}
