body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #333;
}

.form-cadastro {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.form-cadastro label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-cadastro input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-cadastro button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-cadastro button:hover {
    background-color: #0056b3;
}

#filtro {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.listagem {
    display: flex;
    flex-direction: column; /* Empilhar os cards verticalmente */
    gap: 20px;
}

.card {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%; /* Cada card ocupa 100% da largura */
    margin-bottom: 20px;
}

.card-column {
    padding: 20px;
}

.card-logo {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px; /* Largura fixa para o logotipo */
    height: 100%; /* Ocupa toda a altura do card */
    flex-shrink: 0;
    padding: 10px; /* Espaço interno ao redor do logotipo */
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garante que o logotipo preencha o espaço sem distorção */
    border: 2px solid #fff; /* Borda branca ao redor do logotipo */
    border-radius: 5px; /* Bordas arredondadas */
}

.card-info {
    flex: 1;
}

.card-info h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.card-info p {
    margin: 5px 0;
    font-size: 14px;
}

.card-gallery {
    flex: 1;
}

.card-gallery h4 {
    margin: 0 0 5px;
    color: #333;
    font-size: 16px;
    font-weight: normal;
}

.fotos {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    justify-content: flex-start; /* Alinhar à esquerda */
}

.foto {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer; /* Indica que a foto é clicável */
}

.card-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.map-wrapper {
    margin-bottom: 10px;
    width: 200px; /* Definir largura fixa */
    height: 150px; /* Definir altura fixa */
}

.map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0.8;
    filter: grayscale(20%);
}

.custom-marker div {
    width: 10px;
    height: 10px;
    background-color: #ff00ff;
    border-radius: 50%;
    border: 2px solid #fff;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.btn-como-chegar {
    background-color: #6f42c1;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilo para clientes mínimos */
.minimal-clients {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.minimal-logo {
    display: block;
    text-align: center;
}

.minimal-logo-img {
    width: 280px;
    height: 170px;
    object-fit: contain;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: #000;
    padding: 10px;
}

/* Estilo do Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: 15% auto;
    width: 80%;
    max-width: 500px; /* Tamanho maior para a foto ampliada */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Media query para telas menores (celular) */
@media (max-width: 768px) {
    .card {
        flex-direction: column; /* Empilhar as colunas verticalmente */
    }

    .card-logo {
        width: 100%;
        height: 150px; /* Altura fixa no celular para evitar distorção */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .logo {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Mantém a proporção do logotipo */
        border: 2px solid #fff; /* Borda branca ao redor do logotipo */
        border-radius: 5px; /* Bordas arredondadas */
    }

    .card-info {
        width: 100%;
        padding: 10px;
        text-align: center; /* Centralizar texto para melhor aparência */
    }

    .card-gallery {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .fotos {
        justify-content: center; /* Centralizar as fotos no celular */
    }

    .card-map {
        width: 100%;
        padding: 10px;
        align-items: center;
    }

    .map-wrapper {
        width: 100%;
        max-width: 200px; /* Definir largura máxima */
        height: 150px; /* Definir altura fixa */
    }

    .map {
        width: 100%;
        height: 100%;
    }

    .buttons {
        width: 100%;
        justify-content: center;
    }

    .minimal-clients {
        flex-direction: column;
        align-items: center;
    }

    .minimal-logo-img {
        width: 100%;
        max-width: 280px;
        height: 170px;
    }
}