/* ===============================
   BLUE & WHITE THEME OVERRIDE
   (AMAN – TIDAK MERUSAK TEMPLATE)
================================ */

/* Background utama */
body {
  background-color: #f8f9fa;
  color: #212529;
}

/* HEADER */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}


.header__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.header__right a {
  width: 40px;
  height: 40px;
}


/* LOGO */
.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  max-height: 42px;
}


/* MENU */
.header__menu ul {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  list-style: none;
  gap: 30px;
}

.header__menu ul li {
  position: relative;
  line-height: normal;
}

.header__menu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  height: 42px;
  padding: 0 18px;

  font-size: 15px;
  font-weight: 500;

  border-radius: 10px;
  color: #212529;

  transition: all 0.25s ease;
}



/* HOVER MENU */

.header__menu ul li a:hover {
  background: #0d6efd;
  color: #fff;
}

/* MENU AKTIF */
.header__menu ul li.active a {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13,110,253,0.45);
}

/* DROPDOWN */
.header__menu ul li .dropdown {
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  animation: dropdownFade 0.25s ease;
}

.header__menu ul li .dropdown li a {
  padding: 10px 20px;
  border-radius: 8px;
}

.header__menu ul li .dropdown li a:hover {
  background: #0d6efd;
  color: #fff;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* BUTTON */
.primary-btn,
.site-btn,
button {
  background-color: #0d6efd;
  color: #ffffff;
}

.primary-btn:hover,
.site-btn:hover,
button:hover {
  background-color: #0a58ca;
}

/* CARD / ITEM */
.product__item,
.card {
  background-color: #ffffff;
  color: #212529;
  border-radius: 12px;
}

.product__item__pic .comment {
  background: rgba(13,110,253,0.95);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transform: translateZ(25px);
}


/* 3D Card Effect */
.product__item {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform-style: preserve-3d;
}

/* Hover efek 3D */
.product__item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Gambar lebih hidup */
.product__item__pic {
  border-radius: 14px;
  position: relative;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.product__item:hover .product__item__pic {
  transform: translateZ(20px);
}

/* Overlay gelap tipis biar depth */
.product__item__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.35)
  );
}

.product__item__text h5 {
  font-size: 14px;
  line-height: 1.4;
}

.product__item__text {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breadcrumb__text h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.breadcrumb__links {
  font-size: 13px;
}


/* Tombol lebih pop-up */
.product__item__text .primary-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 14px;
  box-shadow:
    0 8px 0 #083d9c,
    0 15px 30px rgba(13,110,253,0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Hover */
.product__item__text .primary-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 0 #083d9c,
    0 22px 40px rgba(13,110,253,0.6);
}

/* Klik */
.product__item__text .primary-btn:active {
  transform: translateY(4px);
  box-shadow:
    0 4px 0 #083d9c,
    0 8px 15px rgba(13,110,253,0.5);
}


.hero {
  background: #f8f9fa;
}

.hero__text h2,
.hero__text p {
  color: #ffffff;
}

.hero__items::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 110, 253, 0.65);
}


/* LABEL / BADGE */
.ep,
.hero__text .label {
  background-color: #0d6efd;
  color: #ffffff;
}

/* SECTION TITLE LINE */
.section-title h4 {
  color: black;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.section-title h4:after,
.section-title h5:after {
  background-color: #0d6efd;
}

/* FOOTER */
.footer {
  background-color: #ffffff;
}

.footer__nav ul li a {
  color: #6c757d;
}

.footer__nav ul li a:hover {
  color: #0d6efd;
}

/* ===============================
   REMOVE ALL SLIDER OVERLAY
================================ */

/* hapus overlay biru / gelap */
.hero__items::before,
.hero__slider::before,
.hero__items:before {
  display: none !important;
  background: none !important;
}

/* pastikan gambar asli tampil */
.hero__items {
  background-color: transparent !important;
}

/* tombol slider TANPA background */
.hero__slider .owl-nav button {
  background: #0d6efd !important;
  box-shadow: none !important;
}

/* icon panah saja */
.hero__slider .owl-nav button span {
  background: none !important;
  color: #fff !important;
  font-size: 36px;
}

/* hover cuma ganti warna icon */
.hero__slider .owl-nav button:hover span {
  color: #fff !important;
}

/* posisi tombol */
.hero__slider .owl-prev {
  left: 20px;
}

.hero__slider .owl-next {
  right: 20px;
}

/* ===============================
   FIX SLIDER DOWNLOAD BUTTON
================================ */

/* tombol download di slider */
.hero__slider .hero__text a {
  background: transparent !important;
  color: #ffffff !important;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: transparent;
}

/* hover */
.hero__slider .hero__text a:hover {
  background: transparent !important;
}

.hero__slider .hero__text span a {
  background: #0d6efd !important;
  color: #ffffff !important;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
}

/* hover */
.hero__slider .hero__text span a:hover {
  background: #0a58ca !important;
}

/*btn view all*/
.btn__all .primary-btn {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .section-header {
    padding: 0 5px;
  }

  .section-title h4 {
    font-size: 16px;
  }

  .btn__all .primary-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}


/* MOBILE: 2 CARD PER BARIS */
@media (max-width: 576px) {

  .product .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .product .col-lg-3,
  .product .col-md-4,
  .product .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
  }

  .product__item {
    margin-bottom: 0;
    height: 100%;
  }

  .product__item__pic {
    min-height: 170px;
    background-size: cover;
    background-position: center;
  }

  .product__item__text {
    padding: 10px;
    text-align: center;
  }

  .product__item__text h5 {
    font-size: 13px;
    line-height: 1.3;
    min-height: 34px;
  }

  .product__item__text .primary-btn {
    font-size: 12px;
    padding: 6px 10px;
    margin-top: 6px;
  }

  /* HEADER SECTION */
  .section-title h4 {
    font-size: 16px;
  }

  /* VIEW ALL BUTTON */
  .btn__all {
    text-align: right;
  }

  .btn__all .primary-btn {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    margin-left: 0; /* HAPUS OFFSET ANEH */
  }
}

@media (max-width: 400px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn__all {
    margin-top: 8px;
  }
}



/* ===============================
   FIX BACKGROUND GELAP PRODUCT
================================ */

.product,
.product.spad,
.latest-product,
.trending-product,
.popular-product {
  background: #ffffff !important;
}

/* Hilangkan pseudo element gelap */
.product::before,
.product::after {
  display: none !important;
}

section {
  background-color: transparent !important;
}

/* ===== DOWNLOAD DETAIL - BLUE THEME ===== */
.download-detail {
    background: linear-gradient(180deg, #0b1c3d, #102a63);
    padding-top: 60px;
    padding-bottom: 60px;
}

/* WRAPPER */
.download-detail .col-lg-8 {
    background: transparent;
}

/* TITLE */
.download-title h3 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
}

.download-title p {
    color: #c7d4ff;
    font-size: 14px;
}

/* IMAGE */
.download-thumb img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* CONTENT BOX */
.download-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* SECTION TITLE */
.download-box h5 {
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
    color: #0b1c3d;
}

/* TEXT */
.download-box p,
.download-box li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.download-box ol {
    padding-left: 20px;
}

/* DOWNLOAD BUTTON */
.download-btn {
    background: linear-gradient(135deg, #1e90ff, #005eff);
    border: none;
    color: #fff;
    padding: 15px 50px;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0 6px 15px rgba(0,94,255,0.5);
}

.download-btn:hover {
    background: linear-gradient(135deg, #005eff, #1e90ff);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,94,255,0.6);
}

/* SYSTEM REQUIREMENTS */
.download-box ul li {
    margin-bottom: 8px;
}

.screenshot-wrapper {
  width: 100%;
  height: 420px;
  margin-bottom: 32px;   /* JARAK KE BAWAH */
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.screenshot-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* INI KUNCINYA */
    display: block;
}


.screenshot-slider .owl-nav .owl-prev {
    left: -20px;
}

.screenshot-slider .owl-nav .owl-next {
    right: -20px;
}

.screenshot-slider .owl-dots {
    margin-top: 15px;
}

.screenshot-slider .owl-dot span {
    background: #c7d4ff;
}

.screenshot-slider .owl-dot.active span {
    background: #005eff;
}


/* MOBILE */
@media (max-width: 576px) {
    .download-title h3 {
        font-size: 20px;
    }

    .download-btn {
        width: 100%;
        padding: 14px;
    }
}
