* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #2c3e50;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.btn {
    padding: 10px 25px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.bg-light {
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.container h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Grids */
.skills-grid, .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-card, .project-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: left;
}

.skill-card:hover, .project-card:hover {
    transform: translateY(-5px);
}

.skill-card h3, .project-card h3 {
    margin-bottom: 15px;
    color: #3498db;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
}
/* Styling untuk Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* --- Media Query untuk Mobile Responsiveness --- */
@media screen and (max-width: 768px) {
    /* Navbar menyesuaikan layar kecil */
    .navbar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Menyembunyikan menu link secara default di mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #2c3e50;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    /* Memunculkan menu saat hamburger diklik */
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* Penyesuaian ukuran teks agar tidak terpotong */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 50px 20px;
    }
}