/* Reset básico */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Fundo */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fundo_servico.jpg') no-repeat center center/cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 53, 20, 0.8);
    /* Controle de opacidade */
    z-index: -1;
}

/* Conteúdo */
.content {
    text-align: center;
    color: white;
    position: relative;
    padding: 20px;
}

.logo {
    margin: 20px auto;
    width: 350px;
    /* Controle de tamanho */
}

.title {
    font-size: 2.5rem;
    margin: 120px 0;
}

.titulo_servicos {
    font-size: 50px;
}

.container-texto {
    font-size: 18px;
    max-width: 1000px;
    /* Defina o tamanho máximo */
    margin: 0 auto;
    /* Centraliza o texto horizontalmente */
    padding: 20px;
    /* Adiciona um pequeno espaço interno */
    text-align: center;
    /* Alinha o texto ao centro */
}

/*.description {
    font-size: 1.2rem;
    margin-bottom: 40px;
}*/

.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.t-nome_local {
    font-size: 20px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 0;
}

.link-item {
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    /* Fundo semitransparente */
    border: 1px solid white;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    width: 200px;
    padding: 10px;
    transition: transform 0.3s;
    margin-top: 30px;
}

.link-item:hover {
    transform: scale(1.05);
}

.link-item img {
    width: 100%;
    /*border-bottom: 1px solid white;*/
    margin-bottom: 10px;
    border-radius: 5px;
}

.link-item h2 {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
}

.link-item p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Botão voltar */
.back-button {
    margin-top: 40px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    color: black;
    cursor: pointer;
    transition: background 0.3s;
}

.back-button:hover {
    background: white;
}