body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
}

header nav {
    margin-left: auto;
    margin-right: auto;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.carrossel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 600px; /* Defina uma altura fixa para o carrossel */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Garante que o contêiner das imagens ocupe toda a altura do carrossel */
}

.slides img {
    width: 100%;
    height: 100%; /* Faz as imagens ocuparem toda a altura do contêiner */
    object-fit: cover; /* Mantém a proporção da imagem sem distorcer */
    flex-shrink: 0; /* Impede que as imagens sejam comprimidas */
}

.apresentacao, .localizacao, .galeria, .projeto-detalhe {
    padding: 20px;
    text-align: center;
}

.equipe {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.membro img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Estilos atualizados da galeria */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.projeto {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
}

.projeto a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.projeto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projeto-titulo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.projeto:hover img {
    transform: scale(1.05);
}

.projeto:hover .projeto-titulo {
    transform: translateY(0);
}
.projeto-detalhe .imagem-principal,
.projeto-detalhe .imagens-adicionais img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
/* Galeria do Projeto */
.galeria-projeto {
    margin: 40px 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.galeria-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.galeria-item:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-conteudo {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-fechar {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 16px;
    border-radius: 4px;
}

.modal-anterior {
    left: 20px;
}

.modal-proximo {
    right: 20px;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}
