
#title{
  padding-top: 8em;
}


lembrancinhas-page,
.bolos-page,
.outros-page {
  padding-top: 40px;
}

.page-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--verde-destaque);
  margin: 20px 0 15px;
}

.description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  padding: 0 15px;
}

/* =========================================================
   GALERIA EM GRID
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
  margin-top: 15px;
  position: relative;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2.8 / 4; /* altura proporcional */
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  z-index: 10;
}

/* Efeito: desfoca as outras imagens quando o hover está ativo */
.gallery:hover .gallery-item:not(:hover) {
  filter: blur(2px) grayscale(10%);
  opacity: 0.9;
  transition: filter 0.3s, opacity 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
  margin-bottom: 0;
}

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

/* =========================================================
   BOTÃO VOLTAR
   ========================================================= */
.back-button {
  display: block;
  width: fit-content;
  margin: 40px auto 20px;
  padding: 12px 28px;
  background: var(--verde-destaque);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, transform 0.2s;

}

.back-button:hover {
  background: #d81b60;
  transform: translateY(-3px);
}

.back-button i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    padding: 0 15px;
  }
  .lembrancinhas-page,
  .bolos-page,
  .outros-page {
    padding-top: 30px;
  }
}
