.concerts-section {
  padding: 80px 20px;
  background-color: #f5f5f5;
}

.concerts-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.concerts-grid {
    display: flex;               /* flex pour rester sur une ligne */
    flex-wrap: wrap;             /* passe à la ligne si pas assez d’espace */
    justify-content: center;     /* centrer les cards horizontalement */
    gap: 2rem;                   /* espace entre les cards */
}

.concerts-upcoming .container {
    max-width: 1200px;      /* largeur max du contenu */
    margin: 0 auto;
    padding: 0 20px;
}

.concerts-upcoming .section-title-left {
    text-align: left;       /* titre aligné à gauche */
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Grid des cartes */
.concerts-upcoming .concerts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* exactement 2 colonnes */
    gap: 20px; /* espace constant entre les cartes */
    width: 100%;
}

.concerts-upcoming .concert-card {
    display: flex;
    gap: 2rem;
    padding: 30px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    align-items: center;
    width: 500px;          /* largeur plus grande */
    flex-shrink: 0;        /* empêche de rétrécir trop sur petit écran */   
}

.concerts-upcoming .concert-card:hover {
    background: #111;
    color: #fff;
    transform: translateY(-5px);
}

/*Pagination*/
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;  /* centre toute la pagination */
    align-items: center;
    gap: 10px;               /* espace constant entre chaque bouton */
    flex-wrap: wrap;          /* pour mobile, si trop de boutons */
}

.page-btn {
    padding: 8px 14px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 40px;          /* largeur minimum pour uniformité */
    text-align: center;       /* texte centré dans le bouton */
}

.page-btn:hover:not(.current):not(:disabled) {
    background-color: white;
    color: black;
}

.page-btn.current {
    background-color: white;
    color: black;
    cursor: default;
    pointer-events: none;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

@media screen and (max-width: 1200px) {
    .concerts-upcoming .concert-card {
        display: flex;
        gap: 2rem;
        padding: 30px;
        background: #fff;
        border: 2px solid #111;
        border-radius: 10px;
        transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
        align-items: center;
        width: 350px;          /* largeur plus grande */
        flex-shrink: 0;        /* empêche de rétrécir trop sur petit écran */   
    }
}