/* ============================================================
   PT. JINGGA INTI SOLUSI — Design System (liquid.id inspired)
   Monochrome palette · DM Sans 300 · #efefef · #000
   ============================================================ */

/* --- NUCLEAR OVERRIDE: force hero/CMS sections to #efefef --- */
.tv-hero-area,
.tv-hero-area[style*="background"],
[class*="tv-hero"][style*="background"],
[class*="hero-area"][style*="background"] {
    background: #efefef !important;
    background-image: none !important;
}

/* --- TYPOGRAPHY --- */
body, p, span, a, li, td, input, textarea, select, button,
h1, h2, h3, h4, h5, h6,
.tv-section-title, .tv-hero-title, .tv-footer-wrap h1,
[data-rcp-title],
.tlx-nav-link, .tlx-header-cta, .rcp-badge,
.rcp-marquee-item, .breadcrumb {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.tv-section-title, .tv-hero-title,
[data-rcp-title] {
    font-weight: 300 !important;
    letter-spacing: 0.03em;
}

body, p, span, li {
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* --- SMOOTH BASE --- */
html { scroll-behavior: auto !important; }
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- BASE COLORS --- */
:root {
    --bg-page:     #efefef;
    --text-dark:   #000000;
    --text-muted:  #a4a4a4;
    --text-subtle: #969696;
    --white:       #ffffff;
    --black:       #000000;
    --border:      rgba(0,0,0,0.12);
}

html, body  { background: #efefef !important; }
main        { background: #efefef; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#header-sticky {
    background: #efefef !important;
    padding: 22px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: none !important;
    top: 0;
    position: fixed;
    z-index: 9999;
}

#header-sticky.header-sticky,
#header-sticky.header-scrolled {
    background: rgba(239,239,239,0.97) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 14px 0 !important;
    box-shadow: 0 5px 5px rgba(0,0,0,0.06) !important;
    border-bottom: none !important;
    animation: none !important;
}

.tv-header-height {
    display: block;
    height: 88px;
    background: #efefef;
}

/* Logo */
.tlx-header-logo {
    max-height: 68px;
    width: auto;
    display: block;
    transition: max-height 0.3s ease, opacity 0.3s;
}
.tlx-header-logo:hover { opacity: 0.65; }
#header-sticky.header-sticky .tlx-header-logo { max-height: 56px; }

/* Nav list */
.tlx-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0; padding: 0;
    gap: 0;
}
.tlx-nav-item { position: relative; }

.tlx-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000 !important;
    font-size: 17px;
    font-weight: 300 !important;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    padding: 6px 16px;
    border-radius: 0;
    text-decoration: none !important;
    position: relative;
    background: transparent !important;
    transition: color 0.2s;
}

/* Underline animation on hover */
.tlx-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease 0.1s;
}
.tlx-nav-item:hover .tlx-nav-link::after,
.tlx-nav-item.tlx-nav-active .tlx-nav-link::after {
    transform: scaleX(1);
}
.tlx-nav-item:hover .tlx-nav-link,
.tlx-nav-item.tlx-nav-active .tlx-nav-link {
    color: #000 !important;
    background: transparent !important;
}

.tlx-nav-arrow { font-size: 9px; transition: transform 0.25s; }
.tlx-nav-item:hover .tlx-nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.tlx-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 200px;
    background: #efefef;
    border-radius: 0;
    padding: 10px 0;
    list-style: none; margin: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-top: 1px solid #000;
    z-index: 999;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tlx-has-dropdown:hover .tlx-dropdown { display: block; animation: dropdownFadeIn 0.18s ease; }
.tlx-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #000;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-decoration: none;
    transition: background 0.2s;
}
.tlx-dropdown li a:hover {
    background: rgba(0,0,0,0.05);
    color: #000;
}

/* CTA Button — outline pill */
.tlx-header-cta {
    background: transparent !important;
    color: #000 !important;
    padding: 8px 22px;
    border-radius: 100px;
    border: 1px solid #000;
    font-size: 14px;
    font-weight: 300 !important;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-decoration: none !important;
    gap: 6px !important;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.tlx-header-cta:hover {
    background: #000 !important;
    color: #fff !important;
    box-shadow: none;
    transform: translateY(-1px);
}
.tlx-header-cta i { font-size: 11px; }

/* Phone icon */
.tlx-header-phone-icon {
    width: 36px; height: 36px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.tlx-header-phone-icon:hover {
    background: #000; color: #fff; border-color: #000;
}

/* Mobile toggle */
.tlx-mobile-toggle {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 4px;
    width: 42px; height: 42px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; cursor: pointer; padding: 0;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.tlx-mobile-toggle:hover { border-color: #000; background: transparent; }
.tlx-toggle-bar {
    display: block;
    width: 20px; height: 1.5px;
    background: #000;
    border-radius: 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Offcanvas (mobile nav) — dark theme, managed by liquid-rcp.css */
/* Do NOT override background or text colors here; all handled in liquid-rcp.css */
.body-overlay { background: rgba(0,0,0,0.6) !important; z-index: 100000 !important; }
.tv-offcanvas-area .itoffcanvas, .itoffcanvas { z-index: 100001 !important; }

/* Mobile nav links */
.tv-menu-mobile ul { padding: 0; margin: 0; list-style: none; }
.tv-menu-mobile ul li a {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 0;
    color: #000;
    font-size: 18px; font-weight: 300; letter-spacing: 0.04em;
    text-transform: lowercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    border-radius: 0; border-left: none;
    margin-bottom: 0;
    transition: color 0.2s, background 0.2s;
    background: transparent;
}
.tv-menu-mobile ul li a:hover { color: #a4a4a4; background: transparent; border-left: none; }

/* Responsive header */
@media (max-width: 991px) {
    #header-sticky { padding: 14px 0; }
    .tlx-header-logo { max-height: 54px; }
    .tv-header-height { height: 86px; }
}
@media (max-width: 767px) {
    #header-sticky { padding: 12px 0; }
    .tlx-header-logo { max-height: 48px; }
    .tv-header-height { height: 76px; }
}
@media (max-width: 480px) {
    .tlx-header-logo { max-height: 42px; }
    .tv-header-height { height: 68px; }
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.section-bg, .gray-bg, .bg-gray-section,
[class*="gray-bg"], .tv-gray-bg {
    background-color: #e8e8e8 !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
/* Primary — filled black */
.tv-btn-primary {
    background: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    border-radius: 100px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    letter-spacing: 0.04em !important;
    text-transform: lowercase;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    box-shadow: none !important;
}
.tv-btn-primary:hover {
    background: transparent !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: none !important;
}
.tv-btn-primary .btn-text1,
.tv-btn-primary .btn-text2 { color: inherit !important; }

/* Normal text link */
.tv-normal-btn { color: #000; font-weight: 300; }
.tv-normal-btn:hover { color: #a4a4a4; }

/* Override any gradient buttons sitewide */
[class*="gradient"], [style*="linear-gradient"] {
    /* NOT overriding inline-style gradients selectively — rely on specific selectors */
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader { background: #efefef !important; }
.preloader span { background: #000 !important; }
.loading-text { color: rgba(0,0,0,0.4) !important; }
.preloader-logo {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tv-hero-area {
    background: #efefef !important;
    position: relative;
}
.tv-hero-subtitle {
    color: #a4a4a4;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}
.tv-hero-title   { color: #000 !important; font-weight: 300 !important; }
.tv-hero-content p { color: #a4a4a4; }

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.tv-section-subtitle {
    color: #a4a4a4;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}
.tv-section-title { color: #000; font-weight: 300; }

/* ============================================================
   SERVICE BOXES
   ============================================================ */
.single-service-item {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.single-service-item::before { display: none !important; }
.single-service-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.single-service-item .service-icon { color: #000; font-size: 32px; }
.single-service-item:hover .service-icon { color: #000; }
.service-section-title { color: #000; font-weight: 300; letter-spacing: 0.04em; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.tv-about-list-item ul li svg path { fill: #000; }
.tv-about-list-item ul li svg path[fill="#2B4DFF"] { fill: #000; }
.phone-contact-wrap {
    background: #fff;
    border-radius: 12px;
    border-left: none !important;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 20px;
}
.phone-contact-wrap i { color: #000; }
.phone-contact-wrap h4 a { color: #000; }
.phone-contact-wrap h4 a:hover { color: #a4a4a4; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.tv-cta-area { background: #000 !important; position: relative; }
.cta-content h1 { color: #fff; font-weight: 300; }
.cta-content p  { color: rgba(255,255,255,0.7); font-weight: 300; }

/* ============================================================
   FOOTER — solid black for contrast
   ============================================================ */
.tv-footer-wrap, .footer-bg, footer > div { background: #000 !important; }
.tv-footer-top-left h1 { color: #fff; font-weight: 300; }
.tv-footer-top-left ul li a {
    color: rgba(255,255,255,0.65); font-weight: 300;
    transition: color 0.2s;
}
.tv-footer-top-left ul li a:hover { color: #fff; }
.tv-footer-top-right p  { color: rgba(255,255,255,0.65); font-weight: 300; }
.tv-footer-widget-social a {
    background: transparent !important;
    color: rgba(255,255,255,0.6) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 50%;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.tv-footer-widget-social a:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}
.tv-copyright-left p { color: rgba(255,255,255,0.4); font-weight: 300; font-size: 13px; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.scroll-top:hover {
    background: #fff !important; color: #000 !important;
    border-color: #000 !important;
    transform: translateY(-3px);
}

/* ============================================================
   SEARCH POPUP
   ============================================================ */
.search__popup { background: rgba(239,239,239,0.98) !important; }
.search-input-field:focus { border-color: #000; }
.search__form button { color: #000; }
.search__form button:hover { color: #a4a4a4; }

/* ============================================================
   OFFCANVAS (legacy)
   ============================================================ */
.itoffcanvas__info-icon a { color: #000; }
.itoffcanvas__info-icon a:hover { color: #a4a4a4; }
.itoffcanvas__info-address a { color: rgba(255,255,255,0.75); }
.itoffcanvas__info-address a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE — PAGE SECTIONS
   ============================================================ */
@media (max-width: 991px) {
    .tv-header-menu { background: #000; }
    .tv-hero-title  { font-size: 36px !important; font-weight: 300 !important; }
    .tv-section-title { font-size: 28px !important; font-weight: 300 !important; }
}
@media (max-width: 767px) {
    .tv-hero-title  { font-size: 28px !important; }
    .tv-section-title { font-size: 22px !important; }
    [class*="pt-130"] { padding-top: 80px !important; }
    [class*="pt-100"] { padding-top: 60px !important; }
    [class*="pb-100"] { padding-bottom: 60px !important; }
}
@media (max-width: 480px) {
    .tv-hero-title { font-size: 24px !important; }
    [class*="pt-130"] { padding-top: 70px !important; }
}

/* ============================================================
   ANIMATIONS — keep subtle
   ============================================================ */
.experience-wrapper { background: #000; color: #fff; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary { color: #000 !important; }
.bg-primary   { background-color: #000 !important; }
.border-primary { border-color: #000 !important; }

/* Kill leftover blue gradient references */
.bg-gradient-primary,
.bg-gradient-primary-light,
.bg-gradient-red-to-dark {
    background: #000 !important;
}
.hexagon-pattern { display: none; }
.pulse-red, .pulse-purple { animation: none; }
