/* ====== BACKGROUND KHAS ====== */
.bg-lapas {
  background: url('../assets/img/bg-lapas.jpg') center/cover no-repeat fixed;
  color: #222;
  min-height: 100vh;
  padding-top: 60px;
  padding-bottom: 60px;
}

.bg-lapas-2 {
  background: url('../img/bg-lapas-2.jpg') center/cover no-repeat fixed;
  color: #222;
  min-height: 100vh;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.hero img {
  object-fit: cover;
  height: 400px;
  width: 100%;
}

/* ====== STATISTIK CARD ====== */
.card-stat {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.card-stat:hover {
  transform: translateY(-5px);
}
.card-stat .card-body {
  text-align: center;
  padding: 30px 15px;
}

/* ====== TOMBOL ====== */
.btn-menu {
  display: block;
  margin: 30px auto;
  padding: 12px 40px;
  font-size: 18px;
}

/* ====== MENU IKON ====== */
#menu-section h2 {
  font-weight: 700;
  color: #000;
}
#menu-separator {
  margin: 10px auto 40px;
  height: 70px;
}
#menu-section p {
  color: #555;
  margin-bottom: 40px;
}

.menu-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.menu-item {
  width: 150px;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}
.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }
.menu-item:nth-child(7) { animation-delay: 0.7s; }
.menu-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item i {
  font-size: 48px;
  color: #042350;
  transition: color 0.3s ease, transform 0.3s ease;
}
.menu-item div {
  font-size: 15px;
  margin-top: 8px;
  font-weight: 500;
}
.menu-item:hover i {
  color: #d2aa6a;
  transform: scale(1.15);
}
.menu-item:hover div {
  color: #d2aa6a;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .menu-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .menu-item {
    width: 120px;
  }
}
/* Navbar dasar */
.navbar-menu {
  background-color: #00274d; /* navy blue transparan */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.5rem 1rem;
}

/* Hover atau scroll efek */
.navbar-menu:hover,
.navbar-menu.scrolled {
  background-color: rgba(0, 38, 77, 1); /* solid navy blue */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Link Navbar */
.navbar-menu .nav-link {
  color: #fff;
  margin-left: 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-menu .nav-link:hover {
  color: #cce0ff; /* warna biru muda saat hover */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

/* Brand Logo */
.navbar-menu .navbar-brand img {
  height: 40px;
}

/* Navbar Toggler (mobile) */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30'
  xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.7%29'
  stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/ %3E%3C/svg%3E");
}
