/* Tambahan khusus Tanggal Merah Creative (di luar style.css bawaan template) */

/* Cover video: video vertikal di tengah, latar versi blur dari video yang sama */
.tm-video-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.tm-video-cover .tm-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 115%;
  height: 115%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: blur(30px) brightness(0.55);
}
.tm-video-cover .tm-video-main {
  position: relative;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}
.video-wrap .play-btn {
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .tm-video-cover {
    display: none;
  }
}

/* Video lokal di lightbox */
.tm-video-popup video {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  margin: 0 auto;
  background: #000;
}

/* Latar lightbox video lebih gelap supaya elemen terang (marquee) tidak tembus */
.mfp-bg.mfp-zoom-in.tm-mfp-video.mfp-ready {
  opacity: 0.92;
}

/* =========================================================
   Warna brand: lime bawaan template diganti merah logo
   ========================================================= */
:root {
  --theme-color: #D90007;
}

/* Section berlatar merah: teks hitam kurang kontras, jadi putih */
.bg-theme,
.bg-theme h1, .bg-theme h2, .bg-theme h3, .bg-theme h4, .bg-theme h5, .bg-theme h6,
.bg-theme p,
.bg-theme li,
.bg-theme .sec-title,
.bg-theme .sec-text,
.bg-theme .testi-box_text,
.bg-theme .testi-box_name,
.bg-theme .testi-box_desig,
.bg-theme .pricing-card_title,
.bg-theme .pricing-card_price,
.bg-theme .pricing-card_price span,
.bg-theme .link-btn,
.bg-theme .link-btn .effect-1 {
  color: #FFFFFF;
}
.bg-theme .link-btn:before,
.bg-theme .link-btn:after {
  background-color: #FFFFFF;
}
.bg-theme .link-btn img {
  filter: brightness(0) invert(1);
}
.bg-theme .checklist li i,
.bg-theme .checklist li svg,
.bg-theme li i.fa-check {
  color: #FFFFFF;
}
.bg-theme .form-control.style-border {
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
}
.bg-theme .form-control.style-border::placeholder {
  color: rgba(255, 255, 255, 0.85);
}
.bg-theme .slick-dots button {
  border-color: #FFFFFF;
}
.bg-theme .slick-dots .slick-active button {
  background-color: #FFFFFF;
}
.bg-theme .form-messages {
  color: #FFFFFF;
}

/* Tombol yang latarnya warna tema: teks putih */
.sidemenu-wrapper .chat-btn,
.btn.style2,
.btn.style6,
.icon-btn {
  color: #FFFFFF;
}

/* Kartu harga yang aktif (latar merah) */
.pricing-card.bg-theme .badge {
  background-color: #0A0C00 !important;
  color: #FFFFFF !important;
}

/* Angka pilar di halaman Tentang: pakai merah brand, bukan merah Bootstrap */
.award-wrap-item .text-danger {
  color: var(--theme-color) !important;
}

/* Pita marquee: biru template diganti hitam brand */
.marquee-wrap {
  background: #0A0C00;
}

/* Email panjang di tombol link: di HP huruf kecil + sedikit lebih kecil supaya tidak keluar layar */
@media (max-width: 575px) {
  .link-btn.tm-email {
    text-transform: none;
    font-size: 13px;
  }
}

/* Kalimat di artikel tampil normal, bukan Huruf Besar Tiap Kata */
blockquote p,
.blog-post-content .title,
.blog__details-content > .title,
.sidebar__post-content .title {
  text-transform: none;
}

/* HP: logo header lebih ringkas, tombol hero rata kiri saat turun baris */
@media (max-width: 991px) {
  .header-logo img {
    height: 56px;
    width: auto;
  }
}
@media (max-width: 575px) {
  .hero-style1 .btn-group .btn.ms-3 {
    margin-left: 0 !important;
  }
}

/* HP: link footer jadi 2 kolom dengan area sentuh minimal 44px */
@media (max-width: 575px) {
  .footer-menu-area .footer-menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .footer-menu-area .footer-menu-list li:not(:last-child) {
    margin-bottom: 0;
  }
  .footer-menu-area .footer-menu-list li a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

/* HP: ikon sosial media di footer juga dapat area sentuh 44px */
@media (max-width: 575px) {
  .copyright-wrap .social-btn.style3 {
    gap: 4px;
  }
  .copyright-wrap .social-btn.style3 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}

/* Email panjang di menu HP dan sidebar boleh turun baris, jangan keluar panel */
.mobile-menu-wrapper .sidebar-wrap h6,
.sidemenu-wrapper .sidebar-wrap h6 {
  overflow-wrap: anywhere;
}

/* Kolom formulir yang belum benar di atas latar merah: bingkai putih tebal */
.bg-theme .form-control.style-border.is-invalid {
  border: 2px solid #FFFFFF;
  background-color: rgba(10, 12, 0, 0.25);
}
