/* ==========================================
   CHALA LOKAL PORTFOLIO
   PART 1 - GLOBAL + NAVBAR + HERO
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0f172a;

    color:#f8fafc;

    line-height:1.6;

}

html{

    scroll-behavior:smooth;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

section{

    padding:100px 10%;

}

h1,h2,h3{

    font-weight:700;

}

p{

    color:#cbd5e1;

}

/* ================= NAVBAR ================= */

nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#0f172a;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 10%;

    z-index:1000;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.logo{

    color:#38bdf8;

    font-size:28px;

    font-weight:700;

}

nav ul{

    display:flex;

    gap:30px;

}

nav ul li a{

    color:white;

    font-weight:500;

    transition:.3s;

}

nav ul li a:hover{

    color:#38bdf8;

}

/* ================= HERO ================= */

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:60px;

}

.hero-text h1{

    font-size:56px;

    margin-bottom:20px;

}

.hero-text span{

    color:#38bdf8;

}

.hero-text h2{

    font-size:28px;

    color:#22d3ee;

    min-height:40px;

    margin-bottom:25px;

}

.hero-text p{

    font-size:18px;

    max-width:600px;

    margin-bottom:35px;

}

/* ================= BUTTONS ================= */

.buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    background:#0ea5e9;

    color:white;

    padding:14px 32px;

    border-radius:8px;

    transition:.3s;

    font-weight:600;

}

.btn:hover{

    background:#0284c7;

    transform:translateY(-3px);

}

.secondary{

    background:transparent;

    border:2px solid #38bdf8;

}

.secondary:hover{

    background:#38bdf8;

    color:#0f172a;

}

/* ================= HERO IMAGE ================= */

.hero-image{

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:360px;

    height:360px;

    object-fit:cover;

    border-radius:50%;

    border:6px solid #38bdf8;

    box-shadow:0 0 40px rgba(56,189,248,.4);

    transition:.4s;

}

.hero-image img:hover{

    transform:scale(1.05);

}

/* ================= HEADINGS ================= */

.about h2,
.skills h2,
.projects h2,
.experience h2,
.contact h2{

    text-align:center;

    font-size:40px;

    color:#38bdf8;

    margin-bottom:50px;

}
/* ==========================================
   CHALA LOKAL PORTFOLIO
   PART 2 - ABOUT + SKILLS + PROJECTS
========================================== */


/* ================= ABOUT SECTION ================= */

.about{

    background:#111827;

}


.about-content{

    max-width:900px;

    margin:auto;

    text-align:center;

}


.about-content p{

    font-size:18px;

    line-height:1.8;

}



/* ================= SKILLS SECTION ================= */


.skills{

    background:#0f172a;

}


.skills-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}


.skill-card{

    background:#1e293b;

    padding:35px;

    border-radius:15px;

    text-align:center;

    transition:.3s;

    border:1px solid rgba(255,255,255,.08);

}


.skill-card:hover{

    transform:translateY(-10px);

    border-color:#38bdf8;

    box-shadow:0 10px 30px rgba(56,189,248,.15);

}


.skill-card h3{

    color:#38bdf8;

    font-size:24px;

    margin-bottom:15px;

}


.skill-card p{

    color:#cbd5e1;

}



/* ================= SKILL ICONS ================= */


.skill-icon{

    font-size:45px;

    margin-bottom:20px;

}



/* ================= PROJECT SECTION ================= */


.projects{

    background:#111827;

}


.project-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}



.project-card{

    background:#1e293b;

    border-radius:15px;

    overflow:hidden;

    transition:.3s;

    border:1px solid rgba(255,255,255,.08);

}


.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 40px rgba(0,0,0,.4);

}



.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}



.project-content{

    padding:25px;

}



.project-content h3{

    color:#38bdf8;

    margin-bottom:10px;

    font-size:24px;

}



.project-content p{

    margin-bottom:20px;

}



/* PROJECT BUTTON */


.project-link{

    display:inline-block;

    padding:10px 20px;

    background:#0ea5e9;

    color:white;

    border-radius:6px;

    transition:.3s;

}


.project-link:hover{

    background:#0284c7;

}



/* ================= EXPERIENCE SECTION ================= */


.experience{

    background:#0f172a;

}



.timeline{

    max-width:900px;

    margin:auto;

}



.timeline-item{

    background:#1e293b;

    padding:30px;

    margin-bottom:25px;

    border-left:4px solid #38bdf8;

    border-radius:10px;

}



.timeline-item h3{

    color:#38bdf8;

    margin-bottom:10px;

}



.timeline-item span{

    color:#22d3ee;

    font-size:15px;

}



.timeline-item p{

    margin-top:15px;

}
/* ==========================================
   CHALA LOKAL PORTFOLIO
   PART 3 - CONTACT + FOOTER + RESPONSIVE
========================================== */


/* ================= CONTACT SECTION ================= */

.contact{

    background:#111827;

}


.contact-container{

    max-width:800px;

    margin:auto;

    text-align:center;

}



.contact-container p{

    font-size:18px;

    margin-bottom:30px;

}



/* CONTACT BUTTON */

.contact-btn{

    display:inline-block;

    background:#0ea5e9;

    color:white;

    padding:15px 35px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}



.contact-btn:hover{

    background:#0284c7;

    transform:translateY(-3px);

}



/* ================= SOCIAL LINKS ================= */


.social-links{

    display:flex;

    justify-content:center;

    gap:25px;

    margin-top:35px;

}



.social-links a{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#1e293b;

    color:#38bdf8;

    border-radius:50%;

    font-size:20px;

    transition:.3s;

}



.social-links a:hover{

    background:#38bdf8;

    color:#0f172a;

    transform:translateY(-5px);

}



/* ================= FOOTER ================= */


footer{

    background:#020617;

    padding:30px 10%;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

}



footer p{

    color:#94a3b8;

    font-size:15px;

}



/* ================= ANIMATIONS ================= */


.hero-text,
.hero-image{

    animation:fadeUp 1s ease;

}



@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* ================= SCROLL EFFECT ================= */


.skill-card,
.project-card,
.timeline-item{

    animation:fadeUp .8s ease;

}



/* ================= MOBILE RESPONSIVE ================= */


@media(max-width:900px){


    nav{

        padding:20px 5%;

    }


    nav ul{

        gap:15px;

    }


    .hero{

        grid-template-columns:1fr;

        text-align:center;

        padding-top:150px;

    }


    .hero-text h1{

        font-size:40px;

    }


    .hero-text h2{

        font-size:24px;

    }


    .hero-text p{

        margin:auto;

        margin-bottom:30px;

    }


    .buttons{

        justify-content:center;

    }


    .hero-image img{

        width:280px;

        height:280px;

    }


}



@media(max-width:600px){


    nav{

        flex-direction:column;

        gap:20px;

    }


    nav ul{

        flex-wrap:wrap;

        justify-content:center;

    }


    section{

        padding:80px 5%;

    }


    .about h2,
    .skills h2,
    .projects h2,
    .experience h2,
    .contact h2{

        font-size:32px;

    }


}