/* Custom styles to complement Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Artwork card hover effect */
.artwork-card {
  transition: box-shadow 0.2s ease;
}

.artwork-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Masonry grid for artworks */
.masonry-grid {
  column-count: 2;
  column-gap: 1.5rem;
}

@media (min-width: 768px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 4;
  }
}

@media (min-width: 1280px) {
  .masonry-grid {
    column-count: 5;
  }
}

.masonry-grid .artwork-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* Loading animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Turnstile widget styling */
.cf-turnstile {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
}

/* Modal overlay */
.modal-overlay {
  backdrop-filter: blur(4px);
}
