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

body {
    font-family: 'Bebas Neue', cursive;
    background: linear-gradient(135deg, #3D2C8D, #222222);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
nav {
    background-color: #232f3e;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-social {
    display: flex;
    gap: 1rem;
}

.nav-social a {
    background-color: #232f3e;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s;
}

.nav-social a:hover {
    background-color: #f7c948;
}

.nav-social-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.nav-social a:hover .nav-social-icon {
    filter: invert(0);
}

nav h1 {
    color: #3D2C8D;
    font-size: 2rem;
}

.logo {
    height: 80px;
    width: auto;
    max-width: 200px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #f7c948;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f7c948;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-links a {
    background-color: #232f3e;
    color: #ffffff;
    padding: 1rem;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.social-links a:hover {
    background-color: #f7c948;
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.social-links a:hover .social-icon {
    filter: invert(0);
}

/* About Section */
.about-section {
    padding: 2rem 0 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f7c948;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        width: 250px;
        height: 250px;
    }
}

/* Sections */
.section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #3D2C8D, #222222);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #f7c948;
}

/* Blog */
.blog-posts {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.post {
    background-color: #232f3e;
    padding: 2rem;
    border-radius: 10px;
}

.post h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f7c948;
}

.post p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.read-more {
    color: #f7c948;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: #ffffff;
}

/* Palestras */
.palestras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.palestra {
    background-color: #232f3e;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.palestra h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f7c948;
}

.palestra-date {
    color: #f7c948;
    font-size: 1rem;
    margin-bottom: 0.5rem !important;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.palestra p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.download-btn {
    background-color: #f7c948;
    color: #232f3e;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
    font-weight: bold;
    margin-top: 1rem;
}

.download-btn:hover {
    background-color: #ffffff;
    color: #232f3e;
}

/* Curriculum Section */
.curriculum-section {
    padding: 5rem 0;
}

.curriculum-content {
    max-width: 1000px;
    margin: 0 auto;
}

.curriculum-block {
    margin-bottom: 3rem;
}

.curriculum-block h3 {
    font-size: 2rem;
    color: #f7c948;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f7c948;
    padding-bottom: 0.5rem;
}

.job, .education {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid #3D2C8D;
}

.job h4, .education h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.company, .institution {
    color: #f7c948;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Times New Roman', Times, serif;
}

.job-desc {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background-color: #232f3e;
    color: #f7c948;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    border: 2px solid #f7c948;
    display: inline-block;
}

/* Eventos */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .eventos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}

.evento {
    background-color: #232f3e;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.evento-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.evento h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f7c948;
}

.evento-date {
    color: #f7c948;
    font-size: 1rem;
    margin-bottom: 0.5rem !important;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.evento p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.evento-btn {
    background-color: #f7c948;
    color: #232f3e;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
    font-weight: bold;
    margin-top: 1rem;
}

.evento-btn:hover {
    background-color: #ffffff;
    color: #232f3e;
}

.evento-encerrado {
    position: relative;
    opacity: 0.7;
}

.evento-encerrado::before {
    content: "ENCERRADO";
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ff4444;
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 2;
    border-radius: 3px;
}

.evento-encerrado .evento-btn {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-social {
        order: -1;
    }
    
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 160px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 100px;
    }
}
