/* ========================================
   Artists Page - Circular Profile Design
   ======================================== */

/* Artist Grid Container */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  padding: 30px 0;
  justify-items: center;
  width: 100%;
  max-width: 100%;
}

/* Individual Artist Card */
.artist-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

/* Circular Profile Image Container */
.artist-card__image-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
}

.artist-card__image-wrapper:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
  border-color: #f5f5f5;
}

.artist-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.artist-card__image-wrapper:hover .artist-card__image {
  transform: scale(1.1);
}

/* Hover Overlay with "View Arts" Text */
.artist-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.artist-card__overlay-text {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.artist-card__image-wrapper:hover .artist-card__overlay {
  opacity: 1;
}

/* Artist Information */
.artist-card__info {
  padding: 10px 15px;
}

.artist-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.artist-card:hover .artist-card__name {
  color: #ff8c42;
}

.artist-card__designation {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
  font-style: italic;
}

/* Social Media Hub (Optional - for featured section) */
.artist-card--social {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 4px dashed rgba(255, 255, 255, 0.3);
}

.artist-card__social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.artist-card__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  color: #333;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.artist-card__social-icon:hover {
  background: #333;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Link Wrapper */
.artist-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .artists-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
  }

  .artist-card__image-wrapper {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .artists-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 20px 0;
  }

  .artist-card__image-wrapper {
    width: 140px;
    height: 140px;
  }

  .artist-card__name {
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }

  .artist-card__designation {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .artist-card__info {
    padding: 8px 10px;
  }
}

/* iPhone and similar devices (iPhone XR = 414px) */
@media (max-width: 520px) {
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px 15px;
  }

  .artist-card__image-wrapper {
    width: 160px;
    height: 160px;
    border: 4px solid #fff;
  }

  .artist-card__name {
    font-size: 14px !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }

  .artist-card__designation {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .artist-card__info {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px 15px;
  }

  .artist-card__image-wrapper {
    width: 160px;
    height: 160px;
    border: 4px solid #fff;
  }

  .artist-card__name {
    font-size: 14px !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }

  .artist-card__designation {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .artist-card__info {
    padding: 8px 10px;
  }

  .artist-card__social-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Enhanced Shadow Effect */
.artist-card__image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.artist-card__image-wrapper:hover::before {
  opacity: 1;
}

/* Loading State */
.artist-card__image-wrapper.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}