/* ======== GLOBAL ======== */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #0f172a; /* biru gelap */
  color: #f8fafc;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}
/* ========CUSTOM NAVBAR =======*/
   custom-nav {
  background: rgba(15, 23, 42, 0.6); /* semi transparan */
  backdrop-filter: blur(15px);
  padding: 8px 0; /* navbar jadi lebih kecil */
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3b82f6 !important;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
}

.navbar .nav-link {
  color: #f8fafc !important;
  margin-left: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 50%;
  bottom: -4px;
  background: #3b82f6;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover {
  color: #3b82f6 !important;
}

.navbar .nav-link:hover::after {
  width: 70%;
}
/* ======== MODERN NAVBAR ======== */
.modern-nav {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s ease;
  padding: 12px 0;
}
.modern-nav.scrolled {
  background: rgba(15, 23, 42, 0.9);
  padding: 6px 0;
  box-shadow: 0 6px 25px rgba(0,0,0,0.5);
}

/* Brand Glow */
.neon-brand {
  font-size: 1.2rem;
  color: #60a5fa !important;
  text-shadow: 0 0 6px #3b82f6, 0 0 12px #1d4ed8;
  letter-spacing: 1px;
}
.logo-glow {
  border-radius: 8px;
  box-shadow: 0 0 10px #3b82f6, 0 0 20px rgba(59,130,246,0.5);
}

/* Nav Links */
.modern-nav .nav-link {
  position: relative;
  color: #f8fafc !important;
  margin-left: 15px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  overflow: hidden;
}
.modern-nav .nav-link:hover {
  color: #60a5fa !important;
}
.modern-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 50%;
  bottom: -6px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #6366f1);
  transition: all 0.4s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}
.modern-nav .nav-link:hover::after {
  width: 80%;
}

/* Ripple Hover Effect */
.ripple {
  position: relative;
  z-index: 1;
}
.ripple::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(59,130,246,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}
.ripple:hover::before {
  width: 180%;
  height: 180%;
}

/* Efek shrink pas discroll */
.custom-nav.scrolled {
  padding: 4px 0;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ======== HERO ======== */
.hero {
  min-height: 100vh;
  background: linear-gradient(to bottom, #1e3a8a, #0f172a);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.profileImage {
  width: 150px;
  height: 150px;
  border: 4px solid #2563eb;
  object-fit: cover;
}
.hero h1 {
  font-size: 2.8rem;
  color: #fff;
}
.hero p {
  color: #e2e8f0;
  max-width: 600px;
  margin: auto;
}
.hero .btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
}

/* ======== SKILLS ======== */
.skill-card {
  border: none;
  border-radius: 10px;
  background: #1e293b;
  color: #f8fafc;
  transition: transform 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
}
.skill-card h5 {
  margin-bottom: 15px;
  color: #3b82f6;
}

/* ======== ABOUT ======== */
.about {
  background: #1e293b;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  color: #e2e8f0;
}
/* ======== ABOUT ======== */
.about {
  background: #1e293b;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  color: #e2e8f0;
}
/* ========INFORMASI PKL ======== */
.pkl {
  background: #1e293b;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  color: #e2e8f0;
}

.pkl-card {
  background: #0f172a;
  border-radius: 10px;
  color: #f8fafc;
  max-width: 700px;   /* biar konten tidak terlalu melebar */
}

.pkl-card p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
}
.pkl-card strong {
  color: #3b82f6;  /* judul informasi biru biar menonjol */
}
/* ======== SKILL PKL ======== */
.skillpkl-card {
  background: #0f172a;
  border-radius: 10px;
  color: #f8fafc;
  max-width: 700px;
}
.skillpkl-card ul li {
  font-size: 1rem;
}

/* ======== EXPERIENCE ======== */
.exp-card {
  background: #0f172a;
  border-radius: 10px;
  color: #f8fafc;
}
.exp-card ul li {
  font-size: 0.95rem;
  line-height: 1.5;
}
/* ======== KESAN & PESAN ======== */
.kesan-card {
  background: #0f172a;
  border-radius: 10px;
  color: #f8fafc;
  transition: transform 0.3s ease;
}
.kesan-card:hover {
  transform: translateY(-8px);
}

/* Animasi muncul */
@keyframes fadein {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes slideleft {
  from {opacity: 0; transform: translateX(-40px);}
  to {opacity: 1; transform: translateX(0);}
}
@keyframes slideright {
  from {opacity: 0; transform: translateX(40px);}
  to {opacity: 1; transform: translateX(0);}
}

.animate-fadein { animation: fadein 1s ease forwards; }
.animate-slideleft { animation: slideleft 1s ease forwards; }
.animate-slideright { animation: slideright 1s ease forwards; }
/* ======== CONTACT ======== */
.contact {
  background: #2563eb;
  color: #fff;
}
.social-links a {
  font-size: 30px;
  margin: 0 15px;
  color: #fff;
  transition: all 0.3s ease;
}
.social-links a:hover {
  color: #0f172a;
}
.contact-form {
  background: #1e293b;
  border-radius: 10px;
  color: #f8fafc;
}
.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: none;
}
.contact-form button {
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: #1d4ed8;
}

/* ======== FOOTER ======== */
.akhir {
  background: #0f172a;
  color: #cbd5e1;
}
/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Hero Parallax */
.hero {
  background: url('assets/image/bg-tech.jpg') center/cover fixed;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(15,23,42,0.7); /* overlay gelap */
}
.hero .container {
  position: relative;
  z-index: 2;
}

/* Typing Effect */
#typing {
  border-right: 2px solid #3b82f6;
  padding-right: 5px;
  animation: blink 0.7s infinite;
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* Card Hover Modern */
.card {
  transition: all 0.4s ease;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}