:root {
    --cinza-escuro: #1f1f1f;
    --cinza-medio: #2c2c2c;
    --rosa: #fd72a1;
    --rosa-hover: #ff9fc2;
    --branco: #ffffff;
    --cinza-claro: #d3d3d3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--cinza-escuro);
    color: var(--branco);
    line-height: 1.6;
     padding-top: 100px;
}

/* Header */
header {
    background-color: var(--cinza-escuro);
    border-bottom: 2px solid var(--rosa);
    padding: 0.5rem 2rem;
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container img {
    height: 4rem;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu a.btn {
  
    color: var(--branco);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
    text-decoration: none;
}

.menu a.btn:hover {
  
    color: var(--cinza-escuro);
}

.user-info {
    color: var(--branco);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text {
    margin-left: 0.3rem;
}

/* Container principal */
.container {
    padding: 2rem;
    max-width:100%;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: var(--rosa);
    margin-bottom: 2rem;
    font-size:3vh;
}

/* Filtro Cidade */
.filtro-cidade {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

label[for="filtroCidade"] {
    font-weight: bold;
    color: var(--branco);
    margin-right: 8px;
}

#filtroCidade {
    background-color: var(--cinza-medio);
    color: var(--rosa);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#filtroCidade:hover {
    border-color: var(--rosa-hover);
}

#filtroCidade:focus {
    border-color: var(--rosa-hover);
    box-shadow: 0 0 5px var(--rosa-hover);
}

/* Grid de anúncios */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:0.5rem;
}

.anuncio-card {
    background-color: var(--cinza-medio);
    border-radius: 10px;
    overflow: hidden;
   display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.anuncio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--rosa);
}

.anuncio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.anuncio-card h2 {
    color: var(--branco);
    font-size: 1rem;
   padding: 10px 10px 0;
}

.anuncio-card .descricao {
    color: var(--cinza-claro);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.anuncio-card .cidade {
    font-size: 0.9rem;
    color: var(--rosa-hover);
      padding:0px 10px 0;
    
}

.anuncio-card .avaliacao {
    display: flex;
    gap: 0.3rem;
    color: var(--rosa);
    margin-top: auto;
    padding: 0px 10px 10px;
    font-weight:300;
}

.estrela {
    color: #999;
}

.estrela.full {
    color: #ffd700;
}

/* Links Gerais */
a {
    color: var(--branco);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--rosa-hover);
}

/* Rodapé */
footer {
    background-color: var(--cinza-medio);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--cinza-claro);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left img {
    width: 100px;
    opacity: 0.7;
    filter: grayscale(1);
}

.footer a {
    color: var(--rosa);
    margin: 0 0.5rem;
}

.footer a:hover {
    color: var(--rosa-hover);
}

/* Formulários */
form {
    width: 100%;
    max-width: 400px;
    background-color: var(--cinza-medio);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem auto;
    color: var(--branco);
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: var(--cinza-escuro);
    color: var(--branco);
}

input[type="submit"], button {
    background-color: var(--rosa);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--branco);
    font-weight: bold;
}

input[type="submit"]:hover, button:hover {
    background-color: var(--rosa-hover);
}

/* Página de perfil */
.perfil-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 1rem;
}

.perfil-card {
    background-color: var(--cinza-medio);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

.perfil-imagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.perfil-info {
    flex: 2 1 400px;
}

.perfil-info h1 {
    font-size: 2rem;
    color: var(--rosa);
    margin-bottom: 1rem;
}

.perfil-info p {
    color: var(--cinza-claro);
    margin-bottom: 0.7rem;
}

/* Botões contato */
.botoes-contato {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp, .btn-ligar {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

.btn-ligar {
    background-color: #ff4d4d;
}

.btn-ligar:hover {
    background-color: #e63b3b;
}

/* Responsivo */
@media (max-width: 768px) {
   
    .grid {
    grid-template-columns: 1fr;display: grid;
    grid-template-columns: repeat(2, 1fr); /* duas colunas */
    }

    .perfil-card {
        flex-direction: column;
        padding: 1rem;
    }
}
