/* Capa inicial com imagem de fundo */
.capa {
    background: url('../images/capa.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    position: relative;
}

/* Sobreposição escura */
.capa .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.topo {
    background-color: rgba(97, 58, 19, 0.901);
}

/* Conteúdo da capa */
.conteudo-capa {
    position: relative;
    z-index: 2;
}

.conteudo-capa h1 {
    font-size: 3rem;
}

@media (min-width: 768px) {
    .conteudo-capa h1 {
        font-size: 4.5rem;
    }
}

.apresentacao {
    background-color: rgb(97, 58,19);
    color: #555;
    font-size: 1rem;
}

.apresentacao h2 {
    font-size: 2rem;
    letter-spacing: 0.5px;
}

.apresentacao .letter-spacing {
    letter-spacing: 3px;
}

/* Sobre */
.sobre {
    background-color: rgb(251 176 59);
}

.sobre h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.sobre p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Galeria */
.galeria {
    background-color: rgb(97, 58,19);
}

.img-container {
    height: 250px;
    position: relative;
    cursor: pointer;
}

.img-container img {
    object-fit: cover;
    height: 100%;
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Overlay */
.img-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.img-container:hover .overlay {
    opacity: 1;
}

.text-overlay h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.text-overlay p {
    font-size: 0.9rem;
    margin: 0;
}
.realizacao {
    background-color: rgb(97, 58,19);
}