/* Mirror polish — fonts, dark theme overrides, animations, Astra helpers */

@font-face {
  font-family: eicons;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/mirror/fonts/eicons.woff2") format("woff2");
}

/* Dark Elementor kit — override Astra light inline CSS */
html,
body.elementor-kit-139,
body.elementor-kit-139.ast-page-builder-template {
  background-color: var(--e-global-color-6ba6e9e, #0c0f15);
  color: var(--e-global-color-text, #9da8b6);
}

/* Scroll to top (match live positioning + accent) */
#ast-scroll-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 2.1em;
  height: 2.1em;
  align-items: center;
  justify-content: center;
  background-color: var(--e-global-color-accent, #c08d5d);
  color: var(--e-global-color-1b10576, #07090b);
  border-radius: 2px;
  z-index: 99999;
  transition: opacity 0.2s ease;
  font-size: 15px;
}

#ast-scroll-top .ast-icon svg {
  fill: currentColor;
  transform: translate(0, -20%) rotate(180deg);
  width: 1.6em;
}

/* WhatsApp plugin */
.ht-ctc .ht_ctc_style {
  cursor: pointer;
}

.ht-ctc svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Elementor scroll animations — use plugin keyframes + frontend .animated duration */
.elementor-invisible {
  visibility: hidden;
}

.elementor-invisible.animated {
  visibility: visible;
}

/* LCP hero homepage — jangan tunggu JS fadeIn (hemat ~3s render delay) */
.elementor-element-583c72bd,
.elementor-element-583c72bd.elementor-invisible {
  visibility: visible !important;
}
.elementor-element-583c72bd [data-tp-gsap-heading-text] .heading-title,
.elementor-element-583c72bd [data-tp-gsap-heading-text] .heading-sub-title,
.elementor-element-583c72bd [data-tp-gsap-textblock] .text-content-block,
.elementor-element-583c72bd .tp-mirror-pending .heading-title,
.elementor-element-583c72bd .tp-mirror-pending .text-content-block {
  opacity: 1 !important;
  transform: none !important;
}

/* HFE mobile menu — dark theme */
@media (max-width: 921px) {
  .hfe-nav-menu .hfe-nav-menu__layout-horizontal {
    display: none;
  }

  .hfe-nav-menu.hfe-active-menu .hfe-nav-menu__layout-horizontal {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--e-global-color-3b8e2db, #161b22);
    border: 1px solid var(--e-global-color-b1e58bc, #232a33);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    padding: 1rem;
  }

  .hfe-nav-menu .hfe-nav-menu__toggle {
    display: flex;
  }
}

@media (min-width: 922px) {
  .hfe-nav-menu .hfe-nav-menu__toggle {
    display: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

/* Plus Addons-style heading / text reveal */
.tp-mirror-pending .heading-title,
.tp-mirror-pending .heading-sub-title,
.tp-mirror-pending .text-content-block {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.tp-mirror-revealed .heading-title,
.tp-mirror-revealed .heading-sub-title,
.tp-mirror-revealed .text-content-block {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.tp-mirror-fade-up {
  will-change: opacity, transform;
}
