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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}


/* Navigation */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;

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

    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);

    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

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

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


/* Hero */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 100px 8%;
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    color: #38bdf8;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin: 10px 0;
}

.hero h2 {
    font-size: 32px;
    color: #94a3b8;
}

.description {
    max-width: 650px;
    margin: 20px 0;

    font-size: 18px;
    color: #94a3b8;
}


/* Buttons */

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;

    padding: 12px 24px;

    border-radius: 8px;

    text-decoration: none;

    transition: 0.3s;
}

.primary {
    background: #38bdf8;
    color: #0f172a;
}

.primary:hover {
    transform: translateY(-3px);
}

.secondary {
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

.secondary:hover {
    background: #38bdf8;
    color: #0f172a;
}


/* Sections */

.section {
    padding: 100px 8%;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.section > p {
    max-width: 800px;
    color: #94a3b8;
    font-size: 18px;
}


/* Skills */

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill {
    padding: 12px 20px;

    background: #1e293b;

    border: 1px solid #334155;

    border-radius: 8px;

    transition: 0.3s;
}

.skill:hover {
    border-color: #38bdf8;
    transform: translateY(-3px);
}


/* Projects */

.projects {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    padding: 30px;

    background: #1e293b;

    border-radius: 12px;

    border: 1px solid #334155;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}

.project-card h3 {
    margin-bottom: 15px;
}

.project-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.project-card span {
    display: inline-block;

    padding: 5px 10px;

    margin: 3px;

    background: #0f172a;

    border-radius: 5px;

    font-size: 13px;
}


/* Contact */

.contact {
    text-align: center;
}

.contact p {
    margin: auto;
    margin-bottom: 30px;
}


/* Footer */

footer {
    text-align: center;

    padding: 30px;

    border-top: 1px solid #1e293b;

    color: #64748b;
}


/* Mobile */

@media (max-width: 768px) {

    nav {
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 5%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .section {
        padding: 70px 5%;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .buttons {
        flex-direction: column;
        width: 180px;
    }
}
