* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: linear-gradient(#fff, #4b0b0b);
}

/* ===== NAVBAR (MENU UTAMA) ===== */
.navbar,
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #FCF1DB;
  color: #690108;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===== HEADER INNER ===== */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  font-weight: 600;
  font-size: 18px;
  color: #5a0c0c;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: #5a0c0c;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  padding-bottom: 4px;
}

/* Hover Effect */
.nav-links a:hover {
  color: #5a0c0c;
}

/* Garis bawah efek hover */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #5a0c0c;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== HALAMAN AKTIF ===== */
.nav-links a.active {
  font-weight: 700;
  color: #5a0c0c;
}

/* Garis bawah untuk link aktif (lebih kuat dari hover) */
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #5a0c0c; /* Warna putih */
}
.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto; /* ⬅️ dorong menu ke kanan */
  gap: 20px;
}
/* ===== HAMBURGER MENU (MOBILE) ===== */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
.menu-icon {
  display: none;       /* hamburger hilang di desktop */
  cursor: pointer;
  font-size: 28px;
  user-select: none;

}

/* MENU SECTION */
.menu {
  text-align: center;
  background: linear-gradient(#690108, #FCF1DB);
  color: #FCF1DB;
  padding: 50px 20px;
}

.menu h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 40px;
  color: #FCF1DB;
}

.menu-categories {
  margin: 20px 0;
}

.menu-categories button {
  background: #690108;
  color: #FCF1DB;
  border: none;
  margin: 5px;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
}

.menu-categories button.active {
  background: #FCF1DB;
  color: #690108;
}

/* DESKRIPSI DINAMIS */
.menu-description {
  background: #FCF1DB;
  color: #690108;
  display: inline-block;     /* tetap mengikuti panjang teks */
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  max-width: 700px;          /* batasi lebar agar tidak terlalu panjang */
  line-height: 1.5;
  word-wrap: break-word;     /* teks panjang tetap turun */
}

/* ANIMASI */
.fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade.show {
  opacity: 1;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 25px;
  margin-top: 30px;
  padding: 10px;
}

.product-card {
    background: #FCF1DB;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    text-align: center;

    /* Hapus width dan margin auto */
    width: 100%; 
    margin: 0; 
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.product-info {
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #000;
}



.view-more {
  background: #fff;
  color: #690108;
  border: none;
  margin-top: 20px;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
}

/* FOOTER */
 footer {
  background: linear-gradient(to bottom, #6d1a1d, #4d2226);
  color: #fff;
  padding: 60px 10%;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-content div {
  flex: 1;
  min-width: 250px;
}

.footer-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffdada;
}

.footer-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 5px 0;
}

/* ===== Ikon Sosial Media ===== */
.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: #6d1a1d;
  font-size: 22px;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Hover efek */
.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

/* Warna khusus masing-masing ikon */
.social-icons .whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.social-icons .instagram:hover {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color: #fff;
}

.footer-bottom {
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: #f5f5f5;
}


.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 0px #4d2226;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 150px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  footer {
    padding: 50px 5%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    margin-top: 15px;
  }
   .menu-icon {
    display: block;
    font-size: 32px;
    cursor: pointer;
    z-index: 2000;
    display: block;
  }
  /* Sembunyikan menu awalnya */
  .nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    background:#FCF1DB;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    border-radius: 12px;
    display: none;  /* hidden default */
  }

  .nav-links a {
    padding: 10px 0;
    color: #5a0c0c;
    text-align: right;
  }
}
