/* Ganti seluruh isi style.css dengan ini untuk tema Retro Pop */

/* --- FONT --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    
    /* Pola Halftone Dots */
    background-color: #fef3c7;
    background-image: radial-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 10px 10px;
}

/* --- HEADER --- */
.hero.is-primary {
    background-color: #8b5cf6; /* Ungu cerah */
    background-image: none;
    border-bottom: 4px solid #000;
}

.hero-body {
    padding-bottom: 24px;
}

.hero .title, .hero .subtitle {
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 0px #000;
}

/* --- TOMBOL --- */
.button.is-link {
    background-color: #fb7185; /* Pink-merah */
    border: 3px solid #000;
    color: #000;
    font-weight: 700;
    box-shadow: 4px 4px 0px #000;
    transition: all 0.1s ease;
}
.button.is-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

/* --- STICKY NOTE --- */
.sticky-note {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 3px solid #111827; /* Border hitam tebal */
    border-radius: 6px;
    box-shadow: 8px 8px 0px #111827; /* Bayangan solid */
    transition: all 0.2s ease-in-out;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.sticky-note:hover {
    transform: scale(1.05) rotate(1deg) !important;
    z-index: 10;
}

.sticky-note .content {
    font-size: 1.1rem;
    line-height: 1.5;
    word-wrap: break-word;
    color: #111827;

    background-image: linear-gradient(to top, #fef08a 100%, transparent 0%);
    background-size: 100% 80%; /* Atur tebal stabilo (misal: 60% dari tinggi baris) */
    background-repeat: no-repeat;
    background-position: 0 70%; /* Atur posisi vertikal stabilo */
    
    display: inline; /* Tetap dibutuhkan agar background 'memeluk' teks */
    line-height: 1.7; /* Beri ruang agar stabilo tidak terlalu rapat */
    
    /* Properti Kunci untuk memperbaiki masalah multi-baris */
    -webkit-box-decoration-break: clone; /* Untuk browser Safari/Chrome lama */
    box-decoration-break: clone; /* Standar */

    /* Opsional: beri sedikit padding agar lebih rapi */
    padding: 0 4px;
    margin: 0 -4px;

}

.sticky-note .author {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
    text-align: right;
    align-self: flex-end;
}

/* --- VARIASI WARNA CERAH --- */
.note-yellow { background-color: #fef08a; }
.note-pink   { background-color: #f9a8d4; }
.note-blue   { background-color: #93c5fd; }
.note-green  { background-color: #a7f3d0; }


/* --- MODAL RETRO POP --- */

.modal-card {
    border: 3px solid #111827;
    box-shadow: 8px 8px 0px #111827;
    border-radius: 6px;
}

.modal-card-head {
    background-color: #8b5cf6; /* Warna ungu yang sama dengan header utama */
    border-bottom: 3px solid #111827;
    border-radius: 4px 4px 0 0;
}

.modal-card-title {
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 0px #000;
}

.modal-card-body {
    background-color: #fef3c7; /* Warna latar belakang body */
}

.modal-card-foot {
    background-color: #fef3c7;
    border-top: 3px solid #111827;
    border-radius: 0 0 4px 4px;
}

/* Styling untuk form di dalam modal */
.modal .label {
    font-weight: 700;
    color: #111827;
}

.modal .input,
.modal .textarea {
    border: 3px solid #111827;
    box-shadow: 4px 4px 0px #d1d5db; /* Bayangan solid abu-abu */
    font-weight: 600;
    transition: all 0.1s ease;
}

.modal .input:focus,
.modal .textarea:focus {
    box-shadow: 2px 2px 0px #111827;
}

/* Styling untuk tombol di footer modal */
.modal-card-foot .button {
    border: 3px solid #111827;
    font-weight: 700;
    box-shadow: 4px 4px 0px #111827;
}

.modal-card-foot .button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #111827;
}

.modal-card-foot .button.is-success {
    background-color: #a7f3d0; /* Warna hijau dari note */
    color: #111827;
}

.modal-card-foot .button:not(.is-success) {
    background-color: #e2e8f0; /* Warna abu-abu netral */
    color: #111827;
}

/* animation */
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.note-pop-in {
    animation: pop-in 0.4s ease-out forwards;
}


/* Styling ulang tombol hapus di sticky note */
.sticky-note .delete.delete-quote-btn {
    background-color: #fb7185; /* Warna pink-merah */
    border: 3px solid #111827;
    border-radius: 50%; /* Buat jadi lingkaran */
    box-shadow: 3px 3px 0px #111827;
    transition: all 0.1s ease;
}

.sticky-note .delete.delete-quote-btn:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0px #111827;
}

/* Mengatur ulang pseudo-element ::before dan ::after untuk 'X' */
.sticky-note .delete.delete-quote-btn::before,
.sticky-note .delete.delete-quote-btn::after {
    background-color: #111827; /* Warna X jadi hitam */
    width: 60%;
    height: 3px;
}

/* Elemen Coretan Dekoratif */
.sticky-note {
    /* ...properti yang sudah ada... */
    position: relative; /* Penting agar ::before bisa diposisikan */
}

.sticky-note::before {
    content: '〰〰'; /* Bisa juga pakai SVG atau karakter lain */
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 24px;
    font-weight: 900;
    color: #8b5cf6; /* Warna ungu header */
    transform: rotate(-15deg);
    z-index: -1;
}

/* Link 'About Me' di bawah Subtitle */
.subtitle-link-container {
    margin-top: 1.5rem; /* Beri jarak dari subtitle di atasnya */
}

.subtitle-link-container .button {
    background-color: #fef3c7; /* Warna kuning pucat dari background body */
    color: #111827; /* Warna teks hitam */
    border: 3px solid #111827;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.75);
    font-weight: 700;
    transition: all 0.1s ease;
}

.subtitle-link-container .button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.75);

}


/* =============================== */
/* === STYLE HALAMAN LINKTREE ==== */
/* =============================== */

/* Atur body agar konten berada di tengah */
body.links-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

/* Kontainer utama untuk semua elemen */
.link-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* Foto Profil */
.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #111827;
    box-shadow: 8px 8px 0px #111827;
    object-fit: cover; /* Agar gambar tidak gepeng */
    margin-bottom: 1rem;
}

/* Nama / Handle */
.profile-name {
    font-size: 2rem;
    font-weight: 900;
    color: #111827;
    text-shadow: 3px 3px 0 #fff, 6px 6px 0 rgba(0, 0, 0, 0.2);
}

/* Bio singkat */
.profile-bio {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: #111827;
}

/* Tombol Link */
.link-button {
    display: block;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    padding: 1rem;
    margin: 1rem auto;
    border: 3px solid #111827;
    border-radius: 6px;
    box-shadow: 8px 8px 0px #111827;
    transition: all 0.1s ease-in-out;
}

.link-button:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0px #111827;
}

/* Efek warna selang-seling agar lebih menarik */
.link-button:nth-child(odd) {
    background-color: #f9a8d4; /* Pink */
}

.link-button:nth-child(even) {
    background-color: #93c5fd; /* Biru */
}

/* Link untuk kembali ke halaman utama */
.back-link {
    margin-top: 2.5rem;
}

.back-link a {
    font-weight: 700;
    color: #8b5cf6;
    text-decoration: underline;
}

.back-link a:hover {
    color: #fb7185;
}


/* =============================== */
/* === STYLE HALAMAN ABOUT ME ==== */
/* =============================== */

/* Atur body agar konten memiliki padding */
/* Atur body khusus untuk halaman about agar konten memiliki padding */
body.about-page {
    padding: 2rem 1.5rem;
}

/* Kontainer utama untuk semua konten 'About Me' */
.about-container {
    max-width: 800px;
    margin: 2rem auto; /* Beri margin atas & bawah, dan tengah secara horizontal */
    padding: 2rem 2.5rem;
    background-color: #fdfcf9; /* Warna putih gading */
    border: 4px solid #111827;
    border-radius: 6px;
    box-shadow: 10px 10px 0px #111827;
}

/* Kontainer untuk header (gambar + judul) */
.about-header {
    display: flex; /* Gunakan Flexbox */
    flex-wrap: wrap; /* Izinkan wrap jika layar sempit */
    justify-content: center; /* Posisikan di tengah */
    align-items: center; /* Sejajarkan secara vertikal */
    gap: 1.5rem; /* Jarak antara gambar dan judul */
    margin-bottom: 2rem; /* Jarak ke paragraf di bawahnya */
}

/* Styling untuk gambar profil */
.about-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Membuat gambar menjadi lingkaran */
    border: 3px solid #111827;
    box-shadow: 6px 6px 0px #111827;
    object-fit: cover; /* Memastikan gambar tidak gepeng */
}

/* Judul Utama Halaman "About Me" */
.about-title {
    font-size: 3rem;
    font-weight: 900;
    color: #111827;
    text-align: center;
    margin-bottom: 0; /* Hapus margin bawah karena sudah diatur oleh .about-header */
    text-shadow: 3px 3px 0 #fff, 6px 6px 0 rgba(0, 0, 0, 0.2);
}

/* Sub-judul untuk setiap seksi (Skills, Education, etc.) */
.about-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    border-bottom: 3px solid #111827;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Styling umum untuk paragraf di dalam container */
.about-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #374151; /* Abu-abu gelap agar nyaman dibaca */
}

/* Styling spesifik untuk list skills */
.skills-list p {
    margin-bottom: 0.5rem;
}

/* Styling untuk list pengalaman kerja & pendidikan */
.exp-list {
    list-style: none; /* Hapus bullet point default */
    padding-left: 0;
}

.exp-list li {
    font-size: 1.1rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: #374151;
}

/* Membuat bullet point kustom yang retro */
.exp-list li::before {
    content: '»'; /* Karakter panah atau bisa ganti dengan '■' */
    position: absolute;
    left: 0;
    top: 0;
    color: #8b5cf6; /* Warna ungu dari header utama */
    font-weight: 900;
}

/* Link untuk kembali (diambil dari style halaman links) */
.back-link {
    margin-top: 2.5rem;
    text-align: center;
}

.back-link a {
    display: inline-block; /* Agar bisa diberi padding dan style seperti tombol */
    padding: 0.75rem 1.5rem;
    background-color: #fb7185; /* Warna pink-merah yang cerah */
    color: #111827;
    font-weight: 700;
    text-decoration: none; /* Hapus underline */
    border: 3px solid #111827;
    border-radius: 6px;
    box-shadow: 4px 4px 0px #111827;
    transition: all 0.1s ease;
}

.back-link a:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #111827;
    color: #111827; /* Pastikan warna teks tidak berubah saat hover */
}