/* Resets e Configurações Globais */
:root {
    --primary-color: #007bff;
    --secondary-color: #1a202c;
    --card-color: #2d3748; 
    --text-color: #e2e8f0;
    --subtle-text-color: #a0aec0; 
    --border-color: #4a5568;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #fff;
}

/* Efeito de Animação */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cabeçalho Principal (Hero) */
.hero-section {
    text-align: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 20px;
}

.hero-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Seção de Habilidades */
.skills-section {
    padding: 60px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: var(--card-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

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

.skill-category li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.skill-category li i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 20px; 
    text-align: center;
}

/* Seção de Projetos */
.projects-section {
    padding: 60px 0;
}

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

.project-card {
    background-color: var(--card-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
}

.project-card p {
    margin-bottom: 20px;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.project-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Seção de Contato */
.contact-section {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-links a {
    color: var(--text-color);
    font-size: 2.5rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}


/* Responsividade */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section h2 {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}