/* === Global Styles (Dark Mode) === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0a0f1c; /* biru kehitaman */
  color: #e0e0e0;
  line-height: 1.6;
}

/* === Navbar === */
header {
  background: #0f1626;
  padding: 15px 50px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

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

.logo {
  color: #00bcd4;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00bcd4;
}

/* === Hero Section === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 50px 50px;
  min-height: 100vh;
  background: #0a0f1c;
  color: white;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-text h1 span {
  color: #00bcd4;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2196f3;
}

.hero-text p {
  margin-bottom: 20px;
  color: #ccc;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn.primary {
  background: #00bcd4;
  color: #fff;
}

.btn.primary:hover {
  background: #008ba3;
}

.btn.outline {
  border: 2px solid #00bcd4;
  color: #00bcd4;
}

.btn.outline:hover {
  background: #00bcd4;
  color: #fff;
}

.hero-image img {
  width: 300px;
  border-radius: 50%;
  border: 5px solid #00bcd4;
}

/* === Sections === */
section {
  padding: 80px 50px;
}

section:nth-child(odd) {
  background: #0a0f1c; /* gelap */
}

section:nth-child(even) {
  background: #141b2d; /* sedikit lebih terang */
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00bcd4;
}

/* About */
.about ul {
  list-style: none;
  margin-top: 15px;
}

.about li {
  margin-bottom: 10px;
}

/* Education, Experience, Skills, Certificates */
.education ul,
.experience ul,
.skills ul,
.certificates ul {
  list-style: none;
  margin-left: 10px;
}

.education li,
.experience li,
.skills li,
.certificates li {
  margin-bottom: 10px;
  color: #ccc;
}

/* Portfolio */
.portfolio .project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio .project {
  background: #1a2238;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.portfolio .project:hover {
  transform: translateY(-5px);
}

.portfolio .project img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Contact */
.contact ul {
  list-style: none;
  margin-top: 15px;
}

.contact li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #ccc;
}

/* Testimonials */
.testimonials {
  text-align: center;
}

.testimonial-item {
  background: #1a2238;
  padding: 20px;
  border-radius: 12px;
  margin: 15px auto;
  max-width: 600px;
  color: #ddd;
  font-style: italic;
}

/* Blog Section */
.blog .post {
  background: #1a2238;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.blog .post h3 {
  color: #00bcd4;
  margin-bottom: 10px;
}

.blog .post p {
  color: #ccc;
}

/* Footer */
footer {
  background: #1c1c1c;
  color: #aaa;
  text-align: center;
  padding: 20px;
}
