* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}

/* NAVBAR */
header {
    background: #020617;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #38bdf8;
}

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

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

.nav-links a:hover {
    color: #38bdf8;
}

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
}

.hero span {
    color: #38bdf8;
}

.hero p {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: #94a3b8;
}

.btn {
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background: #38bdf8;
    color: #020617;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

/* SECTIONS */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section p {
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: #cbd5f5;
}

.dark {
    background: #020617;
}

/* SKILLS */
.skills-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.skill {
    background: #0f172a;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

/* PROJECTS */
.projects-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #020617;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #1e293b;
}

.project-card h3 {
    margin-bottom: 0.5rem;
    color: #38bdf8;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #020617;
    color: #94a3b8;
}
