@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Roboto:wght@100;300;400;500&family=Lato:wght@100;300;400&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* sesuaikan dengan tinggi navbar */
  overflow-x: hidden;
  width: 100%;
}

/* ====================================================== NAVBAR ======================================================*/
.background {
  background: url(img/gallery/backgorund2.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: white;
  text-align: center;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.685); /* Transparansi hitam */
  z-index: 1; /* Layer overlay di atas background gambar */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: transparent; /* Awal transparan */
  transition: background-color 0.3s ease, top 0.3s ease; /* Transisi latar belakang dan posisi yang halus */
  position: fixed; /* Posisi tetap */
  top: 0;
  left: 0;
  right: 0;
  z-index: 4; /* Agar di atas overlay */
}

.navbar.scrolled {
  background-color: black !important;
  top: 0;
}

.navbar .logo {
  font-size: 24px;
  font-weight: 700;
  margin: 0 30px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center; /* Ini memastikan semua elemen sejajar secara vertikal */
  flex-grow: 1;
}

.nav-links a {
  color: white;
  text-decoration: none;
  right: 0px;
  margin: 0 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Hover keren pada navbar */
.nav-links a:hover {
  color: #f39c12; /* Ubah warna saat hover */
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #f39c12;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.logo a {
  text-decoration: none;
  color: white;
}

.nav-links a:hover::after {
  width: 100%; /* Garis bawah muncul dari kiri ke kanan */
}

/* Gaya untuk dropdown bahasa */
.language {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  color: white;
  font-weight: 600;
  padding: 10px;
  border: none;
  cursor: pointer;
  display: flex; /* Agar ikon dan teks sejajar */
  align-items: center; /* Mengatur agar ikon dan teks berada di tengah secara vertikal */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: black;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.language:hover .dropdown-content {
  display: block;
}

.language:hover .dropbtn {
  color: #f39c12;
}

/* content */
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* Agar berada di atas overlay */
}

.content h1 {
  font-family: "Dancing Script", cursive;
  font-size: 75px;
  width: 900px;
  margin: 0 auto;
  color: white;
}

.content p {
  font-size: 15px;
  color: #c7c7c7;
  margin-top: 20px;
}

.social-icons {
  display: flex;
  position: absolute;
  right: 50px;
  top: 20px;
  z-index: 2; /* Agar berada di atas overlay */
}

.social-icons a {
  color: white;
  margin-left: 20px;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #f39c12;
  transform: scale(1.2); /* Ikon membesar sedikit saat hover */
}

.whatsapp-icon {
  position: fixed; /* Gunakan fixed agar tetap di posisi saat scroll */
  bottom: 20px;
  right: 20px;
  text-decoration: none;
  z-index: 2; /* Agar berada di atas overlay */
}

.whatsapp-background {
  background-color: white; /* Latar belakang putih */
  border-radius: 100%; /* Membuat latar belakang bulat */
  padding: 10px; /* Ruang di sekitar ikon */
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Tambahkan sedikit bayangan untuk efek */
  display: flex;
  justify-content: center; /* Center ikon di dalam background */
  align-items: center; /* Center ikon di dalam background */
}

.whatsapp-background i {
  text-decoration: none;
  color: #25d366; /* Warna ikon WhatsApp */
  font-size: 40px; /* Ukuran ikon */
}

/* Style dropdown menu */
.dropdown-produk {
  position: relative;
  display: inline-block;
}

.dropdown-produk .dropbtn-produk {
  text-decoration: none;
  color: white; /* sesuaikan warna nav-link */
  padding: 10px 15px;
  display: inline-block;
}

.dropdown-content-produk {
  display: none;
  position: absolute;
  background-color: #222; /* warna background dropdown */
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.dropdown-content-produk a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content-produk a:hover {
  background-color: #444; /* efek hover */
}

.dropdown-produk:hover .dropdown-content-produk {
  display: block; /* muncul saat hover */
}

/*====================================================== About ======================================================*/
.about {
  padding: 80px 0;
  background-color: #fcfbf9;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 40px auto;
  margin-top: 100px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-download-selengkapnya {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #f39c12;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-download-selengkapnya {
  background: #e67e22;
}

.btn-download-selengkapnya:hover {
  transition: background 0.3s ease;
  background: #984903;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
}

.company-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f39c12;
}

.company-logo {
  width: 120px;
  height: 120px;
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.company-title {
  flex: 1;
}

.company-title h1 {
  font-family: "Bad Script", cursive;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: left;
}

.company-title p {
  font-size: 18px;
  color: #7f8c8d;
  font-weight: 500;
}

.company-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

/* Catalog Section */

.catalog {
  padding: 20px 20px 60px; /* hilangkan padding atas */
  background: linear-gradient(135deg, #ff7043, #ffcc80);
  text-align: center;

  color: white;
  scroll-margin-top: -20px; /* biar tidak ketutup navbar saat klik menu */
}

.catalog h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.catalog p {
  margin-bottom: 30px;
  font-size: 1rem;
  color: #fff9f4;
}

/* Catalog Image Wrapper */
.catalog-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.catalog-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.catalog-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Button Catalog */
.btn-cat {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: #ff5722;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.2s;
}

.btn-cat:hover {
  background: #e64a19;
  transform: translateY(-2px);
}

.text-content {
  flex: 1;
}

.text-content p {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  color: #34495e;
  line-height: 1.8;
}

.highlight {
  color: #e67e22;
  font-weight: 600;
}

.company-infos {
  background: linear-gradient(to right, #fef9e7, #fdebd0);
  padding: 30px 40px; /* lebih lega */
  border-radius: 8px;
  margin-top: 30px;
  border-left: 4px solid #f39c12;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

  width: 100%; /* biar responsif */
  max-width: 900px; /* lebih panjang ke samping */
  margin-left: auto; /* tengah */
  margin-right: auto; /* tengah */
}

.company-infos p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap; /* biar teks panjang tetap rapi */
}

.company-infos h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 1px solid #f39c12;
  padding-bottom: 10px;
}

.company-infos strong {
  color: #e67e22;
  min-width: 180px; /* tambahin sedikit supaya label rata */
  display: inline-block;
}
.company-infos span {
  color: #34495e;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.image-content img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.mission-statement {
  text-align: center;
  padding: 25px;
  background-color: #2c3e50;
  color: white;
  border-radius: 8px;
  margin-top: 40px;
}

.mission-statement p {
  font-size: 20px;
  font-style: italic;
  margin: 0;
  color: #ecf0f1;
}

/* Responsivitas */
@media (max-width: 992px) {
  .company-content {
    flex-direction: column;
  }

  .company-header {
    flex-direction: column;
    text-align: center;
  }

  .company-logo {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .company-info p {
    flex-direction: column;
  }

  .company-info strong {
    min-width: auto;
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .company-title h1 {
    font-size: 30px;
  }

  .company-title p {
    font-size: 16px;
  }

  .text-content p {
    font-size: 15px;
  }

  .about {
    padding: 40px 0;
    margin: 20px;
  }
}

/*====================================================== Stats ======================================================*/
.stats-section {
  position: relative;
  background: url("img/gallery/backgorund2.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Overlay hitam dengan transparansi */
  z-index: 1;
}

.stat {
  display: inline-block;
  margin: 0 50px;
  z-index: 2;
  position: relative;
}

.stat h1 {
  font-size: 50px;
  margin: 0;
}

.stat p {
  font-size: 20px;
  margin: 5px 0 0;
}

/*====================================================== GALLERY ======================================================*/
#gallery {
  max-width: 1224px;
  width: 90%;
  margin: auto;
  padding-bottom: 40px;
}

.content-gallery {
  text-align: center; /* Memusatkan teks */
  margin-bottom: 30px; /* Jarak bawah antara konten dan galeri */
}

.content-gallery h1 {
  margin-top: 70px;
  font-size: 40px;
}

.photo-gallery {
  display: flex;
  gap: 20px; /* Jarak antar kolom */
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Jarak antar foto dalam kolom */
  flex: 1; /* Memungkinkan kolom untuk tumbuh secara merata */
}

.photo {
  width: 100%;
  border-radius: 5px;
  overflow: hidden; /* Menghindari gambar keluar dari border radius */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Menambahkan bayangan pada foto */
}

.photo img {
  width: 100%;
  height: auto; /* Menjaga aspek rasio */
  display: block; /* Menghindari spasi di bawah gambar */
}

@media (max-width: 768px) {
  .photo-gallery {
    flex-direction: column; /* Mengubah menjadi kolom pada layar kecil */
  }
}

/* Card Kontent */
.container-card {
  max-width: 100%;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.accordion {
  width: 100%;
}

.card {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.card-header {
  background-color: #f39c12;
  color: white;
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.card-header:hover {
  background-color: #d35400;
}

.card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
  padding: 0 15px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.card-content.open {
  max-height: 500px; /* Set max-height sesuai dengan konten maksimum */
  padding: 15px;
}

.card-content p {
  margin: 0;
}

/*====================================================== produk ======================================================*/
#sambal {
  scroll-margin-top: -20px; /* biar tidak kepotong navbar */
}

.produk-sambal {
  padding: 100px 0;
  background: url("img/gallery/backgorund2.jpg") no-repeat center center fixed;
  background-size: cover;
  margin-top: 0;
  padding-top: 60px;
  position: relative;
  text-align: center;
}

.produk-sambal a {
  text-decoration: none;
}

.produk-sambal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Overlay hitam dengan transparansi */
  z-index: 1;
}

.produk-sambal h2 {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  margin-bottom: 10px;
  color: white;
  position: relative;
  z-index: 2; /* Supaya judul berada di atas overlay */
}

.produk-sambal p {
  text-align: left;
}

.produk-sambal .isi-sambal {
  text-align: center;
}

.container-sambal {
  display: flex;
  justify-content: center; /* Untuk memusatkan card */
  flex-wrap: wrap; /* Agar card bisa berpindah baris pada layar sempit */
  gap: 10px; /* Mengatur jarak antar card */
  position: relative;
  z-index: 2; /* Supaya card berada di atas overlay */
}

/* Styling untuk card sambal */
.card-sambal {
  flex: 0 0 30%;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 40px;
}

.card-sambal:hover {
  transform: scale(1.05);
}

.image-sambal {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Gambar akan menutupi seluruh area tanpa distorsi */
  object-position: center; /* Fokuskan pada bagian tengah gambar */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.image-sambals {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Gambar akan menutupi seluruh area tanpa distorsi */
  object-position: 50% 60%; /* Horizontal 50%, Vertikal 30% */

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
/* Konten dalam card sambal */
.card-content-sambal {
  padding: 15px;
}

.card-content-sambal h3 {
  font-size: 1.5rem;
  text-align: left;
  color: #000000;
  margin: 10px 0;
}

/* Footer card sambal untuk harga dan tombol WhatsApp */
.footer-sambal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price-sambal {
  font-weight: bold;
  font-size: 20px;
  color: #f26522;
}

.produk-sambal p {
  font-family: "Poppins", sans-serif; /* Menggunakan font yang sama dengan judul */
  font-size: 14px; /* Ukuran font paragraf */
  color: rgb(194, 193, 193); /* Warna teks agar sesuai dengan tema */
  line-height: 1.5; /* Tinggi baris untuk keterbacaan */
  max-width: 600px; /* Lebar maksimum paragraf */
  margin: 10px auto; /* Menyusun paragraf di tengah dengan jarak atas/bawah */
  margin-bottom: 80px;
  z-index: 2; /* Agar paragraf berada di atas overlay */
  position: relative; /* Membuat z-index berfungsi */
}

/* Tombol WhatsApp */
.whatsapp-sambal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 800px; /* Lebar tombol */
  height: 50px; /* Tinggi tombol */
  background-color: #25d366; /* Warna hijau WhatsApp */
  border-radius: 10px; /* Membuat tombol bulat */
  text-decoration: none;
  color: white; /* Warna ikon */
  margin-top: -60px;

  transition: background-color 0.3s ease;
}

.whatsapp-sambal i {
  margin-right: 10px;
}
.whatsapp-sambal:hover {
  background-color: #128c7e; /* Warna hijau lebih gelap saat di-hover */
}

.whatsapp-icon-sambal {
  font-size: 24px; /* Ukuran ikon lebih besar */
}

.isi-sambal {
  text-align: center;
}

/* Style untuk modal */
.modal {
  display: none; /* Awalnya tidak tampil */
  position: fixed;
  z-index: 1000; /* Di atas konten lain */
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Warna hitam semi transparan */
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%; /* Gambar akan memenuhi 80% layar */
  max-height: 80%;
}

.modal-content:hover {
  transform: scale(1.05); /* Efek zoom saat hover */
  transition: transform 0.3s ease;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Caption di bawah gambar */
#caption {
  text-align: center;
  color: #ccc;
  padding: 10px 20px;
  font-size: 20px;
}

@media (max-width: 800px) {
  .produk-sambal {
    padding: 30px 0; /* Menyesuaikan padding */
  }

  .produk-sambal h2 {
    font-size: 30px; /* Ukuran font judul lebih kecil untuk mobile */
  }

  .produk-sambal p {
    font-size: 14px; /* Ukuran font paragraf lebih kecil untuk mobile */
    max-width: 90%; /* Memperbesar lebar maksimum untuk mobile */
    margin: 10px auto; /* Menyusun paragraf di tengah */
  }

  .container-sambal {
    flex-direction: column; /* Mengubah tampilan card menjadi kolom pada mobile */
    align-items: center; /* Memusatkan card */
  }

  .card-sambal {
    flex: 0 0 100%; /* Card mengambil 100% lebar pada mobile */
    margin: 10px 0; /* Mengatur jarak antar card */
  }

  .image-sambal {
    height: 150px; /* Menyesuaikan tinggi gambar untuk mobile */
  }

  .footer-sambal {
    flex-direction: column; /* Mengatur footer menjadi kolom untuk mobile */
    align-items: center; /* Memusatkan isi footer */
  }

  .whatsapp-sambal {
    width: 100%; /* Tombol WhatsApp mengambil 100% lebar */
    margin-top: 10px; /* Menambahkan margin untuk jarak antar elemen */
  }
}

@media only screen and (max-width: 768px) {
  .modal-content {
    max-width: 100%; /* Pastikan gambar memenuhi lebar layar ponsel */
    max-height: 80vh; /* Batasi tinggi maksimal gambar */
  }

  .modal {
    padding-top: 20px; /* Kurangi padding atas di layar kecil */
  }

  .close {
    font-size: 30px; /* Ukuran ikon close lebih kecil */
    top: 10px;
    right: 20px;
  }

  #caption {
    font-size: 16px; /* Ukuran font caption lebih kecil */
    padding: 5px 10px;
  }
}

/*================================================= rempah-rempah ===================================================*/
#product {
  scroll-margin-top: -20px; /* biar tidak kepotong navbar */
}

.produk {
  background-color: #f1eeee;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 50px;
}

.produk h1 {
  font-size: 40px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: -10px;
  color: #000000;
}

.info-table td {
  color: #838080;
  font-size: 13px;
}

.produk p {
  color: #666;
  text-align: center;
  font-size: 14px;
}

.product-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.product-image {
  width: 45%;
}

.product-image img {
  width: 100%;
  height: 500px;
  border-radius: 5px;
}

.product-details {
  width: 48%;
  text-align: left;
}

.product-details h2 {
  color: #d35400;
  font-family: "Bad Script", sans-serif;
  font-size: 40px;
}

.product-details p {
  color: #666;
  text-align: left;
  font-size: 14px;
}

.product-details .info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.product-details .info-table th,
.product-details .info-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.product-details .info-table th {
  background-color: #d35400;
  color: white;
}

.product-section {
  min-width: 100%;
  transition: transform 0.5s ease;
}

/* Wrapper untuk memastikan tombol berada di posisi relatif */
.swiper-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: #f1f1f1; /* Contoh warna latar belakang */
  border-radius: 50%; /* Membuat bentuk bulat */
  width: 40px; /* Ukuran tombol */
  height: 40px; /* Ukuran tombol */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s; /* Efek transisi */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #d35400; /* Warna latar belakang saat hover */
  color: white; /* Warna ikon saat hover */
}

/* Pastikan gambar dan tabel terjaga layoutnya */
.product-image {
  flex: 1; /* Buat gambar mengisi space yang ada */
  margin-right: 20px; /* Jarak antara gambar dan tabel */
}

.product-details {
  flex: 1;
}

/* Menambah margin antara ikon dan teks */
.download-btn i {
  margin-right: 8px;
  font-size: 20px; /* Ukuran ikon sedikit lebih besar */
}

/* Hover effect */
.download-btn:hover {
  background-color: #4b4b4d; /* Ubah warna background saat di-hover */
  transform: scale(1.05); /* Sedikit memperbesar tombol saat di-hover */
}

/* Menambah bayangan tombol (opsional) */
.download-btn {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Efek bayangan di bawah tombol */
}

/*====================================================== BLOG ======================================================*/
#blog {
  scroll-margin-top: -20px; /* biar tidak kepotong navbar */
}

.blog-section {
  background-color: #f0eded;
  text-align: center;
  padding: 20px;
}

.blog-section a {
  text-decoration: none;
  cursor: pointer;
}

.blog-section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.blog-section p {
  color: #000000;
  margin-bottom: 20px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-cards {
  display: flex;
  overflow: hidden;
  width: 80%;
  justify-content: center;
}

.card-blog {
  flex: 0 0 30%;
  margin: 0 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 40px;
}

.card-blog img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-content-blog {
  padding: 15px;
}

.card-content-blog h3 {
  font-size: 1.1rem;
  color: #000000;
  margin: 10px 0;
}

.card-content-blog p {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.card-content-blog p i {
  margin-right: 5px;
  color: #ff6600; /* Warna ikon */
}

.card-content-blog p i.fa-calendar-alt {
  margin-right: 5px;
}

.card-content-blog p i.fa-file-alt {
  margin-left: 10px;
  margin-right: 5px;
}

.card-blog:hover {
  transform: scale(1.05);
}

.swiper-button-prev,
.swiper-button-next {
  color: #d35400;
}

.swiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide-blog {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swiper-slide-blog img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease; /* Transisi untuk efek halus */
}

.swiper-slide-blog:hover img {
  transform: scale(1.05); /* Memperbesar gambar sedikit (5%) */
}

/*====================================================== TEAM ======================================================*/
#team {
  scroll-margin-top: -20px; /* biar tidak kepotong navbar */
}

.team-section {
  background-color: #fff;
  padding: 50px 0;
  padding-bottom: 100px;
}

.team-section h1 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.team-section p {
  font-size: 15px;
  text-align: center;
  color: #8a8888;
  max-width: 1050px;
  margin: 0 auto;
  margin-bottom: 40px;
  margin-top: -30px;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-member {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
}

.team-member img {
  border-radius: 50%;
  width: auto;
  height: 200px;
  object-fit: cover;
  border: 3px solid #f39c12;
}

.team-member h3 {
  font-family: "Bad Script", sans-serif;
  font-size: 23px;
  margin: 10px 0 5px;
}

.team-member p {
  color: #888;
  font-size: 14px;
  margin: 0 0 10px;
}

.team-member .social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/*====================================================== Contact  ======================================================*/
.contact-container {
  display: flex;
  background-color: #f0eded;
  gap: 20px;
  justify-content: center; /* Memastikan card terpusat secara horizontal */
}

.contact-card {
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 350px;
  transition: all 0.3s ease;
  margin-top: 50px;
  margin-bottom: 50px;
}

.contact-card i {
  font-size: 40px;
  color: #e07a5f;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-family: "Bad Script", sans-serif;
  color: #000000;
  margin: 10px 0;
}

.contact-card p {
  color: #777;
  margin-top: -10px;
  font-size: 16px;
}

.contact-card:hover {
  background-color: #fff;
  border: none;
  box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.438);
  transform: translateX(-5px);
}

.icon.phone::before {
  content: "\260E"; /* Unicode for phone icon */
}

.icon.email::before {
  content: "\2709"; /* Unicode for email icon */
}

.icon.whatsapp::before {
  content: "\1F4F1"; /* Unicode for whatsapp icon */
}

/*====================================================== footer ======================================================*/
footer {
  background-color: #0d1b2a;
  color: #fff;
  padding: 50px 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  margin: 0 20px;
}

.footer-section h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.footer-section h5 {
  margin-bottom: 5px;
  font-weight: 500;
}

.footer-section h2 span {
  color: #f39c12;
}

.footer-section h3 {
  font-family: "Bad Script", sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-section p {
  margin-bottom: 10px;
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 300; /* Mengatur teks menjadi tipis */
  line-height: 1.6; /* Menambahkan jarak antar baris agar lebih mudah dibaca */
  color: #ffffffd4;
}

.company-info {
  max-width: 300px;
}

.social-media .social-iconsf a {
  color: #fff;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-section i {
  margin-right: 10px;
  color: #f39c12;
}

/* Penambahan untuk copyright */
.footer-copyright {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ffffff33;
  padding-top: 10px;
  font-size: 12px;
  color: #ffffff99;
  margin-bottom: -40px;
}

.footer-copyright a {
  color: #f39c12;
  text-decoration: none;
}

.footer-copyright a:hover {
  text-decoration: underline;
}
/* ================================================================================================================================== */
/* ================================================================ Responsiveness ================================================== */
/* ================================================================================================================================== */

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
  z-index: 5;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Menampilkan burger di layar kecil */
@media (max-width: 800px) {
  .burger {
    display: block; /* Tampilkan burger di mobile */
  }

  .nav-links {
    position: absolute;
    right: 0;
    height: 100vh;
    top: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links a {
    font-size: 24px;
    margin: 10px 0; /* Mengatur margin untuk merapikan tampilan */
    color: white;
    text-decoration: none;
  }

  .nav-links .logo {
    margin: 20px 0; /* Menambahkan jarak pada logo */
    color: white; /* Warna teks logo */
    font-size: 24px; /* Sesuaikan ukuran font logo */
  }

  .nav-links.active {
    transform: translateX(
      0%
    ); /* Tampilkan nav links saat hamburger diaktifkan */
  }

  /* Animasi burger menu (X ketika aktif) */
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.toggle .line2 {
    opacity: 0;
  }

  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .social-icons {
    font-size: 40px;
    z-index: -1;
  }

  .content h1 {
    font-size: 50px;
    width: 300px;
  }

  .content p {
    font-size: 12px;
    padding: 0 20px;
    width: 350px;
  }
}

/* Responsive about */
@media only screen and (max-width: 800px) {
  .container {
    flex-direction: column-reverse; /* Gambar akan muncul di atas teks */
    padding: 20px 10px;
  }

  .text-content {
    padding: 10px 0;
  }

  .text-content h1 {
    font-size: 28px;
    text-align: center;
  }

  .text-content p {
    font-size: 14px;
    text-align: justify;
    display: hidden;
  }

  .image-content {
    flex-direction: row; /* Menjadikan gambar sejajar secara horizontal */
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden; /* Mencegah elemen meluber */
  }

  .image-content img {
    margin: 2; /* Hilangkan margin agar gambar bersebelahan */
    width: 50vw; /* Atur lebar gambar menjadi setengah dari viewport */
    height: 200px; /* Tinggi gambar tetap agar seragam */
    object-fit: cover; /* Gambar akan tetap dalam proporsi meski terpotong */
  }
}

/* ====================================================responive produk ==========================================*/
@media only screen and (max-width: 800px) {
  .product-section {
    flex-direction: column; /* Stack content vertically */
    text-align: center;
  }

  .product-image img {
    width: 100%; /* Gambar akan mengisi 100% lebar container */
    max-width: 150px; /* Batasi ukuran gambar agar tidak terlalu besar */
    height: 150px; /* Buat gambar berbentuk persegi */
    object-fit: cover; /* Gambar akan terpotong tapi tetap proporsional */
    border-radius: 10px; /* Tambahkan radius untuk efek sudut melengkung */
    margin-bottom: 20px; /* Pisahkan gambar dari teks atau elemen lain di bawahnya */
  }

  .product-details {
    width: 70%;
    text-align: center; /* Center text for smaller screens */
  }

  .product-details h2 {
    font-size: 25px; /* Reduce heading size */
  }

  .product-details p {
    font-size: 13px; /* Slightly reduce paragraph font size */
  }

  .product-details .info-table th,
  .product-details .info-table td {
    font-size: 12px; /* Adjust table text size for mobile */
  }

  .download-btn {
    margin-bottom: 200px;
  }

  /* ====================================================responive team ==========================================*/

  .contact-container {
    display: flex;
    flex-direction: column; /* Mengubah layout ke vertikal */
    justify-content: center; /* Memastikan card-card terpusat secara vertikal */
    align-items: center; /* Memastikan card-card terpusat secara horizontal */
    gap: 10px; /* Mengurangi jarak antar card */
    height: 100vh; /* Menjaga tinggi container agar selalu penuh layar */
  }

  .contact-card {
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 350px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
  }

  .contact-card i {
    font-size: 40px;
    color: #e07a5f;
  }

  .contact-card h3 {
    font-size: 1.2rem;
    font-family: "Bad Script", sans-serif;
    color: #000000;
    margin: 10px 0;
  }

  .contact-card p {
    color: #777;
    margin-top: -10px;
    font-size: 16px;
  }

  .contact-card:hover {
    background-color: #fff;
    border: none;
  }

  .contact-card {
    width: 90%; /* Memastikan card tidak terlalu besar di layar kecil */
    padding: 15px; /* Mengurangi padding agar lebih ringkas */
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .contact-card i {
    font-size: 30px; /* Mengecilkan ikon agar sesuai dengan ukuran layar */
  }

  .contact-card h3 {
    font-size: 1rem; /* Mengecilkan ukuran teks judul */
  }

  .contact-card p {
    font-size: 14px; /* Mengecilkan ukuran teks paragraf */
  }
}

/* ====================================================responive team ==========================================*/
@media only screen and (max-width: 800px) {
  .team-section {
    background-color: #fff;
    padding: 50px 0;
  }

  .team-section h1 {
    font-size: 40px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
  }

  .team-section p {
    font-size: 14px;
    padding: 20px;
    text-align: justify;
    color: #8a8888;
    max-width: 1050px;
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: -50px;
  }

  .team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Agar elemen berpindah baris di layar kecil */
    padding: 10px;
  }

  .team-member {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%; /* Default 100% agar di mobile full-width */
    max-width: 300px; /* Batasi lebar maksimal */
    text-align: center;
    margin-bottom: 20px;
  }

  .team-member img {
    border-radius: 50%;
    width: auto;
    height: 150px; /* Kurangi tinggi agar lebih seimbang di layar kecil */
    object-fit: cover;
    border: 3px solid #f39c12;
  }

  .team-member h3 {
    font-family: "Bad Script", sans-serif;
    font-size: 20px;
    margin: 10px 0 5px;
  }

  .team-member p {
    color: #888;
    text-align: center;
    font-size: 14px;
    margin: 0 0 2px;
  }

  .team-member .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
}

/* ====================================================sambal ==========================================*/

/* ====================================================responive footer ==========================================*/
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .social-media .social-iconsf a {
    font-size: 20px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 10px;
  }

  .footer-section h3 {
    font-size: 18px;
  }

  .social-media .social-iconsf a {
    font-size: 18px;
    margin-right: 8px;
  }
}
