/* ===== Variables ===== */
:root {
  --color-badge: #eb4f80;
  --color-text: #fff;
  --color-highlight: #cbd503;
  --overlay-dark: rgba(0, 0, 0, 0.4);
  --card-radius: 12px;
  --gap: 15px;
  --padding: 10px;
}

/* ===== Listes de concerts ===== */
.concert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
  padding: var(--padding);
}

/* ===== Carte concert ===== */
.concert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--color-text);
  height: 250px;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  margin-bottom: var(--gap);
  transition: transform 0.1s, filter 0.1s;
  filter: grayscale(100%);
  border: 10px solid var(--color-highlight);
}

.concert-card:hover {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* Overlay noir léger */
.concert-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 0;
}

/* Texte et boutons au-dessus de l’overlay */
.concert-card .info {
  position: relative;
  z-index: 1;
  padding: var(--padding);
}

.concert-card .info h3 {
  margin: 0;
  line-height: 0.8;
  text-shadow: #000 0px 0px 10px;
  color: var(--color-highlight);
}

.concert-card .info p,
.concert-card .info .badge,
.concert-card .fav-btn {
  margin: 3px 0;
}

.concert-card .style-small {
  font-size: 0.7rem;
  color: #ccc;
}

/* Date */
.concert-card .date {
  text-shadow: #000 0px 0px 10px;
  font-size: 0.8em;
}

/* Boutons cœur */
.concert-card .card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.concert-card .card-fav svg,
.fav-btn.small .heart-icon,
.detail-fav .heart-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  background: var(--color-badge);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: bold;
}

.badge-long {
  display: inline-block;
  background: var(--color-badge);
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
  margin: 5px 0;
}

/* ===== Fiche détail ===== */
#detail-card {
  margin: 0 var(--padding);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin:0;
  padding:0;
}

#detail-card .style-country {
  font-size: 0.7em;
  margin-top:-5px;
}

#detail-card .artist-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;

}
