/* Reset & Variabel Dark Theme */
:root {
  /* Dark Theme Colors */
  --bg-color: #121212;
  --text-color: #f8f9fa;
  --card-bg: #1e1e1e;
  --primary-color: #4895ef;
  --secondary-color: #4361ee;
  --accent-color: #3f37c9;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --border-radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-top: 80px;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
#navbar {
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
  display: block;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
}

/* Card */
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
}

/* Profil Section */
#profil {
  margin-top: 20px;
}

.profil-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 992px) {
  .profil-content {
    flex-direction: row;
  }
}

.profil-text {
  flex: 2;
}

.profil-image {
  flex: 1;
  text-align: center;
}

.foto-profil {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  box-shadow: var(--shadow);
}

.highlight {
  color: var(--primary-color);
}

.subtitle {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 20px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-color);
}

/* Skills Section */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-item {
  background: rgba(72, 149, 239, 0.1);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s;
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Proyek Section */
.proyek-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.proyek-header i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.proyek-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proyek-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Kontak Section */
.kontak-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: var(--border-radius);
  background-color: #333;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
}

.form-group textarea {
  resize: vertical;
}

.btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--card-bg);
  color: var(--text-color);
  padding: 50px 0 20px;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-about h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons a {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    background-color: var(--card-bg);
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
    padding: 5px;
  }

  body {
    padding-top: 70px;
  }

  .foto-profil {
    width: 200px;
    height: 200px;
  }
}
.social-links a {
  font-size: 30px; /* Ukuran ikon */
  margin: 0 10px;
  text-decoration: none;
}

.social-links a.instagram i {
  color: #e1306c; /* Warna khas Instagram */
}

.social-links a.tiktok i {
  color: #000000; /* TikTok dominan hitam, bisa pakai gradient via SVG jika mau lebih kompleks */
}

.social-links a.github i {
  color: #171515; /* Warna khas GitHub */
}
