/* Importação dos ícones Devicon para ícones de tecnologia */
@import url('https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css');

:root {
    --bg-dark: #121212; /* Fundo escuro */
    --text-light: #e0e0e0; /* Texto claro */
    --accent-color: #00bcd4; /* Ciano para destaques (pode ser ajustado) */
    --secondary-accent: #61DAFB; /* Azul do React */
    --shadow-color: rgba(0, 0, 0, 0.4);
    --border-color: #333;
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Tipografia --- */
h1, h2, h3, h4 {
    font-family: var(--font-mono);
    color: var(--accent-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 3em;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

h2 {
    font-size: 1.8em;
    text-align: center;
    color: var(--text-light);
    font-weight: 300;
}

h3 {
    font-size: 1.6em;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
}

h4 {
    font-size: 1.2em;
    color: var(--secondary-accent);
}

p {
    margin-bottom: 15px;
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
}

/* --- Botões --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    min-width: 180px;
}

.btn i {
    margin-right: 8px;
}

.btn.primary {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    border: 2px solid var(--accent-color);
}

.btn.primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
}

.btn.secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn.secondary:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.project-btn {
    background-color: var(--border-color);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    margin-right: 15px;
    min-width: 250px;
}

.project-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}


/* --- Header Hero Section --- */
.hero {
    background: linear-gradient(135deg, #1f1f1f, #0a0a0a); /* Gradiente escuro */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    overflow: hidden; /* Para garantir que o pseudo-elemento não vaze */
}

/* Efeito de fundo abstrato */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(0, 188, 212, 0.1) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    opacity: 0.3;
    z-index: 0;
    animation: rotateBackground 20s linear infinite;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative; /* Para que o conteúdo fique acima do pseudo-elemento */
    z-index: 1;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    object-fit: cover;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
}

.impact-phrase {
    font-size: 1.2em;
    font-style: italic;
    margin-top: 20px;
    color: #bbb;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Para botões em linhas menores */
}

/* --- Seções Principais --- */
.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

/* --- Autoridade Section --- */
.institutions-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.institutions-list li {
    background-color: #222;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.institutions-list li i {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.3em;
}

/* --- Tech Stack Section --- */
.tech-section {
    background-color: #1a1a1a;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tech-category {
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tech-category h4 {
    color: var(--accent-color);
    font-size: 1.4em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-category h4 i {
    margin-right: 10px;
}


.tech-icons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-icons i {
    font-size: 3em;
    color: var(--text-light); /* Cor padrão para ícones */
    transition: color 0.3s ease, transform 0.2s ease;
}

.tech-icons i:hover {
    transform: scale(1.1);
}

/* Cores específicas para Devicons */
.devicon-flutter-plain.colored { color: #02569B; }
.devicon-react-original.colored { color: #61DAFB; }
.devicon-dart-plain.colored { color: #0175C2; }
.devicon-javascript-plain.colored { color: #F7DF1E; }
.devicon-java-plain.colored { color: #e53935; } /* Vermelho para Java */
.devicon-nodejs-plain.colored { color: #68A063; }
.devicon-python-plain.colored { color: #3776AB; }
.devicon-git-plain.colored { color: #F05032; }
.devicon-github-original.colored { color: #fff; } /* Branco para GitHub em fundo escuro */
.devicon-cobol-plain { filter: grayscale(100%) opacity(0.7); font-size: 2.5em !important; /* Estilo para COBOL */ }
.devicon-cobol-plain:hover { filter: grayscale(0%) opacity(1); }


/* --- Projetos Section --- */
.project-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* --- Footer --- */
.footer {
    background-color: #0a0a0a;
    color: #888;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    color: #888;
    font-size: 1.8em;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--accent-color);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.4em;
    }

    .hero {
        padding: 60px 0;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        margin: 8px 0;
    }

    .tech-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }

    .tech-category {
        padding: 25px;
    }

    .institutions-list li {
        font-size: 1em;
        padding: 12px 15px;
    }

    .institutions-list li i {
        font-size: 1.1em;
    }

    .project-links {
        flex-direction: column;
        align-items: center;
    }
}