/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #080808;
    color: white;
}


/* ================= NAVBAR ================= */

header {
    width: 100%;
    background: #080808;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
}

.logo {
    font-size: 27px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #ff4b00;
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff4b00;
    border-bottom: 2px solid #ff4b00;
    padding-bottom: 5px;
}


/* ================= HOME ================= */

.home {
    min-height: 100vh;
    padding: 100px 8% 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #050505;
}

.home-content {
    width: 52%;
}

.hello {
    font-size: 14px;
    font-weight: 700;
}

.home h1 {
    font-size: 34px;
}

.home h1 span {
    color: #ff4b00;
}

.home h2 {
    color: #ff4b00;
    font-size: 20px;

}

.description {
    max-width: 600px;
    color: #ddd;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
}


/* ================= BUTTON ================= */

.btn {
    display: inline-block;
    background: #ff4b00;
    color: white;
    text-decoration: none;

    padding: 10px 35px;
    border-radius: 25px;

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.btn:hover {
    background: #ff6a2a;
    transform: scale(1.05);
}


/* ================= SOCIAL MEDIA ================= */

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-media a {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ff4b00;
    border-radius: 50%;

    color: #ff4b00;
    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s;
}

.social-media a:hover {
    background: #ff4b00;
    color: white;
}


/* ================= FOTO HOME ================= */

.home-image {
    width: 42%;

    display: flex;
    justify-content: center;
}

.image-circle {
    width: 330px;
    height: 330px;

    border-radius: 50%;

    padding: 5px;

    background: #ff4b00;

    box-shadow:
        0 0 30px #ff4b00,
        0 0 70px rgba(255, 75, 0, 0.5);

    overflow: hidden;
}

.image-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


/* ================= SECTION TITLE ================= */

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.section-title span {
    color: #ff4b00;
}


/* ================= ABOUT ================= */

.about {
    min-height: 500px;
    padding: 60px 8%;

    text-align: center;

    background: #101010;
}

.about-image {
    width: 180px;
    height: 180px;

    margin: 0 auto 20px;

    border-radius: 50%;

    padding: 4px;

    background: #ff4b00;

    box-shadow:
        0 0 25px #ff4b00,
        0 0 50px rgba(255, 75, 0, 0.4);

    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.about p {
    max-width: 850px;
    margin: 0 auto 20px;

    color: #ddd;
    font-size: 14px;
    line-height: 1.7;
}


/* ================= SKILLS ================= */

.skills {
    min-height: 450px;
    padding: 50px 15%;

    background: #050505;
}

.skills-container {
    max-width: 700px;
    margin: auto;
}

.skill {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 13px;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 12px;

    background: #ddd;

    border-radius: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #ff4b00;

    border-radius: 20px;

    box-shadow: 0 0 10px rgba(255, 75, 0, 0.5);
}


/* PRESENTASE SKILL */

.html {
    width: 90%;
}

.css {
    width: 65%;
}

.javascript {
    width: 80%;
}

.figma {
    width: 70%;
}


/* ================= PORTFOLIO ================= */

.portfolio {
    min-height: 500px;
    padding: 60px 8%;

    background: #101010;
}

.portfolio-container {
    display: flex;
    justify-content: center;
    gap: 25px;

    flex-wrap: wrap;
}

.portfolio-card {
    width: 280px;

    padding: 25px;

    background: #171717;

    border: 1px solid #333;
    border-radius: 12px;

    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-8px);

    border-color: #ff4b00;

    box-shadow: 0 0 20px rgba(255, 75, 0, 0.3);
}

.portfolio-card h3 {
    color: #ff4b00;
    margin-bottom: 10px;
}

.portfolio-card p {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
}


/* ================= CONTACT ================= */

.contact {
    min-height: 350px;

    padding: 70px 8%;

    text-align: center;

    background: #050505;
}

.contact p {
    max-width: 600px;

    margin: 0 auto 25px;

    color: #ccc;

    line-height: 1.6;
}


/* ================= FOOTER ================= */

footer {
    padding: 20px;

    text-align: center;

    background: #101010;

    color: #aaa;

    font-size: 12px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .navbar {
        padding: 0 5%;
    }

    .logo {
        font-size: 22px;
    }

    .nav-menu {
        gap: 12px;
    }

    .nav-menu a {
        font-size: 11px;
    }


    .home {
        flex-direction: column-reverse;

        text-align: center;

        padding-top: 100px;
    }

    .home-content {
        width: 100%;
    }

    .home-image {
        width: 100%;
        margin-bottom: 30px;
    }

    .image-circle {
        width: 250px;
        height: 250px;
    }

    .home h1 {
        font-size: 27px;
    }

    .home h2 {
        font-size: 17px;
    }

    .description {
        font-size: 13px;
    }

    .social-media {
        justify-content: center;
    }


    .skills {
        padding: 50px 8%;
    }

    .portfolio-container {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-card {
        width: 100%;
        max-width: 350px;
    }
}
