/* ==========================================================
   FILE: style_visitor_halaman_utama.css
   TEMA: Sci-Fi / Cyberpunk Dashboard (Dark Mode)
   DESKRIPSI: CSS Full, Responsif, Detail Jabatan & Lokasi
========================================================== */

/* --- 1. VARIABEL GLOBAL --- */
:root {
    --bg-dark: #070a13;
    --card-bg: rgba(13, 18, 30, 0.7);
    --cyan-glow: #00f0ff;
    --orange-glow: #ff8c00;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --border-glass: rgba(0, 240, 255, 0.15);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body { background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; }

/* Background Glow Animasi */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(150px); z-index: -1; pointer-events: none;}
.glow-1 { width: 400px; height: 400px; background: rgba(0, 240, 255, 0.05); top: -100px; left: -100px; }
.glow-2 { width: 500px; height: 500px; background: rgba(255, 140, 0, 0.05); bottom: -200px; right: -100px; }

/* UTILITY CLASSES UNTUK FALLBACK JS (TANPA INLINE CSS) */
.hide-element { display: none !important; }
.show-flex { display: flex !important; }

/* --- 2. ANIMASI GLOBAL (REVEAL ON SCROLL) --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: var(--transition-slow); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: var(--transition-slow); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: var(--transition-slow); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: var(--transition-slow); }

.active.reveal-up, .active.reveal-left, .active.reveal-right, .active.reveal-scale { opacity: 1; transform: translate(0) scale(1); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* SECTION TITLE GLOBAL */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 10px; color: var(--text-main); letter-spacing: 1px;}
.title-line { width: 80px; height: 4px; background: linear-gradient(90deg, var(--cyan-glow), var(--orange-glow)); margin: 0 auto; border-radius: 5px; box-shadow: 0 0 10px var(--cyan-glow); }
.text-gradient { background: linear-gradient(90deg, var(--cyan-glow), var(--orange-glow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ==========================================================
   3. HERO SECTION (HALAMAN DEPAN)
========================================================== */
.hero-section { padding-top: 160px; padding-bottom: 100px; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-content { flex: 1.2; }

/* Teks & Deskripsi */
.badge-glass { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 240, 255, 0.05); border: 1px solid var(--border-glass); color: var(--cyan-glow); padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; box-shadow: 0 0 15px rgba(0, 240, 255, 0.1); }
.badge-glass i { color: var(--cyan-glow); }

.name { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 5px; color: var(--cyan-glow); text-shadow: 0 0 25px rgba(0, 240, 255, 0.4); letter-spacing: -1px;}
.profession { font-size: 2.2rem; font-weight: 700; margin-bottom: 30px; }

.intro-box { background: var(--card-bg); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); border-left: 4px solid var(--cyan-glow); color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.intro-box strong { color: var(--text-main); font-weight: 600; }

/* Sosial Media & Tombol */
.social-hero { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap;}
.social-icon { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-main); font-size: 1.2rem; text-decoration: none; transition: 0.3s; }
.social-icon:hover { background: var(--cyan-glow); border-color: var(--cyan-glow); color: #000; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 240, 255, 0.4); }

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { padding: 12px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; font-size: 1rem;}

.btn-hire { background: linear-gradient(45deg, var(--orange-glow), #ff3c00); color: #000; box-shadow: 0 0 20px rgba(255, 140, 0, 0.4); border: none; }
.btn-hire:hover { background: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.8); transform: translateY(-3px); color: #000;}

.btn-gradient { background: var(--cyan-glow); color: #000; box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }
.btn-gradient:hover { background: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.8); transform: translateY(-3px); }

.btn-glass { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-glass:hover { background: rgba(0, 240, 255, 0.1); border-color: var(--cyan-glow); color: var(--cyan-glow); transform: translateY(-3px); }

/* BINGKAI FOTO PROFIL SCI-FI */
.hero-image { flex: 0.8; display: flex; justify-content: center; position: relative; min-height: 400px; align-items: center;}
.image-frame-glow { position: relative; width: 380px; height: 380px; display: flex; align-items: center; justify-content: center; z-index: 2;}
.image-frame-glow::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-top: 3px solid var(--orange-glow); border-left: 3px solid var(--orange-glow); border-radius: 20px 0 0 0; }
.image-frame-glow::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 60px; border-bottom: 3px solid var(--orange-glow); border-right: 3px solid var(--orange-glow); border-radius: 0 0 20px 0; }

.hero-image::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 330px; height: 330px; border: 2px solid var(--cyan-glow);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphing-cyan 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.2); z-index: 1;
}

.image-frame { position: relative; width: 280px; height: 280px; border-radius: 24px; background-color: #0d121a; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.6); z-index: 3; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px;}
.fallback-icon-hero { position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 7rem; color: rgba(255,255,255,0.1); background: #070a13;}

@keyframes morphing-cyan {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 70% 30% 40% 60% / 50% 60% 40% 50%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}


/* ==========================================================
   4. RESUME SECTION (TIMELINE UPDATE DENGAN JABATAN & DESKRIBSI)
========================================================== */
.resume-section { padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.resume-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.column-title { font-size: 1.5rem; color: var(--cyan-glow); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-weight: 800;}

/* Timeline UI */
.timeline { border-left: 2px dashed rgba(0, 240, 255, 0.4); padding-left: 30px; margin-left: 10px; position: relative;}
.timeline-item { position: relative; background: var(--card-bg); padding: 22px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); border-left: 4px solid transparent; margin-bottom: 20px; transition: 0.3s; }
.timeline-item:hover { transform: translateX(5px); }

.highlight-border { border-left-color: var(--orange-glow); border-top-left-radius: 4px; border-bottom-left-radius: 4px;}
.timeline-dot { position: absolute; left: -40px; top: 25px; width: 14px; height: 14px; background: var(--cyan-glow); border-radius: 50%; box-shadow: 0 0 15px var(--cyan-glow); }
.highlight-border .timeline-dot { background: var(--cyan-glow); }

.timeline-date { color: var(--orange-glow); font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; display: inline-block; letter-spacing: 1px; background: rgba(255,140,0,0.1); padding: 4px 10px; border-radius: 6px;}
.timeline-item h4 { font-size: 1.25rem; color: var(--text-main); margin-bottom: 6px; font-weight: 800;}

/* CSS BARU UNTUK JABATAN, LOKASI & DESKRIBSI */
.timeline-jabatan { color: var(--cyan-glow); font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 6px;}
.timeline-location { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; margin-bottom: 10px;}
.timeline-location i { color: var(--orange-glow); } /* Aksen orange untuk lokasi */
.timeline-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px; margin-top: 5px; font-weight: 400;}

/* --- PROGRESS BAR SKILL PRESISI 100% --- */
.mt-section { margin-top: 50px; }
.skills-box { background: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 25px; }

.skill-item { width: 100%; }
.skill-info { display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main);}

.progress-bg { 
    width: 100%; height: 8px; background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px; position: relative; 
}
.progress-fill { 
    height: 100%; width: 0; border-radius: 10px; 
    background: linear-gradient(90deg, var(--cyan-glow), var(--orange-glow)); 
    box-shadow: 0 0 10px var(--orange-glow); 
    position: relative; /* Menjadi patokan absolut untuk progress-glow */
    transition: width 1.5s ease-out; 
}
/* TITIK KNOB AKURAT: Posisi right: -7px memastikan titik memotong pas di ujung warna */
.progress-glow { 
    position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; background: #fff; border-radius: 50%; 
    box-shadow: 0 0 10px #fff, 0 0 20px var(--orange-glow); z-index: 2;
}

/* Personal Skills Tag */
.skills-box-personal { background: var(--card-bg); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-wrap: wrap; gap: 15px; }
.skill-tag { background: rgba(0, 240, 255, 0.05); border: 1px solid var(--border-glass); padding: 10px 18px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--text-main); cursor: default;}
.skill-tag i { color: var(--cyan-glow); }


/* ==========================================================
   5. PORTFOLIO SECTION (INTERAKTIF & BISA PLAY)
========================================================== */
.portfolio-section { padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.05);}
.portfolio-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.portfolio-card { background: transparent; display: flex; flex-direction: column; gap: 15px; transition: 0.3s; cursor: pointer; }
.portfolio-card:hover { transform: translateY(-8px); }

.portfolio-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; background-color: #0d121a; border: 2px solid rgba(255, 255, 255, 0.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); transition: 0.3s; overflow: hidden; display: flex; align-items: center; justify-content: center;}
.portfolio-card:hover .portfolio-frame { border-color: var(--cyan-glow); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.25); }

.work-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; }
.portfolio-card:hover .work-img { transform: scale(1.08); filter: brightness(0.8);}
.grid-media-player { width: 100%; height: 100%; object-fit: cover; border: none; z-index: 5;}

.fallback-media { position: absolute; inset: 0; align-items: center; justify-content: center; background: #000; z-index: 1;}
.fallback-media i { font-size: 3.5rem; color: rgba(255,255,255,0.1); transition: 0.3s;}
.portfolio-card:hover .fallback-media i { color: var(--cyan-glow); transform: scale(1.1); }

.featured-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.8); color: #ffca28; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.9rem; border: 1px solid rgba(255,202,40,0.4); backdrop-filter: blur(5px); z-index: 10; pointer-events: none;}

.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 9, 15, 0.9) 0%, rgba(7, 9, 15, 0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: 0.3s; pointer-events: none; z-index: 2; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.overlay-content { transform: translateY(20px); transition: transform 0.5s ease; }
.portfolio-card:hover .overlay-content { transform: translateY(0); }
.overlay-content h3 { font-size: 1.25rem; margin-bottom: 5px; color: var(--text-main); font-weight: 800;}
.overlay-content p { color: var(--cyan-glow); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; font-weight: 600;}


/* --- 6. TOMBOL "LIHAT LEBIH BANYAK" --- */
.section-more-action { text-align: center; margin-top: 60px; width: 100%; }
.btn-outline-glow { display: inline-flex; align-items: center; gap: 10px; padding: 14px 35px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; color: var(--text-main); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); text-decoration: none; transition: 0.3s; }
.btn-outline-glow:hover { background: rgba(0, 240, 255, 0.1); color: var(--cyan-glow); border-color: var(--cyan-glow); box-shadow: 0 5px 25px rgba(0, 240, 255, 0.3); transform: translateY(-3px); }


/* --- 7. FOOTER SECTION --- */
.footer-section { padding: 60px 0 20px; background: #070a13; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h2 { font-size: 2.2rem; font-weight: 900; color: var(--text-main); margin-bottom: 15px; }
.footer-brand h2 span { color: var(--orange-glow); }
.footer-brand p { color: var(--text-muted); line-height: 1.6; max-width: 400px; }
.footer-contact h3, .footer-social h3 { font-size: 1.2rem; color: var(--text-main); margin-bottom: 20px; }
.footer-contact p { margin-bottom: 15px; }
.footer-contact a { color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.footer-contact p i { color: var(--cyan-glow); }
.footer-contact a:hover { color: var(--cyan-glow); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }


/* ==========================================================
   8. RESPONSIVE MEDIA QUERIES (SEMPURNA MULTI-LAYAR)
========================================================== */

/* Laptop Standard & Tablet Landscape */
@media (max-width: 1024px) {
    .resume-wrapper { gap: 40px; }
    .hero-grid { gap: 30px; }
    .name { font-size: 3.5rem; }
    .image-frame-glow { width: 320px; height: 320px; }
    .hero-image::before { width: 280px; height: 280px; }
    .image-frame { width: 240px; height: 240px; }
    .portfolio-gallery { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .hero-section { padding-top: 130px; text-align: center; }
    .hero-grid { flex-direction: column-reverse; gap: 50px; }
    .hero-content { display: flex; flex-direction: column; align-items: center;}
    .intro-box { text-align: left; border-left: none; border-top: 4px solid var(--cyan-glow); }
    .social-hero { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .resume-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p, .footer-contact a { justify-content: center; }
}

/* Mobile (Handphone) */
@media (max-width: 576px) {
    .name { font-size: 2.8rem; }
    .profession { font-size: 1.5rem; }
    .image-frame-glow { width: 260px; height: 260px; }
    .hero-image::before { width: 230px; height: 230px; }
    .image-frame { width: 190px; height: 190px; }
    .fallback-icon-hero { font-size: 5rem; }
    
    .portfolio-gallery { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .portfolio-frame { border-radius: 8px; }
    .portfolio-overlay { padding: 15px; }
    .overlay-content h3 { font-size: 1rem; margin-bottom: 2px; }
    .overlay-content p { font-size: 0.75rem; }
    .fallback-media i { font-size: 2.5rem; }
    
    .btn-outline-glow { width: 100%; justify-content: center; }
}