/* General Styles */
body {
    font-family: 'Lora', serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* Header */
header {
    background-color: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1500px; /* largura máxima do conteúdo */
    margin: 0 auto;     /* centraliza horizontalmente */
    padding: 0 0.5rem;    /* espaçamento interno */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container h1 {
    margin-bottom: -1.5rem;
    font-size: 1.8rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.header-container h1 .highlight {
    color: #007acc;
    font-weight: 700;
}

.subtitle {
    font-size: 0.9rem;
    font-family: 'Source Sans Pro', sans-serif;
    color: #555;
    margin-bottom: 1rem;
}

.nav-links {
    list-style: none;
    display: inline-flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: #007acc;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #005b99;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007acc;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Main Layout */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-container {
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: none !important;
    padding: 2.5rem 1rem;
    margin-bottom: 2rem;
}

.section-container:hover {
    box-shadow: none !important;
    transform: none !important;
}



/* About Section */
.about-container {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 2rem
}

.about-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-container h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #007acc;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    text-align: left;
    border-radius: 8px;
    padding: 2.5rem;
}



.profile-pic {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1.2rem;
}

.about-text a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-text a:hover {
    color: #005b99;
    text-decoration: underline;
}


/* Research Section */
#research h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

#research h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #007acc;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.research-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #444;
    font-weight: 600;
}

.research-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-list li {
    margin-bottom: 1.8rem;
    line-height: 1.7;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.research-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.research-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.research-list li a:hover {
    color: #007acc;
}

.research-authors {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    display: block;
    margin-top: 0.3rem;
}

/* Teaching Section */
#teaching h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

#teaching h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #007acc;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.teaching-list {
    margin-bottom: 2rem;
}

.teaching-list h3 {
    font-size: 1.4rem;
    color: #444;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.teaching-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.teaching-list ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
}

.teaching-list ul li::before {
    content: '•';
    color: #555;
    position: absolute;
    left: 0;
}

/* Contact Section */
#contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

#contact h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #007acc;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.contact-content {
    text-align: center;
}

.contact-content p {
    margin-bottom: 1.5rem;
}

.contact-content a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #005b99;
    text-decoration: underline;
}

.social-links {
    display: flex;
    text-align: left;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #007acc;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #555; 
    transform: translateY(-3px);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007acc;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #005b99;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-pic {
        margin: 0 auto;
    }
    
    .about-text {
        text-align: left;
    }
    
    .section-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-container h1 {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .profile-pic {
        width: 200px;
        height: 200px;
    }
}