img {
  max-width: 100%;
  display: block;
}

html{
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0f0f0f;
  color: white;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column; /* ⬅️ ini kunci utama */
  justify-content: center;
  align-items: center;
  text-align: center;

  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 60%, #0f0f0f 100%),
    url(foto/hero.png);

  background-size: cover;
  background-position: center;

}
.hero h1 {
  font-size: 100px;
  margin: 100px;
  color: #ffffff;
  margin-top: 70px;
  margin-bottom: 30px;
  text-shadow: 5px 1px 0px rgba(0,0,0,0.50);
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.hero p {
  font-size: 35px;
  color: #ffffff;
  letter-spacing: 8px;
}
.container h2 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hero button {
  margin-right: 20px;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  background: #f09433; 
  background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  font-family: cursive;
}
.hero button:hover {
  transform: scale(1.1);
}

/* See More */
.see-more{
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.see-more button{
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;

  background: transparent;
  color: #0f0f0f;

  border: 2px solid #ff7a00;

  transition: 0.3s;
}

/* Hover efek */
.see-more button:hover{
  background: #ff7a00;
  color: white;
  transform: scale(1.05);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}
nav a {
  color: white;
  text-decoration: none;
}

/* PRODUK */
.container {
  padding: 20px 20px;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}
.card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}
.price {
  color: #ff7a00;
}

/* Produk Lain */
.container1 {
  padding: 20px 20px;
}
.products1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* lebih kecil */
  gap: 15px;
}

.price {
  color: #ff7a00;
}

/* TESTI */
.testi {
  background: #111;
  padding: 50px 20px;
  text-align: center;
}

/* CTA FLOAT */
.wa-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

/* Hide the images by default */
.mySlides img {
  width: 100%;
  height: 700px;
}

/* Next & previous buttons */
.prev, .next {
  all: unset; /* hapus semua style bawaan <a> */
  cursor: pointer;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 45px;
  height: 45px;
  border-radius: 50%;

  background: rgba(0,0,0,0.5);
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;
}

.Review{
  margin-bottom: 30px;
}

a{
  margin-top: 10px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  
}

.card .katalog {
  background-color: #e3d8c1;
}

.card .menu{
  background-color: #e3d8c1;
}

.prev {
  left: 10px; /* kasih jarak dari kiri */
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #0f0f0f;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 30px 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

/* Footer */
/* FOOTER */
.footer {
  background: #ffffff;
  color: #333;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom */
  gap: 40px;
  padding: 40px 60px;
}

/* KOLOM */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* LOGO */
.logo {
  width: 150px;
  margin-bottom: 80px;
}

.logo-halal {
  width: 100px;
  margin-bottom: 20px;
}

.social {
  display: flex;
  flex-direction: column;
}

.social-item {
  display: flex;
  align-items: center; /* ini kunci biar center vertikal */
  gap: 12px;
  text-decoration: none;
  color: #333;
  margin-bottom: 15px;
}

.social-item span {
  position: relative;
  top: -25px; /* naik sedikit biar pas tengah */
  left: -20px;
  font-size: 16px;
}

.social-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* LINKS */
/* .footer-links {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
} */

/* .footer-links a {
  display: block;
  text-decoration: none;
  color: #555;
  margin-bottom: 8px;
  font-size: 14px;
} */

/* .footer-links a:hover {
  color: #000;
} */

/* SOCIAL */
.social img {
  width: 35px;
  margin-top: -30px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* MAP */
.map iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  border: none;
}

/* BOTTOM */
.footer-bottom {
  background: #e3d8c1;
  padding: 15px 60px;
  text-align: left;
}

.kritik{
  margin-top: 10px;
  margin-bottom: 30px;
}

/* ========================= */
/* RESPONSIVE MOBILE VERSION */
/* ========================= */

@media (max-width: 768px) {

  /* NAVBAR */
  nav {
    gap: 10px;
    padding: 12px 10px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 14px;
  }

  /* HERO */
  .hero {
    padding: 20px;
    height: 100vh;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 15px;
  }

  .hero button {
    margin-right: 0;
    margin-top: 15px;
    width: 100%;
    max-width: 250px;
    padding: 14px;
  }

  /* CONTAINER */
  .container,
  .container1 {
    padding: 20px 15px;
  }

  /* CARD */
  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* PRODUK GRID */
  .products,
  .products1 {
    grid-template-columns: 1fr;
  }

  /* SLIDESHOW */
  .slideshow-container {
    height: auto;
  }

  .mySlides img {
    height: auto;
    border-radius: 10px;
  }

  /* BUTTON PREV NEXT */
  .prev,
  .next {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  /* DOT */
  .dot {
    width: 12px;
    height: 12px;
    margin: 20px 4px;
  }

  /* FOOTER */
  .footer-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 30px;
  }

  .footer-col {
    text-align: center;
    align-items: center;
  }

  .logo {
    width: 150px;
    margin-bottom: 20px;
  }

  .logo-halal {
    width: 80px;
  }

  .social img {
    width: 30px;
    
  }

  .footer-bottom {
    text-align: center;
    padding: 55px;
  }

  /* MAP */
  .map iframe {
    height: 180px;
  }

  /* WHATSAPP BUTTON */
  .wa-btn {
    bottom: 15px;
    right: 15px;
    padding: 12px;
  }

  .wa-btn i {
    font-size: 24px !important;
  }

  /* FIX OVERFLOW */
  body {
    overflow-x: hidden;
  }

}
