@import url(styles/menu-hamburger.css);

@import url('https://fonts.googleapis.com/css2?family=Abel&family=Doppio+One&family=Inconsolata:wght@200..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --font-main: "Inter", sans-serif;
    --default-color: #212121;
    --main-color: #D9AE30;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

.no-scroll {
    overflow: hidden;
}

body {
    height: 100vh;
    box-sizing: border-box;
    background-color: var(--default-color);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #212121;
    border-bottom: 1px solid var(--main-color);
    height: 86px;
    padding: 0 40px;
    z-index: 999;
    transition: all 0.5s ease;
}

.image__logo {
    width: 356px;
    height: 58px;
    transition: all 0.5s ease;
}

.list__menu {
    display: flex;
    justify-content: space-between;
    width: 280px;
    margin-right: 90px;
    gap: 30px;
}

.link__menu {
    display: inline-block;
    font-family: "Abel", sans-serif;
    font-size: 1.2em;
    color: #ffffff;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/*criação da bolinha*/
.link__menu::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    /* distância da bolinha */
    width: 0;
    height: 0;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.link__menu:hover::after {
    width: 8px;
    height: 8px;
    opacity: 1;
}

/* ==== Botão hamburguer ==== */
.hamburger {
    display: none;
    /* só aparece no mobile */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--main-color);
    transition: all 0.3s ease;
}

/* ==== Estado aberto ==== */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.first__session {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;

    background-image: url(image/foto_estudando.svg);
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #ffffff;
    min-height: 100vh;


}

.initial__text {
    font-family: var(--font-main);
    font-weight: 200;
    font-size: 1.3em;
}

.text__name {
    font-family: var(--font-main);
    font-weight: bold;
    font-size: 70px;
    padding: 15px 0;
    transition: all 0.5s ease;
}

.text__cargo {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 36px;
    transition: all 0.5s ease;
}

.contact__images {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.scroll__text {
    font-family: "Inconsolata", monospace;
    position: absolute;
    color: #c4c4c4bd;
    bottom: 10%;
    right: 50%;
}

.linha__vertical {
    position: absolute;
    bottom: 2%;
    right: 50%;
    width: 2px;
    /*espessura*/
    height: 50px;
    /*altura*/
    background-color: #c4c4c4bd;
    margin: 0 20px;
}

/*segunda sessao*/
.second__session {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.effect__text {
    font-family: "Doppio One", sans-serif;
    font-size: 64px;
    text-align: center;
    color: var(--main-color);
}

/*terceira sessao*/
.third__session {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-me__title {
    font-family: var(--font-main);
    font-weight: bolder;
    font-size: 3em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--main-color);

}

.about-me__container {
    display: flex;
    margin: 0 45px;
    gap: 20px;
    color: #ffffff;
}

.about-me__text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2.8vw;
    color: #ffffff;
}

.about-me__link {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 100;
    font-size: 1.4em;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    top: 5%;
    transition: transform 0.3s ease;
}

.about-me__link:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}

.about-me__link__container {
    width: 100%;
    text-align: left;
    margin-top: 20px;
}

/*quarta sessao*/
.fourth-session__project {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
}

.project__container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 10%;
    margin: 5% 0 3% 0;
    width: 900px;
}

.project__title {
    font-family: var(--font-main);
    font-weight: bold;
    font-size: 3em;
    color: var(--main-color);
    margin-top: 2%;
}

.project__container__text {
    display: flex;
    flex-flow: column nowrap;
    color: var(--main-color);
    text-align: left;

}

.project__name {
    font-size: 2em;
}

.project__description {
    font-size: 1.2em;
    padding: 25px 0;
    color: #ffffff;
    line-height: 1.5;
}

.link__project {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.link__project:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}

hr {
    width: 100%;
    max-width: 900px;
    border-color: var(--main-color);
}

.project__link {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: bold;
    color: var(--main-color);
    transition: transform 0.3s ease;
    font-size: 1.3em;
    padding: 3%;
}

.project__link:hover {
    transform: scale(1.1);
}

/*quinta sessao*/
.fifth__session {
    height: 90vh;
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
}

.contact__container {
    display: flex;
}

.text {
    font-family: var(--font-main);
    font-weight: 200;
    color: var(--main-color);
    font-size: 5em;
}

.secundary__text {
    margin-bottom: 50px;
}

.hr__contact {
    margin-bottom: 10%;
}

.fifth__session div {
    display: flex;
}

.btn {
    font-size: 24px;
    padding: 20px;
    border: 1px solid var(--main-color);
    border-radius: 100px;
    background: none;
    color: #ffffff;
    margin: 0 15px 0 0;
    cursor: pointer;
}

.mensagem {
    opacity: 0;
    transition: opacity 0.3s;
    color: #00c853;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.mensagem.show {
    opacity: 1;
}

.contact__link {
    text-decoration: none;
}

.footer {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    margin-right: 15px;
    padding-bottom: 15px;
    color: #c4c4c4bd;
}

.contact__text {
    margin-bottom: 10px;
}

.footer__link {
    color: #ffffff;
    padding-right: 15px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: 
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}