/* ================================================
   BOX HEAD NEWS (Tetap dari kamu)
   ================================================ */
.box-item {
  float: left;
  opacity: 1;
  overflow: hidden;
  position: relative;
}

.box-item img {
  width: 100%;
}

.box-item a {
  color: #FFF;
}

.box-item .box-post span.meta {
  font-family: sans-serif;
  font-size: 12px;
  color: #fff;
  margin-top: 15px;
  display: block;
}

.box-item .box-post span.meta span {
  margin-right: 15px;
}

.box-item .box-post {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  box-sizing: border-box;
}

.box-item .box-post h1.post-title {
  margin-bottom: 10px;
}

.row.display-flex {
  display: flex;
  flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

/* ================================================
   HEADER & NAVIGATION (Baru ditambahkan)
   ================================================ */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
}

.header-logo img {
  max-width: 150px;
  height: auto;
}

.header-search {
  flex: 1;
  margin: 0 10px;
}

.header-search input[type="text"] {
  width: 100%;
  padding: 5px 10px;
}

.header-lang {
  margin-left: 10px;
}

/* ================================================
   HAMBURGER MENU POSITION
   ================================================ */
.header-btn-collapse-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

@media (max-width: 767px) {
  .header-btn-collapse-nav {
    right: 20px;   /* Biarkan tetap di kanan agar konsisten */
    left: auto;
  }
}

/* ================================================
   SLIDER / HERO IMAGE
   ================================================ */
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slider-text {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1em;
}

/* ================================================
   WHATSAPP BUTTON POSITION
   ================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-btn img {
  width: 50px;
  height: 50px;
}

@media (max-width: 767px) {
  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    transform: scale(0.9);
  }

  .slider-text {
    font-size: 0.9em;
    top: 15px;
    left: 15px;
  }

  .header-search {
    width: 100%;
    margin: 10px 0;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================================
   BODY PADDING UNTUK MOBILE
   ================================================ */
body {
  padding: 0 15px;
  font-family: Arial, Helvetica, sans-serif;
}
