/* Reset & Dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Doto', sans-serif;
  background: linear-gradient(120deg, #fff9c4, #ffecb3, #ffccbc);
  color: #333;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Pola Background: Dot Cerah */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle, rgba(255, 152, 0, 0.07) 2px, transparent 2px),
    radial-gradient(circle, rgba(255, 87, 34, 0.05) 2px, transparent 2px);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  z-index: 0;
}

.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border: 6px solid #ff9800;
  border-radius: 30px;
  margin: 30px auto;
  box-shadow: 0 10px 0 #ffd54f, 0 15px 25px rgba(0,0,0,0.1);
  position: relative;
}

.avatar-bubble {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.avatar {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #ff9800;
  background: white;
  box-shadow: 0 0 0 5px #ffd54f;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.sparkle {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.8rem;
  color: #ff5722;
  animation: twinkle 2s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.name {
  font-size: 2.9rem;
  font-weight: 800;
  color: #e91e63;
  text-shadow: 3px 3px 0 #ffd54f;
  margin: 15px 0;
  letter-spacing: 1px;
}

.role {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff9800;
  margin-bottom: 25px;
  text-shadow: 2px 2px 0 rgba(255,255,255,0.8);
}

.speech-bubble {
  background: #e3f2fd;
  border: 4px solid #2196f3;
  border-radius: 25px;
  padding: 20px;
  margin: 25px auto;
  max-width: 650px;
  position: relative;
  font-size: 1.15rem;
  line-height: 1.6;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #2196f3 transparent transparent;
}

.speech-bubble strong {
  color: #e91e63;
  font-weight: 800;
}

/* Kontak Kartun */
.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.contact-card {
  background: white;
  border: 4px solid #4caf50;
  border-radius: 20px;
  padding: 20px 15px;
  width: 180px;
  text-align: center;
  box-shadow: 0 5px 0 #c8e6c9;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
}

.contact-card i {
  color: #4caf50;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e7d32;
  word-wrap: break-word;       /* Untuk browser lama */
  overflow-wrap: break-word;   /* Standar modern */
  word-break: break-word;      /* Opsional: paksa potong kata */
  white-space: normal;         /* Pastikan teks bisa turun baris */
  hyphens: auto;               /* Opsional: tambah tanda hubung */
}

/* Tombol Aksi */
.action-buttons {
  margin: 30px 0;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  margin: 0 12px;
  font-family: 'Doto', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  border-radius: 50px;
  border: 5px solid #000;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 #000;
  text-align: center;
}

.btn:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 #000;
}

.btn-primary {
  background: #ffd54f;
  color: #e91e63;
}

.btn-secondary {
  background: #ffab91;
  color: #bf360c;
}

/* Skill Section */
.skills {
  margin: 50px 0;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #e91e63;
  text-shadow: 3px 3px 0 #ffd54f;
  margin-bottom: 35px;
}

.powers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 25px;
}

.power-item {
  background: #fff3e0;
  border: 4px solid #ff9800;
  border-radius: 22px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.power-item:hover {
  transform: scale(1.05);
  background: #ffe0b2;
  box-shadow: 0 8px 15px rgba(255,152,0,0.2);
}

.power-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.power-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #e65100;
  font-weight: 800;
}

.power-item p {
  font-size: 1rem;
  color: #5d4037;
  font-weight: 500;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 50px;
  padding: 25px;
  color: #e91e63;
  font-weight: 700;
  text-shadow: 2px 2px 0 #ffd54f;
}

.heart {
  color: #ff4081;
}

.fun-note {
  font-size: 1rem;
  margin-top: 12px;
  color: #ff9800;
  font-weight: 600;
}
/* === Bagian PKL === */
.pkl-section {
  margin: 50px 0;
}

.pkl-section .section-title {
  color: #6a1b9a;
  text-shadow: 3px 3px 0 #e0b0ff;
}

.pkl-timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pkl-card {
  background: white;
  border: 5px solid #9c27b0;
  border-radius: 22px;
  padding: 25px;
  position: relative;
  box-shadow: 0 6px 0 #e1bee7;
  transition: transform 0.3s ease;
}

.pkl-card:hover {
  transform: translateY(-6px);
}

.pkl-badge {
  display: inline-block;
  background: #e1bee7;
  color: #6a1b9a;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  border: 2px solid #9c27b0;
}

.pkl-card h3 {
  font-size: 1.5rem;
  color: #4a148c;
  margin-bottom: 8px;
  font-weight: 800;
}

.pkl-role {
  font-size: 1.1rem;
  color: #9c27b0;
  font-weight: 700;
  margin-bottom: 12px;
}

.pkl-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  /* --- PERBAIKAN TEKS PANJANG --- */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.pkl-duration {
  background: #f3e5f5;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 15px;
  font-weight: 700;
  color: #6a1b9a;
  border: 2px dashed #ce93d8;
}
/* === Bagian Proyek === */
.projects-section {
  margin: 50px 0;
}

.projects-section .section-title {
  color: #0288d1;
  text-shadow: 3px 3px 0 #b3e5fc;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: white;
  border: 5px solid #0288d1;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 6px 0 #b3e5fc;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 0 #81d4fa, 0 15px 20px rgba(2, 136, 209, 0.2);
}

.project-image {
  width: 100%;
  height: 500px;
  background: #e1f5fe;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 160%;
  object-fit: cover;
}

.placeholder {
  font-size: 3rem;
  color: #0288d1;
}

.project-card h3 {
  font-size: 1.4rem;
  color: #01579b;
  margin-bottom: 8px;
  font-weight: 800;
}

.project-tech {
  font-size: 0.95rem;
  color: #0288d1;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #01579b;
  font-weight: 700;
  border: 2px solid #0288d1;
  border-radius: 15px;
  background: #e1f5fe;
  transition: all 0.2s;
}

.btn-link:hover {
  background: #0288d1;
  color: rgb(3, 255, 255);
  transform: scale(1.05);
}

/* Responsif */
@media (max-width: 768px) {
  .name { font-size: 2.3rem; }
  .role { font-size: 1.3rem; }
  .btn {
    display: block;
    margin: 12px auto;
    width: 85%;
  }
  .contact-cards { flex-direction: column; align-items: center; }
  .speech-bubble { font-size: 1.05rem; }
}