body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  background: linear-gradient(to right, #0f172a, #1e293b, #334155);
}

a {
  color: black;
  text-decoration: none;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 10%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0ea5e9;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  margin-right: 8px;
}

.navbar nav a {
  margin-left: 20px;
  font-weight: 500;
}

.navbar .btn {
  background: #0ea5e9;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  width: 90%;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 30px;
  min-height: 100vh;
  margin: auto;
}

.text-content {
  max-width: 600px;
}

.text-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.text-content h1 {
  font-size: 60px;
  margin-bottom: 20px;
  font-weight: bold;
}

.text-content p {
  font-size: 18px;
  line-height: 1.6;
}

/* Gambar */
.image-content img {
  height: 500px;
  object-fit: contain;
  max-width: 100%;
  display: block;
}

.about-section,
.skills-section,
.contact-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.about-section p,
.skills-section p,
.contact-section p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 17px;
  text-align: justify;
}

.skills-section ul {
  list-style: none;
  padding: 0;
}

.skills-section li {
  font-size: 18px;
  margin: 10px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.spacer {
  height: 100px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .text-content h1 {
    font-size: 40px;
  }

  .text-content h2 {
    font-size: 22px;
  }

  .text-content p {
    font-size: 16px;
  }

  .image-content img {
    height: 300px;
  }

  .skills-section li {
    text-align: center;
  }
}
