* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url("image_4.jpg"); /* Pastikan file image_4.jpg ada di folder yang sama */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh; /* FIX: Diubah dari min-h-screen */
    padding-top: 110px; /* FIX: Tambahan agar konten tidak tertutup header yang fixed */
    padding-bottom: 50px;
}

/* Container Utama */
.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
}

/* Navigation Bar (Fixed & Glassmorphism) */
header {
    position: fixed; /* FIX: Membuat header tetap di atas */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    
    padding: 25px 0; /* Padding awal agak longgar */
    
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Transisi halus saat di-scroll */
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Class tambahan via JavaScript saat halaman di-scroll */
header.header-shrink {
    padding: 12px 0; /* Padding mengecil */
    background: rgba(15, 23, 42, 0.9); /* Background sedikit lebih gelap */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Efek bayangan di bawah header */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: #38bdf8;
}

.logo-area h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px; /* Sedikit dirapatkan karena menu bertambah */
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: #ffffff;
}

.btn-contact {
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none; /* Tambahan agar link tidak bergaris bawah */
}

.btn-contact:hover {
    background: #1d4ed8;
}

.nav-login-link {
    font-size: 11px !important;
    color: #64748b !important;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-login-link:hover {
    color: #cbd5e1 !important;
    border-color: rgba(255,255,255,0.25);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.empty-nav-item {
    display: block;
    padding: 10px 18px;
    color: #64748b;
    font-size: 12px;
}

/* Layout Utama: Kiri (Konten) & Kanan (Sidebar) */
.main-wrapper {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 30px;
    align-items: start;
}

/* ==========================================================================
   PENINGKATAN KONTRAST & GLASSMORPHISM
   ========================================================================== */
.glass-panel {
    /* Mengubah opacity latar belakang menjadi 0.7 agar teks putih di atasnya lebih solid */
    background: rgba(30, 41, 59, 0.7); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

/* Mengatur keterbacaan (Readability) teks paragraf di dalam seluruh panel utama/blog */
.glass-panel p {
    color: #f3f4f6;       /* Warna putih abu-abu yang sangat terang (High Contrast) */
    font-size: 16px;       /* Ukuran standar yang ideal untuk membaca di laptop/HP */
    line-height: 1.7;      /* Memberikan jarak renggang yang nyaman antar baris teks */
    letter-spacing: 0.3px; /* Memberikan sedikit jarak antar huruf */
}

/* Jumbotron / Hero Post */
.hero-post h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* Overriding khusus teks hero agar tidak terlalu besar dibanding teks artikel */
.hero-post p {
    color: #cbd5e1;
    font-size: 15px;
    margin-bottom: 25px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

/* ==========================================================================
   GRID PRODUK UNGGUHAN & AKSI KARTU
   ========================================================================== */
.product-section-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.product-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Overriding spesifik untuk deskripsi produk agar ukuran teksnya tetap proposional di kartu */
.product-card p {
    color: #94a3b8;
    font-size: 12px;
    height: 55px;
    overflow: hidden;
    line-height: 1.5;
}

.product-card .price {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0;
    color: #ffffff;
}

.card-actions {
    display: grid;
    /* Mengubah rasio kolom agar tombol sekunder sedikit lebih lebar atau seimbang */
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 10px;
}

.btn-card-action {
    background: #2563eb; /* Mengubah tombol utama beli menjadi biru agar senada dengan tema */
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 11px; /* Dikecilkan sedikit agar teks panjang muat dalam 1 baris */
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}

.btn-card-action:hover {
    background: #1d4ed8;
}

/* TOMBOL BARU: "Pelajari Selengkapnya" */
.btn-card-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: 0.2s;
}

.btn-card-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4); /* Highlight biru tipis saat hover */
}

/* Menjaga kompatibilitas kelas indikator jika Anda membutuhkannya */
.btn-card-indicator {
    background: #2563eb; 
}

/* ==========================================================================
   BLOG POST DETAIL (BAGIAN BAWAH)
   ========================================================================== */
.blog-label {
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.blog-main-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.blog-meta {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Opsi 1: Blog Grid Section di Bagian Bawah */
.blog-section {
    margin-top: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    margin-bottom: 0; /* Reset margin bawaan glass-panel */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.4); /* Highlight biru tipis saat hover */
}

.blog-card h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Overriding spesifik untuk paragraf di dalam kartu blog agar teks previewnya proporsional */
.blog-card p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Memastikan tinggi teks seimbang */
}

.blog-card a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.blog-card a:hover {
    color: #7dd3fc;
}

/* ==========================================================================
   SIDEBAR STYLING
   ========================================================================== */
.sidebar-title {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 5px;
    font-weight: 400;
}

.sidebar-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Kotak Statistik - Mini & Bersebelahan */
.stats-container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.mini-stats-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 5px;
    text-align: center;
    border-radius: 8px;
}

.mini-stats-card .num {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.mini-stats-card .label {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 3px;
    display: block;
    line-height: 1.2;
}

/* Kolom Komentar Sidebar */
.comment-box-sidebar {
    display: flex;
    flex-direction: column; /* FIX: Diubah dari flex-col */
    gap: 15px;
}

.comment-item {
    display: flex;
    gap: 12px;
    align-items: start;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.comment-content h4 {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

/* Overriding spesifik untuk teks komentar di sidebar agar tetap rapi */
.comment-content p {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 2px;
    line-height: 1.4;
}

.comment-time {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
}

.btn-sidebar-contact {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-sidebar-contact:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Opsi 3: Artikel Populer di Sidebar */
.popular-posts {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-posts li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.popular-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-posts a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    display: block;
    transition: color 0.2s, padding-left 0.2s;
}

.popular-posts a:hover {
    color: #38bdf8;
    padding-left: 4px; /* Efek geser tipis saat di-hover */
}

/* ==========================================================================
   FORM TINDAKAN & TOMBOL KUSTOM BERBASIS IKON PIHAK KETIGA
   ========================================================================== */
.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Jarak proporsional antara ikon asli dan label teks */
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Properti Warna Korporat Resmi WhatsApp */
.btn-wa {
    background-color: #25d366;
}

.btn-wa:hover {
    background-color: #1ebd58;
}

/* Properti Warna Aksen Email Akses Cepat */
.btn-email {
    background-color: #2563eb;
}

.btn-email:hover {
    background-color: #1d4ed8;
}

/* Kontrol Dimensi Bundel Ikon SVG / FontAwesome */
.btn-submit i {
    font-size: 16px;
}

/* --- SISTEM DROPDOWN NAVIGASI --- */
.dropdown {
    position: relative; /* Menjadi patokan posisi kotak menu melayang */
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Kotak Utama Menu Dropdown (Tersembunyi secara default) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    background: rgba(15, 23, 42, 0.95); /* Menyesuaikan tema gelap PineEdge */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

/* Class aktif yang dipicu oleh JavaScript */
.dropdown-menu.show {
    display: block;
    animation: fadeInSlide 0.2s ease forwards;
}

/* Struktur di dalam Menu */
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #cbd5e1;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #38bdf8 !important;
    padding-left: 22px; /* Efek geser lembut */
}

/* Desain Folder/Kategori di dalam Kategori Produk */
.nested-dropdown {
    padding: 5px 0;
}

.folder-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

/* Warna aksen kecil ikon folder */
.text-sky { color: #38bdf8; }
.text-emerald { color: #10b981; }

/* Efek Animasi Muncul Lembut */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aturan Responsif HP agar dropdown melebar proporsional */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static; /* Mengikuti arus vertikal halaman jika di HP */
        width: 100%;
        box-shadow: none;
        background: rgba(15, 23, 42, 0.4);
        border: none;
        padding-left: 10px;
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIF TABLET & HP)
   ========================================================================== */
@media (max-width: 1024px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
}

/* Aturan khusus untuk layar HP / Mobile (Maksimal lebar 768px) */
@media (max-width: 768px) {
    /* 0. Navbar berubah jadi menu hamburger */
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(15, 23, 42, 0.97);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 20px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    nav.mobile-open {
        display: flex;
    }

    nav .dropdown {
        display: block;
        width: 100%;
    }

    nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    nav .btn-contact,
    nav .nav-login-link {
        display: block;
        text-align: center;
        margin: 12px 0 0;
        border-bottom: none;
    }

    /* 1. Mengubah susunan kolom menjadi satu banjar ke bawah */
    .main-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px; /* Memperkecil padding luar agar tidak memakan ruang */
    }
    
    .content-left, .sidebar-right {
        width: 100% !important; /* Memaksa lebar konten & sidebar penuh 100% */
    }

    /* 2. Mengubah ukuran font judul agar tidak terlalu besar di HP */
    .blog-main-title {
        font-size: 24px !important; 
        line-height: 1.4;
    }

    /* 3. Mengubah tombol WA dan Email menjadi vertikal (tumpuk bawah) */
    .form-actions {
        flex-direction: column; /* Tombol WA di atas, Tombol Email di bawah */
        gap: 12px !important;
    }
    
    .btn-submit {
        width: 100%; /* Tombol memenuhi lebar form */
    }

    /* Memastikan elemen grid blog bawaan tetap rapi ke bawah */
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Tombol Kembali ke Home
==================================== */
.back-btn{
    display:inline-block;
    padding:10px 15px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    border-radius:8px;
    margin:15px;
    font-weight:600;
}

.back-btn:hover{
    background:#1d4ed8;
}