
/* ==========================================
   ROOT VARIABLES
========================================== */

:root{

    --primary:#5EEAD4;
    --secondary:#38BDF8;

    --dark:#050816;
    --dark2:#0F172A;

    --white:#FFFFFF;
    --gray:#94A3B8;

    --transition:.35s ease;
    --moon-size:160px;

    --skill-color:#5EEAD4;
    --skill-glow:rgba(94,234,212,.35);


}



/* ==========================================
   CSS RESET
========================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;

}


html{
    font-size:16px;
}


body{

    font-family:'Poppins',sans-serif;
    background:
        radial-gradient(circle at top,#0f1f3d 0%,#050816 55%);
    color:var(--white);
    overflow-x:hidden;
    line-height:1.7;

}


/* ==================================================
   ARROW
================================================== */


html,
body {
    cursor: none;
}



.cursor {
    position: fixed;
    width: 14px;
    height: 14px;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 4;
    transform: translate(-2px, -2px);
}


/* Cursor Bintang putih */
.cursor::before {

    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 10px;
    line-height: 14px;
    color: #ede05b;


    filter:
        drop-shadow(
            0 0 4px rgba(223, 223, 79, 0.8)
        );
}


/* ==================================================
   BENANG MELENGKUNG
================================================== */

.cursor-thread {

    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;

}


#threadPath {

    fill: none;
    stroke: rgba(233, 230, 75, 0.5);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;

    filter:
        drop-shadow(
            0 0 3px rgba(255,255,255,0.3)
        );
}





/*==================================================
GLOBAL CONTAINER
==================================================*/

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:120px 0;
}



h1{
    font-size:64px;
    font-weight:700;
    line-height:1.05;
}

h2{
    font-size:42px;
    margin-bottom:20px;
    line-height:1.05;
}

h3{
    font-size:24px;
    color:var(--primary);
}

p{
    color:var(--gray);
}

a{
    text-decoration:none;
    color:var(--white);
}

ul{
    list-style:none;
}

img{
    width:100%;
    display:block;
}



#projects .section-title h2{
    font-size:56px;
    margin-bottom:20px;
    color:var(--primary);
}


#projects .section-title p{
    max-width:760px;
    margin:0 auto;
    font-size:1.25rem;
    line-height:1.8;
    color:var(--gray);
}





/*=========================================
HEADER
=========================================*/

header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    background:rgba(5,8,22,.35);
    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.05);

    z-index:1;

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    height:80px;

}

.logo{
    font-size:40px;
    font-weight:700;
}

.logo span{
    color:var(--primary);
}

nav{
    margin-left:auto;
}

nav ul{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
}

nav a{
    color:var(--white);
    font-weight:500;
    transition:.3s;
}

nav a:hover{

    color:var(--primary);

}



/*==================================================
HERO
==================================================*/

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:50px;
}


.hero .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;
}


.hero-content{
    margin-top: 50px;
    flex:1;
    max-width:620px;
}

.hero h2{
    color:var(--secondary);
}

.hero h2 span{
    display:block;
}

.hero p{
    margin:25px 0;
    max-width:600px;
}


.hero-image{

    flex:1;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-left:-50px;
    margin-top:10px;
    transform:translate(30px,30px);
    animation:floatPhoto 5s ease-in-out infinite;

}

.hero-image img{ 
    width:300px; 
    max-width:100%; 
    border-radius:0;
    border:none;
    box-shadow:none;
    transition:transform .4s;
}


.hero-image img:hover{
     transform:scale(1.04);
}




/*=========================================
HERO BUTTON
=========================================*/

.hero-button{

    display:flex;
    gap:20px;
    margin-top:40px;

}

.hero-button a{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 35px;
    border-radius:50px;
    font-size:16px;
    font-weight:600;
    cursor: pointer;
    will-change:transform;

    transition:
       transform .35s,
       box-shadow .35s,
       background-color .35s,
       color .35s;
}

.btn-download{
    background:var(--primary);
    color:#000;
}

.btn-contact{
    background:transparent;
    color:var(--white);
    border:2px solid var(--primary);
}

.hero-button a:hover{
    transform:translateY(-5px);
    filter:brightness(1.08);
    box-shadow:0 15px 25px rgba(0,0,0,.35);
}





/* ==========================================
   ABOUT
========================================== */


.section-title{
    text-align:center;
    font-size:3rem;
    margin-bottom:30px;
    color:#fff;
}


.section-title h2{
    margin-bottom:15px;
}

.section-title p{
    max-width:600px;
    margin:auto;
}


.section-title span{
    color:var(--primary);
}

.about-text{
    max-width:900px;
    margin:auto;
    text-align:center;
    line-height:1.8;
    color:#b9c3d1;
    font-size:1.1rem;
}




/*=========================================
STAT CARD
=========================================*/

.about-stats{

    display:flex;
    justify-content:center;
    gap:35px;
    margin-top:70px;
    flex-wrap:wrap;

}


.stat-card{

    width:230px;
    height:180px;

    padding:35px;
    border-radius:18px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    transition:.35s;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;


}

.stat-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 0 30px rgba(94,234,212,.25);
}

.stat-card h3{
    font-size:3rem;
    color:var(--primary);
    margin-bottom:15px;
}

.stat-card p{
    color:#d7d7d7;
    font-size:1rem;
    line-height:1.6;
}




/*==================================================
PROJECT GRID
==================================================*/

.project-header{
    display:grid;
    grid-template-columns:
        70px
        330px
        1fr;

    padding:16px 30px;
    background:rgba(94,234,212,.08);
    color:var(--primary);
    font-weight:700;
}


.projects-grid{
    margin-top:25px;
    background:rgba(255,255,255,.03);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(0,0,0,.30);
}



/*==================================================
PROJECT  ROW
==================================================*/

.project-row{
    display:grid;
    grid-template-columns:
        70px
        330px
        1fr;

    align-items:center;
    gap:30px;
    padding:30px;
    border-bottom:1px solid rgba(255,255,255,.06);
    transition:.35s;
}

.project-row:last-child{
    border-bottom:none;
}


.project-row:hover{
    background:rgba(94,234,212,.05);
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}


/*==================================================
PROJECT ICON
==================================================*/

.project-icon{

    width:64px;
    height:64px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:16px;
    font-size:30px;
    transition:.35s;

}


.project-row:hover .project-icon{
    transform:scale(1.15);
}



/*==================================================
PROJECT ICON COLOR
==================================================*/

.project-icon.ledger{
    color:#5EEAD4;
    background:rgba(94,234,212,.10);
}

.project-icon.hr{
    color:#60A5FA;
    background:rgba(96,165,250,.10);
}

.project-icon.production{
    color:#F59E0B;
    background:rgba(245,158,11,.10);
}

.project-icon.sales{
    color:#22C55E;
    background:rgba(34,197,94,.10);
}

.project-icon.accounting{
    color:#FACC15;
    background:rgba(250,204,21,.10);
}

.project-icon.english{
    color:#C084FC;
    background:rgba(192,132,252,.10);
}




/*==================================================
TITLE
==================================================*/

.project-title{
    font-size:24px;
    font-weight:700;
    color:#56CCF2;
}


/*==================================================
DESCRIPTION
==================================================*/

.project-description{
    color:#E5E7EB;
    font-size:18px;
    line-height:1.8;
}



/* --------------- INPUT -------------- */
input:focus,
textarea:focus{
    outline:none;
    box-shadow:0 0 20px rgba(94,234,212,.3);
}


/* -------------- WEBKIT --------------- */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#08101f;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}


/* ------------ SELECTION COLOR ------------ */
::selection{
    background:var(--primary);
    color:#000;
}

/* -------------- REVEAL -------------- */
.reveal{
    opacity:0;
    transform:translateY(60px);
    will-change:
       opacity,
       transform;
}




/*==================================================
   SKILLS
==================================================*/


/*==================================================
   SKILLS WRAPPER
==================================================*/

.skills-wrapper{

    display:flex;
    gap:35px;
    align-items:flex-start;

}


/*==================================================
   LEFT SKILLS MENU
==================================================*/

.skills-menu{

    width:300px;
    display:flex;
    flex-direction:column;
    gap:18px;
    flex-shrink:0;

}


.skill-card{

    display:flex;
    align-items:center;
    gap:16px;
    padding:12px 24px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    cursor:pointer;
    transition:.35s;
    backdrop-filter:blur(10px);

}


.skill-card:hover{

    transform:translateX(8px);
    border-color:var(--primary);
    box-shadow:

        0 0 25px rgba(94,234,212,.25);

}


.skill-card.active{

    border-color:var(--primary);
    background:rgba(94,234,212,.10);

}


.skill-card i{

    font-size:2.3rem;
    width:45px;
    text-align:center;

}


.skill-card h3{

    color:white;
    font-size:1.1rem;
    font-weight:600;

}


.skill-card.active h3{

    color:var(--skill-color);

}


/*==================================================
   SKILL ICON COLORS
==================================================*/

.html-icon{
    color:#E34F26;
}


.css-icon{
    color:#1572B6;
}


.js-icon{
    color:#F7DF1E;
}


.dom-icon{
    color:#8BC34A;
}


.react-icon{
    color:#61DAFB;
}


.database-icon{
    color:#336791;
}


.git-icon{
    color:#F05032;
}


/*==================================================
   RIGHT SKILL PANEL
==================================================*/

.skill-screen{

    flex:1;
    min-width:0;
    min-height:620px;
    background:rgba(10,20,50,.82);
    border:1px solid rgba(94,234,212,.18);
    border-radius:22px;
    overflow:hidden;
    backdrop-filter:blur(18px);

}


/*==================================================
   SKILL DETAIL
==================================================*/

.skill-detail{

    width:100%;
    min-height:620px;
    padding:35px 40px;
    box-sizing:border-box;

    background:

        linear-gradient(

            145deg,
            rgba(15,23,42,.95),
            rgba(8,18,45,.90)

        );

}


/*==================================================
   SKILL HEADER
==================================================*/

.skill-detail-header{

    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    width:100%;
    margin-bottom:18px;

}


.skill-detail-header h2{

    margin:0;
    font-size:42px;
    line-height:1.1;
    color:#f06529;

}


.skill-detail-header p{

    margin:7px 0 0;
    color:#94a3b8;
    font-size:17px;
    line-height:1.4;

}


/*==================================================
   SKILL PERCENTAGE
==================================================*/

.skill-percentage{

    font-size:30px;
    font-weight:700;
    color:var(--primary);
    padding-top:3px;
    white-space:nowrap;

}


/*==================================================
   DESCRIPTION
==================================================*/

.skill-description{

    margin-top:15px;
    margin-bottom:25px;
    color:#cbd5e1;
    font-size:16px;
    line-height:1.7;

}


.skill-description p{

    margin:0 0 10px;
    color:#cbd5e1;

}


/*==================================================
   CORE SKILLS
==================================================*/

.skill-features h3{

    margin:0 0 15px;
    color:var(--primary);
    font-size:22px;

}


.feature-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    width:100%;

}


.feature-item{

    display:flex;
    align-items:center;
    gap:12px;
    min-height:48px;
    padding:10px 14px;
    box-sizing:border-box;
    border-radius:10px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    color:#e2e8f0;
    font-size:15px;
    transition:.3s;

}


.feature-item i{

    width:22px;
    text-align:center;
    color:var(--primary);

}


.feature-item:hover{

    transform:translateX(5px);
    background:rgba(94,234,212,.06);
    border-color:rgba(94,234,212,.25);

}


/*==================================================
   SKILL LEVEL
==================================================*/

.skill-level{

    width:100%;
    margin-top:28px;

}


.level-bar{

    width:100%;
    height:9px;
    border-radius:20px;
    background:rgba(255,255,255,.08);
    overflow:hidden;

}


.level-progress{

    width:90%;
    height:100%;
    border-radius:20px;

    background:

        linear-gradient(

            90deg,
            #5eead4,
            #38bdf8

        );

    box-shadow:

        0 0 12px rgba(94,234,212,.5);

}


.skill-card img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}







/* ==========================================
   CONTACT
========================================== */

form{

    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;

}

input{
    height:55px;
}

textarea{
    height:180px;
}

input,
textarea{

    background:var(--dark2);
    color:white;
    padding:18px;
    border:none;
    font-size:16px;
    border:1px solid rgba(255,255,255,.08);
    resize:none;

}

form button{

    background:var(--primary);
    color:black;
    border:none;
    padding:18px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;

    transition:
        transform .35s,
        box-shadow .35s,
        filter .35s;

}

form button:hover{

    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    filter:brightness(1.05);

}


/* ==========================================
   FOOTER
========================================== */

footer{

    padding:30px;
    text-align:center;
    color:var(--gray);
    border-top:1px solid rgba(255,255,255,.05);

}

/* ==========================================
   RESPONSIVE
========================================== */

/*
@media(max-width:992px){

    .hero{

        flex-direction:column-reverse;
        justify-content:center;
        text-align:center;
        padding-top: 120px;

    }

    .hero p{
        margin:auto;
    }

    .hero-button{
        justify-content:center;
        flex-wrap:wrap;
    }

    nav{
        display:none;
    }
}


@media(max-width:600px){
    h1{
        font-size:42px;
    }

    h2{
        font-size:30px;
    }

    .hero-image img{
        width:260px;
    }

    section{
        padding:80px 8%;
    }
}

*/


@keyframes floatPhoto{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}



/*=========================================
GSAP INITIAL STATE
=========================================*/

.animate-title{
    opacity:0;
    transform:translateY(40px);
}

.animate-button{
    opacity:0;
}


.profile-image{
    opacity:0;
    transform:scale(.7);
    transition:
        transform .5s,
        opacity .5s;
}


.hero-image:hover .profile-image{
    transform:
        scale(1.04);
}


/*==================================================
ACTIVE NAVBAR
==================================================*/

nav a.active{
    color:var(--primary);
    font-weight:700;
}


/*==================================================
PROJECT VIEWER
==================================================*/

.project-viewer{

    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(6px);
    z-index:1;

}

.project-viewer.active{
    display:flex;
}



/*  --------------------  LEBAR  WINDOW  PANEL  GL  ------------- */
.viewer-window{

    width:1400px;
    max-width:95vw;
    height:90vh;
    max-height:90vh;

    display:flex;
    flex-direction:column;

    background:#0F172A;
    border:1px solid rgba(94,234,212,.20);
    border-radius:20px;
    overflow:hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,.55);

}


.viewer-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 24px;
    color:var(--primary);
    background:rgba(94,234,212,.08);

    text-shadow:
        0 0 12px rgba(94,234,212,.35);

}

.viewer-header h2{
    color:var(--primary);
    font-size:48px;
    margin:0;
}

.viewer-header button{
    background:none;
    border:none;
    color:white;
    font-size:30px;
    cursor:pointer;
}


.viewer-body{
    flex:1;
    overflow-y:auto;
    padding:22px 30px;
    color:white;
    line-height:1.8;
}




/*=========================================
VIEWER SECTION
=========================================*/

.viewer-section{
    margin-bottom:18px;
}

.viewer-section h3{
    color:var(--primary);
    margin-bottom:6px;
    font-size:22px;
}

.viewer-section p{
    line-height:1.45;
    margin-bottom:0;
}



/*=========================================
TECH
=========================================*/

.viewer-tech{

    display:flex;
    gap:15px;
    flex-wrap:wrap;

}

.viewer-tech span{

    padding:8px 18px;
    border-radius:30px;
    background:rgba(94,234,212,.10);
    color:var(--primary);
    border:1px solid rgba(94,234,212,.20);

}



/*=========================================
REPORT PREVIEW
=========================================*/

.report-preview{
    min-height:700px;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    background:#fff;
    border-radius:16px;
    overflow:auto;
}


.report-preview img{
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
}


/*=========================================
MODULES
=========================================*/

.viewer-modules li{
    cursor:pointer;
    padding:10px 15px;
    border-radius:10px;
    transition:.3s;
}

.viewer-modules li:hover{
    background:rgba(94,234,212,.12);
    color:var(--primary);
}

.viewer-modules li:active{
    background:rgba(147, 176, 172, 0.12);
    color:var(--primary);
}



/*=========================================
   VIEWER  CONTENT
=========================================*/

.viewer-content{
    display:flex;
    gap:35px;
    align-items:flex-start;
    margin-top:10px;
}

.viewer-left{
    width:340px;
    flex-shrink:0;
    flex:0 0 320px;
}

.viewer-right{
    flex:1;
    min-width:0;
}


/*=========================================
SUCCESS MODAL
=========================================*/

.success-modal{

    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:1;

}

.success-modal.show{

    opacity:1;
    visibility:visible;

}

.success-box{

    width:420px;
    background:#111827;
    border:1px solid rgba(94,234,212,.3);
    border-radius:18px;
    padding:40px;
    text-align:center;
    box-shadow:0 0 40px rgba(94,234,212,.25);

}

.success-icon{

    width:90px;
    height:90px;
    margin:auto;
    border-radius:50%;
    background:#10B981;
    color:white;
    font-size:48px;
    line-height:90px;
    font-weight:bold;

}

.success-box h2{

    margin-top:25px;
    color:white;

}

.success-box p{

    margin-top:18px;
    color:#CBD5E1;
    line-height:1.8;

}

.success-box button{

    margin-top:30px;
    padding:12px 40px;
    border:none;
    border-radius:10px;
    background:#38BDF8;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.3s;

}

.success-box button:hover{
    transform:translateY(-2px);
}


/* ==========================================
   SKILL CONTENT MODAL
========================================== */

.skill-content-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    padding: 20px;
}

.skill-content-modal.show {
    display: flex;
}

.skill-content-box {
    position: relative;
    width: min(850px, 95%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 35px;
    background: rgba(10, 15, 30, 0.96);
    border: 1px solid rgba(255, 215, 100, 0.45);
    border-radius: 18px;

    box-shadow:
        0 0 30px rgba(255, 215, 100, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.skill-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.skill-content-title {
    color: #ffd76a;
    margin-bottom: 15px;
}

.skill-content-description,
.skill-content-purpose {
    color: #d8d8d8;
    line-height: 1.7;
}

.skill-content-box h3 {
    margin-top: 25px;
    color: #ffd76a;
}

.skill-content-code {
    display: block;
    padding: 20px;
    margin-top: 10px;
    background: #080b14;
    border-radius: 10px;
    color: #e8e8e8;
    font-family: Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
}

