/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1A237E, #8D6E63);
    color: white;
    letter-spacing: 0.5em;
    letter-spacing: 5px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.content-container {
    background-color: transparent;
    /* Fundo transparente */
    padding-top: 20px;
    padding-bottom: 20px;
}

.content-container a {
    color: yellow;
    text-decoration: none;
}

header {
    background: rgba(0, 0, 0, 0.5);
    /* Cor de fundo com 50% de opacidade */
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* Para manter o cabeçalho sobre todo o conteúdo */
}

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

header nav {
    display: block;
}

header nav.active {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

header nav ul li {
    margin: 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

input {
    font-size: 20px;
}

label {
    font-size: 20px;
}

.banner {
    height: 560px;
    /* Altura fixa das imagens do carrossel */
    position: relative;
    overflow: hidden;
    margin-top: 112px;
    /* Margem removida */
}

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

.banner .text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 1;
    max-width: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo preto com 50% de opacidade */
    padding: 10px;
}

.banner .text-overlay h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.banner .text-overlay p {
    font-size: 18px;
}

.banner img.active {
    opacity: 1;
}

.content,
.map-form,
.text-photo,
.photo-row {
    background-color: rgba(0, 0, 0, 0.4);
    /* Fundo branco transparente */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 10px auto;
    /* Margem de 10px para separar os conteúdos */
    display: flex;
    align-items: center;
}

.content img,
.text-photo img {
    text-align: center;
    max-width: 45%;
    margin-right: 20px;
    margin-left: 20px;
    /* Espaçamento entre a imagem e o texto */
}

.imagem img,
.text-photo img {
    text-align: center;
    max-width: 100%;
    margin-right: 20px;
    margin-left: 20px;
    /* Espaçamento entre a imagem e o texto */
}

.imagem3 img,
.text-photo img {
    text-align: center;
    max-width: 28%;
    margin-right: 20px;
    margin-left: 20px;
    /* Espaçamento entre a imagem e o texto */
}

.imageCenter {
    text-align: center;
}

.content iframe {
    margin-right: 20px;
    margin-left: 20px;
    /* Espaçamento entre o vídeo e o texto */
}

.content video {
    margin-right: 20px;
    margin-left: 20px;
    /* Espaçamento entre o vídeo e o texto */
}

.map-form iframe {
    width: 45%;
    height: 300px;
    margin-right: 20px;
    margin-left: 20px;
    /* Espaçamento entre o mapa e o formulário */
}

.map-form form {
    width: 45%;
}

.gallery {
    background-image: linear-gradient(to right, rgba(255, 155, 0, 0.7), rgba(255, 55, 0, 0.3));
    /* Fundo branco transparente */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 10px auto;
    /* Margem de 10px para separar os conteúdos */
}

.gallery .photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gallery .photo-grid img {
    width: 20%;
    margin: 1%;
    cursor: pointer;
}

.photo-row img {
    width: 25%;
}

footer {
    background: #333;
    color: white;
    padding: 20px 0;
    margin-top: 10px;
    /* Margem de 10px para separar dos conteúdos anteriores */
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content img {
    width: 100%;
}

.caption {
    text-align: center;
    color: white;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    header .container {
        justify-content: center;
    }

    header nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 999;
        display: none;
    }

    header nav.active {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    .banner .text-overlay {
        max-width: 80%;
        bottom: 20px;
        left: 20px;
    }

    .banner .text-overlay h1 {
        font-size: 24px;
    }

    .banner .text-overlay p {
        font-size: 16px;
    }

    .content,
    .map-form,
    .text-photo,
    .photo-row {
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
        /* Ajuste de padding para responsividade */
    }

    .content img,
    .text-photo img {
        max-width: 100%;
        margin: 20px 0;
    }

    .map-form iframe,
    .map-form form {
        width: 100%;
        margin-bottom: 20px;
    }

    .gallery .photo-grid img {
        width: 45%;
    }

    .photo-row img {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .banner .text-overlay {
        max-width: 100%;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .banner .text-overlay h1 {
        font-size: 18px;
    }

    .banner .text-overlay p {
        font-size: 16px;
    }
}