/* user_style.css - Versão original com ajustes mobile */

/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    text-decoration: none;
    overflow-x: hidden;
}

/* Estilo do cabeçalho */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #000;
}

.header img {
    max-width: 150px;
    height: auto;
}

/* Container principal */
.container {
    width: 95%;
    margin: 15px auto;
    text-align: center;
}

h1 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

/* Estilo do formulário de pesquisa */
.search-form {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-form input[type="text"] {
    padding: 10px;
    width: 70%;
    border-radius: 5px 0 0 5px;
    border: 1px solid #555;
    outline: none;
    font-size: 16px;
    background-color: #333;
    color: #fff;
}

.search-form button {
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    border: none;
    background-color: #ff0086;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s, transform 0.2s;
    width: 30%;
}

.search-form button:hover {
    background-color: #25D366;
    transform: scale(1.05);
}

/* Filtro de cidades */
.city-filter {
    margin: 20px 0;
}

.city-filter h3 {
    color: #0ba4f3;
    margin-bottom: 10px;
}

.city-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.city-button {
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.city-button:hover {
    background-color: #ff0086;
}

/* Estilo dos cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
}

.card {
    background-color: #222;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    margin-bottom: 10px;
}

.card h2 {
    margin: 10px 0;
    font-size: 18px;
    color: #0ba4f3;
}

.card p {
    margin: 5px 0;
    font-size: 14px;
    color: #ccc;
}

.city {
    color: #ff0086;
    font-weight: bold;
}

.whatsapp-button {
    margin-top: 10px;
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    width: auto;
}

.whatsapp-button:hover {
    background-color: #1ebf5b;
    transform: scale(1.05);
}

/* Mensagem sem resultados */
.no-results {
    color: #fff;
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

/* Responsividade */
@media (min-width: 600px) {
    .header img {
        max-width: 200px;
    }
    
    h1 {
        font-size: 30px;
    }
    
    .search-form input[type="text"] {
        width: 300px;
    }
    
    .search-form button {
        width: auto;
        padding: 10px 20px;
    }
    
    .card {
        width: 280px;
    }
}

@media (min-width: 768px) {
    .card-container {
        justify-content: space-around;
    }
}