/* === ESTILOS GERAIS === */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa; /* Um cinza bem claro para o fundo */
    line-height: 1.6;
}

/* === HERO SECTION (HEADER MODIFICADO) === */
header {
    height: 100vh; /* Ocupa a altura toda da tela */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #101820, #1f4068);
    background-size: cover;
    position: relative;
}

.hero-container h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    font-weight: 700;
}

.hero-container p {
    font-size: 1.8rem;
    margin-top: 10px;
    color: #a0c3d2;
}

/* Efeito do cursor da animação de digitação */
.typed-cursor {
    color: #a0c3d2;
    font-weight: 100;
}

.profile-img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover; /* Garante que a imagem não distorça */
    border: 5px solid #1f4068;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e43f5a; /* Cor de destaque */
}


/* === NAVEGAÇÃO === */
nav {
    background-color: #162447;
    padding: 10px 0;
    position: sticky; /* Deixa o menu fixo no topo ao rolar */
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #f8f9fa;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background-color: #1f4068;
    border-radius: 5px;
}

/* === SEÇÕES DE CONTEÚDO === */
.content-section {
    margin: 40px auto; /* Aumenta o espaçamento entre seções */
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

h2 {
    color: #1a1a2e;
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 10px;
    margin-top: 0; /* Remove margem extra do topo */
    margin-bottom: 25px;
}

ul {
    padding-left: 20px;
}

ul li {
    margin: 10px 0;
}

/* === SEÇÃO DE PROJETOS (NOVO) === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Container para o conteúdo do card, para alinhar os links no final */
.card-content {
    padding: 15px;
    flex-grow: 1; /* Faz esta div crescer e empurrar os links para baixo */
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-top: 0;
    color: #1a1a2e;
}

.card-content p {
    font-size: 0.9em;
    flex-grow: 1; /* Empurra as tags e links para baixo */
}

.tech-tags {
    margin-top: 15px;
}

.tech-tags span {
    background-color: #eef2f5;
    color: #1f4068;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

.project-links {
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eef2f5;
    text-align: center;
}

.project-links a {
    text-decoration: none;
    color: #162447;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #e43f5a;
}

/* === SEÇÃO DE CONTATO === */
.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px; /* Aumenta o espaçamento */
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1em;
    transition: color 0.3s ease;
}

.contact-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    color: #1f4068;
}

.contact-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.download-cv {
    margin-top: 15px;
    display: inline-block;
    background-color: #162447;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-cv:hover {
    background-color: #1f4068;
    transform: translateY(-2px);
}

/* === RODAPÉ === */
footer {
    background-color: #1a1a2e;
    color: #f8f9fa;
    text-align: center;
    padding: 20px 0;
}