/* Umum */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
}

h1, h2 {
  color: #c2185b; /* Pink elegan */
  margin-bottom: 10px;
  text-align: center;

}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #c2185b;
}

/* --- SLIDER CONTAINER --- */
.slider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 600px;
  overflow: hidden;
  border-radius: 20px;
  margin: 30px auto;
  border: 3px solid gold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: #000;
}

/* --- SLIDES --- */
.slides {
  display: flex;
  width: calc(100% * 9); /* 8 gambar */
  animation: slide 32s infinite ease-in-out;
  transition: transform 1s ease-in-out;
}

/* Pause on hover */
.slider:hover .slides {
  animation-play-state: paused;
}

/* --- GAMBAR --- */
.slides img {
  width: 100%;
  height: 400px;
  object-fit: contain; /* ubah ke contain jika ingin tanpa potong */
  object-position: center;
  border-radius: 20px;
  flex-shrink: 0;
}
.slides img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* menjaga rasio */
  object-fit: contain; /* tanpa potong */
  object-position: center;
}


/* --- BUTTON --- */
.slider-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.slider-btn a {
  background: #c2185b;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.slider-btn a:hover {
  background: gold;
  color: #c2185b;
}

/* --- ANIMASI SLIDE HALUS --- */
@keyframes slide {
  0%   { transform: translateX(0%); }
  12.5% { transform: translateX(-100%); }
  25%  { transform: translateX(-200%); }
  37.5% { transform: translateX(-300%); }
  50%  { transform: translateX(-400%); }
  62.5% { transform: translateX(-500%); }
  75%  { transform: translateX(-600%); }
  87.5% { transform: translateX(-700%); }
  100% { transform: translateX(-0%); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .slider {
    max-width: 95%;
    border-radius: 15px;
  }

  .slides img {
    height: 250px; /* lebih pendek di tablet */
    object-fit: cover;
  }

  .slider-btn a {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .slider {
    max-width: 100%;
    border-radius: 10px;
  }

  .slides img {
    height: 200px; /* ukuran pas untuk HP */
  }

  .slider-btn {
    bottom: 10px;
  }

  .slider-btn a {
    font-size: 13px;
    padding: 8px 16px;
  }
}



/* Tentang Kami */
.about {
  padding: 40px 20px;
  text-align: center;
  background: #fffafc;
}

/* Kontak */
.contact {
  padding: 40px 20px;
  background: #fff0f5;
}

.contact .map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

/* Metode Pembayaran */
.payment {
  text-align: center;
  padding: 30px;
}

.payment img {
  height: 40px;
  margin-top: 10px;
}

/* Tombol WA horizontal */
.wa-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #25d366;
  text-align: center;
  padding: 12px 0;
}

.wa-bar a {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

/* Footer */
footer {
  background: #c2185b;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
}

/* Mobile Friendly */
@media (max-width: 768px) {
  nav td {
    padding: 5px 8px;
  }
  .slides img {
    height: auto;
  }
}
/* Filter Buttons */
.filter-btns {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btns button {
  background: white;
  border: 2px solid #c2185b;
  color: #c2185b;
  padding: 8px 18px;
  margin: 5px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btns button:hover,
.filter-btns button.active {
  background: #c2185b;
  color: white;
}

/* Section Reviewer */
.reviewer {
  padding: 60px 20px;
  background: #fff0f6; /* pink soft background */
  text-align: center;
}

.reviewer h2 {
  font-size: 2rem;
  color: #c2185b;
  margin-bottom: 40px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: white;
  border: 2px solid gold;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card p {
  font-style: italic;
  color: #444;
  margin-bottom: 15px;
}

.review-card h4 {
  color: #c2185b;
  font-weight: 600;
}
.review-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid gold;
  margin-bottom: 15px;
}
/* Avatar default reviewer */
.avatar {
  width: 80px;
  height: 80px;
  background: #ffe4ec; /* pink soft */
  border: 3px solid gold;
  border-radius: 50%;
  margin: 0 auto 15px;
  position: relative;
}

/* Ikon orang sederhana (lingkaran kepala + badan) */
.avatar::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  width: 25px;
  height: 25px;
  background: #c2185b;
  border-radius: 50%;
  transform: translateX(-50%);
}

.avatar::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 40px;
  height: 25px;
  background: #c2185b;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}
/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.faq h2 {
  font-size: 2rem;
  color: #c2185b;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 2px solid gold;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: #ffe4ec;
  color: #c2185b;
  font-weight: 600;
  padding: 15px 20px;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-size: 1rem;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: white;
  color: #444;
  font-size: 0.95rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.show {
  max-height: 300px; /* cukup untuk teks */
  padding: 15px 20px;
}
/* Responsive FAQ */
@media (max-width: 600px) {
  .faq-question {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .faq-answer.show {
    padding: 12px 15px;
  }
}
/* Blog Section */
.blog {
  padding: 60px 20px;
  background: #fff0f6; /* soft pink */
  text-align: center;
}

.blog h2 {
  font-size: 2rem;
  color: #c2185b;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-card {
  background: rgb(228, 223, 223);
  border: 2px solid gold;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 70%;
  object-fit:cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  color: #c2185b;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-content p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.blog-btn {
  display: inline-block;
  background: #c2185b;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
}

.blog-btn:hover {
  background: gold;
  color: #c2185b;
}
/* Responsive Blog */
@media (max-width: 600px) {
  .blog-card img {
    height: 150px;
  }

  .blog-content h3 {
    font-size: 1rem;
  }

  .blog-content p {
    font-size: 0.9rem;
  }
}
/* Tombol kembali */
.back-home {
  text-align: center;
  margin-bottom: 30px;
}

.back-home a {
  display: inline-block;
  background: #c2185b;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.back-home a:hover {
  background: gold;
  color: #c2185b;
}
/* Responsive Back Home */
@media (max-width: 600px) { 
  .back-home a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}
/* Header */
/* === HEADER === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #fff0f5;
  border-bottom: 2px solid gold;
  position: relative;
  z-index: 1000;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #c2185b;
}

.logo img {
  height: 55px;
  margin-right: 10px;
  border-radius: 10px;
}

.logo h1 {
  font-size: 1.3rem;
  margin: 0;
}

.logo span {
  color: gold;
  font-weight: 600;
}

/* === NAVIGATION === */
.navbar table {
  border-collapse: collapse;
}

.navbar td {
  padding: 10px 15px;
  border: 1px solid gold;
  border-radius: 8px;
  background: white;
}

.navbar a {
  text-decoration: none;
  color: #c2185b;
  font-weight: 600;
  font-size: 0.95rem;
}

.navbar a:hover {
  color: gold;
}

/* === HAMBURGER BUTTON === */
.hamburger {
  display: none;
  font-size: 30px;
  color: #c2185b;
  cursor: pointer;
  user-select: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    display: none;
    position: absolute;
    top: 75px;
    right: 20px;
    background: white;
    border: 2px solid gold;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 10px;
  }

  .navbar.active {
    display: block;
  }

  .navbar table tr {
    display: flex;
    flex-direction: column;
  }

  .navbar td {
    padding: 10px 0;
    border: none;
    background: none;
  }

  .navbar a {
    display: block;
    color: #c2185b;
    font-size: 1rem;
    padding: 8px 0;
  }

  .navbar a:hover {
    color: gold;
  }
}

/* Produk Grid */
.produk-page {
  padding: 40px 20px;
  text-align: center;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.produk-card {
  background: #fff;
  border: 2px solid gold;
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.produk-card:hover {
  transform: translateY(-5px);
}

.produk-card img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.produk-card h3 {
  font-size: 1.2rem;
  color: #c2185b;
}

.produk-card p {
  font-size: 0.95rem;
  color: #444;
}

.harga {
  font-weight: bold;
  color: gold;
  margin: 10px 0;
}

/* Tombol WhatsApp */
.btn-wa {
  display: inline-block;
  margin-top: 10px;
  background: #c2185b;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-wa:hover {
  background: gold;
  color: #c2185b;
}
/* Responsive Produk Grid */
@media (max-width: 600px) {
  .produk-card {
    padding: 15px;
  }

  .produk-card h3 {
    font-size: 1rem;
  }

  .produk-card p {
    font-size: 0.9rem;
  }
}
.hidden-gallery {
  display: none;
}

/* Lightbox Overlay */
#lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  margin-bottom: 15px;
}

#lightbox-controls {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 500px;
}

.lightbox-btn {
  background: gold;
  color: #c2185b;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-btn:hover {
  background: #c2185b;
  color: white;
}
.hidden-gallery {
  display: none;
}

/* Lightbox grid */
#lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 30px;
  flex-wrap: wrap;
  overflow-y: auto;
}

#lightbox-overlay img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px;
  transition: transform 0.3s;
  border: 2px solid gold;
}

#lightbox-overlay img:hover {
  transform: scale(1.05);
}

#lightbox-overlay button {
  position: fixed;
  top: 20px;
  right: 30px;
  background: gold;
  color: #c2185b;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

#lightbox-overlay button:hover {
  background: #c2185b;
  color: white;
}

/* Tombol WhatsApp Mengambang */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}
.wa-float:hover {
  transform: scale(1.05);
  background: #1ebe5d;
}
.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  flex-shrink: 0;
}
.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wa-chat-text {
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .wa-chat-text { display: none; }
  .wa-float { padding: 8px; border-radius: 50%; }
}
