.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 10px;
  margin: 20px auto;
  max-width: 1200px;
  padding: 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:active {
  transform: scale(1.02);
}

/*.section {
  background-color: #0207FE;
}*/
.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  border: 5px solid #0207FE;
  box-shadow: 0 0 15px #000;
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.gallery-item img {
  cursor: zoom-in;
}

#whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(to right, #1abc9c, #3498db);
  border-radius: 10px;
  padding: 10px 20px;
  color: black;
  font-size: 20px;
  text-decoration: none;
  animation: bounce 5s infinite;
  transition: width 0.4s linear;
  width: 45%;
  height: 50px;
}

#whatsapp-button:hover {
  width: 200px;
}

#whatsapp-button .icon {
  width: 24px;
  height: 24px;
  fill: black;
}

@keyframes bounce {
  0% { transform: translate(0px); }
  50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
  #whatsapp-button {
    width: 90%;
    height: 60px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #whatsapp-button {
    width: 95%;
    height: 55px;
    font-size: 14px;
  }

  #whatsapp-button .icon {
    width: 20px;
    height: 20px;
  }
}

