/* Gallery styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.container {
  grid-template-columns: 1fr;
  padding: 1rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

/*
.card:hover {
  transform: translateY(-5px);
}
*/

section {
  height: auto;
  align-items: flex-start;
  padding-bottom: 5rem;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card p {
  padding: 1rem;
  margin: 0;
  font-size: small;
  color: #333;
}

/* Tablet styles */
@media (min-width: 530px) and (max-width: 866px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 2rem;
  }
}

/* Mobile responsive for gallery */
@media (max-width: 529px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card {
    max-width: 100%;
  }
}

/* Ultrawide styles */
@media (min-width: 2890px) {
  .gallery {
    grid-template-columns: repeat(6, minmax(220px, 1fr));
  }
}
