/* ================================== */
/* Palet Warna & Variabel (Dark Modern) */
/* ================================== */
:root {
    --bg-color: #1a1a2e; /* Dark Navy/Ungu Gelap */
    --card-bg: #21213e; /* Warna Card Sedikit Lebih Terang */
    --text-color: #f0f4f8; /* Teks Terang */
    --accent-color: #ff9900; /* Aksen Oranye Neon */
    --hover-color: #ffb84d; /* Oranye Lebih Terang untuk Hover */
    --secondary-text: #a0a0b8; /* Teks Sekunder/Pudar */
    --border-radius: 10px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Tambahan untuk efek menyala */
    --glow-light: 0 0 10px var(--accent-color), 0 0 20px rgba(255, 153, 0, 0.4);
    --glow-strong: 0 0 15px var(--accent-color), 0 0 30px rgba(255, 153, 0, 0.6);
}

/* ================================== */
/* Pengaturan Dasar & Font */
/* ================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif; 
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-top: 80px; 
    min-height: 100vh;
    overflow-x: hidden; /* Mencegah scroll horizontal yang tidak diinginkan */
}

.background-grid {
    display: none; 
}
.background-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10; 
    opacity: 0,5; 
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAD0lEQVQYV2NkgAP/mFfIAgAlC4IqC7q8sQAAAABJRU5ErkJggg==');
}

.name {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    /* Efek menyala pada nama */
    text-shadow: var(--glow-light);
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 5px;
    box-shadow: var(--glow-light); /* Efek menyala pada garis bawah judul */
}

/* ================================== */
/* Header dan Navigasi */
/* ================================== */
.header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--accent-color); 
    text-decoration: none;
    text-shadow: 0 0 8px var(--accent-color); /* Efek menyala pada logo */
    animation: pulseLogo 3s infinite ease-in-out alternate; /* Animasi berkedip */
}
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); text-shadow: 0 0 8px var(--accent-color); }
    50% { transform: scale(1.02); text-shadow: 0 0 15px var(--accent-color), 0 0 25px rgba(255, 153, 0, 0.5); }
}


.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}
.nav-menu a:hover::after {
    width: 100%;
    box-shadow: var(--glow-light); /* Efek menyala pada garis hover navigasi */
}

/* ================================== */
/* Kontainer Utama & Blok Konten */
/* ================================== */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.content-block {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Animasi fade-in umum untuk blok konten */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s forwards;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Delay untuk setiap blok agar muncul berurutan */
.profile-section { animation-delay: 0.1s; }
.about-section { animation-delay: 0.3s; }
.skills-section { animation-delay: 0.5s; }
.album-section { animation-delay: 0.7s; }
.contact-section { animation-delay: 0.9s; }


hr { display: none; }

/* ================================== */
/* Hero Section (Main Profile) */
/* ================================== */
.main-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 40px;
}

.hero-text-area {
    flex: 1;
}

.greeting {
    font-size: 1.2em;
    color: var(--secondary-text);
}

.title, .experience {
    color: var(--secondary-text);
    margin-top: 5px;
}
.experience {
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-photo-area {
    flex-shrink: 0;
    width: 300px; 
    height: 300px;
    position: relative;
}

.photo-wrapper {
   width: 350px; /* Lebar Ditetapkan */
    height: 350px; /* TINGGI HARUS SAMA DENGAN LEBAR */
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background-color: var(--bg-color); 
    /* Pastikan gambar mengisi penuh lingkaran */
    display: flex; 
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 100%; /* Lebar gambar mengisi 100% dari wrapper */
    height: 100%; /* Tinggi gambar mengisi 100% dari wrapper */
    object-fit: cover; /* Ini yang paling penting untuk memastikan gambar pas */
    display: block;
    border-radius: 50%; /* Agar gambar juga bulat sempurna */
    transform: scale(1.05); /* Sedikit zoom untuk menutupi celah kecil */
    transition: transform 0.5s ease-out; /* Animasi zoom saat hover */
}
.photo-wrapper:hover .profile-photo {
    transform: scale(1.1);
}


/* Efek outline oranye seperti di gambar */
.hero-photo-area::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    top: 10px;
    left: 10px;
    opacity: 0.8;
    z-index: 1;
    box-shadow: var(--glow-strong); /* Efek menyala kuat pada outline */
    animation: rotateGlow 8s linear infinite; /* Animasi rotasi glow */
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg) scale(1); opacity: 0.8; }
    50% { transform: rotate(180deg) scale(1.02); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.8; }
}


/* CTA Button */
.btn-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    margin-right: 15px;
    margin-top: 15px;
    box-shadow: var(--glow-light); /* Efek menyala pada tombol CTA */
}
.btn-cta:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: var(--glow-strong); /* Efek menyala kuat saat hover */
}

/* ================================== */
/* SOCIAL ICONS (Ikon Warna Asli) - KODE AKHIR DAN KUAT */
/* ================================== */
.social-icons {
    margin-top: 20px;
}

/* Pengaturan Dasar untuk Semua Ikon (Link Anchor) */
.social-icons a {
    font-size: 1.8em; 
    margin-right: 18px;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* 🟢 WhatsApp - PASTIKAN WARNA ASLI DENGAN !important */
.social-icons a i.fa-whatsapp {
    color: #25D366 !important; /* Gunakan !important untuk mengalahkan prioritas lain */
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.7); 
}
.social-icons a:hover i.fa-whatsapp {
    color: #128C7E !important; 
    text-shadow: 0 0 15px rgba(37, 211, 102, 1);
}

/* 🟣 Instagram - PASTIKAN WARNA ASLI DENGAN !important */
.social-icons a i.fa-instagram {
    color: #E1306C !important; 
    text-shadow: 0 0 10px rgba(225, 48, 108, 0.7); 
}
.social-icons a:hover i.fa-instagram {
    color: #C13584 !important; 
    text-shadow: 0 0 15px rgba(225, 48, 108, 1);
}

/* ⚫ TikTok - PASTIKAN WARNA ASLI DENGAN !important */
.social-icons a i.fa-tiktok {
    color: #00F2EA !important; 
    text-shadow: 1px 0 #FF0050, -1px 0 #00F2EA, 0 0 10px #00F2EA; 
}
.social-icons a:hover i.fa-tiktok {
    color: #69C9D0 !important; 
    text-shadow: 1px 0 #FF0050, -1px 0 #00F2EA, 0 0 15px #00F2EA;
}

/* Jika ada ikon lain selain 3 ini, gunakan warna aksen default */
.social-icons a i:not(.fa-whatsapp):not(.fa-instagram):not(.fa-tiktok) {
    color: var(--accent-color) !important;
}

/* Ikon Lainnya (Jika ada, tetap menggunakan warna aksen oranye) */
.social-icons a i:not(.fa-whatsapp):not(.fa-instagram):not(.fa-tiktok) {
    color: var(--accent-color);
}

/* Ikon Lainnya (Jika ada, tetap menggunakan warna aksen oranye) */
.social-icons a i:not(.fa-whatsapp):not(.fa-instagram):not(.fa-tiktok) {
    color: var(--accent-color);
}


/* Download Link */
.download-link {
    display: inline-block;
    color: var(--secondary-text);
    text-decoration: none;
    margin-top: 20px;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
}
.download-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    text-shadow: 0 0 5px var(--accent-color); /* Efek menyala ringan pada link download */
}

/* ================================== */
/* About Section */
/* ================================== */
.bio-content p {
    margin-bottom: 15px;
    color: var(--secondary-text);
}
.moto {
    font-style: italic;
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 153, 0, 0.5); /* Efek menyala ringan pada moto */
}


/* ================================== */
/* Skill Section */
/* ================================== */
.skill-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s, filter 0.3s;
    filter: grayscale(80%) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); /* Awalnya sedikit redup */
}
.skill-icon-img:hover {
    transform: scale(1.1);
    filter: grayscale(0%) drop-shadow(0 0 10px var(--accent-color)); /* Warna penuh dan glow saat hover */
}

.skill-category-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

.skill-card {
    background-color: var(--bg-color); 
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.skill-card.active, .skill-card:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: var(--glow-strong); /* Efek menyala kuat saat hover/aktif */
}

.skill-card i {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--accent-color); 
    transition: color 0.3s;
}

.skill-card.active i, .skill-card:hover i {
    color: var(--bg-color); 
}

.skill-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
}
.skill-card p {
    font-size: 0.9em;
    color: var(--secondary-text);
    transition: color 0.3s;
}
.skill-card.active p, .skill-card:hover p {
    color: var(--bg-color);
}

/* ================================== */
/* Portofolio / Album */
/* ================================== */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.album-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.1); /* Border awal samar */
}
.album-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: var(--glow-light); /* Efek menyala ringan saat hover */
}

.album-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ================================== */
/* Kontak & Footer */
/* ================================== */
.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.contact-link {
    background-color: var(--bg-color);
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
}

.contact-link:hover {
    box-shadow: var(--glow-light); /* Efek menyala ringan saat hover */
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-text);
    font-size: 0.9em;
    margin-top: 0;
}


/* ================================== */
/* Responsif (PENTING!) */
/* ================================== */
@media (max-width: 900px) {
    .main-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-text-area {
        order: 2; 
    }
    .hero-photo-area {
        order: 1;
        margin-bottom: 30px;
    }
    .hero-photo-area::before {
        top: 5px;
        left: 5px;
    }
    .skill-category-grid {
        flex-direction: column;
    }
    .contact-list {
        flex-direction: column;
    }
    .nav-menu {
        display: none; 
    }
    .nav-container {
        justify-content: center;
    }
}
@media (max-width: 500px) {
    .name {
        font-size: 2.5em;
    }
    .content-block {
        padding: 30px 15px;
    }
    .skill-icons-row {
        gap: 10px;
    }
}/* ================================== */
/* Education Section (Timeline) */
/* ================================== */
.timeline {
    position: relative;
    padding-left: 30px;
}

/* Garis vertikal di tengah timeline */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
}

/* Lingkaran (dot) di timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--card-bg); /* Border agar lingkaran menonjol */
    left: -6.5px;
    top: 5px;
    box-shadow: var(--glow-light); /* Efek menyala pada dot */
    transition: transform 0.3s;
}

.timeline-item:hover::before {
    transform: scale(1.2);
}

.timeline-date {
    font-size: 0.9em;
    color: var(--secondary-text);
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-title {
    font-size: 1.2em;
    color: var(--text-color);
    font-weight: 700;
}

.timeline-institution {
    color: var(--accent-color);
    margin: 5px 0;
}

.timeline-description {
    font-size: 0.9em;
    color: var(--secondary-text);
}

/* ================================== */
/* Video Section */
/* ================================== */
.video-container {
    margin-top: 30px;
    position: relative;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--glow-light); /* Efek menyala pada bingkai video */
    border: 3px solid var(--accent-color);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: var(--secondary-text);
}

/* ================================== */
/* Skills Detail List */
/* ================================== */
.skills-detail-list {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}
.skills-detail-list h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 153, 0, 0.3);
    padding-bottom: 5px;
    font-size: 1.1em;
    font-weight: 700;
}
.skills-detail-list ul {
    list-style: none;
    padding: 0;
}
.skills-detail-list li {
    margin-bottom: 10px;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}
.skills-detail-list li::before {
    content: '▶'; 
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 3px;
    text-shadow: 0 0 5px var(--accent-color);
}

/* ================================== */
/* Album Info (Pelengkap dari HTML) */
/* ================================== */
.album-info {
    padding: 15px;
    background-color: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.album-info h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: var(--accent-color);
}
.album-info p {
    font-size: 0.85em;
    color: var(--secondary-text);
}/* ================================== */
/* Perbaikan Font Akun Media Sosial */
/* ================================== */
.account-names-display {
    text-align: center;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Agar bisa turun baris di mobile */
    gap: 20px;
}

.account-font-style {
    /* Mengganti Font dari yang sebelumnya kurang cocok */
    font-family: 'Poppins', sans-serif; /* Menggunakan Font Website Utama */
    /* ATAU (Opsi Font Lain yang Rapi): font-family: 'Courier New', monospace; */
    
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-color); /* Warna teks putih */
    padding: 8px 15px;
    border-radius: 5px;
    
    /* Menggunakan efek menyala yang sudah ada dari tangkapan layar */
    text-shadow: 0 0 5px #00F2EA, 0 0 10px #FF0050; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-color);
    transition: all 0.3s;
}

.account-font-style:hover {
    text-shadow: 0 0 8px #00F2EA, 0 0 15px #FF0050;
    transform: translateY(-2px);
    cursor: pointer;
    border-color: var(--accent-color);
}/* ⚠️ PASTE KODE CSS KONTROL MUSIK DI BAWAH INI KE FILE 'style.css' ANDA ⚠️ */

/* Styling untuk Kontrol Musik */
.music-controls-container {
    position: fixed; /* Membuat kontrol tetap di layar meskipun halaman di-scroll */
    bottom: 20px; /* Jarak 20px dari tepi bawah layar */
    right: 20px; /* Jarak 20px dari tepi kanan layar */
    background-color: var(--header-bg-color, rgba(0, 0, 0, 0.8)); /* Latar belakang semi-transparan hitam */
    padding: 10px 15px;
    border-radius: 10px;
    display: flex; /* Mengatur item (tombol, slider) sejajar horizontal */
    align-items: center;
    gap: 10px; /* Jarak antar item kontrol */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Pastikan kontrol muncul di atas konten lain */
}

/* Styling untuk semua tombol di dalam kontainer */
.music-controls-container button {
    background: none;
    border: none;
    color: var(--text-color, #f0f0f0); /* Warna ikon tombol (putih/terang) */
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.music-controls-container button:hover {
    color: var(--accent-color, #00bfff); /* Warna saat tombol disentuh mouse (hover) */
}

/* Styling untuk Slider Volume */
.music-controls-container #volume-slider {
    width: 80px;
    -webkit-appearance: none; /* Hapus gaya default browser Chrome/Safari */
    appearance: none;
    height: 6px;
    background: #555; /* Warna track slider */
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Mengatur bulatan (thumb) pada slider untuk Webkit (Chrome, Safari) */
.music-controls-container #volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-color, #00bfff); /* Warna bulatan slider */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Mengatur bulatan (thumb) pada slider untuk Firefox */
.music-controls-container #volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-color, #00bfff);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Styling untuk tampilan persentase volume */
.music-controls-container #volume-display {
    color: var(--text-color, #f0f0f0);
    font-size: 0.9em;
    min-width: 35px; 
    text-align: right;
}