/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

/* --- THEME MIDNIGHT BLUE --- */
:root {
    --bg-color: #050e1a; /* Lebih gelap */
    --primary-color: #0d1a2f; /* Disesuaikan agar lebih gelap */
    --secondary-color: #1a2a3e; /* Disesuaikan agar lebih gelap */
    --accent-color: #64ffda;
    --text-color: #ccd6f6;
    --text-secondary-color: #8892b0;
    --font-family: 'Inter', sans-serif;
    --shadow-color: rgba(0, 5, 15, 0.7); /* Disesuaikan agar lebih gelap */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    /* Menggabungkan efek senter dan bintang-bintang */
    background-image: 
        radial-gradient(circle at var(--x) var(--y), rgba(29, 78, 216, 0.1), transparent 40%), /* Efek senter */
        url('data:image/svg+xml;charset=UTF-8,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%238892b0" fill-opacity="0.1"%3E%3Cpath opacity="0.5" d="M100 50L50 100L0 50L50 0L100 50Z"/%3E%3Cpath opacity="0.3" d="M100 0L0 100V0Z"/%3E%3Cpath opacity="0.7" d="M0 100L100 0V100Z"/%3E%3C/g%3E%3C/svg%3E'); /* Efek bintang kecil */
    background-size: 
        cover, /* Untuk radial-gradient (efek senter) */
        200px 200px; /* Ukuran pola bintang */
    animation: twinkle 15s infinite alternate; /* Animasi kedipan bintang */
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    padding-top: 70px;
}

/* Animasi untuk bintang berkelip */
@keyframes twinkle {
    0% { background-position: 0% 0%, 0 0; }
    50% { background-position: 0% 0%, 100px 100px; } /* Gerakan sedikit agar tidak statis */
    100% { background-position: 0% 0%, 0 0; }
}


/* ... Sisa kode CSS lainnya tetap sama persis seperti sebelumnya ... */
/* (Container, h1, h2, section, hero, profile-picture, tagline, social-icons, cv-download-btn, skills, portfolio, contact, footer, navbar, responsif, dll) */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--text-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0.5rem; letter-spacing: -1px; }
h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
h2::after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--secondary-color);
    margin-top: 0.25rem;
    flex: 1;
}

section {
    padding: 4rem 0;
}

#hero {
    text-align: center;
    padding: 4rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    font-weight: 400;
}

.social-icons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.cv-download-btn {
    display: inline-block;
    margin-top: 2rem;
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    transition: all 0.25s ease;
    font-weight: 500;
}

.cv-download-btn:hover {
    background-color: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.cv-download-btn i {
    margin-right: 0.5rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-item {
    background-color: var(--primary-color);
    color: var(--text-secondary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--secondary-color);
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    color: var(--accent-color);
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.2);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    background-color: var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-shadow: 0 10px 30px -15px var(--shadow-color);
}

.portfolio-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 30px -15px var(--shadow-color);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: saturate(0.9);
    transition: filter 0.3s ease;
}
.portfolio-item:hover img {
    filter: saturate(1.2);
}

.item-info {
    padding: 1.5rem;
}

.item-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.item-info p {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.item-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.item-info a:hover {
    color: white;
}

.item-info .disabled-link {
    color: var(--text-secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.6;
    cursor: not-allowed;
}

.portfolio-item.hidden {
    display: none;
}

#contact {
    text-align: center;
}
#contact p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-button {
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    transition: all 0.25s ease;
}

.contact-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    color: var(--text-secondary-color);
    font-size: 0.9rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85); /* Tetap agar navbar kontras */
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 10px 30px -10px var(--shadow-color);
    transition: top 0.3s;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    color: var(--text-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
}

.desktop-nav a {
    color: var(--text-secondary-color);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--accent-color);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1010;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1005;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0px 30px -15px var(--shadow-color);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.5rem;
    text-decoration: none;
    padding: 1rem 0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .container { padding: 1.5rem; }
    h2 { font-size: 1.8rem; }
    .desktop-nav { display: none; }
    .burger-menu { display: block; }
    .nav-container { padding: 0 1.5rem; }
}