/* Reset CSS Básico */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Garante que não haja rolagem horizontal */
}

html {
  font-size: 18px;
}

/* Layout Principal (removido do inline) */
.main-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container-left {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex: 1;

}

.container-right {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex: 1;

    text-align: center;
}

/* Estilos da Imagem de Perfil */
.profile-picture {
    max-width: 250px;
    height: auto;
    object-fit: cover;
    border: 5px solid #ddd;
}

/* Estilos do Título e Subtítulo */
h1.display-5 {
    color: black;
    margin-bottom: 0.5rem;
}

p.text-muted {
    color: #666 !important; /* Usando !important para sobrescrever Bootstrap, se necessário */
}

/* Estilos dos Botões de Contato e Redes Sociais */
.contact-button {
    border-radius: 0;
    padding: 0.7rem 9rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.contact-button:hover {
    background-color: #212529;
    transform: translateY(-2px);
}

.social-icons-container {
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon-btn {
    color: #333;
    transition: color 0.3s ease, transform 0.2s ease;
}
.social-icon-btn:hover {
    color: #007bff;
    transform: translateY(-2px);
}
.social-icon-btn svg {
    width: 32px;
    height: 32px;
}

/* Estilos da Seção "Sobre Mim" */
.section-title {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    /* text-decoration: underline; */
}

.about-content {
    max-width: 800px;
    margin-bottom: 2rem;
}

.about-summary {
    font-size: 1rem;
    line-height: 1.4;
    color: #555;
    margin-bottom: 0.5rem;
    text-align: center;
}

.skills-title {
    font-size: 1.2rem;
    text-decoration: underline;
    color: black;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.skill-category {
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.skill-category h4 {
    font-size: 1rem;
    text-align: center;
    color: black;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.skill-tag:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Tooltip para as habilidades */
.skill-tag .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0,0,0,0.9);
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Posição acima do elemento */
    left: 50%;
    margin-left: -100px; /* Centraliza o tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    line-height: 1.3;
}

.skill-tag .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.9) transparent transparent transparent;
}

.skill-tag:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Estilos para o grupo de botões (Currículo/Projetos) */
.button-group-about {
    gap: 3rem;
}

.portfolio-action-btn {
    border-radius: 0;
    padding: 0.6rem 3.85rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.portfolio-action-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}


/* Responsividade para telas menores */
@media (max-width: 991.98px) { /* Breakpoint para telas médias (Bootstrap md) */
    .main-content {
        flex-direction: column;
        height: auto; /* Permite rolagem vertical */
        min-height: 100vh;
    }

    .container-left,
    .container-right {
        height: auto; /* Altura automática para conteúdo */
        padding: 3rem 1rem; /* Mais padding vertical em mobile */
        width: 100%;
    }

    .profile-picture {
        max-width: 200px; /* Reduz o tamanho da imagem em mobile */
    }

    .contact-button {
        padding: 0.7rem 3rem; /* Ajusta padding para mobile */
    }

    .button-group-about {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        padding: 0 1rem;
    }

    .portfolio-action-btn {
        width: 100%;
        padding: 0.8rem 2rem;
    }

    .skills-container {
        padding: 0 1rem;
    }
}