/* ============================================================
   DUTA JAYA TRANS — chrome.css
   Header, mega menu, footer, tombol mengambang.
   Di-link oleh 299 halaman konten (beranda memakai home-redesign.css).
   Diturunkan dari home-redesign.css agar tampilan identik.
   ============================================================ */

/* ---------- Font self-hosted ---------- */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/quicksand-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/open-sans-latin-700-normal.woff2") format("woff2");
}

/* ---------- Token ---------- */
:root {
  --dj-ink: #291632;
  --dj-muted: #6b5a72;
  --dj-purple: #68258c;
  --dj-deep: #461358;
  --dj-deeper: #2e0a3d;
  --dj-header: #3b0d52;
  --dj-yellow: #f9c900;
  --dj-yellow-deep: #e5b400;
  --dj-green: #19a765;
  --dj-green-dark: #128a52;
  --dj-cream: #faf7fb;
  --dj-line: #ece2f0;
  --dj-radius: 16px;
  --dj-radius-lg: 24px;
  --dj-shadow: 0 18px 50px rgba(70, 19, 88, 0.12);
  --dj-shadow-soft: 0 8px 24px rgba(70, 19, 88, 0.08);
  --dj-container: min(1180px, calc(100% - 40px));
  --dj-head: "Quicksand", "Segoe UI", sans-serif;
  --dj-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

/* ---------- Dasar ---------- */
html { scroll-padding-top: 96px; }

.dj-header a,
.dj-footer a { text-decoration: none; }

.dj-header :where(p),
.dj-footer :where(p) { margin-bottom: 0; }

.dj-header :where(img) { display: block; max-width: 100%; height: auto; }
.dj-header :where(svg),
.dj-footer :where(svg) { display: block; }
.dj-header :where(ul),
.dj-footer :where(ul) { margin: 0; padding: 0; list-style: none; }
.dj-header :focus-visible,
.dj-footer :focus-visible,
.dj-wa:focus-visible,
.dj-top:focus-visible {
  outline: 3px solid var(--dj-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.dj-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--dj-yellow);
  color: var(--dj-deeper);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.dj-skip:focus { left: 0; }

.dj-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.dj-container {
  width: var(--dj-container);
  margin-inline: auto;
}

.dj-nav__link[aria-current="page"] { color: var(--dj-yellow); background: rgba(255, 255, 255, 0.08); }

/* ---------- Tombol ---------- */
.dj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--dj-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.dj-btn svg { width: 19px; height: 19px; flex: none; }
.dj-btn:hover { transform: translateY(-2px); }
.dj-btn:active { transform: translateY(0); }

.dj-btn--wa {
  background: var(--dj-green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 167, 101, 0.32);
}
.dj-btn--wa:hover { background: var(--dj-green-dark); }

.dj-btn--yellow {
  background: var(--dj-yellow);
  color: var(--dj-deeper);
  box-shadow: 0 12px 28px rgba(249, 201, 0, 0.28);
}
.dj-btn--yellow:hover { background: #ffd626; }

.dj-btn--purple {
  background: var(--dj-purple);
  color: #fff;
  box-shadow: 0 12px 26px rgba(104, 37, 140, 0.28);
}
.dj-btn--purple:hover { background: var(--dj-deep); }

.dj-btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.dj-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.dj-btn--outline {
  border-color: var(--dj-line);
  color: var(--dj-deep);
  background: #fff;
}
.dj-btn--outline:hover { border-color: var(--dj-purple); color: var(--dj-purple); }

.dj-btn--sm { min-height: 42px; padding: 10px 16px; font-size: 14.5px; border-radius: 10px; }
.dj-btn--lg { min-height: 54px; padding: 16px 30px; font-size: 17px; }
.dj-btn--block { width: 100%; }

/* ---------- Header ---------- */
/* ============================================================
   HEADER
   ============================================================ */
.dj-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--dj-header);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease;
}
.dj-header.is-scrolled { box-shadow: 0 12px 30px rgba(24, 3, 36, 0.34); }

.dj-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
}

.dj-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.dj-brand__logo {
  width: auto;
  height: 44px;
  max-width: 100%;
}
.dj-brand:hover .dj-brand__logo { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25)); }

.dj-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.dj-nav__item { position: relative; }

.dj-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #f4eaf8;
  font-family: var(--dj-head);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.dj-nav__link:hover,
.dj-nav__item.open > .dj-nav__link { background: rgba(255, 255, 255, 0.1); color: var(--dj-yellow); }

.dj-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

/* dropdown biasa */
.dj-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 90;
  width: 320px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(34, 6, 50, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dj-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--dj-ink);
  font-family: var(--dj-head);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.dj-dropdown a:hover { background: var(--dj-cream); color: var(--dj-purple); }
.dj-dropdown__cap {
  margin-left: auto;
  font-family: var(--dj-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--dj-purple);
  background: #f1e6f7;
  padding: 2px 8px;
  border-radius: 999px;
}

/* mega menu rute */
.dj-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: -120px;
  z-index: 90;
  width: 600px;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(34, 6, 50, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  color: var(--dj-ink);
}
.dj-mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.dj-mega__card {
  display: block;
  padding: 11px 12px;
  border-radius: 11px;
  text-decoration: none;
  border: 1px solid transparent;
}
.dj-mega__card:hover { background: var(--dj-cream); border-color: var(--dj-line); }
.dj-mega__emoji { font-size: 16px; margin-right: 4px; }
.dj-mega__card b {
  display: inline;
  font-family: var(--dj-head);
  font-size: 14.5px;
  color: var(--dj-deep);
}
.dj-mega__card small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--dj-muted);
}
.dj-mega__price {
  display: inline-block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dj-purple);
}
.dj-mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 12px 12px 4px;
  border-top: 1px solid var(--dj-line);
  font-size: 13px;
}
.dj-mega__note { color: var(--dj-muted); }
.dj-mega__foot a { color: var(--dj-purple); font-weight: 700; text-decoration: none; }
.dj-mega__foot a:hover { text-decoration: underline; }

/* munculkan submenu saat hover / fokus / klik */
@media (min-width: 1025px) {
  .dj-nav__item:hover > .dj-dropdown,
  .dj-nav__item:focus-within > .dj-dropdown,
  .dj-nav__item.open > .dj-dropdown,
  .dj-nav__item:hover > .dj-mega,
  .dj-nav__item:focus-within > .dj-mega,
  .dj-nav__item.open > .dj-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dj-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}
.dj-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4eaf8;
  font-family: var(--dj-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.dj-header__phone svg { width: 17px; height: 17px; color: var(--dj-yellow); }
.dj-header__phone:hover { color: var(--dj-yellow); }

.dj-navtoggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  place-items: center;
  gap: 5px;
  align-content: center;
}
.dj-navtoggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.dj-navtoggle[aria-expanded="true"] .dj-navtoggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dj-navtoggle[aria-expanded="true"] .dj-navtoggle__bar:nth-child(2) { opacity: 0; }
.dj-navtoggle[aria-expanded="true"] .dj-navtoggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- Footer ---------- */
/* ============================================================
   FOOTER
   ============================================================ */
.dj-footer { background: #2b0a3a; color: #d9c9e3; font-size: 14px; }
.dj-footer a { text-decoration: none; color: #d9c9e3; }
.dj-footer a:hover { color: var(--dj-yellow); }
.dj-footer__top { padding: 52px 0 40px; }
.dj-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dj-news h2 { font-size: 20px; color: #fff; }
.dj-news p { margin-top: 4px; font-size: 13px; color: #c5afd3; }
.dj-news__form { display: flex; gap: 8px; flex: none; width: min(420px, 100%); }
.dj-news__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--dj-body);
  font-size: 14px;
}
.dj-news__input::placeholder { color: #b9a3c8; }
.dj-news__input:focus { outline: 2px solid var(--dj-yellow); outline-offset: 1px; }
.dj-news__btn {
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--dj-yellow);
  color: #3a0d4b;
  font-family: var(--dj-head);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.dj-news__btn:hover { background: #ffd626; }

.dj-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1.55fr 0.8fr 0.95fr;
  gap: 34px;
  margin-top: 42px;
}
.dj-footer__brand img { width: auto; height: 40px; max-width: 100%; }
.dj-footer__brand > p { margin-top: 14px; max-width: 36ch; font-size: 13.5px; line-height: 1.7; color: #c5afd3; }
.dj-footer__nap { display: grid; gap: 8px; margin-top: 16px; font-size: 13px; }
.dj-footer__nap li { display: flex; gap: 8px; align-items: flex-start; }
.dj-footer__nap svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--dj-yellow); }
.dj-footer__nap a { color: #e6d8ee; }
.dj-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.dj-footer__links { display: grid; gap: 8px; font-size: 13.5px; }
.dj-footer__links--2 { grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.dj-footer__bank {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dj-footer__bank span { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #b9a3c8; }
.dj-footer__bank b { display: block; margin-top: 3px; font-family: var(--dj-head); font-size: 15px; color: #fff; letter-spacing: 0.02em; }
.dj-footer__bank small { display: block; margin-top: 2px; font-size: 11.5px; color: #c5afd3; }
.dj-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #b9a3c8;
}
.dj-footer__social { display: flex; gap: 16px; }

/* ---------- Floating ---------- */
/* ============================================================
   FLOATING
   ============================================================ */
.dj-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--dj-green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(25, 167, 101, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.dj-wa:hover { transform: scale(1.06); background: var(--dj-green-dark); color: #fff; }
.dj-wa svg { width: 30px; height: 30px; }
.dj-wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(25, 167, 101, 0.55);
  animation: dj-wa-pulse 2.2s ease-out infinite;
}
@keyframes dj-wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

.dj-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 99;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--dj-deep);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 10px 24px rgba(46, 10, 61, 0.3);
}
.dj-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.dj-top:hover { background: var(--dj-purple); }
.dj-top svg { width: 22px; height: 22px; }

/* ============================================================
   RESPONSIF (subset chrome)
   ============================================================ */
@media (max-width: 1120px) {
  .dj-header__phone { display: none; }
  .dj-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .dj-footer__grid > .dj-footer__col:last-child { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; align-items: start; }
  .dj-footer__grid > .dj-footer__col:last-child h3 { grid-column: 1 / -1; }
  .dj-footer__bank { margin-top: 0; }
}

@media (max-width: 1024px) {
  .dj-header__inner { min-height: 74px; }
  .dj-brand__logo { height: 38px; }
  .dj-navtoggle { display: grid; }
  .dj-header__actions { margin-left: auto; }

  .dj-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 40px;
    overflow-y: auto;
    background: var(--dj-header);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dj-nav.is-open { display: flex; }
  .dj-nav__link { padding: 14px 12px; font-size: 16px; border-radius: 10px; justify-content: space-between; }
  .dj-nav__item.open > .dj-nav__link { color: var(--dj-yellow); }

  .dj-dropdown,
  .dj-mega {
    position: static;
    display: none;
    width: auto;
    padding: 8px;
    margin: 0 0 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dj-nav__item.open > .dj-dropdown,
  .dj-nav__item.open > .dj-mega { display: block; }

  .dj-dropdown a { color: #f4eaf8; }
  .dj-dropdown a:hover { background: rgba(255, 255, 255, 0.1); color: var(--dj-yellow); }
  .dj-dropdown__cap { background: rgba(255, 255, 255, 0.14); color: #fff; }

  .dj-mega__grid { grid-template-columns: 1fr; }
  .dj-mega__card b { color: #fff; }
  .dj-mega__card small { color: #d5c0e2; }
  .dj-mega__price { color: var(--dj-yellow); }
  .dj-mega__card:hover { background: rgba(255, 255, 255, 0.06); border-color: transparent; }
  .dj-mega__foot { border-top-color: rgba(255, 255, 255, 0.12); }
  .dj-mega__note { color: #c5afd3; }
  .dj-mega__foot a { color: var(--dj-yellow); }

  .dj-news { flex-direction: column; align-items: stretch; }
  .dj-news__form { width: 100%; }
  .dj-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dj-footer__grid > .dj-footer__col:last-child { grid-column: span 2; }
}

@media (max-width: 720px) {
  .dj-footer__grid { grid-template-columns: 1fr; }
  .dj-footer__grid > .dj-footer__col:last-child { grid-column: auto; display: block; }
  .dj-footer__links--2 { grid-template-columns: 1fr; }
  .dj-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dj-news { padding: 20px; }
  .dj-news__form { flex-direction: column; }
  .dj-news__btn { width: 100%; }
}

@media (max-width: 560px) {
  .dj-header__inner { gap: 12px; }
  .dj-brand__logo { height: 34px; }
  .dj-header__actions .dj-btn { width: 46px; padding: 0; }
  .dj-header__actions .dj-btn span { display: none; }
}

@media (max-width: 420px) {
  .dj-brand__logo { height: 32px; }
  .dj-header__inner { min-height: 68px; gap: 10px; }
  .dj-nav { top: 68px; }
}
