:root {
    --primary-color: #1a3a6e;
    --secondary-color: #e67e22;
    --dark-color: #2c3e50;
    --text-color: #333;
    --white: #fff;
    --light-gray: #f8f9fa;
    --text-light: #6c757d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.navbar {
    background: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: bold; }
.logo img { width: 45px; height: 45px; object-fit: contain; }
.logo span { font-size: 0.9rem; line-height: 1.2; }
.nav-menu { display: flex; list-style: none; gap: 20px; }
.nav-menu a { color: var(--white); text-decoration: none; font-weight: 500; }
.nav-menu a:hover { color: var(--secondary-color); }
.btn-nav { background: #d35400; padding: 8px 16px; border-radius: 30px; }
.btn-nav:hover { background: #a04000; color: white !important; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; background: transparent; border: none; padding: 10px; }
.menu-toggle .bar { width: 25px; height: 3px; background: white; margin: 3px 0; transition: 0.3s; }
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu { position: fixed; left: -100%; top: 75px; flex-direction: column; background: var(--primary-color); width: 100%; text-align: center; transition: 0.3s; padding: 20px 0; gap: 15px; }
    .nav-menu.active { left: 0; }
}

.blog-container { max-width: 980px; margin: 0 auto; padding: 120px 30px 50px; }
@media (max-width: 768px) { .blog-container { padding: 100px 20px 40px; } }

.breadcrumb { padding: 0.8rem 0; margin-bottom: 1rem; font-size: 0.8rem; }
.breadcrumb a { color: #0d3b6e; text-decoration: underline; }
.breadcrumb .separator { margin: 0 0.3rem; color: #555; }
.breadcrumb .current { color: #333; font-weight: 500; }

.update-badge { background: #2e7d32; color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.85rem; margin-bottom: 1.5rem; display: inline-block; }

.calculator-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    border-radius: 20px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(26,58,110,0.2);
}
.calculator-box h2 { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 1rem; }
.method-selector { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.method-btn { flex: 1; padding: 12px; background: white; border: 2px solid #ddd; border-radius: 10px; cursor: pointer; text-align: center; font-weight: 600; transition: all 0.3s ease; color: #222; min-height: 48px; }
.method-btn.active { border-color: #d35400; background: #d35400; color: #fff; }
.calculator-form-group { margin-bottom: 1rem; }
.calculator-form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: #222; }
.calculator-form-group select, .calculator-form-group input { width: 100%; padding: 10px 12px; border: 2px solid #ddd; border-radius: 10px; font-size: 0.95rem; background: white; }
.calculator-result { background: white; border-radius: 15px; padding: 1.2rem; margin-top: 1.2rem; text-align: center; border: 2px solid var(--primary-color); }
.calculator-result .total-price { font-size: 1.6rem; font-weight: bold; color: var(--primary-color); }
.calculator-result .detail-price { font-size: 0.8rem; color: #555; margin-top: 0.3rem; }
.calculator-result .estimation-time { background: #e8f5e9; padding: 0.5rem; border-radius: 8px; margin-top: 0.6rem; font-size: 0.85rem; color: #1b5e20; }
.btn-wa { background: #25D366; width: 100%; padding: 12px; font-size: 1rem; color: white; border: none; border-radius: 10px; font-weight: bold; margin-top: 1rem; cursor: pointer; transition: all 0.3s ease; min-height: 48px; }
.btn-wa:hover { background: #128C7E; }
.calculator-note { font-size: 0.7rem; color: #555; margin-top: 0.8rem; text-align: center; }
.price-hint { font-size: 0.7rem; color: #555; margin-top: 0.2rem; }

@media (min-width: 768px) {
    .calculator-box { padding: 1.8rem; }
    .form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .calculator-result .total-price { font-size: 2rem; }
}

.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.85rem; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.price-table th { background: var(--primary-color); color: white; padding: 10px; text-align: center; font-weight: 600; }
.price-table td { padding: 8px; border: 1px solid #ddd; text-align: center; color: #222; }
.price-table tr:nth-child(even) { background: #f9f9f9; }
.price-table tr:hover { background: #f0f7ff; }
.table-responsive { overflow-x: auto; margin: 1rem 0; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.8rem; margin: 1.2rem 0; }
.info-card { background: #f0f7ff; padding: 0.8rem; border-radius: 10px; border-left: 4px solid var(--primary-color); }
.info-card h3 { color: var(--primary-color); margin-bottom: 0.3rem; font-size: 1rem; }

.illustration-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; align-items: center; }
.illustration-img { flex: 1; min-width: 200px; text-align: center; }
.illustration-img img { width: 100%; max-width: 400px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); aspect-ratio: 400 / 250; object-fit: cover; }
.illustration-img .caption { font-size: 0.7rem; color: #555; margin-top: 0.3rem; }
.illustration-text { flex: 1.5; }

.faq-container { margin: 1.5rem 0; }
.faq-item { background: white; border-radius: 12px; margin-bottom: 0.8rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 1px solid #ddd; overflow: hidden; }
.faq-question { width: 100%; background: #f5f5f5; border: none; text-align: left; padding: 1rem 1.2rem; font-weight: 600; color: #0d3b6e; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.faq-question i { transition: transform 0.3s; color: #d35400; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.2rem; color: #222; }
.faq-answer.show { max-height: 300px; padding: 0 1.2rem 1rem 1.2rem; }

.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.area-card { background: #f5f5f5; border-radius: 12px; padding: 1rem; border-left: 4px solid #d35400; }
.area-card h3 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-tags span { background: white; padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; border: 1px solid #ccc; color: #222; }

.btn-wa-konsultasi { display: inline-block; background: #25D366; color: white; padding: 12px 25px; border-radius: 30px; text-decoration: none; font-weight: bold; min-height: 48px; }
.btn-wa-konsultasi:hover { background: #128C7E; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.15); border-radius: 50%; color: white; font-size: 1.1rem; transition: all 0.3s ease; text-decoration: none; }
.social-links a:hover { background: var(--secondary-color); transform: translateY(-3px); }

.footer { background: linear-gradient(135deg, var(--primary-color), var(--dark-color)); color: white; padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h3 { color: white; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: #d35400; }
.footer-col p, .footer-col li { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 20px; text-align: center; font-size: 0.8rem; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px; background: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; z-index: 100; text-decoration: none; }
.scroll-top { position: fixed; bottom: 100px; right: 30px; width: 48px; height: 48px; background: #d35400; color: white; border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 99; }
.scroll-top.active { opacity: 1; visibility: visible; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (max-width: 768px) {
    .method-selector { flex-direction: column; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 20px; }
    .scroll-top { width: 44px; height: 44px; bottom: 80px; right: 20px; }
    .illustration-row { flex-direction: column; }
    .info-grid { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: 1fr; }
}

.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: white; padding: 8px; text-decoration: none; z-index: 1001; }
.skip-link:focus { top: 0; }
:focus { outline: 3px solid #d35400; outline-offset: 2px; }
a:not(.btn-nav):not(.btn-wa-konsultasi):not(.whatsapp-float) { text-decoration: underline; }

.blog { padding: 60px 0; background-color: #f8f9fa; }
.section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--primary-color); text-align: center; margin-bottom: 15px; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: linear-gradient(90deg, var(--secondary-color), #3498db); border-radius: 2px; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 40px; color: var(--text-light); font-size: clamp(0.85rem, 3vw, 1rem); }
.blog-grid, .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin: 30px 0; }
.project-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.project-card img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s ease; display: block; }
.project-card:hover img { transform: scale(1.03); }
.project-info { padding: 20px; }
.project-info h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary-color); line-height: 1.4; }
.project-info p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; line-height: 1.5; }
.project-info .btn-primary { display: inline-block; padding: 8px 18px; background: var(--secondary-color); color: white; border-radius: 30px; font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; }
.project-info .btn-primary:hover { background: #d35400; transform: translateY(-2px); }
.portfolio-cta { text-align: center; margin-top: 30px; }
.portfolio-cta .btn-primary { display: inline-block; padding: 12px 30px; background: var(--primary-color); color: white; border-radius: 40px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.portfolio-cta .btn-primary:hover { background: var(--secondary-color); transform: translateY(-2px); }
@media (max-width: 768px) {
    .blog { padding: 40px 0; }
    .blog-grid, .projects-grid { grid-template-columns: 1fr; gap: 20px; }
    .project-card img { height: 160px; }
    .project-info { padding: 15px; }
    .project-info h3 { font-size: 1rem; }
    .section-subtitle { margin-bottom: 30px; padding: 0 15px; }
    .portfolio-cta .btn-primary { padding: 10px 24px; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
    .project-card, .project-card img, .project-info .btn-primary { transition: none; }
    .project-card:hover { transform: none; }
}

@font-face {
    font-family: 'FontAwesome';
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}

/* PERBAIKAN KONTRAST - Teks */
.section-subtitle {
    color: #3d3d3d !important;
}

p, li, .blog-container p, .info-card p {
    color: #1a1a1a;
}

.update-badge + div p,
.breadcrumb .current,
.price-hint,
.calculator-note {
    color: #2c3e50;
}

/* TOMBOL NAV & METHOD */
.btn-nav, 
.btn-primary,
.method-btn.active {
    color: #ffffff !important;
    background-color: #c0392b !important;
}

/* TOMBOL WHATSAPP - HIJAU TERANG TAPI LOLOS KONTRAK */
.btn-wa,
.btn-wa-konsultasi {
    background-color: #25D366 !important;
    color: #1a1a1a !important;  /* Teks hitam agar kontras */
    font-weight: 700 !important;
    border: none !important;
}
/* FLOATING WHATSAPP - Hijau terang dengan teks PUTIH (kayak tadi) */
.whatsapp-float {
    background-color: #25D366 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

/* EFEK HOVER - Jadi hijau gelap */
.btn-wa:hover,
.btn-wa-konsultasi:hover,
.whatsapp-float:hover {
    background-color: #128C7E !important;
    color: #ffffff !important;
}

/* ==================== SECTION 3 ARTIKEL DI BAWAH CTA ==================== */
.gallery-articles-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 30px;
}

.gallery-articles-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-articles-section .section-title {
    font-size: 2rem;
    color: #0d2b52;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.gallery-articles-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1a3a6e;
    border-radius: 2px;
}

.gallery-articles-section .section-subtitle {
    color: #333333;
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Article Image */
.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

/* ARTICLE CATEGORY - FIX CONTRAST (warna biru tua) */
.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1a3a6e;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Article Content */
.article-content {
    padding: 20px;
}

/* ARTICLE TITLE - FIX CONTRAST */
.article-content h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #0d2b52;
    font-weight: 700;
    transition: color 0.3s ease;
}

.article-card:hover .article-content h3 {
    color: #1a3a6e;
}

/* ARTICLE EXCERPT - FIX CONTRAST */
.article-excerpt {
    font-size: 0.85rem;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Article Meta */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* ARTICLE DATE - FIX CONTRAST */
.article-date {
    font-size: 0.7rem;
    color: #555555;
    font-weight: 500;
}

.article-date i {
    margin-right: 5px;
    font-size: 0.7rem;
    color: #555555;
}

/* ARTICLE READ MORE - FIX CONTRAST (warna biru tua) */
.article-read-more {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a3a6e;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-card:hover .article-read-more {
    transform: translateX(5px);
    color: #0d2b52;
}

/* Articles CTA Button - FIX CONTRAST */
.articles-cta {
    text-align: center;
    margin-top: 20px;
}

.btn-articles-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0d2b52;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #0d2b52;
}

.btn-articles-all:hover {
    background: transparent;
    color: #0d2b52;
    transform: translateY(-3px);
}

.btn-articles-all i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-articles-section {
        padding: 40px 0;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content h3 {
        font-size: 1rem;
    }
    
    .article-excerpt {
        font-size: 0.8rem;
    }
    
    .btn-articles-all {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Artikel section - hilangkan semua garis bawah yang tidak perlu */
.articles-section a,
.articles-section .article-link,
.articles-section .article-read-more,
.articles-section .btn-articles-all {
    text-decoration: none !important;
}

/* Hanya untuk hover biar tetap ada efek */
.articles-section .article-read-more:hover {
    text-decoration: underline !important;
}