/* 1. Pengaturan Dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000; /* Hitam pekat */
  color: #fff; /* Teks putih secara default */
  font-family: "Inter", sans-serif; /* Font sans-serif modern */
  line-height: 1.5;
  overflow-x: hidden;
}

/* 2. Gaya Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Tinggi penuh layar */
  display: flex;
  flex-direction: column;
  /* Latar belakang gambar teknis yang diredupkan */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.93)),
    url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 0 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03); /* Garis bawah redup */
}

/* 3. Gaya Top Navigation */
.navbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* Menempel di atas */
  top: 0;
  left: 0;
  padding: 0 12%;
  z-index: 100;
  background-color: rgba(
    0,
    0,
    0,
    0.8
  ); /* Latar belakang navigasi semi-transparan */
  backdrop-filter: blur(5px); /* Efek blur kaca */

  .logo a {
    text-decoration: none;
    color: #fff;
    font-family: "Geist Mono", monospace; /* Font monospace ramping */
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem; /* Jarak antar tautan */

    a {
      text-decoration: none;
      color: #bbb; /* Abu-abu redup */
      font-size: 0.9rem;
      font-weight: 400;
      transition: color 0.1s ease;
    }

    a:hover {
      color: #fff; /* Putih saat disorot */
    }
  }
}

/* 4. Gaya Konten Utama Hero */
.hero-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 7rem; /* Jarak dari navigasi */
}

/* Pil Status */
.status-pill {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05); /* Latar belakang pil redup */
  color: #fff;
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 5rem;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #00ff00; /* Titik hijau berkedip */
  border-radius: 50%;
  margin-right: 10px;
  animation: pulse 1.5s infinite; /* Animasi berkedip */
}

/* Judul Utama dan Username */
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -1.5px;
}

.gradient-text {
  /* Gradien Teks (Cyan ke Ungu) */
  background: linear-gradient(90deg, #00ffff, #8a2be2, #00cccc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-username {
  color: #777; /* Abu-abu redup untuk username */
  font-size: 0.9rem;
  font-family: "Geist Mono", monospace;
  margin-bottom: 1.5rem;
}

/* Deskripsi Bio */
.hero-bio {
  max-width: 600px;
  color: #aaaaaaa0; /* Abu-abu terang untuk bio */
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* 5. Gaya Tombol CTA dan Ikon Sosial */
.cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.btn {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-filled {
  background-color: #00cccc; /* Tombol Projects penuh */
  color: #000;
  border: 1px solid transparent;
}

.btn-filled:hover {
  background-color: #00eaea; /* Cyan cerah saat hover */
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Bingkai redup */
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4); /* Bingkai lebih cerah saat hover */
}

.social-icons {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  color: #777; /* Abu-abu redup untuk ikon */
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #fff; /* Putih saat hover */
}

/* 6. Gaya Indikator Gulir */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #777; /* Abu-abu redup */
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
  margin-top: 1rem; /* Tarik ke bawah */
  padding-bottom: 2rem;
}

.scroll-text {
  margin-bottom: 10px;
}

.scroll-arrow {
  width: 2px;
  height: 15px;
  background-color: #777;
  position: relative;
  border-radius: 2px;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid #777;
  border-right: 2px solid #777;
  transform: translate(-50%, -50%) rotate(45deg);
}

.about-section {
  padding: 100px 0;
  background-color: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Section Label */
.section-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 60px;
  font-family: "Geist Mono", monospace;
}

.label-number {
  color: #00cccc;
  font-weight: 600;
}

.label-line {
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.label-text {
  color: #555;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-intro h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -1px;
}

.highlight {
  color: #00cccc;
}

.about-details p {
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Stats Area */
.about-stats {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-label {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  color: #555;
  text-transform: uppercase;
}

.stat-value {
  color: #ddd;
  font-size: 0.95rem;
}

.projects-section {
  padding: 100px 0;
  background-color: #000;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-card {
  background-color: #080808;
  border: 1px solid #1a1a1a;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  border-color: #00cccc;
  transform: translateY(-5px);
  background-color: #0c0c0c;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-year {
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  color: #555;
}

.p-link {
  text-decoration: none;
  color: #00cccc;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.project-card:hover .p-link {
  transform: translate(3px, -3px);
}

.project-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-desc {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  color: #aaa;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-all {
  margin-top: 60px;
  text-align: center;
}

.archive-link {
  font-family: "Geist Mono", monospace;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #00cccc;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.archive-link:hover {
  color: #00cccc;
}

.skills-section {
  position: relative;
  padding: 120px 0;
  background-color: #000;
  overflow: hidden;
}

/* Pola Grid Background seperti pada Screenshot 2026-04-28 170923.jpg */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.skills-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.skills-tag {
  font-family: "Geist Mono", monospace;
  color: #00cccc;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.skills-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.skills-subtitle {
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

/* Tech Card Styles */
.tech-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(0, 204, 204, 0.1);
  border: 1px solid rgba(0, 204, 204, 0.3);
}

.tech-card h3 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

/* Skill Item & Progress Bar */
.skill-item {
  margin-bottom: 25px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-family: "Geist Mono", monospace;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  /* Gradient Cyan ke Ungu sesuai referensi gambar */
  background: linear-gradient(90deg, #00cccc, #8a2be2);
  border-radius: 10px;
}

.experience-section {
  padding: 100px 0;
  background-color: #000;
}

.experience-timeline {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
  padding-left: 30px;
}

/* Garis vertikal timeline */
.experience-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: linear-gradient(to bottom, #00cccc, rgba(0, 204, 204, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

/* Titik pada timeline */
.timeline-item::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #00cccc;
  border: 2px solid #000;
  z-index: 1;
}

.timeline-date {
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.exp-title {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 5px;
}

.exp-company {
  font-size: 1rem;
  color: #00cccc;
  margin-bottom: 20px;
  font-weight: 500;
}

.exp-desc {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 90%;
}

.exp-bullets {
  list-style: none;
  padding: 0;
}

.exp-bullets li {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.exp-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #333;
}

/* Hover Effect */
.timeline-item:hover .exp-title {
  color: #00cccc;
  transition: color 0.3s ease;
}

/* --- Contact Section Styles --- */
.contact-grid-section {
  position: relative;
  padding: 120px 0;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Pola Kisi Halus */
.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.contact-header {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.contact-tag {
  font-family: "Geist Mono", monospace;
  color: #00cccc;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.contact-main-title {
  font-size: 3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-subtitle {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Kartu Kontak Sesuai Screenshot 2026-04-29 163344.png */
.contact-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 60px 40px;
  display: inline-block;
  position: relative;
  z-index: 1;
  min-width: 350px;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #00cccc;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: "Geist Mono", monospace;
  margin-bottom: 40px;
  transition: opacity 0.2s;
}

.email-link:hover {
  opacity: 0.8;
}

.contact-pills {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: "Geist Mono", monospace;
  transition: border-color 0.2s;
}

.pill-btn:hover {
  border-color: #333;
}

/* --- Footer Global Styles --- */
.main-footer {
  background-color: #000;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left p {
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  color: #444;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-right a {
  color: #444;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: #fff;
}

.footer-separator {
  color: #222;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .contact-main-title {
    font-size: 2.2rem;
  }
  .email-link {
    font-size: 1.1rem;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .experience-timeline {
    padding-left: 20px;
  }
  .exp-title {
    font-size: 1.2rem;
  }
  .exp-desc {
    max-width: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .skills-title {
    font-size: 2.5rem;
  }
  .skills-container {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro h2 {
    font-size: 2rem;
  }
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* 7. Animasi */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* 8. Responsif untuk HP */
@media (max-width: 768px) {
  .navbar {
    padding: 0 5%;
  }

  .navbar .nav-links {
    display: none; /* Sembunyikan menu di mobile */
  }

  .hero-title {
    font-size: 2.5rem; /* Ukuran teks judul yang lebih kecil di mobile */
  }

  .hero-username {
    margin-bottom: 1.5rem;
  }

  .hero-bio {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding: 0 10%;
  }

  .cta-group {
    flex-direction: column; /* Tombol CTA di tumpukan di mobile */
    gap: 1rem;
    width: 80%;
  }

  .btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.7rem;
  }

  .social-icons {
    margin-top: 1rem;
  }
}
