/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background: #d1c4e9; /* ungu pastel */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  color: #0f0f0f; /* ungu tua */
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #0f0f0f;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #7e57c2; /* ungu medium */
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #311b92;
}

/* Section umum */
section {
  padding: 100px 20px;
  min-height: 100vh;
}

/* Home */
#home {
  background: #ede7f6; /* ungu muda lembut */
  text-align: center;
  padding-top: 120px;
}

.profile-img {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* About */
#about {
  background: #f3e5f5;
}

#about h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #4a148c;
}

.about-container {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Skills */
#skills {
  background: #ede7f6;
}

#skills h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #4a148c;
}

.skills-list {
  list-style: none;
  max-width: 500px;
  margin: auto;
}

.skills-list li {
  background: #ffffff;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid #9575cd; /* aksen ungu */
  border-radius: 5px;
}

/* Contact */
#contact {
  background: #f3e5f5;
  text-align: center;
}

#contact h2 {
  color: #4a148c;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
}

input, textarea, button {
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  background: #7e57c2;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #5e35b1;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #d1c4e9;
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


