/* Global */
:root {
    --cor-fundo-principal: #fff7f3;
    --cor-fundo-secundario: #fff7f3;
    --cor-texto: #332e2e;
    --cor-destaque: #cc00ff;
    --cor-destaque-hover: #cb2bf3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cor-fundo-principal);
    padding-top: 60px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p,
h1,
h2,
li {
    color: var(--cor-texto);
}

a {
    text-decoration: none;
    color: var(--cor-destaque);
}

section {
    background-color: var(--cor-fundo-secundario);
    padding: 60px 80px;
    margin-bottom: 10px;
    text-align: left;
    scroll-snap-align: start;
}
/*--------------------------------------------------------------*/

/* NAVEGAÇÃO */
nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    background-color: var(--cor-fundo-secundario);
    padding: 15px 35px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}
/*--------------------------------------------------------------*/
.links {
    gap: 45px;
    display: flex;
    font-weight: 400;
    font-size: 18px;
}

nav a:hover {
    color: var(--cor-destaque-hover);
}

/* LOGO "NR" */
.logo {
    color: var(--cor-destaque);
    font-size: medium;
    font-weight: 400;
    border: solid 1px var(--cor-destaque);
    border-radius: 100px;
    padding: 5px 10px;
}
/*--------------------------------------------------------------*/

/* ANIMAÇÃO HERO */
@keyframes fadeUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}
/*--------------------------------------------------------------*/

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
}

#hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

#hero h3 {
    margin-bottom: 24px;
    color: var(--cor-destaque);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.btn {
    font-weight: 400;
    padding: 10px 20px;
    border: solid 1px var(--cor-destaque);
    border-radius: 15px;
    display: inline-block;
    margin: 16px 0;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.btn:hover {
    color: var(--cor-destaque-hover);
    box-shadow: 0 0 10px var(--cor-destaque-hover);
}
/*--------------------------------------------------------------*/

/* PROJETOS */
#projects h2 {
    margin-bottom: 35px;
}

/* CARROSSEL DE CARDS */
.carrossel {
    position: relative;
    margin: 0 50px;
}

.carrossel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    
    animation: esteira 20s linear infinite;
}

.carrossel:hover .carrossel-track{
    animation-play-state: paused;
}
/*--------------------*/

/* CARDS DE PROJETO */
.card {
    width: 350px;
    height: 400px;
    flex-shrink: 0;
    background-color: var(--cor-fundo-secundario);
    padding: 24px;
    border-radius: 10px;
    border: solid 1px var(--cor-destaque);
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.card h2 {
    margin-bottom: 8px;
}

.card p {
    font-weight: 400;
    margin-top: 8px;
}

.card a {
    display: inline-block;
    margin-top: 12px;
}

.card:hover {
    box-shadow: 0 0 10px var(--cor-destaque-hover);
    transform: translateY(-5px);
}

/* KEYFRAME CARROSSEL */
@keyframes esteira {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

/*--------------------------------------------------------------*/

/* SOBRE MIM */
#About {
    max-width: 700px;
    flex: 1;
}

#AboutMe {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0 80px 80px;
    overflow: hidden;
}

#About h1 {
    font-size: 68px;
}

#About h2 {
    margin-bottom: 10px;
    font-size: 38px;
    color: var(--cor-destaque);
}

#About p {
    font-size: 20px;
    font-weight: 300;
    margin-top: 38px;
}
/*--------------------------------------------------------------*/

/* FOTO DESTAQUE */
.photo {
    position: sticky;
    top: 100px;
    flex-shrink: 0;
    margin-left: auto;
}

.photo img {
    width: 780px;
    height: 800px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    display: block;
}
/*--------------------------------------------------------------*/

/* HABILIDADES */
#divSkills {
    max-width: 1000px;
    margin: 0 auto;
}

#divSkills h2 {
    margin-bottom: 20px;
}

#divSkills h3 {
    margin-top: 16px;
    margin-bottom: 8px;
}

#divSkills li {
    margin-left: 20px;
    margin-bottom: 4px;
}
/*--------------------------------------------------------------*/

/* CONTATO */
#divContato {
    max-width: 1000px;
    margin: 0 auto;
}

#divContato h2 {
    margin-bottom: 20px;
}

#divContato a {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 18px;
}
/*--------------------------------------------------------------*/

/* CONTATO NO SOBRE MIM */


/* FOOTER -  */
footer {
    background-color: var(--cor-fundo-secundario);
    color: var(--cor-texto);
    border-top: solid 1px black; /* Dica: tente trocar 'black' por 'var(--cor-destaque)' para ficar roxo! */
    width: 100%;
    margin-top: 100px; /* A distância entre o footer e a seção "Sobre Mim" */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 30px;
}

#divContatoSobremim {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    text-align: left; /* Garante que o texto fique na esquerda */
    padding-left: 40px; /* Alinha perfeitamente com o resto do site */
    padding-top: 40px; /* Dá um respiro para baixo da linha da borda */
    padding-bottom: 40px; /* Dá um respiro antes de acabar a página */
}

#divContatoSobremim a {
    font-weight: 400;
    padding: 10px 20px;
    border: solid 1px var(--cor-destaque);
    border-radius: 15px;
    display: inline-block;
    color: var(--cor-destaque);
    background-color: transparent;
    transition: 0.3s ease; /* Deixa a animação suave */
}

#divContatoSobremim a:hover {
    color: var(--cor-destaque-hover);
    box-shadow: 0 0 10px var(--cor-destaque-hover); /* Efeito neon ao passar o mouse! */
}

#informacoes #talktome {
    border:none;
    outline: none;
    background-color: none;
}

.footer-direita {
    display: flex;
    gap: 20px;
    margin-right: 150px;
}

.footer-coluna {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-coluna a {
    color: var(--cor-destaque);
    font-size: 18px;
    font-weight: 400;
    padding-left: 40px;
    text-decoration: underline;
}

.footer-coluna a:hover {
    color: var(--cor-texto);
    background-color: var(--cor-fundo-secundario);
}

.footer-esquerda {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
    margin-top: 0px;
}

.footer-esquerda p {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.7;
    color: var(--cor-destaque);
}