* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080808;
    color: #ffffff;
    line-height: 1.6;
}


/* NAVBAR */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #222;
}

.navbar {
    max-width: 1100px;
    margin: auto;

    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}

.navbar h2 {
    font-size: 25px;
    letter-spacing: 1px;
}

.navbar h2 span {
    color: #8b5cf6;
}

.navbar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;

    transition: 0.3s;
}

.navbar a:hover {
    color: #8b5cf6;
}


/* HERO */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    max-width: 1100px;
    margin: auto;

    padding: 100px 25px 50px;
}

.hero-text {
    max-width: 700px;
}

.hello {
    color: #8b5cf6;
    font-size: 18px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(45px, 8vw, 85px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #8b5cf6;
}

.hero-text > p:not(.hello) {
    color: #aaa;
    font-size: 18px;
    max-width: 550px;
    margin-bottom: 35px;
}

.button {
    display: inline-block;

    padding: 13px 25px;

    background: #8b5cf6;
    color: white;

    text-decoration: none;
    border-radius: 6px;

    font-weight: bold;

    transition: 0.3s;
}

.button:hover {
    transform: translateY(-3px);
    background: #7045d3;
}


/* SEÇÕES */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 100px 25px;
}

.section-title {
    margin-bottom: 50px;
}

.section-title p {
    color: #8b5cf6;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.section-title h2 {
    font-size: 40px;
    margin-top: 5px;
}


/* SOBRE */

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-card {
    padding: 35px;

    background: #111;
    border: 1px solid #222;

    border-radius: 12px;

    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
}

.icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.about-card p {
    color: #999;
}


/* PROJETOS */

.projects-section {
    background: #0c0c0c;
    max-width: 100%;
    padding-left: calc((100% - 1050px) / 2);
    padding-right: calc((100% - 1050px) / 2);
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.project-card {
    display: flex;
    gap: 30px;

    padding: 35px;

    background: #111;

    border: 1px solid #222;
    border-radius: 12px;

    transition: 0.3s;
}

.project-card:hover {
    border-color: #8b5cf6;
    transform: translateX(5px);
}

.project-number {
    color: #8b5cf6;
    font-size: 20px;
    font-weight: bold;
}

.project-content h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

.project-content p {
    color: #999;
    max-width: 700px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tags span {
    padding: 5px 12px;

    background: #1b1b1b;
    border: 1px solid #333;

    border-radius: 20px;

    color: #aaa;
    font-size: 12px;
}


/* CONTATO */

.contact-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;

    padding: 25px;

    background: #111;
    border: 1px solid #222;

    border-radius: 10px;
}

.contact-item > span {
    font-size: 25px;
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #999;
    font-size: 14px;
    word-break: break-word;
}


/* FOOTER */

footer {
    border-top: 1px solid #222;

    padding: 30px 20px;

    text-align: center;

    color: #777;
    font-size: 13px;
}

footer p:first-child {
    margin-bottom: 5px;
}


/* RESPONSIVIDADE */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

@media (max-width: 700px) {

    .navbar ul {
        gap: 12px;
    }

    .navbar a {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex-direction: column;
        gap: 10px;
    }

    .projects-section {
        padding-left: 25px;
        padding-right: 25px;
    }
}