/* CSS RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ingat materi Box Sizing! */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Base Styling (Bukan Layouting) */
.logo { font-size: 24px; font-weight: bold; color: #6c5ce7; }
.btn { display: inline-block; padding: 10px 20px; background-color: #6c5ce7; color: white; border-radius: 5px; margin-top: 15px; }
.btn:hover { background-color: #5b4bc4; }
.box-gambar { width: 300px; height: 300px; object-fit: cover; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #b2bec3; border: 5px solid #6c5ce7; }
.card { background-color: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); border-top: 4px solid #6c5ce7; }
h2 { text-align: center; margin-bottom: 40px; font-size: 32px;}
footer { text-align: center; padding: 20px; background-color: #2d3436; color: white; margin-top: 50px; }

.skills-section { padding: 50px 10%; text-align: center; }
.skill-badge { background-color: #6c5ce7; color: white; padding: 10px 20px; border-radius: 50px; font-weight: bold; border: 2px solid transparent; transition: 0.3s;}
.skill-badge:hover { background-color: white; color: #6c5ce7; border: 2px solid #6c5ce7; cursor: pointer; }

.kontak-section { padding: 50px 10%; background-color: white; }
.kontak-info h3 { margin-bottom: 15px; color: #6c5ce7; font-size: 24px; }
.kontak-info p { line-height: 1.6; }
.input-field { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; }

.proyek-section { background-color: white; min-height: 300px; padding: 50px 10%; }

/* ========================================
MULAI NGODING LAYOUT DI BAWAH INI
========================================
*/

.navbar{
 display: flex;
 justify-content:space-between;
 align-content: center;
 padding: 20px 50px;

 position: fixed;
 top:0;
 left: 0;
 width:100%;
 background-color: white;
 box-shadow: 0 2px 4px rgb(0,0,0,0.1);
}

.nav-links li{
   display: inline;
   margin-left: 20px;
}

.hero{
    display: flex;
    align-items:center;
    justify-content:space-between;

    min-height: 100vh;
    padding: 15px 10% ;
}

.hero-content{
    flex:1;
}

.hero-content {
    padding-right: 50px;
}

.hero-content h1{
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-image{
     flex: 1;
     display: flex;
     align-items: center;
     justify-content: center;
}

.proyek-section{
    padding: 50px 10%;
}

.grid-karya{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.skill-badge{
    display: inline-block;
}

.kontak-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.kontak-form {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 10px;
}