:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.8);
}

.main-header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 80px;
    position: sticky; top: 0; z-index: 9999;
    display: flex; align-items: center;
}

.header-container {
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 25px;
    display: flex; justify-content: space-between; align-items: center;
}

/* LOGO STYLE */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    background: var(--primary); color: white; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-weight: 800; font-size: 20px;
}
.logo-text { font-size: 22px; font-weight: 700; color: var(--dark); letter-spacing: -1px; }
.logo-text span { color: var(--primary); }

/* NAV LINKS */
.nav-wrapper { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0; }
.nav-links a { 
    text-decoration: none; color: #64748b; font-weight: 600; font-size: 15px;
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* MODERN LANG SELECTOR (Anti-Hilang & Estetik) */
.lang-selector { 
    position: relative; 
    padding-bottom: 15px; /* Jembatan Hover */
    margin-bottom: -15px; 
}

.lang-current {
    display: flex; 
    align-items: center; 
    gap: 8px;
    background: #f1f5f9; 
    padding: 8px 16px; 
    border-radius: 50px;
    cursor: pointer; 
    border: 1px solid transparent; 
    transition: 0.3s;
}

.lang-current:hover { 
    border-color: var(--primary); 
    background: white; 
}

.lang-current img { 
    width: 20px; 
    height: 15px; 
    border-radius: 2px; 
    object-fit: cover; 
}

.lang-current span { 
    font-weight: 700; 
    font-size: 14px; 
    color: var(--dark); 
}

.lang-dropdown {
    position: absolute; 
    top: 100%; 
    right: 0; 
    width: 230px;
    background: white; 
    border-radius: 15px; 
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: none; 
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease; 
    z-index: 9999;
}

/* Logic Hover */
.lang-selector:hover .lang-dropdown { 
    display: block; 
    opacity: 1;
    transform: translateY(0);
}

.lang-item {
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px;
    text-decoration: none; 
    color: var(--dark); 
    font-size: 14px; 
    font-weight: 600;
    border-radius: 10px; 
    transition: 0.2s;
}

.lang-item:hover { 
    background: #f8fafc; 
    color: var(--primary); 
}

.lang-item img { 
    width: 24px; 
    border-radius: 3px; 
}

.lang-item span { 
    font-size: 11px; 
    color: #94a3b8; 
    margin-left: auto; 
}
/* MOBILE RESPONSIVE */
.mobile-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.mobile-toggle .bar { width: 28px; height: 3px; background: var(--dark); border-radius: 10px; }

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-wrapper {
        position: fixed; top: 80px; right: -100%; width: 80%; height: 100vh;
        background: white; flex-direction: column; padding: 50px 20px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }
    .nav-wrapper.active { right: 0; }
    .nav-links { flex-direction: column; width: 100%; text-align: center; }
    .nav-links a { font-size: 20px; }
}
/* FOOTER */
.main-footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 60px 20px 20px;
    font-size: 15px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Footer Logo (sama seperti header) */
.footer-col .logo { margin-bottom: 20px; }
.footer-col .logo-icon { background: white; color: var(--dark); } /* Dibalik warnanya */
.footer-col .logo-text { color: white; }

.footer-col p { line-height: 1.8; margin-top: 15px; }

.footer-col h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 50px; height: 3px;
    background: var(--primary);
    border-radius: 5px;
}

/* Social Links */
.social-links { margin-top: 25px; display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: white;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

/* Quick Links & Contact Info */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a, .footer-col ul li i {
    text-decoration: none; color: #cbd5e1;
    transition: 0.3s;
}
.footer-col ul li a:hover { color: var(--primary); transform: translateX(5px); }
.footer-col ul li i { margin-right: 10px; color: var(--primary); }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #94a3b8;
}

/* Responsive for Footer */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; }
    .footer-col { text-align: center; align-items: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
}