/* ==========================================================================
   1. RESET & STANDARISASI DESIGN SYSTEM VARIABLES (FUTURISTIK)
   ========================================================================== */
:root {
    --primary-color: #005356;    /* Dark Tech Teal */
    --accent-color: #1f70f2;     /* Modern Electric Blue */
    --bg-global: #dee8f7;        /* Soft Sleek Background Tint */
    --text-main: #0f172a;        /* Slate Dark Gray for UX readability */
    --text-muted: #475569;
    --white: #ffffff;
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    background-color: var(--bg-global);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    z-index: 9999;
}

.header-container {
    width:100%;
    margin: auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-width: 190px;
    height: auto;
    display: block;
}

/* ==========================
   DESKTOP MENU
========================== */

.navigation {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu li a {
    text-decoration: none;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 10px 0;
    transition: all .3s ease;
}

.menu li a:hover {
    color: #0077cc;
}

/* underline animation */
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #0077cc;
    transition: .3s;
}

.menu li a:hover::after {
    width: 100%;
}

/* ==========================
   HAMBURGER BUTTON
========================== */

.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 10001;
}

.menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #222;
    border-radius: 3px;
    transition: .3s;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

/* active hamburger */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 991px) {

    .menu-toggle {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,.1);
        transition: .35s ease;
        padding-top: 90px;
        overflow-y: auto;
    }

    .navigation.active {
        right: 0;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .menu li a {
        display: block;
        width: 100%;
        padding: 15px 25px;
        font-size: 15px;
    }

    .menu li a::after {
        display: none;
    }

    /* overlay */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: 9998;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
    

/* ==========================================================================
   3. HERO BANNER HOME
   ========================================================================== */
.hero-banner {
    width:100%;
    margin: 20px auto;
    padding: 0 20px;
}

.banner-wrapper {
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
}

.banner-item img.img-hero {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   4. LAYOUT KONTEN UTAMA (Grid Responsif & Breadcrumbs)
   ========================================================================== */
.main-container {
    max-width:100%;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.main-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
}

.breadcrumb-nav {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.content-item {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.content-item img.img-fluid {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.main-content h1, .entry-title {
    color: var(--primary-color);
    font-size: 28px; /* Ditingkatkan agar lebih dominan sebagai Judul Utama */
    font-weight: 700;
    letter-spacing: -0.5px;
    padding-bottom: 10px;
}

.main-content h2 {
    color: var(--text-main); /* Diubah ke warna gelap agar lebih tegas */
    font-size: 22px;         /* Ditingkatkan agar ada perbedaan jelas dengan p */
    margin-top: 30px;        /* Memberi napas/spasi sebelum heading baru */
    margin-bottom: 15px;
    font-weight: 600;        /* Bold sedang agar menonjol */
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;   /* Border hanya sepanjang teks, lebih estetis */
    padding-bottom: 5px;
}


.main-content h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 19px;
    background: var(--accent-color);
    margin-right: 10px;
    border-radius: 2px;
    vertical-align: middle;
}

.article-body {
    padding: 20px 0px;
    font-size: 16px;         /* Ditingkatkan sedikit untuk kenyamanan mata */
    color: var(--text-muted); /* Konsisten dengan variabel warna Anda */
    line-height: 1.8;        /* Ditingkatkan agar lebih legible (terbaca) */
}

.article-body p {
    margin-bottom: 20px;     /* Sedikit lebih lebar untuk memisahkan antar paragraf */
}

.article-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.article-body {
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-body img,
.article-body iframe,
.article-body video {
    max-width: 100%;
}

/* Styling Ordered List (Ol) agar selaras dengan Ul */
.article-body ol {
    list-style: decimal; /* Memastikan angka muncul */
    padding-left: 20px;  /* Ruang agar angka tidak mepet ke pinggir */
    margin: 25px 0;
}

.article-body ol li {
    padding-left: 10px;  /* Jarak antara angka dan teks */
    margin-bottom: 12px;
    line-height: 1.7;
    text-align: left !important; /* Paksa rata kiri, hapus justify */
}

/* Mengatur warna angka agar senada dengan Primary Color */
.article-body ol li::marker {
    color: var(--primary-color);
    font-weight: 700;
}

/* Styling List yang Rapi & Menjorok ke Dalam */
.article-body ul {
    list-style: none; /* Hilangkan bullet standar */
    padding-left: 15px; /* Memberikan sedikit ruang awal */
    margin: 25px 0 25px 20px; /* margin-left 20px membuat list menjorok ke dalam */
}

.article-body ul li {
    position: relative;
    padding-left: 25px; /* Jarak antara ikon centang dengan teks */
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Kustomisasi Bullet */
.article-body ul li::before {
    content: "✓"; 
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

/* Responsif untuk Mobile */
@media (max-width: 767px) {
    .article-body ul {
        margin-left: 10px; /* Kurangi margin di mobile agar tidak terlalu makan tempat */
    }
}

.article-body table {
    width: 100%;
    border-spacing: 0;
    margin: 24px 0;
    font-size: 15px;
    border-radius: var(--radius-md); /* Menggunakan variabel radius Anda */
    overflow: hidden;
    border: 1px solid rgba(0, 83, 86, 0.1); /* Border yang lebih halus dengan warna primary */
    box-shadow: var(--shadow-premium);
    border-collapse: separate !important;
}

.article-body table thead th {
    background: var(--primary-color); /* Menggunakan warna Dark Tech Teal */
    color: var(--white);
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    border: none !important;
}

.article-body table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 83, 86, 0.08); /* Konsisten dengan primary */
    color: var(--text-main);
}

.article-body table tbody tr:nth-child(even) { 
    background: #f8fafc; 
}

.article-body table tbody tr:hover { 
    background: #f0fdfa; /* Efek hover hijau lembut */
}

.article-body table tbody tr:last-child td { 
    border-bottom: none !important; 
}

/* Card konversi tabel untuk mobile by js */
.mobile-table-cards{
    display:none;
}

@media (max-width:768px){

    .mobile-table-cards{
        display:block;
        margin:20px 0;
    }

    .mobile-table-card{
        border:1px solid #e5e7eb;
        border-radius:12px;
        padding:15px;
        margin-bottom:15px;
        background:#fff;
        box-shadow:0 2px 8px rgba(0,0,0,.05);
    }

    .mobile-table-row{
        margin-bottom:12px;
    }

    .mobile-table-row:last-child{
        margin-bottom:0;
    }

    .mobile-table-label{
        font-weight:700;
        color:var(--primary-color);
        font-size:14px;
        margin-bottom:4px;
    }

    .mobile-table-value{
        color:var(--text-main);
        line-height:1.6;
    }

    /* Sembunyikan tabel asli di mobile */
    .article-body table{
        display:none !important;
    }

}


.sidebar {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    height: fit-content;
    /* Properti Sticky */
    position: sticky;
    top: 90px; /* Jarak dari atas layar saat discroll */
    height: fit-content; /* Memastikan tinggi sidebar sesuai isinya */
}

.widget-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 8px;
    text-transform: uppercase;
}

/* ==========================================================================
   5. MARKETING CARDS (UI Terpadu untuk Mobile & Desktop)
   ========================================================================== */
.marketing-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.marketing-avatar {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    margin-right: 16px;
}

.marketing-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.marketing-info {
    flex-grow: 1;
    text-align: left;
}

.marketing-name {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.marketing-card .inline-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    object-fit: contain;
}

.marketing-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Penyesuaian Agar Selaras dengan Home (Hijau Tua Premium) */

.btn-marketing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md, 8px); /* Fallback ke 8px jika variabel tidak ada */
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
}

/* WhatsApp: Menggunakan hijau tua yang selaras dengan tombol home */
.btn-marketing.btn-wa {
    background-color: #1e7e34; /* Diselaraskan dengan warna tombol Home */
    color: #ffffff !important;
}

.btn-marketing.btn-wa:hover {
    background-color: #165e26; /* Versi lebih gelap untuk efek hover */
    box-shadow: 0 4px 12px rgba(30, 126, 52, 0.3);
}

/* TLP: Tetap menggunakan Primary Color, pastikan primary-color adalah tone gelap */
.btn-marketing.btn-tlp {
    background-color: #2c3e50; /* Warna biru gelap/slate untuk kontras yang elegan */
    color: #ffffff !important;
}

.btn-marketing.btn-tlp:hover {
    background-color: #1a252f;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Memastikan teks tetap terbaca di semua state */
.btn-marketing:visited {
    color: #ffffff !important;
}

/* Menggunakan variabel yang sudah Anda miliki */

.btn-marketing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

/* WhatsApp: Menggunakan Primary Color (Teal) */
.btn-marketing.btn-wa {
    background-color: var(--primary-color); /* #005356 */
    color: var(--white) !important;
}

.btn-marketing.btn-wa:hover {
    background-color: #003a3d; /* Versi lebih gelap dari #005356 */
    box-shadow: var(--shadow-premium);
}

/* TLP: Menggunakan Accent Color (Electric Blue) untuk kontras yang menonjol */
.btn-marketing.btn-tlp {
    background-color: var(--accent-color); /* #1f70f2 */
    color: var(--white) !important;
}

.btn-marketing.btn-tlp:hover {
    background-color: #1656c0; /* Versi lebih gelap dari #1f70f2 */
    box-shadow: var(--shadow-premium);
}
/* ==========================================================================
   6. BOTTOM BLOCKS & GRID ARCHITECTURE
   ========================================================================== */
.bottom-grid-container {
    max-width: 1100px;
    margin: 10px auto 40px auto;
    padding: 0 20px;
}

.container-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: stretch;
}

.content-box {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.box-title {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Penyelarasan Fleksibel Mobile */
/* Batasi tinggi box agar tidak terlalu panjang */
.scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 393px;        /* Sesuaikan tinggi maksimal sesuai keinginan Anda */
    overflow-y: auto;         /* Munculkan scrollbar jika konten melebihi max-height */
    padding-right: 8px;       /* Memberi ruang untuk scrollbar */
}

/* Styling scrollbar agar terlihat modern/futuristik */
.scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.card-item {
    display: grid;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.card-thumb {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.posting-list {
    list-style: none;
}

.posting-list li {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
    font-size: 14px;
}

.list-num {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 8px;
}

.location-box .box-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.maps-trigger img {
    width: 50%;
    border-radius: var(--radius-md);
}

address {
    font-style: normal;
    font-size: 13px;
    color: var(--text-muted);
}

address strong {
    color: var(--primary-color);
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.contact-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.hours {
    margin-top: 8px;
    font-weight: bold;
    color: #0d6b5f;
}

.street {
    margin-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.08);
    padding-top: 8px;
}

/* ==========================================================================
   7. FOOTER STYLES
   ========================================================================== */
.site-footer {
    background: var(--primary-color);
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
    font-size: 13px;
    margin-top: 40px;
}

.site-footer a {
    color: #ffffff;
    font-weight: 600;
}

.site-footer a:hover {
    color: #dbeafe;
}

/* ==========================================================================
   8. FUTURISTIK FLOATING CONVERSION CTA (ANIMATED PULSE)
   ========================================================================== */
.floating-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #ffffff;
    color: #0c3e72; /* Warna senada brand Anda */
    padding: 12px 20px;
    border-radius: 20px 20px 5px 20px; /* Bentuk seperti chat bubble */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(12, 62, 114, 0.1);
}

.floating-bubble:hover {
    transform: scale(1.05);
    background: #f8fbff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Sedikit animasi kedip yang sangat halus (hampir tidak terlihat) */
@keyframes soft-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.floating-bubble {
    animation: soft-blink 3s infinite;
}

@media (max-width: 767px) {
    .floating-bubble {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE ALIGNMENT FOR PC DESKTOP)
   ========================================================================== */
@media (min-width: 1200px) {
    .header-container, .hero-banner, .main-container, .bottom-grid-container {
        max-width: 1200px;
    }
}

@media (min-width: 768px) {
    
    .main-container {
        grid-template-columns: 2.7fr 1.3fr; /* Konten Utama Kiri, Sidebar Kanan */
    }
    
    .container-inner {
        grid-template-columns: repeat(3, 1fr); /* 3 Box Bawah Sejajar Horizontal Sempurna */
        align-items: start;
    }
    
}



