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

/* FONTES */
.ubuntu-regular {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
}

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
}

/* ESTILOS GLOBAIS */
body {
    font-family: "Ubuntu", sans-serif;
    background-color: #2F2F2F;
    color: #eae8e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-width: 320px;
}

a {
    text-decoration: none;
    color: #eae8e9;
    transition: color 0.3s ease;
}

a:hover {
    color: #d19577;
}

/* HEADER */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #3F3F3F;
    box-shadow: 0 1px 4px #eae8e9;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 24px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    color: #eae8e9;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #eae8e9;
    cursor: pointer;
}

header nav {
    display: flex;
    align-items: center;
}

header nav a {
    position: relative;
    margin-left: 20px;
    font-size: 18px;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d19577;
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    gap: 50px;
    text-align: left;
}

.hero .imagem-hero img {
    width: 600px;
    border-radius: 40px;
    object-fit: cover;
}

.hero .texto-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 600px;
}

.hero .texto-hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 90px;
    color: #eae8e9;
}

.hero .texto-hero p {
    font-size: 25px;
    color: #eae8e9;
    text-align: justify;
    margin-bottom: 10px;
}

.hero .texto-hero p span {
    background: linear-gradient(45deg, #d19577, #e4c18b);
    font-weight: bold;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .texto-hero .botoes {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.hero .texto-hero .botoes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 45px;
    gap: 5px;
    background-color: #57658a;
    border-radius: 5px;
    font-family: "Ubuntu", sans-serif;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero .texto-hero .botoes a:hover {
    background-color: #d19577;
    color: #eae8e9;
    transform: scale(1.1);
    cursor: pointer;
}

.hero .texto-hero .botoes a i {
    font-size: 20px;
}

/* SOBRE */
.sobre {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sobre .conteudo-sobre {
    width: 70%;
    padding: 40px;
    background-color: #3F3F3F;
    border-radius: 40px;
    box-shadow: 0 1px 4px #3F3F3F;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sobre p {
    max-width: 80%;
    font-size: 20px;
    margin-bottom: 20px;
}

h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 50px;
    margin-bottom: 20px;
    color: #eae8e9;
    letter-spacing: 1px;
}

h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 40px;
    margin: 40px 0 20px 0;
    color: #eae8e9;
    letter-spacing: 1px;
}

h4 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    color: #eae8e9;
    letter-spacing: 1px;
}

/* SKILLS */
.skills {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.skills-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.skills-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.skills-icons i {
    font-size: 50px;
}

/* PROJETOS */
.projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.projetos-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.projeto-detalhes {
    background-color: #3F3F3F;
    border-radius: 20px;
    box-shadow: 0 1px 4px #eae8e9;
    padding: 20px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease;
}

.projeto-detalhes:hover {
    transform: translateY(-10px);
}

.projeto-detalhes img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.projeto-detalhes span {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    color: #d19577;
    margin: 15px 0;
}

.projeto-detalhes p {
    font-size: 16px;
    margin-bottom: 15px;
}

.projeto-detalhes .botoes{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
}

.projeto-detalhes .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #57658a;
    color: #eae8e9;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.projeto-detalhes .btn:hover {
    background-color: #d19577;
}

/* CONTATO */
.contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.contato p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
}

.form {
    display: flex;
    flex-direction: column;
    width: 600px;
    gap: 15px;
}

.form label {
    font-size: 16px;
    text-align: left;
}

.form input,
.form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.form textarea {
    height: 100px;
}

.form button {
    padding: 10px;
    background-color: #57658a;
    color: #eae8e9;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form button:hover {
    background-color: #d19577;
}

.redes {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.redes span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 19px;
    background: linear-gradient(120deg, #d19577, #e4c18b);
    font-weight: bold;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FOOTER */
footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #3F3F3F;
    color: #eae8e9;
}

/* RESPONSIVIDADE */
@media (max-width: 1366px) {
    .hero {
        flex-direction: column;
    }

    .hero .texto-hero {
        align-items: center;
    }

    .hero .texto-hero p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        align-items: flex-end;
        padding: 8px 20px;
    }

    .menu-toggle {
        display: block;
    }

    nav.menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background-color: #3F3F3F;
        position: absolute;
        top: 50px; 
        right: 20px;
        width: 150px;
        padding: 20px;
        gap: 8px;
        border-radius: 10px;
        box-shadow: 0 1px 4px #eae8e9;
    }
    
    nav.menu.active {
        display: flex;
    }
    
    header {
        justify-content: space-between;
    }
    
    .hero {
        height: auto;
    }

    .hero .imagem-hero img {
        width: 400px;
    }

    .hero .texto-hero h1 {
        font-size: 60px;
    }

    .hero .texto-hero p {
        font-size: 20px;
    }

    .hero .texto-hero .botoes a {
        width: 120px;
        height: 40px;
    }

    .sobre {
        padding: 40px 10px;
    }

    .sobre .conteudo-sobre {
        padding: 5px;
        width: 100%;
    }

    .sobre .conteudo-sobre {
        width: 90%;
        padding: 10px 0 5px 0;
    }

    h2 {
        font-size: 40px;
    }

    .sobre p {
        font-size: 18px;
    }

    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 25px;
    }

    .skills-icons i {
        font-size: 45px;
    }

    .projetos {
        padding: 0px 20px;
    }

    .contato p {
        font-size: 18px;
        width: 350px;
    }

    .form {
        width: 350px;
    }

    .redes {
        flex-direction: column;
    }

    .redes span {
        font-size: 16px;
    }

    footer p {
        font-size: 14px;
    }
}

@media (max-width: 490px) {
    header {
        padding: 2px 20px;
    }

    header .logo {
        font-size: 20px;
    }
    

    .hero .imagem-hero img {
        width: 320px;
    }

    .hero .texto-hero h1 {
        font-size: 40px;
    }

    .hero .texto-hero p {
        font-size: 16px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 20px;
    }

    .sobre p {
        font-size: 16px;
    }

    .skills-icons i {
        font-size: 35px;
    }

    .contato p {
        font-size: 16px;
        width: 350px;
    }

    .form {
        width: 300px;
    }

    .redes span {
        font-size: 16px;
    }
}

@media (max-width: 390px) {
    .hero .texto-hero p {
        margin-bottom: 5px;
    }

    .hero .texto-hero .botoes {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .hero .imagem-hero img {
        width: 280px;
    }

    .hero .texto-hero h1 {
        font-size: 35px;
    }

    .hero .texto-hero p {
        font-size: 16px;
    }

    .hero .texto-hero .botoes a {
        width: 200px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 20px;
    }

    .sobre p {
        font-size: 16px;
    }

    .skills-icons i {
        font-size: 35px;
    }

    .projeto-detalhes {
        width: 250px;
    }

    .projeto-detalhes .botoes {
        flex-direction: column;
    }

    .projeto-detalhes .btn {
        font-size: 14px;
    }

    .contato p {
        font-size: 16px;
        width: 250px;
    }

    .form {
        width: 200px;
    }

    .form button {
        font-size: 14px;
    }

    .redes span {
        font-size: 16px;
    }
}