/* Reset de margens, padding e box-sizing para todos os elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Configuração do elemento HTML */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Estilos base do corpo da página */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
}

/* 
   CONTAINER PRINCIPAL
*/

/* Container centralizado com largura máxima */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Classe para destacar texto em roxo */
.highlight {
    color: #7B68EE;
}

/* Título das seções */
.section-title {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: #7B68EE;
    letter-spacing: -0.02em;
}

/*  NAVBAR  */
.navbar {
    position: fixed;
    top: 0;
    width: 100%; 
    background: rgba(26, 35, 50, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 104, 238, 0.15);
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar com background mais opaco ao rolar */
.navbar.scrolled {
    background: rgba(26, 35, 50, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Container interno da navegação */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo do nav */
.nav-logo img {
    height: 70px; 
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2)); 
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05); 
}

/* Menu de navegação */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Links da navegação */
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    position: relative;
}

/* Estado hover e ativo dos links */
.nav-link:hover,
.nav-link.active {
    color: #7B68EE;
}

/* Linha animada abaixo dos links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7B68EE;
    transition: width 0.3s ease;
}

/* Expandir linha ao passar o mouse ou quando ativo */
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Botão hambúrguer para menu mobile */
.nav-toggle {
    display: none;
    cursor: pointer;
    /* flex-direction só será útil se houver media query para display:flex */
}

/* Barras do botão hambúrguer */
.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #7B68EE;
    margin: 3px 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    background: url('imagens/background-noite.png') center / cover fixed no-repeat;
}

/* Overlay escuro sobre a imagem de fundo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0; /* substitui top/left/right/bottom */
    background: rgba(26, 35, 50, 0.6);
    z-index: 1;
}

/* Container do hero com z-index elevado */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Conteúdo centralizado do hero */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 100%;       
    max-width: 800px;
}

/* Texto do hero com animação */
.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

/* Saudação no hero */
.hero-greeting {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

/* Nome principal no hero */
.hero-name {
    font-family: Tahoma, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Título/profissão no hero */
.hero-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* Container dos links sociais */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Botões de redes sociais */
.social-link {
    width: 50px;
    height: 50px;
    background: #7B68EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #9385F1;
}

/* Elemento visual decorativo do hero */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

/* Letra decorativa grande */
.hero-letter {
    font-size: 20rem;
    font-weight: 700;
    color: #7B68EE;
    opacity: 0.8;
    line-height: 1;
    user-select: none;
}

/* 
   SEÇÃO SOBRE MIM
*/

/* Seção sobre com padding vertical */
.about {
    padding: 6rem 0;
    position: relative;
    text-align: center;
}

/* Conteúdo da seção sobre */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Container da imagem de perfil */
.about-image {
    position: relative;
    margin-bottom: 2rem;
}

/* Foto de perfil circular */
.profile-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(123, 104, 238, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Texto descritivo sobre */
.about-text {
    font-size: 1.25rem;       
    line-height: 1.8;
    max-width: 700px;
    text-align: justify;      
    margin-bottom: 2rem;      
}

/* Botão de download do currículo */
.about-download {
    margin: 2rem 0;
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #7B68EE;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-download i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.btn-download:hover {
    background: #9385F1;
    transform: translateY(-2px);
}

.btn-download:active {
    transform: translateY(-1px);
}

/* Botão de download no modo claro */
body.light-mode .btn-download {
    background: #7B68EE;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(123, 104, 238, 0.4);
}

body.light-mode .btn-download:hover {
    background: #9385F1;
}

/* Seção de cursos */
.about-education {
    max-width: 600px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    text-align: center;
}

/* Gatilho para expandir cursos */
.education-trigger {
    color: #7B68EE;
    font-size: 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: rgba(123, 104, 238, 0.1);
    border: 1px solid rgba(123, 104, 238, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efeito hover no gatilho de educação */
.education-trigger:hover {
    background: rgba(123, 104, 238, 0.2);
    transform: translateY(-2px);
}

/* Ícone do gatilho de educação */
.education-trigger i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

/* Rotacionar ícone ao passar o mouse */
.about-education:hover .education-trigger i {
    transform: rotate(180deg);
}

/* Container dos cursos (inicialmente oculto) */
.courses-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.3s ease;
}

/* Expandir container de cursos ao passar o mouse */
.about-education:hover .courses-container {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

/* Card individual de curso */
.course {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(123, 104, 238, 0.05);
    border: 1px solid rgba(123, 104, 238, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efeito hover no card de curso */
.course:hover {
    background: rgba(123, 104, 238, 0.1);
    transform: translateX(5px);
}

/* Remover margem do último curso */
.course:last-child {
    margin-bottom: 0;
}

/* Título do curso */
.course h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Descrição do curso */
.course p {
    color: #cccccc;
    margin: 0;
}

/* 
   SEÇÃO DE PROJETOS
 */

/* Seção de projetos com background alternativo */
.projects {
    padding: 6rem 0;
    background: rgba(15, 20, 25, 0.5);
}

/* Grid responsivo de projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Card individual de projeto */
.project-card {
    background: rgba(26, 35, 50, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 104, 238, 0.2);
}

/* Efeito hover no card de projeto */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(123, 104, 238, 0.3);
}


/* 
   EFEITO FLIP NOS CARDS DE PROJETO
 */

/* Container para efeito de flip 3D */
.project-flip-container {
    perspective: 1000px;
    height: 200px;
    position: relative;
}

/* Elemento interno que realiza o flip */
.project-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Girar card ao passar o mouse */
.project-card:hover .project-flip-inner {
    transform: rotateY(180deg);
}

/* Frente e verso do card */
.project-flip-front,
.project-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Frente do card (capa do semestre) */
.project-flip-front {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7B68EE 0%, #9385F1 100%);
}

/* Container da capa do semestre */
.semester-cover {
    text-align: center;
}

/* Título do semestre */
.semester-cover h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Verso do card (nome da disciplina) */
.project-flip-back {
    transform: rotateY(180deg);
}

/* Container do nome da disciplina */
.discipline-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(26, 35, 50, 0.95);
    padding: 2rem;
    text-align: center;
}

/* Título da disciplina */
.discipline-name h4 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #7B68EE;
    line-height: 1.3;
}



/* 
   EFEITO FLIP NOS CARDS DE PROJETO
 */

.project-card:hover 

/* Frente e verso do card */

/* Frente do card (capa do semestre) */

/* Container da capa do semestre */
.semester-cover {
    text-align: center;
}

/* Título do semestre */
.semester-cover h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Verso do card (nome da disciplina) */

/* Container do nome da disciplina */
.discipline-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(26, 35, 50, 0.95);
    padding: 2rem;
    text-align: center;
}

/* Título da disciplina */
.discipline-name h4 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #7B68EE;
    line-height: 1.3;
}

/* Container da imagem do projeto */
.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

/* Imagem do projeto */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Conteúdo textual do card */
.project-content {
    padding: 1.25rem 1.5rem;
}

/* Título do projeto */
.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #7B68EE;
}

/* Descrição do projeto */
.project-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Container das tecnologias usadas */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Tag de tecnologia */
.tech-tag {
    background: rgba(123, 104, 238, 0.15);
    color: #7B68EE;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(123, 104, 238, 0.2);
    transition: all 0.2s ease;
}

/* Efeito hover na tag de tecnologia */
.tech-tag:hover {
    background: rgba(123, 104, 238, 0.25);
  
}


/* 
   BOTÕES DE AÇÃO DOS PROJETOS
 */

/* Container dos botões de ação */
.project-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Estilos base para todos os botões */
.btn-ver-mais,
.btn-pdf,
.btn-word {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Botão "Ver mais" */
.btn-ver-mais {
    background: #7B68EE;
    color: #ffffff;
}

/* Efeito hover no botão "Ver mais" */
.btn-ver-mais:hover {
    background: #9385F1;
    transform: translateY(-2px);
}

/* 
   SEÇÃO DE HABILIDADES
*/

/* Seção de habilidades */
.skills {
    padding: 6rem 0;
}

/* Grid de categorias de habilidades */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Título da categoria */
.category-title {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2rem;
    text-align: center;
}

/* Grid de habilidades individuais */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
    gap: 2rem;
    justify-content: center;
}

/* Card de habilidade individual */
.skill-item {
    background: rgba(26, 35, 50, 0.5);
    padding: 2rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(123, 104, 238, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #7B68EE;
    
}

/* Efeito hover no card de habilidade */
.skill-item:hover {
    transform: translateY(-5px);
    border-color: rgba(123, 104, 238, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Ícone da habilidade */
.skill-icon {
    font-size: 3rem;
    color: #7B68EE;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Efeito hover no ícone */
.skill-item:hover .skill-icon {
    transform: scale(1.1);
    color: #9385F1;
}

/* Nome da habilidade */
.skill-name {
    font-weight: 500;
    color: #cccccc;
    font-size: 1.125rem;
}

/* 
   SEÇÃO DE CONTATO
*/

/* Seção de contato */
.contact {
    padding: 6rem 0;
    background: rgba(15, 20, 25, 0.5);
}

/* Conteúdo centralizado do contato */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Informações de contato */
.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

/* Título da seção de contato */
.contact-info h3 {
    font-size: 2rem;
    color: #7B68EE;
    margin-bottom: 1rem;
}

/* Parágrafo de contato */
.contact-info p {
    font-size: 1.07rem;
    color: #cccccc;
    line-height: 1.8;
}

/* Container dos métodos de contato */
.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Método de contato individual */
.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
}

/* Efeito hover no método de contato */
.contact-method:hover {
    transform: translateY(-5px);
}

/* Ícone do método de contato */
.contact-method i {
    font-size: 3rem;
    color: #7B68EE;
    transition: all 0.3s ease;
}

/* Efeito hover no ícone */
.contact-method:hover i {
    color: #9385F1;
    transform: scale(1.1);
}

/* Texto do método de contato */
.contact-method span {
    font-size: 1rem;
    font-weight: 500;
    color: #cccccc;
    transition: color 0.3s ease;
}

/* Efeito hover no texto */
.contact-method:hover span {
    color: #7B68EE;
}

/* 
   RODAPÉ
*/

/* Rodapé da página */
.footer {
    background: rgba(26, 35, 50, 0.8);
    border-top: 1px solid rgba(123, 104, 238, 0.1);
    padding: 0.75rem 0;
}

/* Conteúdo do rodapé */
.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

/* Texto de copyright */
.footer-content p {
    font-size: 0.75rem;
    color: #cccccc;
    margin: 0;
    font-weight: 400;
    flex: 1;
    text-align: center;
}

/* Container esquerdo do rodapé */
.footer-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

/* Logo do rodapé */
.footer-logo img {
    height: 50px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

/* Links sociais do rodapé */
.footer-social {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
}

/* Tamanho dos links sociais no rodapé */
.footer-social .social-link {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

.social-link:hover{
    background-color: #9385F1;
    transform: translateY(-2px);
}

/* 
   BOTÃO VOLTAR AO TOPO
*/

/* Botão de scroll para o topo */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #7B68EE;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

/* Mostrar botão quando visível */
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Efeito hover no botão de scroll */
.scroll-top:hover {
    background: #9385F1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.4);
}

/* 
   ANIMAÇÕES
 */

/* Animação de fade in vindo de baixo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Animação de fade in vindo da direita */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 
   RESPONSIVIDADE - TABLETS
 */

@media (max-width: 768px) {

    /* Menu mobile oculto por padrão */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(26, 35, 50, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    /* Mostrar menu quando ativo */
    .nav-menu.active {
        left: 0;
    }

    /* Mostrar botão hambúrguer */
    .nav-toggle {
        display: flex;
    }

    /* Animação do botão hambúrguer - barra do meio desaparece */
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    /* Animação do botão hambúrguer - primeira barra rotaciona */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    /* Animação do botão hambúrguer - terceira barra rotaciona */
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero em coluna única */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* Reduzir tamanho do nome no hero */
    .hero-name {
        font-size: 2.5rem;
    }

    /* Reduzir tamanho do título no hero */
    .hero-title {
        font-size: 1.5rem;
    }

    /* Reduzir tamanho da letra decorativa */
    .hero-letter {
        font-size: 8rem;
    }

    /* Sobre em coluna única */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* Projetos em coluna única */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Reduzir tamanho dos títulos de seção */
    .section-title {
        font-size: 2rem;
    }

    /* Reduzir padding do container */
    .container {
        padding: 0 1rem;
    }

    /* Rodapé em coluna */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* 
   RESPONSIVIDADE - MOBILE
 */

@media (max-width: 480px) {

    /* Reduzir ainda mais o nome no hero */
    .hero-name {
        font-size: 2rem;
    }

    /* Reduzir ainda mais o título no hero */
    .hero-title {
        font-size: 1.25rem;
    }

    /* Reduzir ainda mais a letra decorativa */
    .hero-letter {
        font-size: 6rem;
    }

    /* Reduzir ainda mais os títulos de seção */
    .section-title {
        font-size: 1.75rem;
    }

    /* Centralizar links sociais */
    .social-links {
        justify-content: center;
    }

    /* Ajustar posição do botão de scroll */
    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .btn-download {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}


}

/* Ocultar background decorativo do hero */
.hero-background {
    display: none;
}

/*
   BOTÃO DE ALTERNÂNCIA DE TEMA
*/

/* Botão para alternar tema claro/escuro */
.theme-toggle {
    background: rgba(123, 104, 238, 0.2);
    border: 2px solid #7B68EE;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #7B68EE;
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* Efeito hover no botão de tema */
.theme-toggle:hover {
    background: #7B68EE;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.4);
}

/* Ícone do botão de tema */
.theme-toggle i {
    transition: transform 0.3s ease;
}

/*
   MODO CLARO (LIGHT MODE)
*/

/* Background do modo claro */
body.light-mode {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef3 100%);
    color: #2c3e50;
}

/* Navbar no modo claro */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 104, 238, 0.15);
}

/* Navbar scrolled no modo claro */
body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(123, 104, 238, 0.15);
}

/* Links da navegação no modo claro */
body.light-mode .nav-link {
    color: #5a4a9f;
}

/* Links hover/ativo no modo claro */
body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: #7B68EE;
}

/* Logo da navegação no modo claro */
body.light-mode .nav-logo img {
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
}

/* Textos do hero no modo claro com melhor legibilidade */
body.light-mode .hero-greeting,
body.light-mode .hero-name,
body.light-mode .hero-title {
    color: #5a3d99;

    font-weight: 700;
}

/* Highlight no modo claro */
body.light-mode .highlight {
    color: #7B68EE;
    font-weight: 600;
}

/* Highlight no hero do modo claro */
body.light-mode .hero .highlight {
    color: #fff;
    font-weight: 700;

}

/* Título de seção no modo claro */
body.light-mode .section-title {
    color: #7B68EE;
}

/* Textos sobre no modo claro */
body.light-mode .about-text,
body.light-mode .about-intro {
    color: #2c3e50;
}

/* Título de educação no modo claro */
body.light-mode .about-education h3 {
    color: #7B68EE;
}

/* Descrição de curso no modo claro */
body.light-mode .course p {
    color: #5a6c7d;
}

/* Card de projeto no modo claro */
body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 104, 238, 0.3);
}

/* Título de projeto no modo claro */
body.light-mode .project-title {
    color: #7B68EE;
}

/* Descrição de projeto no modo claro */
body.light-mode .project-description {
    color: #5a6c7d;
}

/* Card de habilidade no modo claro */
body.light-mode .skill-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(180, 167, 238, 0.2);
    color:#5a6c7d;
}

/* Nome de habilidade no modo claro */
body.light-mode .skill-name {
    color: #2c3e50;
}

/* Título de categoria no modo claro */
body.light-mode .category-title {
    color: #7B68EE;
}

/* Seção de contato no modo claro */
body.light-mode .contact {
    background: rgba(232, 238, 243, 0.5);
}

/* Título de contato no modo claro */
body.light-mode .contact-info h3 {
    color: #7B68EE;
}

/* Texto de contato no modo claro */
body.light-mode .contact-info p {
    color: #5a6c7d;
}

/* Texto de método de contato no modo claro */
body.light-mode .contact-method span {
    color: #5a6c7d;
}

/* Hover em método de contato no modo claro */
body.light-mode .contact-method:hover span {
    color: #7B68EE;
}

/* Rodapé no modo claro */
body.light-mode .footer {
    background: linear-gradient(135deg, #7B68EE, #9385F1);
    border-top: 1px solid rgba(123, 104, 238, 0.2);
}

/* Texto do rodapé no modo claro */
body.light-mode .footer-content p {
    color: #ccc;
}

/* Seção de projetos no modo claro */
body.light-mode .projects {
    background: rgba(232, 238, 243, 0.5);
}

/* Botão de tema no modo claro */
body.light-mode .theme-toggle {
    background: rgba(123, 104, 238, 0.1);
    border-color: #7B68EE;
    color: #7B68EE;
}

/* Hover no botão de tema no modo claro */
body.light-mode .theme-toggle:hover {
    background: #7B68EE;
    color: #ffffff;
}

/* Barras do menu no modo claro */
body.light-mode .nav-toggle .bar {
    background: #7B68EE;
}

/* Background do hero no modo claro */
body.light-mode .hero {
    background-image: url('imagens/background-dia.png');
}

/* Overlay do hero no modo claro */
body.light-mode .hero::before {
    background: rgba(255, 255, 255, 0.2);
}

/* Botão ver mais no modo claro */
body.light-mode .btn-ver-mais {
    background: #7B68EE;
}

/* Hover no botão ver mais no modo claro */
body.light-mode .btn-ver-mais:hover {
    background: #9385F1;
}

/* 
   RESPONSIVIDADE DO BOTÃO DE TEMA
*/

@media (max-width: 768px) {

    /* Posicionar botão de tema em mobile */
    .theme-toggle {
        position: static;
        right: 70px;
        top: 50%;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0;
    }
}

/* 
   MODAL DE PROJETOS
*/

/* Modal oculto por padrão */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

/* Modal ativo (visível) */
.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteúdo do modal */
.modal-content {
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    margin: auto;
    padding: 0;
    border: 1px solid rgba(93, 173, 226, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* Conteúdo do modal no modo claro */
body.light-mode .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    border: 1px solid rgba(180, 167, 238, 0.3);
}

/* Botão de fechar modal */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(123, 104, 238, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hover no botão de fechar */
.modal-close:hover,
.modal-close:focus {
    background: #7B68EE;
    transform: rotate(90deg);
}

/* Botão de fechar no modo claro */
body.light-mode .modal-close {
    color: #2c3e50;
    background: rgba(123, 104, 238, 0.2);
}

/* Hover no botão de fechar no modo claro */
body.light-mode .modal-close:hover {
    background: #7B68EE;
    color: #ffffff;
}

/* Corpo do modal */
.modal-body {
    padding: 2rem;
}

/* Imagem no modal */
.modal-body img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(123, 104, 238, 0.2);
    background: #ffffff;
    padding: 1rem;
}

/* Título no modal */
.modal-body h2 {
    color: #7B68EE;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Título no modal no modo claro */
body.light-mode .modal-body h2 {
    color: #7B68EE;
}

/* Parágrafo no modal */
.modal-body p {
    color: #cccccc;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Parágrafo no modal no modo claro */
body.light-mode .modal-body p {
    color: #5a6c7d;
}

/* Tecnologias no modal */
.modal-body .project-tech {
    margin-bottom: 2rem;
}

/* Container dos links do modal */
.modal-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Botão do modal */
.modal-btn {
    background: #7B68EE;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hover no botão do modal */
.modal-btn:hover {
    background: #9385F1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.4);
}

/* Botão do modal no modo claro */
body.light-mode .modal-btn {
    background: #7B68EE;
}

/* Hover no botão do modal no modo claro */
body.light-mode .modal-btn:hover {
    background: #9385F1;
}

/* Animação de fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animação de slide up */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

/* 
   RESPONSIVIDADE DO MODAL
*/

@media (max-width: 768px) {

    /* Modal em tela cheia em mobile */
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    /* Reduzir padding do corpo do modal */
    .modal-body {
        padding: 1.5rem;
    }

    /* Reduzir tamanho do título no modal */
    .modal-body h2 {
        font-size: 1.5rem;
    }

    /* Reduzir altura máxima da imagem */
    .modal-body img {
        max-height: 250px;
    }

    /* Links em coluna no mobile */
    .modal-links {
        flex-direction: column;
    }

    /* Botões em largura total */
    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 
   ANIMAÇÕES DE ENTRADA PARA SEÇÕES
 */

/* Seção com animação inicial oculta */
.section-animate {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animação vindo de baixo */
.section-animate.from-bottom {
    transform: translateY(100px);
}

/* Animação vindo da esquerda */
.section-animate.from-left {
    transform: translateX(-100px);
}

/* Animação vindo da direita */
.section-animate.from-right {
    transform: translateX(100px);
}

/* Estado visível da seção animada */
.section-animate.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* 
   ANIMAÇÕES ESPECÍFICAS DA SEÇÃO SOBRE
*/

/* Imagem de perfil inicialmente oculta */
.about-image {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

/* Texto sobre inicialmente oculto */
.about-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

/* Revelar imagem e texto quando seção visível */
.about.visible .about-image,
.about.visible .about-text {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* 
   CARDS FLIP NO MODO CLARO
*/

/* Nome da disciplina no modo claro */
body.light-mode .discipline-name {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(147, 133, 241, 0.15));
    border: 1px solid rgba(123, 104, 238, 0.3);
}

/* Título da disciplina no modo claro */
body.light-mode .discipline-name h4 {
    color: #5a4a9f;
    text-shadow: none;
}

/* Capa do semestre no modo claro */
body.light-mode .semester-cover {
    background: linear-gradient(135deg, #7B68EE, #9385F1);
}

/* Animação do texto sobre */
.about-text {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* 
   RODAPÉ RESPONSIVO
*/

@media (max-width: 768px) {

    /* Rodapé em coluna no mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Reduzir tamanho do logo no mobile */
    .footer-logo img {
        height: 40px;
    }
}