/* Desenvolvedor Isaac Ikawa */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header{
    margin-top: 0;
    height: 65px;
    padding: 0.5rem 9%;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}





.typing-text span {
    color: #b74b4b;
    border-right: 3px solid #b74b4b;
    padding-right: 5px;
    white-space: nowrap;
}



@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "Desenvolvedor Web";
    }
    21%, 40%{
        content: "Desenvolvedor";
    }
    41%, 60%{
        content: "Web Designer";
    }
    61%, 80%{
        content: "Programador";
    }
    81%, 100%{
        content: "Front-end";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

.tecnologia {
    padding: 5rem 9%;
    background-color: black;
    color: #fff;
    text-align: center;
}

.tecnologia h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #b74b4b;
}

.tecnologia p {
    font-size: 2rem; 
    color: #fff; 
    margin-top: 20px; 
    text-align: center; 
}

.tecnologia-gallery {
    display: flex;
    justify-content: center; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.tecnologia-gallery img {
    width: 6rem; 
    height: 6rem; 
    margin: 10px; 
    border-radius: 50%; 
    border: none; 
}

nav.hidden {
    display: none;
}

.hidden {
    display: none;
}

/* Seção Home */
section.home {
    padding: 5rem 9%;
}

/* Seção tecnologias */
section.tecnologia {
    padding: 5rem 9%;
    background-color: black;
    color: white;
}

.tecnologia-gallery img {
    width: 10rem; 
    height: auto;
    margin: 1rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

.tecnologia-gallery img:hover {
    transform: scale(1.1);
}

/* Seção Educação restaurada */
section.educacao {
    padding: 5rem 9%;
    background-color: black;
    color: white;
    text-align: center;
}

.educacao h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #b74b4b;
}

.educacao-item {
    margin-bottom: 2rem;
}

.educacao-item h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.educacao-item p {
    font-size: 1.8rem;
}

.educacao-item a {
    color: #b74b4b; 
    text-decoration: none; 
}

.educacao-item a:hover {
    text-decoration: underline; 
}

/* Seção Copyright */
.copyright {
    text-align: center;
    margin: 2rem 0;
    color: white;
    font-size: 1.8rem;
}

.copyright a {
    color: #b74b4b;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #b74b4b; 
    border-radius: 50%;
    box-shadow: 0 0 10px #b74b4b;
    pointer-events: none;
    animation: particle-animation 0.5s linear infinite;
}

@keyframes particle-animation {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(20px) scale(0.5);
        opacity: 0;
    }
}

.projeto {
    padding: 5rem 9%;
    background-color: black;
    color: white;
    text-align: center;
}

.projeto h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #b74b4b;
}

.projeto-descricao {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.projeto-descricao h3 {
    font-size: 2.2rem;
    color: #b74b4b;
    margin-bottom: 1rem;
}

.projeto-descricao p {
    margin-bottom: 1rem;
}

.projeto-video .video-descricao {
    font-size: 2rem; 
    margin-bottom: 10px;
}

.projeto-video video {
    width: 100%;
    max-width: 560px;
    height: auto;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0 25px #b74b4b;
}

/* Seção Home */
section.home {
    padding: 5rem 9%;
    margin-bottom: 5rem; 
}

/* Seção tecnologias */
section.tecnologia {
    padding: 5rem 9%;
    background-color: black;
    color: white;
    margin-bottom: 5rem; 
}

/* Seção Educação */
section.educacao {
    padding: 5rem 9%;
    background-color: black;
    color: white;
    text-align: center;
    margin-bottom: 5rem; 
}

/* Outras seções, */
section.projeto {
    padding: 5rem 9%;
    background-color: black;
    color: white;
    text-align: center;
    margin-bottom: 5rem; 
}

/* Seção Copyright */
.copyright {
    text-align: center;
    padding: 2rem 0;
    background-color: black;
    color: white;
}

.button-container {
    text-align: center;
    margin-top: 20px; 
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem; 
    margin: 10px;
    border: 2px solid #b74b4b; 
    border-radius: 4rem; 
    background-color: transparent; 
    color: #b74b4b; 
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: 0.3rem;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #b74b4b; 
    color: black; 
    box-shadow: 0 0 25px #b74b4b;
}





/* ===== AJUSTE DE VÍDEO DE FUNDO - SEM QUEBRAR O SITE ===== */

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* camada escura para leitura */
.video-bg::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* remove fundo preto das seções */
section,
header,
.copyright,
.tecnologia,
.educacao,
.projeto,
.home {
    background-color: transparent !important;
}








/* ===== OUTROS PROJETOS ===== */

.outros-projetos {
    padding: 80px 10%;
    text-align: center;
}

.outros-projetos h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: #b74b4b;
}

/* CONTAINER HORIZONTAL */
.outros-projetos-container {
    display: flex;
    justify-content: center;
    gap: 40px;

    overflow-x: auto;
    padding-bottom: 20px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* SCROLLBAR */
.outros-projetos-container::-webkit-scrollbar {
    height: 8px;
}

.outros-projetos-container::-webkit-scrollbar-thumb {
    background: #b74b4b;
    border-radius: 10px;
}

/* CARD */
.outro-projeto {
    min-width: 380px;
    max-width: 380px;

    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
    border-radius: 18px;

    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outro-projeto:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* IMAGEM */
.outro-projeto img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* TEXTO */
.outro-projeto h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.outro-projeto p {
    font-size: 1.6rem;
    line-height: 1.6;
}

/* MOBILE */
@media (max-width: 768px) {
    .outros-projetos-container {
        justify-content: flex-start;
    }

    .outro-projeto {
        min-width: 300px;
        max-width: 300px;
    }
}









/* ===== CORREÇÃO PÁGINA CONTATO ===== */

.pagina-contato {
    min-height: 100vh;
    padding-top: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contato-container {
    margin-top: 40px;
    max-width: 600px;
    width: 100%;
    padding: 40px;

    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;

    box-shadow: 0 0 30px rgba(183, 75, 75, 0.4);
}

.contato h1 {
    font-size: 3.5rem;
    color: #b74b4b;
    margin-bottom: 15px;
    text-align: center;
}

.contato p {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;

    background: #111;
    color: white;
    font-size: 1.6rem;

    border-radius: 10px;
}



.contato-cta strong {
    color: #b74b4b;
    letter-spacing: 0.1rem;
}





.contato-cta {
    text-align: center;
    max-width: 420px;
    margin: 2.5rem auto 2rem;
}

.contato-botoes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}



.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}



/* ================= CORREÇÃO SOBREPOSIÇÃO HOME ================= */

/* ===== AJUSTE ÍCONES REDES SOCIAIS ===== */

.social-icons {
    gap: 1rem; /* diminua aqui (ex: 0.5rem = mais grudado) */
}

.social-icons a {
    margin: 0; /* remove espaçamento extra */
}
