:root {
    /* Palette Warna Brand */
    --primary: #044739;        /* Hijau Zamrud Gelap */
    --primary-light: #0F766E;  /* Hijau Teal */
    --primary-dark: #022c24;   /* Hijau Hampir Hitam */
    
    --accent: #D4AF37;         /* Emas Metalik */
    --accent-hover: #B5952F;   /* Emas Gelap */
    --accent-bg: #FEF9C3;      /* Emas Sangat Muda */

    --bg-body: #FDFBF7;        /* Warna Kertas Kuno/Pasir Halus */
    --bg-white: #FFFFFF;
    
    --text-main: #1E293B;      /* Abu Gelap */
    --text-muted: #64748B;     /* Abu Sedang */
    
    --border: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    line-height: 1.2;
}

.font-arab { font-family: 'Amiri', serif; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* HEADER & NAVIGATION */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active { color: var(--primary); }

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid var(--primary);
}
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* CONTAINER APLIKASI */
#main-content {
    margin-top: 80px;
    min-height: 85vh;
}

/* ANIMASI TRANSISI HALAMAN */
.page-transition { animation: fadeInPage 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* KOMPONEN: HERO SECTION */
.hero {
    padding: 8rem 1.5rem 6rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    position: relative;
}

.badge-hero {
    display: inline-block;
    background: var(--accent-bg);
    color: #854D0E;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid #FDE68A;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
}

/* KOMPONEN: GRID CARD */
.section-padding { padding: 5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.card-tag {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    z-index: 2;
}

.card-image {
    height: 220px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #CBD5E1;
}

.card-body { padding: 2rem; }
.card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.btn-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-link:hover { gap: 10px; }

/* KOMPONEN: CONTACT & INFO */
.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
}
.icon-circle {
    width: 60px; height: 60px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
}

/* FOOTER */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 5rem 1.5rem 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo { font-size: 2rem; font-weight: 800; font-family: 'Amiri', serif; margin-bottom: 1.5rem; display: block; color:white; text-decoration: none; }
.footer h4 { color: var(--accent); margin-bottom: 1.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.8rem; }
.footer ul li a { color: #94A3B8; text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer ul li a:hover { color: var(--accent); padding-left: 5px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; } /* Idealnya pakai hamburger menu JS */
    .hero h1 { font-size: 2.5rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}