/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: rgb(0, 6, 24);
  color: #333;
}

/*---------------------- Footer Atas ----------------------------*/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 6, 24, 0.400); /* transparan footer */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  backdrop-filter: blur(6px); /* efek blur lembut */
  z-index: 1000;
  color: #ffffff;
}


.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffffff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffd700;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
}

/* Konten */
.content {
  margin-top: 100px;
  text-align: center;
  padding: 60px 20px;
}


.footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.9rem;
  margin-top: 60px; /* memberi jarak dari konten atas */
}


/* Responsif */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 71px;
    right: 0;
    align-items: center;
    background: rgba(0, 6, 24, 0.400); /* Warna Hamburger */
    width: 200px;
    text-align: right;
    text-emphasis-position: center;
    padding: 20px;
    border-radius: 10px 0 0 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
/*---------------------- Footer Atas ----------------------------*/

/*---------------------- Banner Produk ----------------------*/
.banner-produk {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 55px;
}

.banner-slide {
  display: none;
  width: 100%;
}

.banner-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.banner-slide img {
  width: 100%;
  height: auto;
  object-fit: cover; /* gambar isi penuh secara proporsional */
  display: block;
}

/* 🔹 Transisi lembut antar gambar */
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* 🔹 Responsif tambahan */
@media (max-width: 768px) {
  .banner-slide img {
    height: auto; /* biar tidak terlalu tinggi di HP/tablet */
    margin-top: 14px;
  }
}

/*---------------------- Banner Produk ----------------------*/

/*---------------------- Foto Produk ----------------------*/
/* 🔹 Filter Container Modern */
.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0 auto 35px auto;
  max-width: 1100px;
  padding: 0 20px;
}

/* Urutkan */
.sort-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.sort-container label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.sort-container select {
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  font-weight: 500;
  color: #555;
}

/* Pencarian */
.search-container {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 240px;
  transition: all 0.3s ease;
}

.search-container i {
  color: #999;
  margin-right: 8px;
  font-size: 16px;
}

.search-container input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: #333;
}

.search-container:hover,
.sort-container:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* 🔸 Responsif untuk HP */
@media (max-width: 768px) {
  .filter-container {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
  }

  .sort-container {
    flex: 1;
    justify-content: center;
  }

  .search-container {
    flex: 1;
    width: auto;
  }

  .search-container input {
    font-size: 13px;
  }
}


/*Buat tampilan prodaknya*/
.produk-gallery {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.produk-gallery h2 {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 30px;
}

/* Grid Layout */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  justify-items: center;
}

/* Kartu Produk */
.produk-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.produk-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  transition: transform 0.3s ease;
}

.produk-info {
  padding: 10px;
  border-top: 1px solid #eee;
}

.produk-info h3 {
  font-size: 15px;
  margin-bottom: 5px;
  color: #333;
}

.produk-info p {
  font-weight: bold;
  color: #ffb400;
}

/* Hover efek */
.produk-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.produk-item:hover img {
  transform: scale(1.05);
}

/* Responsif: HP = 2 kolom, Laptop = 6 kolom */
@media (max-width: 600px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .produk-item img {
    height: 120px;
  }
}

@media (min-width: 1024px) {
  .gallery-container {
    grid-template-columns: repeat(6, 1fr);
  }
}

/*---------------------- Foto Produk ----------------------*/





/*---------------------- Footer Bawah ----------------------------*/
footer {
  background: rgb(0, 6, 24);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.footer-info,
.footer-contact {
  flex: 1 1 45%;
  margin-bottom: 20px;
}

.footer-info h3 {
  color: #FFD43B;
  margin: 8px 0;
}

.footer-contact h3 {
  color: #FFD43B;
  margin: 8px 0;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.footer-contact i {
  font-size: 18px;
  min-width: 20px;
}

.footer-contact a {
  color: #FFD43B;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
  }
}
/*---------------------- Footer Bawah ----------------------------*/

/*---------------------- Gelembung WhatsApp  ----------------------*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}
/*---------------------- Gelembung WhatsApp  ----------------------*/