/* Reset e base */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    position: relative;
    background-color: #2e4d1c;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Cabeçalho */
header {
    padding: 20px;
    background-color: #4a553f;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-container {
    display: flex;
    align-items: center;
}

header img {
    width: 80px;
    margin-right: 20px;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #d4af37;
}

nav {
    background-color: #4a553f;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

nav a {
    color: #d4af37;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    padding: 10px 0;
}

/* Slideshow de fundo */
.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Conteúdo principal */
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 20px 50px 20px;
    text-shadow: 1px 1px 2px black;
    flex: 1;
}

/* Frase final */
.frase-final {
    background-color: #4a553f;
    color: #d4af37;
    padding: 18px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    margin-top: 20px;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Rodapé */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 15px;
    background-color: #2e4d1c;
    position: relative;
    margin-top: 10px;
    width: 100%;
    z-index: 10;
    text-align: center;
    font-size: 12px;
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Menu responsivo */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: 20px;
    }

    nav {
        display: none;
        flex-direction: column;
        background-color: #4a553f;
        position: absolute;
        top: 80px;
        left: 10px;
        border-radius: 10px;
        padding: 10px;
        width: fit-content;
        max-width: 90%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        display: flex;
    }
}

/* Estilos para eventos */
.evento-box {
    background-color: rgba(74, 85, 63, 0.8);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    flex: 1 1 45%;
    max-width: 45%;
}

.evento-box img {
    width: 50%;
    display: block;
    margin: 15px auto;
    border-radius: 10px;
}

.campos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

@media (max-width: 768px) {
    .evento-box {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* Estilo para box do associe-se */
.associe-box {
    background-color: rgba(74, 85, 63, 0.8);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.associe-box p {
    margin-bottom: 15px;
}

.associe-box p.destaque {
    color: #d4af37;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
}

/* Animações suaves em botões e links */
a, button {
    transition: all 0.3s ease;
}

a:hover, button:hover {
    background-color: #c9a235;
    transform: scale(1.05);
    color: #ffffff;
}
