/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
    padding-top: 70px; /* Espaço para o menu fixo */
}

/* Menu de navegação */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    color: #fff;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    display: flex;
    align-items: center;
    color: #bbb;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #ffb400;
    background: rgba(255, 180, 0, 0.1);
}

/* Classe para esconder elementos visualmente, mas mantê-los para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/*  */

.resume-contents {
    display: flex;
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.left-section {
    background: #222;
    color: #fff;
    width: 320px;
    min-width: 260px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    text-align: center;
    margin-bottom: 32px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 16px;
}

/* .menu-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 16px;
} */


.name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profession {
    font-size: 1rem;
    font-weight: 400;
    color: #bbb;
}

.contact-info {
    margin-bottom: 32px;
    width: 100%;
}

.left-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffb400;
    letter-spacing: 1px;
}

.contact-info ul,
.skills ul {
    list-style: none;
    padding-left: 0;
}

.contact-info li,
.skills li {
    margin-bottom: 8px;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px;
    color: #ffb400;
    font-size: 1.1em;
}

.contact-info a {
    color: #ffb400;
    text-decoration: none;
    margin-left: 4px;
}

.skills {
    margin-bottom: 32px;
    width: 100%;
}

.skills ul li {
    font-size: 0.97rem;
    margin-bottom: 4px;
    display: block;
}

.right-section {
    flex: 1;
    padding: 32px 36px;
    background: #fff;
}

.right-section-contents {
    width: 100%;
}

.right-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.gap {
    margin-bottom: 32px;
}

.about-me-contents {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    text-align: justify;
}

.experience-contents,
.education-contents,
.awards-contents {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.experience-contents > .exp-left,
.education-contents > .education-left,
.awards-contents > .awards-left {
    min-width: 140px;
}

.exp-company-name,
.education-school-name,
.awards-company-name {
    font-weight: 700;
    color: #ffb400;
    font-size: 1rem;
}

.exp-time-period,
.educationp-time-period,
.awards-time-period {
    font-size: 0.95rem;
    color: #888;
}

.exp-right,
.education-right,
.awards-right {
    margin-left: 18px;
}

.exp-position,
.awards-name {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
}

section ul {
    list-style: none;
    padding-left: 0;
}

/* Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.project-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    flex: 1;
}

.project-icon {
    font-size: 1.5rem;
    color: #ffb400;
    margin-left: 12px;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
    text-align: justify;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #222;
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Rodapé */
footer {
    width: 100%;
    background: none;
    padding: 20px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .resume-contents {
        flex-direction: column;
        max-width: 98vw;
    }
    .left-section {
        width: 100%;
        min-width: unset;
        padding: 24px 12px;
    }
    .right-section {
        padding: 24px 12px;
    }
}