/* =========================
   GLOBAL HEADER SYSTEM
   (FIX SEMUA HALAMAN)
========================= */

/* HEADER */
.header {
  background: linear-gradient(90deg, #0f4c81, #1f6fd1);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* CONTAINER BIAR RATA */
.header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* LOGO AREA */
.logo {
  display: flex;
  align-items: center;
  gap: 0px;
}

/* LOGO IMAGE */
.logo-img {
  width: 42px;
  height: auto;
}

/* TEXT WRAPPER */
.sitename-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* NAMA BANK */
.sitename-wrapper span {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* SUB TITLE */
.sitename-wrapper small {
  font-size: 12px;
  color: #dcdcdc;
  white-space: nowrap;
}

/* NAV MENU */
.navmenu ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* LINK */
.navmenu a {
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

/* HOVER */
.navmenu a:hover {
  color: #ffd700 !important;
}

/* ACTIVE */
.navmenu a.active {
  color: #ffd700 !important;
}

/* DROPDOWN */
.navmenu .dropdown ul {
  border-radius: 10px;
  padding: 10px 0;
  min-width: 220px;
  background: #ffffff;
}

/* DROPDOWN ITEM */
.navmenu .dropdown ul li a {
  color: #333 !important;
  padding: 10px 20px;
}

/* HOVER DROPDOWN */
.navmenu .dropdown ul li a:hover {
  background: #f1f5ff;
  color: #0d6efd !important;
  padding-left: 25px;
}

/* BUTTON RATING */
.btn-rating {
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-rating:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212,175,55,0.5);
}

/* =========================
   RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 992px) {
  .navmenu ul {
    gap: 15px;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  .logo-img {
    width: 45px;
  }

  .sitename-wrapper span {
    font-size: 14px;
  }

  .sitename-wrapper small {
    font-size: 11px;
  }

 

  .navmenu a {
    color: #000 !important;
  }

  .btn-rating {
    display: block;
    text-align: center;
  }
}
/* === HERO 3 GAMBAR FINAL === */

/* HAPUS BIRU */
.hero,
.hero.section,
.hero-slider {
  background: none !important;
}

/* HERO POSISI */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

/* WRAPPER */
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* SETIAP SLIDE */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;

  background-size: cover;
  background-position: center;
}

/* GAMBAR */
.slide:nth-child(1) {
  background-image: url('/assets/img/setgambar.jpeg');
}
.slide:nth-child(2) {
  background-image: url('/assets/img/setgambar2.jpeg');
}
.slide:nth-child(3) {
  background-image: url('/assets/img/setgambar3.jpeg');
}

/* AKTIF */
.slide.active {
  opacity: 1;
}

/* MATIKAN OVERLAY */
.hero::before {
  display: none !important;
}
.hero {
  background: none !important;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-bg img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg img.active {
  opacity: 1;
}

.hero::before {
  display: none !important;
}

.hero .container {
  position: relative;
  z-index: 2;
}

