/* ===== RESET ===== */

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

/* ===== BASE ===== */

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f9f9f9;
    padding-top: 70px; /* Prevent overlap with fixed navbar */
}

/* ===== NAVBAR ===== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

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

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links a.active {
    border-bottom: 2px solid black;
}

/* ===== HERO ===== */

.hero {
    position: relative;
    background: url('images/abstract-hero.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.hero h1,
.hero p {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.hero p {
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== CONTENT ===== */

section {
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    border-left: 4px solid #000;
    padding-left: 10px;
}

p {
    margin-bottom: 15px;
}

ul {
    margin: 15px 0 25px 20px;
}

ul li {
    margin-bottom: 10px;
}

/* ===== BUTTON ===== */

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #333;
}

/* ===== CONTACT FORM ===== */

form {
    max-width: 600px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Button inside form */
form .btn {
    width: fit-content;
    cursor: pointer;
}

/* Contact section */
.contact {
    text-align: center;
}

.contact h2 {
    margin-bottom: 10px;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 20px auto;
}


.success-message {
    text-align: center;
    color: green;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===== COLLAGE ===== */

.collage-banner {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 40px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.collage-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(15%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.collage-banner img:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
}


/* ===== EVENTOS ===== */

.event {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.event-img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    margin-bottom: 10px;
}

/* ===== CONTACT INFO ===== */

.contact-info {
    max-width: 600px;
    margin: 40px auto 0 auto;
    text-align: center;
    line-height: 1.8;
}


/* Mobile */
@media (max-width: 768px) {
    .event {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-img {
        max-width: 100%;
        height: 220px;
    }
}

/* ===== SPONSORS ===== */

.sponsors {
    text-align: center;
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
}

.sponsors h2 {
    margin-bottom: 30px;
}

.sponsors-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
}

.sponsors-logos img {
    max-width: 120px;
    margin: 0 auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sponsors-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}



/* ===== FOOTER ===== */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .collage-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .collage-banner img {
        height: 140px;
    }

    form {
        padding: 0 10px;
    }
}