:root {
    --primary-color: #79a0f6; /* Warna sesuai request */
    --dark-bg: #1a1a1a;
    --light-bg: #f9f9f9;
    --text-dark: #333;
    --text-light: #fff;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body { scroll-behavior: smooth; color: var(--text-dark); background-color: var(--light-bg); }

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 10%; position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: var(--text-dark); }
.logo span { color: var(--primary-color); }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: 0.3s; }
nav ul li a:hover { color: var(--primary-color); }

.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('itb.jpg') center/cover;
    color: white; padding-top: 80px;
}

.profile-pic {
    width: 180px; height: 180px; border-radius: 50%;
    border: 5px solid var(--primary-color); object-fit: cover; margin-bottom: 20px;
}

.hero h1 span { color: var(--primary-color); }
.btn {
    display: inline-block; padding: 12px 30px; background: var(--primary-color);
    color: white; text-decoration: none; border-radius: 25px; margin-top: 20px; transition: 0.4s;
}
.btn:hover { transform: scale(1.05); background: #114fd5; }

.container { padding: 80px 10%; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 32px; position: relative; }
.section-title::after {
    content: ''; width: 50px; height: 3px; background: var(--primary-color);
    position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
}

.about-flex { display: flex; align-items: center; gap: 50px; }
.secondary-img { width: 100%; max-width: 400px; border-radius: 15px; box-shadow: 15px 15px 0 var(--primary-color); }

.skills-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}
.skill-card {
    background: white; padding: 30px; border-radius: 10px; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
}
.skill-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary-color); }
.skill-card i { font-size: 40px; color: var(--primary-color); margin-bottom: 15px; }

.project-list { display: grid; gap: 20px; }
.project-item { background: white; padding: 25px; border-radius: 10px; border-left: 5px solid var(--primary-color); }

.contact { background: var(--dark-bg); color: white; text-align: center; }
.btn-wa {
    display: inline-block; padding: 10px 25px; background: #25d366;
    color: white; text-decoration: none; border-radius: 5px; margin-top: 20px;
}

footer { text-align: center; padding: 20px; background: #111; color: #777; font-size: 14px; }


.fade-in { opacity: 0; transform: translateY(20px); transition: 0.6s all ease-out; }
.fade-in.appear { opacity: 1; transform: translateY(0); }