/* ==========================================================================
   ARTIST & ARTWORK CARDS
   ========================================================================== */

.artist-card,
.artwork-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: box-shadow 0.15s ease;
}

/* Subtle hover effect (no lift) */
.artist-card:hover,
.artwork-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

/* Image zoom on hover */
.artist-card img,
.artwork-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.artwork-card:hover img {
  transform: scale(1.05);
}

/* Card titles */
.artist-card h3,
.artwork-card h4 {
  padding: 1rem;
  font-size: 1rem;
}


/* ==========================================================================
   LIGHTBOX (Artwork Modal)
   ========================================================================== */

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 9999;
}

.lightbox-content {
  background: white;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;        /* Prevent modal from exceeding screen height */
  overflow-y: auto;        /* Scroll if content is tall */
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  animation: fadeIn 0.2s ease-out;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 70vh;        /* Default for laptops */
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Phones */
@media (max-width: 600px) {
  .lightbox-content img {
    max-height: 60vh;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .lightbox-content img {
    max-height: 80vh;
  }
}

/* 4K displays */
@media (min-width: 2000px) {
  .lightbox-content img {
    max-height: 85vh;
  }
}

/* Close button */
.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: #333;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}


/* ==========================================================================
   ABOUT PAGE (Artist Bio)
   ========================================================================== */

.about-hero {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.about-hero-image {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  filter: brightness(85%);
}

.about-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #444;
}

.about-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: black;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.about-button:hover {
  background: #333;
}
