﻿/* ================================================================
   Modern minimalist overrides â€” applies site-wide (semua halaman
   layanan pakai class tema yang sama: #subheader, .table-pricing,
   .btn-line, .accordion-section-title, .container-timeline, dll)
   Ditambahkan setelah style.css supaya cascade menang tanpa perlu
   ubah 20+ file halaman satu-satu.
   ================================================================ */

:root {
    --brand: #e50000;
    --ink: #1e293b;
    --muted: #64748b;
}

/* â”€â”€ Hero / subheader â”€â”€ */
#subheader {
    padding: 90px 0 70px;
    background-color: #0f172a;
}
#subheader .jarallax-img { opacity: .35; }
#subheader h1 {
    margin-top: 0;
    letter-spacing: -1px;
    font-weight: 800;
    color: #fff;
}
#subheader .lead {
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.7;
}
#subheader .crumb, #subheader a.id-color { color: #fca5a5; }

/* â”€â”€ Buttons â”€â”€ */
.btn-line {
    display: inline-block;
    border: 1.5px solid var(--brand) !important;
    color: var(--brand) !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 20px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}
.btn-line:hover { background: var(--brand) !important; color: #fff !important; text-decoration: none; }
.btn-main {
    border-radius: 9px !important;
    font-weight: 700 !important;
}

/* â”€â”€ Pricing table â”€â”€ */
.table-pricing {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15,23,42,.06);
}
.table-pricing thead tr th {
    background: #0f172a !important;
    color: #fff !important;
    font-size: 12.5px;
    letter-spacing: .5px;
    text-transform: uppercase;
    border: none !important;
    padding: 16px 14px !important;
}
.table-pricing tbody tr td,
.table-pricing tbody tr th {
    border-color: #f1f5f9 !important;
    padding: 16px 14px !important;
    vertical-align: middle;
}
.table-pricing tbody tr:hover { background: #fff5f5; }

/* â”€â”€ FAQ accordion â”€â”€ */
.accordion-section-title {
    background: #fff;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px;
    padding: 16px 20px !important;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15.5px;
}
.accordion-section-title:before {
    background: #fff5f5;
    color: var(--brand) !important;
}
.accordion-section-content {
    background: #fafafa;
    border-radius: 0 0 12px 12px;
    margin-top: -8px;
    margin-bottom: 10px;
    padding: 4px 20px 18px !important;
    color: var(--muted);
    line-height: 1.7;
}

/* â”€â”€ Steps timeline â†’ modern cards â”€â”€ */
.container-timeline ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; }
.container-timeline ul:before, .container-timeline ul:after { display: none; }
.container-timeline li {
    flex: 1 1 220px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(15,23,42,.05);
}
.container-timeline li h4 { color: var(--ink); font-size: 15px; font-weight: 700; }
.container-timeline li p { color: var(--muted); font-size: 13px; }

/* â”€â”€ Section headings consistency â”€â”€ */
h2.color-gradient, .color-gradient { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
.id-color { color: var(--brand) !important; }

/* -- Header transparent over dark hero (hanya saat belum scroll) -- */
/* :not(.smaller) = masih di atas halaman, belum scroll.
   Saat scroll, JS theme tambah .smaller + background #fff -> logo/nav harus gelap lagi. */
body:has(.bh-hero) header.transparent:not(.smaller) .logo-main,
body:has(#subheader) header.transparent:not(.smaller) .logo-main,
body:has(.dh-hero) header.transparent:not(.smaller) .logo-main,
body:has(.di-hero) header.transparent:not(.smaller) .logo-main,
body:has(.bdh-hero) header.transparent:not(.smaller) .logo-main,
body:has(.dd-hero) header.transparent:not(.smaller) .logo-main,
body:has(.rd-hero) header.transparent:not(.smaller) .logo-main,
body:has(.dp-hero) header.transparent:not(.smaller) .logo-main,
body:has(.cat-hero) header.transparent:not(.smaller) .logo-main {
    filter: brightness(0) invert(1);
    transition: filter .25s;
}
body:has(.bh-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(#subheader) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.dh-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.di-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.bdh-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.dd-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.rd-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.dp-hero) header.transparent:not(.smaller) #mainmenu > li > a,
body:has(.cat-hero) header.transparent:not(.smaller) #mainmenu > li > a {
    color: rgba(255,255,255,.88) !important;
}
body:has(.bh-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(#subheader) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.dh-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.di-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.bdh-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.dd-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.rd-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.dp-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover,
body:has(.cat-hero) header.transparent:not(.smaller) #mainmenu > li > a:hover {
    color: #fff !important;
}
body:has(.bh-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(#subheader) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.dh-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.di-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.bdh-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.dd-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.rd-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.dp-hero) header.transparent:not(.smaller) .menu-mobile-icon span,
body:has(.cat-hero) header.transparent:not(.smaller) .menu-mobile-icon span {
    background: #fff !important;
}
/* Setelah scroll (.smaller -> white bg): paksa nav gelap lagi */
body:has(.bh-hero) header.smaller #mainmenu > li > a,
body:has(#subheader) header.smaller #mainmenu > li > a,
body:has(.dh-hero) header.smaller #mainmenu > li > a,
body:has(.di-hero) header.smaller #mainmenu > li > a,
body:has(.bdh-hero) header.smaller #mainmenu > li > a,
body:has(.dd-hero) header.smaller #mainmenu > li > a,
body:has(.rd-hero) header.smaller #mainmenu > li > a,
body:has(.dp-hero) header.smaller #mainmenu > li > a,
body:has(.cat-hero) header.smaller #mainmenu > li > a {
    color: #35404e !important;
}
body:has(.bh-hero) header.smaller #mainmenu > li > a:hover,
body:has(#subheader) header.smaller #mainmenu > li > a:hover,
body:has(.dh-hero) header.smaller #mainmenu > li > a:hover,
body:has(.di-hero) header.smaller #mainmenu > li > a:hover,
body:has(.bdh-hero) header.smaller #mainmenu > li > a:hover,
body:has(.dd-hero) header.smaller #mainmenu > li > a:hover,
body:has(.rd-hero) header.smaller #mainmenu > li > a:hover,
body:has(.dp-hero) header.smaller #mainmenu > li > a:hover,
body:has(.cat-hero) header.smaller #mainmenu > li > a:hover {
    color: #e50000 !important;
}

