/* --- Cores e Variáveis --- */
:root {
    --bg-page: #0a0a0a;       
    --bg-card: #161616;       
    --primary-neon: #cb19a5;  
    --primary-hover: #a11482; 
    --text-main: #f0f0f0;     
    --text-sec: #a0a0a0;     
    --glow: 0 0 10px rgba(203, 25, 165, 0.5); 
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-page);
    padding: 20px;
}

/* O Container principal centralizado */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: transparent; 
    padding: 20px;
}

/* --- Títulos e Textos --- */
h1, h2, h3 {
    color: var(--text-main);
    margin-bottom: 15px;
}

h1 { 
    font-size: 2.8rem; 
    letter-spacing: -1px;
}

h2 { 
    font-size: 1.8rem; 
    border-bottom: 3px solid var(--primary-neon); 
    display: inline-block; 
    margin-bottom: 30px;
    padding-bottom: 5px;
}

h3 {
    color: var(--primary-neon);
}

p { 
    margin-bottom: 15px; 
    color: var(--text-sec); 
}

/* --- Header e Foto --- */
header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.profile-container {
    margin-bottom: 20px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    object-fit: cover;
    border: 3px solid var(--primary-neon); 
    box-shadow: var(--glow); 
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05); 
}

/* --- Seções --- */
section {
    margin-bottom: 80px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.code-bullet {
    color: var(--primary-neon); 
    font-weight: bold;
    font-family: 'Courier New', monospace; 
    font-size: 1.2rem;
    margin-right: 10px;
    text-shadow: var(--glow); 
}

.skill-category {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.skill-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.3));
}

/* --- Projetos --- */
.projects-grid {
    display: grid;
    gap: 40px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Efeito de hover no card inteiro */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: var(--primary-neon); 
}

@media (min-width: 768px) {
    .project-card {
        grid-template-columns: 200px 1fr; 
    }
}

.project-thumb-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a0531 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.project-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

/* Tags de Tecnologia */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-tags span {
    background-color: rgba(203, 25, 165, 0.15); 
    color: var(--primary-neon);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-neon);
}

/* --- Botões --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-neon);
    color: white;
    margin-top: auto;
    align-self: flex-start;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 20px rgba(203, 25, 165, 0.8); 
    transform: scale(1.05);
}

/* --- Contato --- */
.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-icon {
    width: 25px;
    height: 25px;
    margin-right: 15px;
}

.contact-list a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--primary-neon);
}

footer {
    text-align: center;
    margin-top: 60px;
    font-size: 0.9rem;
    color: var(--text-sec);
    opacity: 0.6;
}