* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f1f1f1;
}

.container {
  width: 80%;
  margin-inline: auto;
}

@media (max-width: 992px) {
  .container {
    width: 90%;
  }
}

/* Navbar */
.navbar {
  padding: 20px 0 20px 0;
}

.navbar-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-box .menu {
  display: flex;
  gap: 40px;
}

.navbar-box .menu li {
  list-style-type: none;
}

.navbar-box .menu li a {
  text-decoration: none;
  color: black;
  font-size: 18px;
}

.navbar-box .menu li a:hover {
  border-bottom: 3px solid #c20f2f;
}

.navbar-box .ri-menu-3-line {
  display: none;
}

@media (max-width: 768px) {
  .navbar-box .ri-menu-3-line {
    display: block;
    color: #c20f2f;
    font-weight: bold;
  }

  .navbar-box .menu {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    text-align: center;
    background-color: #c20f2f;
    width: 100%;
    padding: 40px 0 40px 0;
    transition: all 0.2s ease-in-out;
    opacity: 0;
  }

  .navbar-box .menu.menu-active {
    top: 100px;
    opacity: 1;
  }

  .navbar-box .menu li a {
    color: white;
    font-size: 20px;
    text-decoration: underline;
  }
}
/* Navbar */

/* Hero */
.hero {
  padding-top: 60px;
}

.hero-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  
}

.hero-box h1 {
  font-size: 54px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #c20f2f;

}

.hero-box p {
  line-height: 2;
  margin-bottom: 30px;
}

.hero-box a {
  text-decoration: none;
  background-color: #c20f2f;
  color: white;
  padding: 10px 20px 10px 20px;
  border-radius: 5px;
}

.hero-box img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: contain;
  margin-top: -100px; /* Tambahan ini bikin gambar agak naik */
}

@media (max-width: 768px) {
  .hero-box {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 70px;
  }
}
/* Hero */

/* Layanan */
.layanan {
  padding-top: 150px;
  padding-bottom: 150px;
}

.layanan h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000; /* bisa disesuaikan */
  text-align: center;
  margin-bottom: 2rem;
}


.layanan-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.layanan-box .box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease; /* Menambahkan transisi halus untuk background */
}

.layanan-box .box:hover {
  background-color: #c20f2f;
}

.layanan-box .box:hover > * {
  color: white;
}


.layanan-box .box img {
  transition: filter 0.3s ease; /* Menambahkan transisi halus untuk efek gambar */
  /* color: #c20f2f; */
}


.layanan-box .box:hover img {
  filter: brightness(0) invert(1); /* Mengubah gambar menjadi putih saat hover */
}

.layanan-box .box i {
  color: #c20f2f;
}

.layanan-box .box:hover i {
  color: white; /* Mengubah warna icon menjadi putih saat hover */
}

.layanan-box .box h2 {
  margin-top: 20px;
  margin-bottom: 5px;
}

@media (max-width: 992px) {
  .layanan-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .layanan-box {
    grid-template-columns: 1fr;
  }
}
/* Layanan */

/* Produk */
.produk {
  padding-bottom: 150px;
}

.produk-box h1 {
  text-align: center;
  margin-bottom: 30px;
}

.produk-box ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.produk-box ul li {
  list-style-type: none;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.produk-box ul li.active {
  background-color: #c20f2f;
  color: white;
}

.produk-box .produk-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.produk-box .produk-list img {
  width: 250px;
  height: 200px;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.produk-box .produk-list img:hover {
  transform: scale(1.05);
  background-color: #c20f2f;
}

@media (max-width: 640px) {
  .produk-box .produk-list img {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 475px) {
  .produk-box .produk-list img {
    width: 150px;
    height: 100px;
  }
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 10px #fff;
  border-radius: 8px;
  cursor: zoom-out;
}


/* Produk */

/* whatsapp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}
.wa-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* whatsapp */

/* Footer */
.footer {
  background-color: #1e1b35; /* warna gelap seperti di screenshot */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-title a {
  color: #f0f0f0;
  text-decoration: underline;
  word-break: break-word;
}

.footer-copy {
  font-size: 14px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer-title {
    font-size: 14px;
  }

  .footer-copy {
    font-size: 12px;
  }
}

/* Footer */
