/* 1. RESET & DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #adadad;
    overflow: hidden; 
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. KONTAINER UTAMA */
.container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* 3. SIDEBAR KIRI (FOTO PROFIL) */
.sidebar-left {
    flex: 1.1;
    background: linear-gradient(180deg, #1e1e1e 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    /* --- GESER DI SINI (BAGIAN KIRI) --- */
    /* Ubah padding-left untuk geser foto ke kanan, padding-right ke kiri */
    padding: 20px; 
}

.profile-card img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* 4. KONTEN TENGAH (NAMA & BIO) */
.main-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;

    /* --- GESER DI SINI (BAGIAN TENGAH) --- */
    /* Urutan: Atas, Kanan, Bawah, Kiri */
    /* Ubah angka 60px terakhir (paling kanan) untuk menggeser Nama & Bio */
    padding: 60px 60px 60px 130px; 
}

.name {
    /* Ukuran font & ketebalan tetap sesuai request Anda */
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    
    /* SOLUSI RAPAT TAPI AMAN: */
    /* Gunakan nilai sedikit di atas 1 agar saat mobile tidak bertumpuk */
    line-height: 1.1; 
    margin-bottom: 40px; /* Dikurangi sedikit dari 60px agar lebih seimbang */
}

.nickname {
    /* Ukuran & Gaya tetap sesuai request Anda */
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0;
    color: rgb(75, 75, 75);

    /* SOLUSI POSISI: */
    display: block;      /* Memaksa nickname ke bawah nama tanpa merusak line-height */
    margin-top: 5px;   /* Menarik nickname ke atas agar rapat dengan nama utama */
    line-height: 1.2;
}

.bio p {
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #292929;
    max-width: 650px;
    line-height: 1.5;
    text-align: justify;
    min-height: 100px; /* Sesuaikan dengan rata-rata tinggi teks Anda */
    transition: all 0.3s ease;
}

.contact-info {
    margin-top: 40px;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.4rem;
    margin-right: 15px;
    color: #0077b5;
}

.contact-item a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.contact-item a:hover {
    border-bottom: 1px solid #0077b5;
}





/* 5. SIDEBAR KANAN (DETAIL INFO) */
.sidebar-right {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    position: relative;

    /* --- GESER DI SINI (BAGIAN KANAN) --- */
    /* Ubah angka  terakhir untuk geser Skill/Pendidikan ke kanan */
    padding: 60px 40px 20px 80px; 
}

.sidebar-right::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background-color: rgb(124, 124, 124);
    border-radius: 2px;
}

.edu-detail span, 
.edu-detail strong {
    display: block; /* Membuat setiap elemen menjadi baris baru */
}

.year-label {
    margin-bottom: 5px; /* INI JAWABANNYA: Mengatur jarak khusus di bawah tahun */

}

.uni-name {
    margin-bottom: 5px; /* Jarak antara Universitas dan Gelar */
    font-weight: 500;

}


section {
    margin-bottom: 35px;
}

h3 {
    /* Menentukan jenis font ke Inter */
    font-family: 'Inter', sans-serif; 
    
    /* Membuat font tebal seperti di gambar */
    font-weight: 600;                
    
    /* Ukuran disesuaikan dengan kode Anda sebelumnya */
    font-size: 1.6rem;               
    
    /* Membuat huruf kapital semua */
    text-transform: capitalize; /* atau 'uppercase' jika ingin huruf besar semua */
    
    /* Jarak antar huruf sedikit dirapatkan agar terlihat premium */
    letter-spacing: -0.02em;         
    
    color: #000;
    margin-bottom: 15px;
}

.skills h3 {
    margin-top: 0;
    margin-bottom: -10px; /* Jarak Judul ke Kategori pertama */
}

.skill-cat {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0px;
    margin-top: 25px;
}

.skill-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Jarak antar grup ikon */
    margin-top: 15px;
}

.icon-item {
    display: flex;
    flex-direction: column; /* Menyusun gambar di atas, teks di bawah */
    align-items: center;    /* Pusatkan di tengah secara horizontal */
    width: 45px;            /* Atur lebar area agar teks tidak melebar jauh */
    text-align: center;
}

.skill-badge {
    width: 45px;            /* Ukuran ikon */
    height: 45px;
    object-fit: contain;
    margin-bottom: 8px;     /* Jarak antara gambar dan teks */
    transition: transform 0.2s;
    
}

.icon-item span {
    font-size: 0.75rem;     /* Ukuran teks lebih kecil agar estetik */
    color: #464646;            /* Warna teks abu-abu gelap */
    line-height: 1.2;
    font-weight: 500;
}

/* Efek hover pada satu grup ikon */
.icon-item:hover .skill-badge {
    transform: translateY(-5px); /* Gambar sedikit naik saat di-hover */
}

.purple { background: #312e81; }
.dark-blue { background: #00005b; }
.blue { background: #00a8e8; }
.orange { background: #f97316; }
.cyan { background: #00c4cc; }

.placeholder-icon {
    font-weight: 600;
    font-size: 0.85rem;
    padding-right: 10px;
}

.experience-list {
    list-style: none;      /* Menghilangkan titik (bullet) */
    padding-left: 0;       /* Menghilangkan indentasi kiri */
    margin: 0;
}

.experience-list li {
    margin-bottom: 10px;   /* MEMBERI SPASI: Jarak antar pengalaman kerja */
    line-height: 1.6;      /* Memberi ruang antar baris agar teks enak dibaca */
    color: #333;           /* Warna teks (sesuaikan dengan desain Anda) */
}



/* Container Tombol */
.action-buttons {
    display: flex;
    gap: 15px;          /* Jarak antar tombol */
    margin-top: 60px;   /* Jarak dari contact-info di atasnya */
}

/* Style Dasar Tombol */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Tombol Download CV (Warna Hitam/Gelap) */
.btn-download {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #1a1a1a;
    margin-right: 25px;
}

.btn-download:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Tombol Google Drive (Warna Putih/Outline) */
.btn-drive {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #1a1a1a;
}

.btn-drive:hover {
    background-color: #333;
    transform: translateY(-2px);
}




/*tombol ganti bahasa*/
/* Container untuk menyatukan tombol */
.language-switcher {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 9999; /* Tambahkan ini agar tombol berada di lapisan paling atas */
}

/* Base style dari .btn Anda dengan penyesuaian ukuran */
.btn-lang {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px; /* Lebih ramping dari tombol CV */
    border-radius: 6px; /* Sedikit lebih tajam agar elegan */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem; /* Ukuran teks lebih kecil untuk navigasi */
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #888;
    border: 1px solid rgb(110, 110, 110);
    /* Tambahkan lebar minimum agar keduanya sama lebar */
    /* 50px biasanya pas untuk 2 huruf, sesuaikan jika ingin lebih lebar */
    min-width: 35px;
}

/* Efek Hover */
.btn-lang:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
    transform: translateY(-1px);
}

/* Style saat tombol Aktif (Mirip .btn-download Anda) */
.btn-lang.active {
    background-color: #1a1a1a;
    color: white;
    border-color: #a0a0a0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Sembunyikan semua teks bahasa Inggris secara default */
.lang-en {
    display: none;
}

/* Biarkan lang-id muncul */
.lang-id {
    display: block;
}

/* Tambahkan efek halus saat teks muncul */
.lang-id, .lang-en {
    animation: fadeIn 0.5s ease;
    display: none; /* Disembunyikan salah satu oleh JS */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}












/* 6. MEDIA QUERIES (REVISI UNTUK HP) */
@media (max-width: 1024px) {
    html, body {
        overflow-y: auto; 
        height: auto;
    }

    .container {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .sidebar-left {
        width: 100%;
        height: 400px;
        padding: 40px;
        flex: none;
    }

    .profile-card img {
        width: 250px;
        height: 250px;
        margin-top: 30px; /* Menurunkan gambar saja */
        display: block;   /* Memastikan margin bekerja dengan baik */
    }

    .main-content {
        width: 100%;
        /* --- GESER DI HP (BAGIAN TENGAH) --- */
        padding: 40px 30px 40px 30px; 
        flex: none;
        justify-content: flex-start;
    }

    .sidebar-right {
        width: 100%;
        /* --- GESER DI HP (BAGIAN KANAN) --- */
        padding: 40px 30px;
        border-left: none;
        border-top: 1px solid rgb(124, 124, 124);
        flex: none;
    }

    .name {
        font-size: 2.8rem;
        text-align: center;
        line-height: 1; /* Rapat hanya saat teks satu baris */
    }

    .action-buttons {
        display: flex;
        flex-direction: column; /* Memaksa susunan atas-bawah */
        gap: 25px;              /* Jarak antar tombol */
        width: 100%;            /* Pastikan kontainer tombol selebar layar */
    }

    .btn {
        width: 100%;            /* Membuat tombol kiri & kanan sama lebarnya */
        justify-content: center; /* Teks & Ikon berada tepat di tengah tombol */
    }



    /* tombol ganti bahasa pada tampilan hp */
    .language-switcher {
        top: 20px;
        right: 20px;
    }
}