/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Font modern */
    line-height: 1.6;
    color: #343a40; /* Warna teks lebih gelap untuk kontras */
    background-color: #f8f9fa; /* Latar belakang lebih terang */
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigasi */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Bayangan lebih jelas */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em; /* Logo sedikit lebih besar */
    color: #FF6B6B; /* Warna primer baru (merah cerah) */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: #6c757d; /* Warna teks navigasi */
    margin-left: 30px; /* Jarak antar menu */
    font-weight: 600;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

nav ul li a:hover {
    color: #FF6B6B; /* Hover warna primer */
    transform: translateY(-2px); /* Efek hover naik */
}

/* Tombol */
.btn {
    display: inline-block;
    padding: 12px 30px; /* Padding lebih besar */
    margin-top: 25px; /* Jarak dari atas */
    border-radius: 30px; /* Lebih bulat */
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-transform: uppercase;
    font-size: 0.9em;
}

.primary-btn {
    background-color: #FF6B6B; /* Warna primer */
    color: white;
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
}

.primary-btn:hover {
    background-color: #FF4F4F; /* Warna primer lebih gelap saat hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #6A0572; /* Warna sekunder yang lebih dalam */
    color: #6A0572;
}

.secondary-btn:hover {
    background-color: #6A0572;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 5, 114, 0.3);
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFD166, #FF6B6B); /* Gradient cerah dan hangat */
    padding: 120px 0; /* Padding lebih */
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Posisi konten di tengah */
    color: white; /* Teks putih di latar belakang berwarna */
}

.hero-content {
    animation: fadeInScale 1s ease-out forwards; /* Animasi saat muncul */
}

.profile-pic {
    /* Perubahan untuk mengecilkan foto profil */
    width: 180px; /* Ukuran lebih kecil */
    height: 180px; /* Ukuran lebih kecil */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 6px solid rgba(255,255,255,0.8); /* Border putih agak transparan */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out;
}

.profile-pic:hover {
    transform: scale(1.05) rotate(5deg); /* Efek hover menarik */
}

.name {
    font-size: 3.5em; /* Nama lebih besar */
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1.4em; /* Tagline lebih besar */
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Section Umum */
.section {
    padding: 100px 0; /* Padding lebih di setiap section */
    border-bottom: 1px solid #e9ecef; /* Border lembut */
    background-color: #ffffff; /* Latar belakang putih */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Bayangan tipis */
    margin-bottom: 30px; /* Jarak antar section */
    border-radius: 10px; /* Sudut membulat */
    opacity: 0; /* Untuk efek fade-in section */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section h3 {
    text-align: center;
    margin-bottom: 50px; /* Jarak dari judul */
    font-size: 2.8em; /* Judul lebih besar */
    color: #6A0572; /* Warna sekunder yang kuat */
    position: relative;
    padding-bottom: 15px;
}

.section h3 i {
    margin-right: 10px;
    color: #FF6B6B; /* Ikon warna primer */
}

.section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD166; /* Garis bawah warna aksen */
    border-radius: 2px;
}


/* Bagian Tentang Saya */
.about-section {
    text-align: center;
}

.about-section p {
    max-width: 850px; /* Lebar paragraf lebih */
    margin: 20px auto;
    font-size: 1.15em;
    color: #495057;
}

/* Bagian Pengalaman */
.experience-section {
    background-color: #f0f2f5; /* Latar belakang abu-abu muda */
    padding-bottom: 60px; /* Padding bawah lebih kecil karena sudah ada margin section */
}

.experience-item {
    display: flex;
    border-left: 4px solid #FFD166; /* Garis timeline lebih tebal dan warna aksen */
    padding-left: 25px;
    margin-bottom: 40px; /* Jarak antar item */
    position: relative;
    opacity: 0; /* Untuk efek fade-in jQuery */
    transform: translateY(30px); /* Untuk efek slide-up jQuery */
    transition: opacity 0.7s ease-out, transform 0.7s ease-out; /* Transisi lebih halus */
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.experience-item::before {
    content: '';
    width: 14px; /* Lingkaran lebih besar */
    height: 14px;
    background-color: #FF6B6B; /* Warna primer */
    border: 3px solid #FFD166; /* Border warna aksen */
    border-radius: 50%;
    position: absolute;
    left: -10px; /* Posisi lingkaran */
    top: 28px; /* Sesuaikan dengan padding item */
    z-index: 1;
}

.experience-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.date-col {
    flex: 0 0 160px; /* Kolom tanggal lebih lebar */
    font-weight: 700;
    color: #6A0572; /* Warna sekunder */
    font-size: 1.1em;
}

.content-col {
    flex-grow: 1;
}

.content-col h4 {
    margin-top: 0;
    font-size: 1.4em;
    color: #343a40;
    margin-bottom: 8px;
}

.content-col .company {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 12px;
}

.content-col ul {
    list-style: none; /* Hilangkan bullet default */
    margin-left: 0;
    padding-left: 0;
}

.content-col ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #495057;
}

.content-col ul li::before {
    content: '\2022'; /* Custom bullet point */
    color: #FFD166; /* Warna bullet aksen */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    top: 0;
}


/* Kontak */
.contact-section {
    text-align: center;
    background-color: #fff; /* Latar putih */
    margin-bottom: 0; /* Tidak perlu margin bawah terakhir */
}

.contact-section p {
    font-size: 1.15em;
    color: #495057;
    margin-bottom: 30px;
}

.social-links a {
    color: #6A0572; /* Warna sekunder untuk ikon */
    font-size: 3.5em; /* Ikon lebih besar */
    margin: 0 20px; /* Jarak antar ikon */
    transition: color 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.social-links a:hover {
    color: #FF6B6B; /* Warna primer saat hover */
    transform: translateY(-5px) scale(1.15); /* Efek hover lebih dramatis */
}

/* Footer */
footer {
    background-color: #343a40;
    color: #e9ecef; /* Teks abu-abu terang */
    text-align: center;
    padding: 30px 0;
    font-size: 0.95em;
}

footer .fas.fa-heart {
    color: #FF6B6B; /* Hati berwarna primer */
    animation: pulse 1.5s infinite; /* Animasi detak jantung */
}

/* Keyframe Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsif Dasar */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap; /* Navigasi wrap di mobile */
        justify-content: center;
    }

    nav ul li a {
        margin: 0 10px 10px 10px;
    }

    .hero {
        padding: 80px 0;
    }

    .name {
        font-size: 2.5em;
    }

    .tagline {
        font-size: 1.1em;
    }

    .section {
        padding: 60px 0;
    }

    .section h3 {
        font-size: 2em;
    }

    .experience-item {
        flex-direction: column;
        padding-left: 15px;
    }

    .experience-item::before {
        left: -8px;
        top: 20px;
    }

    .date-col {
        margin-bottom: 10px;
        flex: auto;
    }

    .social-links a {
        font-size: 2.5em;
        margin: 0 10px;
    }
}