/* --- Mobile Menu --- */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 25px;
  padding: 0;
}
.hamburger-btn span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background: #111;
  color: #fff;
  transition: right 0.3s ease-in-out;
  z-index: 999;
  padding: 20px;
}
.mobile-menu.show {
  right: 0;
}
.mobile-menu .mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mobile-menu .mobile-header img {
  height: 40px;
}
.mobile-menu .mobile-body a {
  display: block;
  color: #fff;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #333;
}
.mobile-menu .mobile-body a:hover {
  color: #25d366;
}
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 768px) {
  .hamburger-btn, .mobile-menu { display: none; }
}

html, body {
  overflow-x: hidden;   /* matikan scroll horizontal */
  width: 100%;
}

* {
  box-sizing: border-box; 
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.container, .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.hero, .hero img, .swiper-container, .swiper-slide {
  width: 100%; 
  max-width: 100%;
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; /* atau 70%, sesuai kebutuhan */
  height: 100%;
  background-color: #111;
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
}

.mobile-menu.show {
  right: 0;
}

/* tutup body scroll saat menu terbuka */
body.menu-open {
  overflow: hidden;
}
