/* ===================================
   HEADER
====================================== */
.header-custom {
  background-color: #5c4b4b;
  color: #fff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-title {
  font-weight: bold;
  margin: 0;
}

/* NAVBAR DESKTOP */
.header-nav {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-right: 25px;
}

.header-nav a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  transition: 0.25s;
}

.header-nav a:hover {
  color: #e8d2d2;
}

/* ===================================
   HAMBURGER 
====================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s ease;
}

/* ===================================
   MAIN CONTENT
====================================== */
.content-home-left {
  position: relative;
  height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding-left: 60px;
}

.content-home-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("gambar/latar_index.png") center/cover no-repeat;
  opacity: 0.55;
  z-index: 0;
}

.info-box {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.45);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(25px);
  animation: infoFadeIn 0.8s ease-out forwards;
}

.btn-custom {
  background-color: #5c4b4b;
  color: #fff;
  padding: 12px 30px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
}

.btn-custom:hover {
  background-color: #6f442d;
}

/* Aktif link navbar (halaman yang sedang dibuka) */
.nav-active {
  color: #e8d2d2 !important;
  font-weight: 600;
}

/* Info box khusus halaman Tentang agar lebih besar */
.content-home-left .info-box ul {
  text-align: left;
  font-size: 1rem;
  margin-left: 20px;
  margin-bottom: 15px;
}

.content-home-left .info-box p {
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ===================================
   RESPONSIVE (HP)
====================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    background-color: #5c4b4b;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 10;
    padding: 10px 0;
  }

  .header-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid #744f4f;
    color: white;
  }

  .header-nav.nav-show {
    display: flex;
  }

  /* Hamburger jadi X */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .content-home-left {
    padding-left: 20px;
  }
}

@keyframes infoFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-kirim {
  background-color: #5c4b4b;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.btn-kirim:hover {
  background-color: #6f442d;
  color: white;
  transform: translateY(-2px);
}
