/* --- 1. VARIABLES & RESET --- */
:root {
    --primary-color: #D4AF37; /* Metallic Gold */
    --primary-dark: #B59020;  /* Darker Gold for hover */
    --text-dark: #2C3E50;     /* Navy Blue/Dark Grey (Softer than pure black) */
    --text-light: #607D8B;
    --bg-body: #FDFBF7;       /* Warm Cream (Looks expensive) */
    --white: #ffffff;
    --border-color: #EAEAEA;
    --container-width: 1100px;
    --sidebar-width: 300px;
    
    /* Font Variables */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-body);
}

a { color: var(--text-dark); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary-color); }

/* --- 2. LAYOUT --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 3. BEAUTIFUL HERO SECTION --- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff 0%, #fdfbf7 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.btn-hero {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-hero:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

/* --- 4. MODERN CARD DESIGN --- */
.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h2 { margin-top: 0; border: none; font-size: 1.5rem; }
.card p { color: var(--text-light); flex-grow: 1; }

.read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- 5. TYPOGRAPHY & ARTICLE --- */
h1, h2, h3 { font-family: var(--font-heading); color: var(--text-dark); margin-bottom: 15px; }
h2 { font-size: 1.8rem; margin-top: 40px; position: relative; display: inline-block; }

/* Elegant underline for H2 */
.article-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 8px;
}

/* --- 6. NAVIGATION (UPDATED) --- */
header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }
.nav-links a:hover { color: var(--primary-color); }

/* Hamburger Menu (Hidden on Desktop) */
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- 7. MOBILE RESPONSIVENESS (FIXED) --- */
@media (max-width: 768px) {
    .article-layout { grid-template-columns: 1fr; gap: 20px; }
    aside.sidebar { position: static; margin-top: 40px; }
    
    .hero h1 { font-size: 2.2rem; }
    
    .hamburger { display: block; } /* Show button */
    
    .nav-links {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active { display: flex; } /* JS will toggle this */
}

/* Keep previous styles for Tables, Ad-Container, Sidebar from your old file below... */
.ad-container { width: 100%; min-height: 280px; background: #f4f4f4; margin: 30px 0; text-align: center; border: 1px dashed #ddd; }
.table-wrapper { overflow-x: auto; margin-bottom: 20px; border: 1px solid #eee; }
table { width: 100%; border-collapse: collapse; min-width: 500px; background: white; }
th, td { padding: 12px 15px; border-bottom: 1px solid #eee; text-align: left; }
th { background-color: var(--primary-color); color: white; }


/* --- 8. HOMEPAGE SPECIFIC STYLES (NEW) --- */

/* Hero Styles */
.hero-home {
    padding: 100px 20px;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(253,251,247,0.95)), url('/assets/images/hero-bg-pattern.png'); /* Optional BG image */
    background-size: cover;
    text-align: center;
    border-bottom: 1px solid #EAEAEA;
}

.highlight-gold {
    color: var(--primary-color);
    font-style: italic;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-hero.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-hero.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Utilities */
.section-padding { padding: 60px 0; }
.bg-cream { background-color: #fdfbf7; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.text-center { text-align: center; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; }

/* State Grid (Negeri Selector) */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.3s;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.state-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.state-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.state-name { font-weight: 700; color: var(--text-dark); }
.featured-state { background-color: #2C3E50; border-color: #2C3E50; }
.featured-state .state-name, .featured-state .state-icon { color: white; }

/* Timeline Steps */
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-card {
    position: relative;
    padding: 20px;
    background: transparent;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card a { font-weight: 700; font-size: 0.9rem; color: var(--primary-color); }

/* Card Tags */
.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fdfbf7;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-light);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card { position: relative; } /* Ensure absolute tag works */

/* CTA Section */
.cta-section {
    background-color: #2C3E50;
    color: white;
    padding: 60px 20px;
    margin-top: 40px;
}

.cta-section h2 { color: white; border: none; }
.cta-section p { color: #cfd8dc; margin-bottom: 30px; }

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero-home h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .state-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Penambahan Gaya untuk Hub Card */
.hub-card {
    border-top: 4px solid var(--primary-color); /* Garis emas di atas */
    background: #ffffff;
}

.hub-card:hover {
    background: #fffff8; /* Sedikit perubahan warna background bila hover */
    transform: translateY(-7px);
}

.hub-card .card-icon {
    background: #fdfbf7;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 1px solid #eee;
}