/* ========================================
   RESET E ESTILOS BASE
   ======================================== */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Remove scroll horizontal e espaço preto lateral */
    font-family: 'Poppins', sans-serif;
    color: #f0f0f0;
    background-image: linear-gradient(135deg, 
        #000000 0%, 
        #1B0819 8%, 
        #2A1531 30%, 
        #110D12 48%, 
        #030303 80%, 
        #2A1531 96%);
    background-size: cover; 
    background-repeat: no-repeat;
}

/* ========================================
   COMPONENTE WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed; /* Mantém o elemento fixo na tela */
    bottom: 60px;    /* 20 pixels da borda inferior */
    right: 25px;     /* 20 pixels da borda direita */
    z-index: 999;    /* Garante que o ícone fique acima de outros elementos */
}

.whatsapp-float a {
    display: block;
    width: 60px; 
    height: 60px;
    background-color: #25D366; 
    color: white;
    border-radius: 50%; 
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1); /* Efeito de crescimento ao passar o mouse */
}

/* ========================================
   SEÇÃO DE FILTROS DO PORTFÓLIO
   ======================================== */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #FDE253;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.filter-btn:hover {
    background-color: #660879;
}

.filter-btn.active {
    background-color: #ffde00; /* Cor de destaque */
    border-color: #ffde00;
    color: #202020;
    font-weight: bold;
}

/* ========================================
   TÍTULOS E SEÇÕES PRINCIPAIS
   ======================================== */
.section-portifolio-cards {
    text-align: center;
    font-size: 1.0rem; /* Tamanho da fonte do título */
    color: #FDE253;
    font-weight: 700;
    margin-top: 80px;
}

.section-title {
    color: #FDE253; /* Cor amarela para o título */
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

/* ========================================
   SEÇÃO "SOBRE MIM"
   ======================================== */
.Sobre-mim {
    display: flex;
    flex-direction: column; /* Alinha o h2 em cima do wrapper */
    align-items: center; /* Centraliza tudo */
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    
    /* Configurações para a animação de surgimento */
    opacity: 0; /* Inicialmente invisível */
    transform: translateY(20px); /* Começa um pouco abaixo */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Classe para ativar a animação quando a seção estiver visível */
.Sobre-mim.visible {
    opacity: 1; /* Torna visível */
    transform: translateY(0); /* Volta à posição original */
}

/* Container que agrupa a foto e o texto */
.sobre-mim-content-wrapper {
    display: flex;
    flex-direction: row; /* Padrão: lado a lado no desktop */
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sobre-mim-text-container {
    flex: 1;
    text-align: left;
    margin-right: 50px;
    
    /* Estilo "quadradinho" para o texto */
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 5px;
}

.foto-perfil {
    width: 380px;
    height: 400px;
    border-radius: 50% 50% 0 0; /* Formato de arco na parte superior */
    object-fit: cover;
}

/* ========================================
   SEÇÃO "SOFT SKILLS"
   ======================================== */
.soft-skills {
    text-align: center;
    padding: 60px 0; /* Ajusta o padding vertical para centralizar o conteúdo */
}

/* Classe para ativar a animação quando a seção estiver visível */
.soft-skills.visible {
    opacity: 1; /* Torna visível */
    transform: translateY(0); /* Volta à posição original */
}

.soft-skills h2 {
    color: #FDE253; /* Cor do texto do título */
    margin-bottom: 30px; /* Adiciona espaço abaixo do título */
    font-size: 1.4rem;
    font-weight: 600;
}

/* Container principal dos ícones */
.soft-skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; 
    
    /* Outros estilos de borda, padding, etc. */
    background-color: transparent;
    border: 2px solid #69176C;
    border-radius: 20px;
    padding: 20px 40px;
    max-width: 900px;
    margin: 0 auto;

    /* A regra padrão é quebrar, para telas pequenas */
    flex-wrap: wrap; 
}

/* Estilo para cada ícone */
.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer; 
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    color: #69176C;
}

.skill-item img {
    width: 50%;
    height: 50px;
    margin-bottom: 10px; /* Espaço entre o ícone e o texto */
    filter: invert(1); /* Deixa os ícones brancos se eles forem pretos */
}

/* Estilos para o texto de cada ícone */
.skill-item p {
    font-size: 1.0rem;
    font-weight: 500;
    color: #f0f0f0; 
}

.skill-item:hover {
    animation: pulse 1.5s infinite; 
    transform: scale(1.1); 
}


/* ========================================
   SEÇÃO "REDES SOCIAIS"
   ======================================== */
.redes-sociais {
    text-align: center;
    padding: 60px 0;
}

/* Container que agrupa os ícones */
.social-icons-container {
    display: flex;
    justify-content: center; /* Centraliza os ícones */
    align-items: center;
    gap: 30px; /* Espaçamento entre os ícones */
    margin-top: 30px;
}

/* Estilo para cada link de ícone */
.social-icons-container a {
    color: #f0f0f0; /* Cor dos ícones, branca ou a cor que você quiser */
    font-size: 2.5em; /* Tamanho dos ícones */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Efeito hover nos ícones */
.social-icons-container a:hover {
    color: #FDE253; /* Muda para a cor amarela ao passar o mouse */
    transform: scale(1.1); /* Aumenta um pouco o tamanho */
}

/* Garante que o título esteja alinhado ao centro */
.redes-sociais h2 {
    color: #FDE253;
    font-size: 1.4em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;    
}

/* ========================================
   SEÇÃO HERO COM ELEMENTOS
   ======================================== */
.hero-elements {
    position: relative;
    background-image: url('/images/elementos/elementes.png');
    height: 30vh;
    min-height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    max-width: 1800px;
    width: 100vw;
    margin: 40px auto;
    overflow: hidden;
}

/* Pseudo-elementos para efeito glitch */
.hero-elements::before,
.hero-elements::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mix-blend-mode: screen;
    opacity: 0; /* começa invisível */
    pointer-events: none;
    animation: glitch-cycle 5s infinite;
}

/* Camadas deslocadas com cores */
.hero-elements::before {
    left: 2px;
    filter: hue-rotate(15deg);
    animation-delay: 0s;
}

.hero-elements::after {
    left: -2px;
    filter: hue-rotate(-15deg);
    animation-delay: 0.2s;
}

/* Animação que faz glitch aparecer e desaparecer */
@keyframes glitch-cycle {
    0%, 60%, 100% {
        opacity: 0;
        transform: translate(0, 0);
    }
    65% {
        opacity: 0.5;
        transform: translate(3px, 2px);
    }
    70% {
        opacity: 0.5;
        transform: translate(-3px, -2px);
    }
    75% {
        opacity: 0.5;
        transform: translate(2px, -3px);
    }
    80% {
        opacity: 0.5;
        transform: translate(-2px, 3px);
    }
    85% {
        opacity: 0.5;
        transform: translate(3px, -1px);
    }
    90% {
        opacity: 0.5;
        transform: translate(-3px, 2px);
    }
    95% {
        opacity: 0.5;
        transform: translate(1px, -3px);
    }
}

/* ========================================
   RESPONSIVIDADE - TELAS PEQUENAS
   ======================================== */
@media (max-width: 768px) {
    .sobre-mim-content-wrapper {
        flex-direction: column; /* Em telas menores, a imagem vai para cima */
    }
    
    .sobre-mim-text-container {
        margin-right: 0;
        margin-top: 30px;
        text-align: center;
    }
    
    .foto-perfil {
        width: 250px;
        height: 250px;
    }
}

/* Animação de pulso para os ícones */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(221, 200, 6, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 64, 129, 0);
    }
    70% {
        box-shadow: 0 0 0 0 rgba(255, 64, 129, 0);
    }
}

/* Para telas maiores que 768px, evite quebra de linha */
@media (min-width: 769px) {
    .soft-skills-container {
        flex-wrap: nowrap; /* Uma única linha */
        gap: 40px;
    }
}
















