/* ==========================================================================
   ARTISTS.CSS — Artists section + page styles
   Event-card style: full-image bg, gradient overlay, badges, bottom content
   ========================================================================== */

/* ---- Homepage Preview ---- */
.artists {
  padding: var(--space-24) 0 var(--space-16);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.artists .section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-synthesis: none;
  unicode-bidi: normal;
  -webkit-font-smoothing: antialiased;
}

.artists-swiper {
  padding-inline: var(--space-8);
  overflow: visible;
}

.artists-swiper .swiper-slide {
  width: 300px;
}

.artist-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--dur-med) var(--ease-smooth),
              box-shadow var(--dur-med) var(--ease-smooth);
}

.artist-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Full-bleed image */
.artist-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.artist-card:hover img {
  transform: scale(1.06);
}

/* Gradient overlay */
.artist-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.55) 65%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--dur-med) var(--ease-smooth);
}

.artist-card:hover .artist-card__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 35%,
    rgba(0, 0, 0, 0.65) 65%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

/* Badge row — top of card */
.artist-card__badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 20px 0 0 20px;
  background: var(--color-highlight);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* Bottom content area */
.artist-card__info {
  position: relative;
  z-index: 2;
  padding: 24px;
  margin-top: auto;
}

.artist-card__role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.artist-card__name {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Hover reveal link (like event ticket) */
.artist-card__view {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-highlight);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.artist-card:hover .artist-card__view {
  opacity: 1;
  transform: translateY(0);
}


/* ---- Artists Page — Full Grid ---- */
.artists-page-content {
  padding: var(--space-12) 0 var(--space-24);
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* On artists page grid, always show view link */
.artists-grid .artist-card__view {
  opacity: 1;
  transform: none;
}


/* ---- Responsive ---- */

/* Desktop */
@media (max-width: 1199px) {
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
  .artists-swiper .swiper-slide { width: 260px; }
}

/* Tablet */
@media (max-width: 767px) {
  .artists {
    padding: var(--space-16) 0 var(--space-12);
  }

  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .artists-swiper .swiper-slide { width: 75vw; }

  .artists-swiper {
    padding-inline: var(--space-4);
  }

  .artist-card {
    aspect-ratio: 3 / 4;
  }

  .artist-card__badge {
    margin: 14px 0 0 14px;
    font-size: 9px;
    padding: 5px 10px;
  }

  .artist-card__info {
    padding: 16px;
  }

  .artist-card__name {
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .artist-card__role {
    font-size: 10px;
  }

  .artist-card__view {
    font-size: 11px;
    opacity: 1;
    transform: none;
  }
}

/* Mobile Small */
@media (max-width: 479px) {
  .artists-grid { grid-template-columns: 1fr; }
  .artists-swiper .swiper-slide { width: 85vw; }
}
