/* ===================================================================
   Table of Contents - Buat Artikel
   1. Global Variables & Base Styles
   2. Hero Section
   3. Main Content Layout
   4. Why Section
   5. Niche Section (Grid)
   6. Info Section
   7. Quality Section
   8. Paket Harga
   9. FAQ Section
   10. Responsive
=================================================================== */

/* ===================================================================
   1. Global Variables & Base Styles
=================================================================== */
:root {
    --buatartikel-primary: #775ba3; 
    --buatartikel-secondary: #a35da7;
    --buatartikel-accent: #ffc107;
    --buatartikel-dark: #212529;
    --buatartikel-light: #f8f9fa;
    --buatartikel-white: #ffffff;
    --buatartikel-font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

#page-buatartikel {
    font-family: var(--buatartikel-font-sans);
    background-color: var(--buatartikel-light);
    color: var(--buatartikel-dark);
}

.container-buatartikel {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-buatartikel {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary-buatartikel {
    background-color: var(--buatartikel-accent);
    color: var(--buatartikel-dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary-buatartikel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

.btn-secondary-buatartikel {
    background-color: transparent;
    color: var(--buatartikel-white);
    border-color: var(--buatartikel-white);
}

.btn-secondary-buatartikel:hover {
    background-color: var(--buatartikel-white);
    color: var(--buatartikel-primary);
}

/* ===================================================================
   2. Hero Section
=================================================================== */
.hero-section-buatartikel {
    background: linear-gradient(135deg, #775ba3, #5a3d7a);
    color: var(--buatartikel-white);
    padding: 100px 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-grid-buatartikel {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content-buatartikel {
    flex: 1.2;
    text-align: left;
    z-index: 2;
}

.hero-content-buatartikel h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-highlight-text-buatartikel {
    display: block;
    color: var(--buatartikel-accent);
}

.hero-subtitle-buatartikel {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-cta-buttons-buatartikel {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper-buatartikel {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-main-image-buatartikel {
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ===================================================================
   3. Main Content Layout
=================================================================== */
.main-container-buatartikel {
    display: flex;
    width: 90%;
    margin: 60px auto;
    gap: 40px;
    max-width: 1200px;
}

.sidebar-buatartikel {
    flex: 0 0 250px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: calc(100vh - 140px);
    overflow-y: auto;
}

.side-nav-buatartikel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav-buatartikel a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--buatartikel-dark);
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.side-nav-buatartikel a.active,
.side-nav-buatartikel a:hover {
    background-color: var(--buatartikel-primary);
    color: var(--buatartikel-white);
}

.content-buatartikel {
    flex: 1;
    min-width: 0;
}

.section-buatartikel {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}
.section-buatartikel:last-child {
    border-bottom: none;
}

/* ===================================================================
   4. Why Section
=================================================================== */
.why-heading-buatartikel {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--buatartikel-dark);
}

.why-carousel-wrapper-buatartikel {
    overflow-x: auto;
    padding-bottom: 20px;
}

.why-carousel-container-buatartikel {
    display: flex;
    gap: 20px;
}

.why-card-buatartikel {
    flex: 0 0 280px;
    min-width: 280px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s;
}
.why-card-buatartikel:hover {
    transform: translateY(-5px);
}

.why-card-title-buatartikel {
    font-size: 1.2rem;
    color: var(--buatartikel-primary);
    margin-bottom: 10px;
}

/* ===================================================================
   5. Niche Section (Grid)
=================================================================== */
.heading-buatartikel {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--buatartikel-dark);
}
.subheading-buatartikel {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.8;
}
.niche-grid-buatartikel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.niche-item-buatartikel {
    background: var(--buatartikel-white);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid var(--buatartikel-secondary);
    color: var(--buatartikel-primary);
    font-weight: 600;
    transition: all 0.3s;
}
.niche-item-buatartikel:hover {
    background: var(--buatartikel-primary);
    color: #fff;
}

/* ===================================================================
   6. Info Section
=================================================================== */
.info-container-buatartikel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}
.info-heading-buatartikel {
    font-size: 2rem;
    font-weight: 800;
}
.info-card-image-buatartikel {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.info-paragraph-wrapper-buatartikel {
    grid-column: 1 / -1;
    margin-top: 30px;
    line-height: 1.8;
    text-align: justify;
}

/* ===================================================================
   7. Quality / Benefit Section
=================================================================== */
.benefit-card-buatartikel {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.benefit-heading-buatartikel {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--buatartikel-primary);
}
.benefit-list-buatartikel {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.benefit-list-buatartikel li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.benefit-icon-buatartikel {
    width: 24px;
    height: 24px;
    fill: #28a745;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===================================================================
   8. Paket Harga
=================================================================== */
.paket-heading-buatartikel {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.paket-subtitle-buatartikel {
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
    opacity: 0.7;
}
.paket-grid-buatartikel {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.paket-card-buatartikel {
    flex: 1 1 300px;
    background: white;
    border-radius: 20px;
    border: 1px solid #eee;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.paket-card-buatartikel:hover {
    transform: translateY(-10px);
}
.paket-card-buatartikel.featured {
    border: 2px solid var(--buatartikel-primary);
    box-shadow: 0 15px 40px rgba(119, 91, 163, 0.15);
}
.paket-badge-buatartikel {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--buatartikel-accent);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}
.paket-header-buatartikel h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: var(--buatartikel-dark);
}
.paket-words-buatartikel {
    background: #f0f0f0;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--buatartikel-primary);
}
.paket-price-buatartikel {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--buatartikel-primary);
    margin: 15px 0;
}
.paket-list-buatartikel {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
}
.paket-list-buatartikel li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.bulk-order-cta-buatartikel {
    margin-top: 40px;
    text-align: center;
    background: #e9ecef;
    padding: 20px;
    border-radius: 10px;
}
.bulk-order-cta-buatartikel a {
    color: var(--buatartikel-primary);
    font-weight: 700;
    text-decoration: none;
}

/* ===================================================================
   9. FAQ Section
=================================================================== */
.faq-accordion-buatartikel {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item-buatartikel {
    border-bottom: 1px solid #eee;
}
.faq-header-buatartikel {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-content-buatartikel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item-buatartikel.active .faq-content-buatartikel {
    max-height: 300px;
}

/* ===================================================================
   10. Responsive
=================================================================== */
@media (max-width: 992px) {
    .sidebar-buatartikel { display: none; }
    .hero-grid-buatartikel { flex-direction: column; text-align: center; }
    .hero-image-wrapper-buatartikel { order: -1; margin-bottom: 30px; }
    .hero-cta-buttons-buatartikel { justify-content: center; }
    .info-container-buatartikel { grid-template-columns: 1fr; }
    .benefit-list-buatartikel { grid-template-columns: 1fr; }
}

/* Dark Mode Fixes */
html.dark-mode #page-buatartikel { background-color: #1a1822; color: #f0f0f0; }
html.dark-mode .why-card-buatartikel,
html.dark-mode .benefit-card-buatartikel,
html.dark-mode .paket-card-buatartikel,
html.dark-mode .niche-item-buatartikel {
    background-color: #2a2734;
    border-color: #444;
}
html.dark-mode .btn-secondary-buatartikel { color: #fff; }
html.dark-mode .why-heading-buatartikel,
html.dark-mode .heading-buatartikel,
html.dark-mode .paket-heading-buatartikel,
html.dark-mode .paket-header-buatartikel h3,
html.dark-mode .faq-header-buatartikel span {
    color: #f0f0f0;
}
html.dark-mode .paket-list-buatartikel li,
html.dark-mode .bulk-order-cta-buatartikel {
    color: #ddd;
    background-color: #2a2734;
}
html.dark-mode .paket-words-buatartikel {
    background-color: #1a1822;
}

/* ===================================================================
   #. MINOL
=================================================================== */
.whatsapp-chat-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-chat-button img {
    width: 120px; /* Ukuran default untuk desktop */
    height: auto;
    /*border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
    /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); */
}

/* Responsif untuk tampilan mobile */
@media (max-width: 768px) {
    .whatsapp-chat-button {
        right: 15px;
        bottom: 25px;
    }
    .whatsapp-chat-button img {
        width: 50px; /* Ukuran yang lebih kecil untuk mobile */
    }
}