/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

/* LAYOUT PRINCIPAL */
body {
    display: flex;
    min-height: 100vh;
    background-color: white;
    overflow-x: hidden;
  }

/* MENU LATERAL */
.sidebar {
    width: 250px;
    background: #229fda;
    color: white;
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    left: 0;
    top: 0;
    transform: translateX(0);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
}

.sidebar h2 {
    color:#FF4917;
    font-size: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: 50%;
    text-align: left;
    font-family: "Font Awesome 5 Free" bold;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 12px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.sidebar li:hover {
    background: #FF4917;
}

/* ÁREA DE CONTEÚDO */
.content {
    margin-left: 250px;
    padding: 20px;
    width: 100%;
    transition: all 0.3s ease;

}

/* GALERIA */
.gallery {
    display: none;
    animation: fadeIn 0.4s ease;
    
}

.gallery.active {
    display: block;
}

.gallery h2, a {
    margin-bottom: 20px;
    color: #FF4917;
    text-align: center;
    font-size: 18px;
    text-decoration: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
   }

/* GRID DE CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.card {

    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.card p {
    margin-top: 10px;
    font-weight: bold;
    color: #374151;
}

/* BOTÃO HAMBÚRGUER */
.hamburger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 28px;
    background: #1f2937;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVIDADE */
@media screen and (max-width: 768px) {
    /* Menu recolhido fora da tela */
    .sidebar {
        transform: translateX(-260px);
    }

    /* Menu ativo com slide-in */
    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
        padding: 15px;
    }

    .hamburger {
        display: block;
    }
}
/* ===== Efeito de zoom nas imagens dentro dos cards da galeria ===== */
.sidebar + .content /* apenas um seletor de contexto — opcional */ .grid .card img {
  transition: transform 0.4s ease;
  /* deixar como está no estilo base: largura total do card */
  width: 100%;
  height: auto;
  object-fit: cover; /* para manter proporção, se quiser */
  cursor: zoom-in;
}

.sidebar + .content .grid .card:hover img {
  transform: scale(1.1);
}

/* ===== Estilo do botão WhatsApp personalizado ===== */
/* Evitando nomes genéricos, prefixo “prod-” para evitar conflito */
.prod-whatsapp-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background-color: #8abcc5a4;
  color: rgb(26, 25, 25);
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.prod-whatsapp-btn:hover {
  background-color: rgb(32, 121, 236);
}

/* ===== Ajustes para responsividade / espaçamento ===== */
.grid .card .descricao-adicional {
  margin-top: 6px;
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

/* Se em telas menores quiser que o botão ocupe largura total (opcional) */
@media (max-width: 480px) {
  .prod-whatsapp-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}


/* ANIMAÇÃO DAS GALERIAS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
