/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0f172a;
    color: #e2e8f0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 20px; /* HEIGHT BARI */
    background: linear-gradient(90deg, #020617, #0f172a, #020617); /* DARK GRADIENT */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px; /* SPACE BARI */
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 18px; /* TEXT BARA */
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

/* Hover Effect */
.nav-links a:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px #38bdf8;
}

/* Hero Section */
/* Home Layout */
.home {
    padding: 80px 20px;
    background: linear-gradient(to right, #020617, #0f172a);
}

/* Container */
.home-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

/* LEFT TEXT */
.home-text {
    flex: 1;
    text-align: left;
}

.home-text h1 {
    font-size: 38px;
}

.home-text span {
    color: #38bdf8;
}
.home-text a{
    display: inline-block;
    margin-top: 20px;
}

.bio {
    margin: 15px 0;
    color: #94a3b8;
}

.about {
    color: #cbd5f5;
}

/* RIGHT IMAGE */
.home-image {
    flex: 1;
    text-align: center;
}

.home-image img {
    width: 250px;
    border-radius: 50%;
    border: 4px solid black;
    box-shadow: 0 5px 25px rgba(196, 183, 183, 0.6);
}


/* Button */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #38bdf8;
    color: #020617;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
}

/* Sections */
section {
    padding: 40px 2px;
    text-align: center;
}

/* Skills */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.skills h2{
    margin-bottom: 22px;
}
.skill {
    background: #1e293b;
    padding: 10px 20px;
    border-radius: 20px;
}
.skill:hover {
    background: #1f2938;
    color: #020617;
    transition: 0.3s;
    transform: translate(0, -5px);
    cursor: pointer;
}

/* Projects */
.project-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    cursor: pointer;
}
.projects h2{
    margin-bottom: 30px;
}
.card {
    background: #1e293b;
    border-radius: 15px;
    width: 260px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

/* Contact */
.contact form {
    max-width: 350px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact input,
.contact textarea {
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #1e293b;
    color: #fff;
}

.contact button {
    padding: 12px;
    border: none;
    background: #38bdf8;
    color: #020617;
    border-radius: 8px;
    cursor: pointer;
}

.contact button:hover {
    background: #0ea5e9;
}

/* Footer */
footer {
    background: #020617;
    text-align: center;
    padding: 15px;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
        text-align: center;
    }

    .home-text {
        text-align: center;
    }

    .home-text h1 {
        font-size: 28px;
    }

    .home-image img {
        width: 180px;
        margin-top: 20px;
    }
}