/* ==========================================================================
   Academic Manifesto Theme for OpenUFU Website
   Minimalist, Clean, Reading-focused
   ========================================================================== */

:root {
    --bg-color: #FAFAFA;
    --text-color: #2D3748;
    --text-muted: #718096;
    --accent-color: #2B6CB0; /* Deep subtle blue */
    --accent-hover: #1A365D;
    --border-color: #E2E8F0;
    
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    
    --content-width: 800px;
    --spacing-section: 4rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("/assets/Gemini_Generated_Image_6qxtkq6qxtkq6qxt-b045b952.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg-color); /* Fallback */
    
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 1.125rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Semi-transparent overlay to ensure text remains readable over the background image */
.content-wrapper {
    padding-top: 6rem;
    padding-bottom: 4rem;
    background-color: rgba(250, 250, 250, 0.85); /* Adjust opacity as needed */
    min-height: 100vh;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #1A202C;
    line-height: 1.3;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

strong {
    font-weight: 600;
    color: #1A202C;
}

em {
    font-style: italic;
    color: var(--accent-color);
}

ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: #1A202C;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.manifesto {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.manifesto-header {
    margin-top: 4rem;
    margin-bottom: 5rem;
    text-align: left;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.text-section {
    margin-bottom: var(--spacing-section);
}

.text-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Academic Areas (Cursos)
   ========================================================================== */
.academic-areas {
    margin-top: 2rem;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
}

.area-item {
    margin-bottom: 2.5rem;
}

.area-item h3 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.area-item p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* ==========================================================================
   Conclusion & Contact
   ========================================================================== */
.conclusion {
    background-color: #F1F5F9;
    padding: 3rem;
    border-radius: 8px;
    margin-top: 6rem;
}

.conclusion h2 {
    border-bottom: none;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.email-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.manifesto-footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(5px);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .text-section h2 {
        font-size: 1.75rem;
    }
    
    .academic-areas {
        padding-left: 1rem;
    }
    
    .conclusion {
        padding: 2rem;
    }
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.form-section {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-section);
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.btn-submit {
    margin-top: 1rem;
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

.btn-submit:active {
    transform: translateY(1px);
}

.form-feedback {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 6px;
    background-color: #E6FFFA;
    border: 1px solid #38B2AC;
    color: #234E52;
    font-weight: 500;
    text-align: center;
}

.hidden {
    display: none;
}
