/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #222;
    transition: background-color 0.3s;
}

.navbar-brand {
    font-weight: 600;
    color: #fff !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 400;
    margin-left: 20px;
}

.nav-link:hover {
    color: #ddd !important;
}

/* Hero Section */
.hero {
    height: 85vh;
    background-color: #f8f9fa;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.hero .lead {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 30px;
    font-size: 1.2rem;
    margin-right: 20px; /* Espaço entre botão e ícones */
}

/* Hero Actions (Botão + Ícones) */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite quebra em telas menores */
    gap: 15px; /* Espaçamento entre elementos */
}

/* Ícones de Redes Sociais */
.social-icons {
    display: flex;
    gap: 10px; /* Espaço entre ícones */
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.social-icons a i {
    font-size: 1.5rem;
    color: #333;
}

.social-icons a:hover {
    transform: translateY(-3px); /* Elevação ao passar o mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #f8f9fa; /* Fundo mais claro no hover */
}

/* Sobre Section */
#sobre {
    background-color: #fff;
}

#sobre h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

#sobre p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Experiência Profissional Section */
#experiencia {
    background-color: #f8f9fa;
}

#experiencia h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

/* Estilização do logo na seção de experiência */
.company-logo {
    max-width: 60px; /* Menor para alinhamento lateral */
    height: auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Linha vertical central */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #ddd;
    transform: translateX(-50%);
}

/* Item da linha do tempo */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

/* Posicionamento à esquerda */
.timeline-item.left {
    left: 0;
    padding-right: 40px;
}

/* Posicionamento à direita */
.timeline-item.right {
    left: 50%;
    padding-left: 40px;
}

/* Conteúdo da experiência */
.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #555;
}

.timeline-content .text-muted {
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Marcador circular */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #333;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::before {
    right: 24px;
}

.timeline-item.right::before {
    left: 24px;
}

/* Projetos Section */
#projetos h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.github-btn{
    text-decoration: none;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 1rem;
    text-align: center;
}

/* Skills Section */
#skills {
    background-color: #f8f9fa;
}

#skills h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

.skill-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%; /* Garante que todos os cards tenham a mesma altura */
}

.skill-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px); /* Leve elevação ao passar o mouse */
}

.skill-card i {
    color: #333;
    margin-bottom: 15px;
    font-size: 2.5rem; /* Ajusta tamanho do ícone Boxicons */
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.skill-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.azure {
    text-decoration: none;
    color: #0078D4; /* Cor azul do Azure */
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #222;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

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

    .hero .lead {
        font-size: 1.2rem;
    }

    .hero .btn-primary {
        margin-right: 0;
        margin-bottom: 15px; /* Espaço abaixo do botão em telas menores */
    }

    .hero-actions {
        flex-direction: column; /* Empilha botão e ícones verticalmente */
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }

    .social-icons a i {
        font-size: 1.3rem;
    }

    .nav-link {
        margin-left: 0;
        text-align: center;
    }
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 4px;
    }

    .skill-card {
        padding: 20px;
    }

    .skill-card h3 {
        font-size: 1.3rem;
    }

    .skill-card p {
        font-size: 0.9rem;
    }

    .company-logo {
        max-width: 80px; /* Reduz tamanho em telas menores */
    }
}