body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overscroll-behavior: none;
}

html {
  scroll-behavior: smooth; /* Diubah ke smooth biar nyaman saat klik menu */
}

/* =========================
   STICKY WHATSAPP
========================= */
.sticky-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-color);
  color: white;
  padding: 12px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.sticky-wa.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 992px) {
  .sticky-wa {
    display: none;
  }
}

/* =========================
   NAVBAR
========================= */
.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.navbar-brand img {
  height: 38px;
  width: auto;
}

/* =========================
   DESKTOP MENU & BTN
========================= */
.nav-link {
  position: relative;
  color: white !important;
  margin-left: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-whatsapp,
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 1.2rem;
  background: var(--wa-color);
  color: white !important;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-whatsapp:hover,
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  color: white !important;
}

/* =========================
   MOBILE MENU (OFFCANVAS)
========================= */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mobile-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0;
  line-height: 1;
  transition: 0.3s;
  margin-left: auto;
}

.mobile-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.offcanvas {
  background: var(--bg);
  color: white;
  width: 280px;
}

.offcanvas .nav-link {
  margin-left: 0;
  padding: 12px 0;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand img {
  width: 40px;
  height: 40px;
}

.mobile-brand span {
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.social-menu {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.social-menu a {
  color: white;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social-menu a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

/* =========================
   SECTIONS & HERO
========================= */
#stats {
  scroll-margin-top: 90px;
}

.hero-content p {
  max-width: 650px;
  text-align: center;
  line-height: 1.8;
  opacity: 0.95;
  margin: 0 auto;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-shop,
.btn-hero {
  padding: 0.8rem 1.5rem;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.btn-shop {
  background: linear-gradient(135deg, #b8862b, var(--gold));
}

.btn-hero {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(37, 211, 102, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-shop:hover,
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: white;
}

/* =========================
   WHY US
========================= */
.why-us {
  padding: 80px 20px;
}

.why-us h2 {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.why-card {
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.why-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
  display: inline-block;
}

/* =========================
   PRODUCTS
========================= */
.featured-product {
  padding: 80px 0;
  background: var(--bg);
}

.featured-product h2 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #1b1b1b;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.product-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin-bottom: 10px;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-h5,
.product-card p {
  padding: 2px 20px;
  margin: 0;
}

.product-h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.tokopedia-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px;
  margin-top: auto;
  padding: 12px;
  text-decoration: none;
  background: var(--gold);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.product-card a:hover {
  background: #8b5320;
  transform: translateY(-2px);
  color: white;
}

/* =========================
   ABOUT & CAROUSEL
========================= */
.about-section {
  padding: 80px 0;
  background: #181818;
}

.about-section ul {
  list-style: none;
  padding: 0;
}

.about-section li {
  margin-bottom: 10px;
  font-weight: 500;
}

.about-section h2 {
  margin-bottom: 20px;
  font-weight: 700;
}

.about-carousel-wrapper {
  margin-bottom: 30px;
}

.carousel {
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.carousel-item {
  transition:
    transform 0.8s ease-in-out,
    opacity 0.8s ease-in-out;
}

.carousel-inner img {
  width: 100%;
  aspect-ratio: 16/10; /* Proporsional modern, menggantikan height kaku */
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
}

.carousel-indicators {
  margin-bottom: 15px;
}

.carousel-indicators button {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  margin: 0 8px !important;
  background-color: rgba(255, 255, 255, 0.5) !important;

  /* Trik "Area Sentuh Rahasia" buat skor Accessibility 100 */
  border-top: 15px solid transparent !important;
  border-bottom: 15px solid transparent !important;
  border-left: 10px solid transparent !important;
  border-right: 10px solid transparent !important;
  background-clip: padding-box !important;
}

.carousel-indicators .active {
  background-color: #ffffff !important;
}

/* =========================
   CONTACT & CTA
========================= */
.contact-section,
.cta-section {
  padding: 100px 0;
  background: var(--bg);
  text-align: center;
}

.contact-section h2,
.cta-section h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-contact {
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-contact:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* =========================
   STATS & TESTIMONIAL
========================= */
.trust-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 40px 0;
  flex-wrap: wrap;
  text-align: center;
}

.trust-stats h3 {
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.trust-stats p {
  color: #ccc;
  margin: 0;
  font-weight: 500;
}

.testimonial-section {
  padding: 80px 0;
  background: var(--bg);
}

.review-subtitle {
  color: #b0b0b0;
}

.review-card {
  background: #1b1b1b;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.review-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* =========================
   LOCATION
========================= */
.store-location {
  padding: 80px 0 120px 0;
  text-align: center;
}

.store-location h2 {
  font-weight: 700;
}

.map-container {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.location-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-btn {
  background: var(--gold);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.location-btn:hover {
  background: #8b5320;
  color: white;
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
.fdl-footer {
  padding: 60px 0;
  text-align: center;
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #aaa;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--gold) !important;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff !important;
}

.footer-top {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================
   SCROLL ANIMATION SYSTEM
========================= */
.product-card,
.review-card,
.why-card {
  opacity: 0;
  /* Filter blur dihapus untuk optimasi FPS & rendering di Mobile */
  transform: translateY(30px) scale(0.98);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.product-card.show,
.review-card.show,
.why-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   RESPONSIVE (SINGLE MEDIA QUERY)
========================= */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-shop,
  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .trust-stats {
    gap: 25px;
  }

  .trust-stats h3 {
    font-size: 1.8rem;
  }

  .product-card {
    margin-bottom: 10px;
  }

  .location-buttons {
    flex-direction: column;
  }

  .location-btn,
  .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-carousel-wrapper {
    margin-bottom: 35px;
  }

  .about-section h2 {
    margin-top: 10px;
    text-align: center;
  }

  .footer-top {
    margin-bottom: 10px;
  }
}
