body {
    font-family: 'Montserrat', sans-serif;
    background-color: #676666;
    font-weight: 500;
      padding-top: 70px; /* sesuaikan dengan tinggi navbar */

  overflow-x: hidden;


}

h1 {
    color: #ffffff;
}

.jenis1 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-weight: 500;
    font-size: 25px;
    padding-top:20px;
}

.logo img {
    height: 40px;       
    width: auto;        
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  padding-top: 12px;
  padding-left: 20px;
  padding-right: 40px;
  background: #484747;

  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.dropdown {
  position: relative;
}

.logo-img {
  height: 40px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

/* dropdown dasar */
.dropdown-content {
  display: none;
  position: absolute;
  
  background: #fff;
       /* jarak dari kanan */


}

.dropdown-content a {
  color: #484747;
  padding: 10px 14px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #111;
}

/* desktop hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* mobile click */
@media (max-width: 768px) {
  .dropdown-content {
    display: none;
    background: #484747;
  }

  .dropdown-content a{
    color:#f3f4f6;

  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown > a {
    cursor: pointer;
  }
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
}


/* SLIDESHOW */
.slider {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 1;

}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

/* Tombol kiri kanan */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.slide-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .slider {
        height: 250px;
    }
}

/* Hamburger (hidden di desktop) */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 9999;
  color: #fff;
}

.footer .logo-img {
    height: 45px;   /* footer boleh lebih besar */
    width: auto;
    margin-left: -20px;
    margin-top: -5px;
    margin-bottom: 15px;
}


/* FOOTER */
.footer {
    background-color: #484747;
    color: #ffffff;
    width: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;

}

/* Container isi footer */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 30px;
}

/* Box per kolom */
.footer-box {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-box h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
}

/* Menu footer */
.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
}

.footer-menu a:hover {
    color: #f1c40f;
}

/* Google Maps */
.footer-box iframe {
    width: 100%;
    height: 180px;
    border: none;
}

/* Copyright */
.footer-bottom {
    background-color: #676666;
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
}


/* =====================
   RESPONSIVE (MOBILE)
   ===================== */
@media (max-width: 768px) {

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #484747;
    position: static;        /* INI KUNCI */
  }

  .menu.active {
    display: flex;
  }

 .menu li > a,
  .menu li > .dropbtn {
    padding-left: 20px !important;
    padding-right: 20px;
    margin-left: 0;
    text-indent: 0;
    text-align: left;
  }

  /* tombol Produk */
  .dropbtn {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    text-align: left;
    padding: 15px 20px;
    cursor: pointer;
  }

  /* dropdown isi */
  .dropdown-content {
     display: none;
  position: absolute;
  top: 100%;

  right: 0;      /* GANTI dari left:0 */
  left: auto;    /* tambahkan ini */


  min-width: 230px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  z-index: 9999;      /* INI KUNCI */
    background: #676666;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 10px 35px;
    color: #e5e5e5;
    display: block;
  }
}


/* Konten */
main {
    padding: 20px;
}

@media (max-width: 768px) {

  /* navbar tetap satu bar */
  .navbar {
    flex-wrap: wrap;
  }

  /* logo tetap di bar atas */
  .logo {
    flex: 1;
  }

  /* hamburger di kanan */
  .hamburger {
    display: block;
    position: static;
  }

  /* menu turun ke baris baru */
  .menu {
    width: 100%;
    order: 2;
    margin-top: 10px;
  }

}
.divider {
    border: none;
    height: 2px;
    background-color: #ccc;
    margin: 20px 0;
}

.jenis{
  padding-left: 10px;
}

.fotoproduk {
    display: flex;
    flex-wrap: wrap;         /* turun otomatis */
    gap: 25px;
    justify-content: flex-start;
}
.item1,
.item2 {
    width: 220px;            /* ukuran kotak produk sama */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;

}


.item3 {
    width: 395px;            /* ukuran kotak produk sama */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;

}
.item1 img,
.item2 img,
.item3 img {
    width: 100%;
    height: auto;      /* samakan tinggi semua */
    object-fit: cover;  /* isi box & crop otomatis */
    display: block;
}


.item .foto-group {
    display: flex;
    gap: 0px;

}

.item1 .desc,
.item2 .desc, .item3 .desc {
    margin-top: 12px;
    color: #fff;
    font-size: 18px;
    text-align: left;
    width: 100%;
     /* kiri kanan atas bawah */
}
.desc1{
    margin-top: 12px;
    color: #fff;
    font-size: 18px;
    text-align: left;
    width: 100%;
    padding-left: 10px
    ;
}
/* =========================
   MICROS GALERI (LEBIH BESAR)
   ========================= */

.micros-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.micros-gallery .item2 {
    width: 340px;              /* LEBIH BESAR dari sebelumnya */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* dua foto sejajar */
.micros-gallery .foto-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.micros-gallery .foto-group img {
    width: 50%;               /* 2 foto sama besar */
    height: auto;
}

/* deskripsi */
.micros-gallery .desc {
    margin-top: 12px;
    color: #fff;
    font-size: 18px;
    text-align: left;
    width: 100%;
    padding-left: 10px;
}


@media (max-width: 768px) {
    .item1,
    .item2 {
        width: calc(50% - 15px); /* 2 kolom di HP */
    }


}
    /* foto-group tetap sejajar */
    .foto-group {
        flex-direction: row;
    }

    .foto-group img {
        flex: 1;
        width:20%;
    }

/* link pembungkus gambar */
.micros-hover a{
    display: inline-block;
}

/* gambar produk */
.produk-img{
    width: 100%;
    height: auto;
    display: block;          /* hilangkan space bawah */
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

/* hover border kuning */
.micros-hover:hover .produk-img{
    border: 2px solid yellow;
}

/* LIGHTBOX */
.lightbox{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.lightbox-img{
    max-width:90%;
    max-height:90%;
}

.close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:white;
    cursor:pointer;
}
.detail-btn{
    margin-top: 12px;
    display: inline-block;
    padding: 8px 14px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
    border-radius: 10px;

    align-self: flex-start;   /* KUNCI */
    margin-left: 0px;        /* samakan dengan padding foto */
}


.detail-btn:hover{
    background: #ffcc00;
}
.whatsapp-float{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 999;
}

.whatsapp-float img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.whatsapp-float img:hover{
    transform: scale(1.1);
}

