/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset dan Pengaturan Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff; /* Warna latar belakang body utama */
    color: #1c1e21;
}

/* Container untuk menjaga konten tetap di tengah */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Bagian Dark Mode yang membingungkan telah dihapus untuk simplifikasi ---- */


/* Header / Navbar - SUDAH DIPERBAIKI */
.navbar {
    background-color: #103E31; /* <-- 1. Warna latar diubah menjadi hijau */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #103E31; /* Garis bawah tipis agar serasi */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: #ffffff; /* <-- 2. Warna teks diubah menjadi putih */
}

.nav-links a {
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
    color: #b0d3cb; /* <-- 3. Warna link diubah agar terlihat */
}

.nav-links a:hover {
    color: #ffffff; /* <-- Efek hover menjadi putih terang */
}

.nav-icons i {
    font-size: 1.2rem;
    margin-left: 20px;
    cursor: pointer;
    color: #ffffff; /* <-- 4. Warna ikon diubah menjadi putih */
}

/* Konten Utama - Aturan ganda telah digabungkan */
.main-content {
    background-color: #103E31;
    color: #ffffff;
    padding: 80px 0 60px 0;
    margin-bottom: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

/* Kolom Kiri: Sidebar Profil */
.profile-sidebar {
    text-align: center;
}

.profile-picture {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
}

.profile-sidebar h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-sidebar h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #b0d3cb;
    margin-bottom: 15px;
}

.profile-sidebar .title, .profile-sidebar .company {
    font-size: 1rem;
    margin-bottom: 5px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #8ee0c6;
    transform: translateY(-3px);
}

/* Kolom Kanan: Detail Profil */
.profile-details h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a6b5a;
}

.about-me p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-align: justify;
}

.btn-cv {
    display: inline-block;
    background-color: #2b5c4d;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-cv i {
    margin-right: 8px;
}

.btn-cv:hover {
    background-color: #3a7a65;
}

.details-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.interests ul, .education ul {
    list-style: none;
    padding: 0;
}

.interests ul li {
    font-size: 1rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: #e0e0e0;
}

.interests ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8ee0c6;
    font-size: 1.2rem;
    line-height: 1;
}

.education ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1rem;
}

.education ul li i {
    font-size: 1.2rem;
    color: #8ee0c6;
    margin-right: 15px;
    margin-top: 5px;
}

.education ul li div {
    display: flex;
    flex-direction: column;
}

.education ul li strong {
    font-weight: 600;
    margin-bottom: 3px;
    color: #ffffff;
}

.education ul li span {
    color: #c0c0c0;
}

/* Style untuk Footer */
footer {
    background-color: #103E31;
    color: #a0c3b9;
    padding: 30px 0;
    margin-top: 0;
}

footer p {
    text-align: center;
    margin: 0;
}


/* Desain Responsif */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .profile-sidebar {
        padding-bottom: 40px;
        border-bottom: 1px solid #3a6b5a;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Sembunyikan link di mobile, bisa diganti dengan menu hamburger */
    }

    .container {
        padding: 0 15px;
    }

    .profile-sidebar h1 {
        font-size: 1.8rem;
    }
}