/* --- CSS VARIABLES (Theming) --- */
:root {
    /* Light Mode (Default) - Warna Biru Korporat 'Dingin' */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #334155;
    --text-heading: #0F172A; /* Slate 900 */
    --primary-blue: #1E3A8A; /* Biru Tua Resmi */
    --accent-blue: #3B82F6;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --bg-body: #0F172A; /* Dark Navy */
    --bg-card: #1E293B;
    --text-main: #CBD5E1;
    --text-heading: #F1F5F9;
    --primary-blue: #60A5FA; /* Biru lebih terang untuk kontras */
    --accent-blue: #3B82F6;
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Fix posisi body agar tidak turun oleh topbar Google */
    top: 0px !important; 
    position: static !important;
}

:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--primary-blue); color: white; padding: 8px; z-index: 100;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

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

/* --- HEADER --- */
.site-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 10;
}

.header-inner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}

.logo-area {
    display: flex; align-items: center; gap: 15px;
}

.logo-img { object-fit: contain; }

.company-name h1 {
    font-size: 1.25rem; font-weight: 700; color: var(--text-heading);
}

.tagline {
    font-size: 0.85rem; color: var(--text-main); display: block;
}

/* --- HERO & SECTIONS --- */
.hero {
    padding: 4rem 0; text-align: center;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg-body));
}

.hero h2 {
    font-size: 2.5rem; color: var(--text-heading); margin-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color); padding-bottom: 0.5rem; display: inline-block;
}

section { padding: 3rem 0; }

/* --- CARDS (ECOSYSTEM) --- */
.grid-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem;
}

.card {
    background-color: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 8px; padding: 2rem; transition: transform 0.2s;
    box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }

.card-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; }
.card h4 { font-size: 1.25rem; color: var(--text-heading); }
.badge {
    font-size: 0.75rem; background: var(--primary-blue); color: white;
    padding: 2px 8px; border-radius: 4px;
}
.card-link {
    display: inline-block; margin-top: 1rem; color: var(--accent-blue);
    font-weight: 600; text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-card); border-top: 1px solid var(--border-color);
    padding: 2rem 0; text-align: center; font-size: 0.9rem; margin-top: 3rem;
}

@media (max-width: 600px) {
    .header-inner { flex-direction: column; text-align: center; }
    .hero h2 { font-size: 1.8rem; }
}

/* --- ACCESSIBILITY TOOLS (NAVBAR) --- */
.access-tools {
    display: flex; align-items: center; gap: 10px;
}

.access-btn {
    background: transparent;
    border: 2px solid var(--border-color); 
    color: var(--text-heading);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    font-weight: 600; font-size: 0.9rem;
    transition: all 0.2s ease;
    min-width: 44px; /* Minimum touch target size */
}

.access-btn:hover {
    background-color: var(--border-color);
    color: var(--primary-blue);
}

.access-btn:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 3px;
}

/* Dark Mode Icons */
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .access-btn { border-color: #475569; color: #E2E8F0; }

/* --- GOOGLE TRANSLATE HIDING (ADAPTASI DARI CONTOH) --- */

/* 1. Sembunyikan elemen dropdown Google */
#google_translate_element {
    display: none !important;
}

/* 2. Sembunyikan Top Bar Google yang mengganggu */
.goog-te-banner-frame { display: none !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }

/* 3. Sembunyikan tooltip Google saat hover text */
#goog-gt-tt { display: none !important; }

/* 4. Mencegah font berubah aneh/background highlight */
font {
    background-color: transparent !important;
    box-shadow: none !important;
}
