* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gallery {
  margin-left: 16rem;
  min-height: 100vh;
  padding: 2rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  width: calc(100% - 16rem);
}

.galleryHeader {
  margin-bottom: 2rem;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: #e986ac;
  margin-bottom: 0.5rem;
  font-family: system-ui, sans-serif;
  text-shadow: 0 0 1px #b0306099, 0 0 18px #ff38b399;
  background-clip: text;
}

.subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 0;
    margin-top: 10px;
}

.imageGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.imageCard {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.imageCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.imageContainer {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.imageCard:hover .image {
  transform: scale(1.05);
}

.imageOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10;
}

.imageCard:hover .imageOverlay {
  transform: translateY(0);
}

.imageInfo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modelName {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
  font-style: italic;
}

/* Empty State */
.emptyState {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  color: #64748b;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

/* Load More Section */
.loadMoreContainer {
  display: flex;
  justify-content: center;
  margin: 3rem 0 2rem 0;
}

.loadMoreButton {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.loadMoreButton:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.loadMoreButton:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery {
    margin-left: 0;
    width: 100%;
    padding: 1rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .imageGrid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .imageOverlay {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.8);
    margin-top: -4rem;
    margin-bottom: 0;
    padding: 1rem;
  }

  .imageCard:hover .imageOverlay {
    transform: none;
  }
}

@media (max-width: 640px) {
  .gallery {
    padding: 1rem;
  }
  
  .title {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .subtitle {
    text-align: center;
  }
  
  .imageGrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .imageContainer {
    height: 300px;
  }

  .loadMoreButton {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}
