* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #383531;
    color: #d2b48c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header fixe */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: #2c2926;
    display: flex;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

/* Conteneur pour les lignes en dessous du header */
.header-lines {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: 999;
}

/* Première ligne (dégradé horizontal, au-dessus) */
.header-lines::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4b4034, #2c2926);
}

/* Deuxième ligne (dégradé vertical, en dessous) */
.header-lines::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to bottom, #201e1c, #383531);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 60px;
    width: auto;
    margin-right: 10px;
}

/* Navigation */
header .nav-menu {
    display: flex;
    gap: 20px;
}

header .nav-menu a {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

header .nav-menu a:hover {
    background-color: #383531;
    border-radius: 5px;
}

/* Burger menu */
.burger-menu {
    background: none;
    border: none;
    color: #aca28a;
    font-size: 30px;
    cursor: pointer;
    order: 2;
    display: none;
}

/* Contenu principal */
main {
    margin-top: 140px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px 60px; /* Ajout de padding-bottom pour éviter le chevauchement */
    flex: 1 0 auto;
}

/* Footer non-fixe avec positionnement naturel */
footer {
    width: 100%;
    background-color: #2c2926;
    padding: 15px 0;
    display: flex;
    align-items: center;
    z-index: 1000;
}

footer nav {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

footer nav a {
    font-family: 'Roboto', sans-serif;
    color: #7a7363;
    text-decoration: none;
    font-size: 14px;
}

footer nav a:hover {
    text-decoration: none;
}

/* Séparateurs dans le footer par défaut (horizontal) */
footer nav a + a::before {
    content: "|";
    color: #7a7363;
    margin-right: 15px;
}

/* Styles pour la page Prochains concerts */
h1 {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 100;
}

.concerts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.concert-card {
    background-color: #2c2926;
    padding: 15px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.concert-card .date {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 100;
    color: #aca28a;
    margin-bottom: 10px;
    text-align: left;
}

.image-container {
    position: relative;
    margin-bottom: 0;
}

.concert-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.concert-card .lieu {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #aca28a;
    margin-bottom: 10px;
    text-align: left;
}

.concert-card .description {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #d2b48c;
    margin-bottom: 20px;
    padding: 0;
    word-wrap: break-word;
    text-align: left;
    flex-grow: 1;
}

.concert-card .btn {
    font-family: 'Roboto', sans-serif;
    display: block;
    width: 100%;
    background-color: #2c2926;
    color: #d2b48c;
    padding: 8px 15px;
    text-decoration: none;
    border: 1px solid #aca28a;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.concert-card .btn:hover {
    background-color: #383531;
    border: 1px solid #aca28a;
}

.concerts-grid p {
    font-family: 'Roboto', sans-serif;
    color: #d2b48c;
    text-align: center;
    grid-column: 1 / -1;
}

/* Styles pour la page Notre histoire */
.submenu {
    text-align: center;
    margin-bottom: 40px;
}

.submenu .submenu-item {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    text-decoration: none;
    font-size: 24px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.submenu .submenu-item.active {
    color: #c0b7a0;
    font-weight: bold;
}

.submenu .submenu-item:hover {
    background-color: #383531;
    border-radius: 5px;
}

.submenu span {
    color: #aca28a;
    margin: 0 5px;
    font-size: 24px;
}

.histoire-content {
    max-width: 100%;
}

.histoire-entry {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #2c2926;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
}

.histoire-image {
    flex: 0 0 300px;
    margin-right: 20px;
}

.histoire-image img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
}

.histoire-text {
    flex: 1;
}

.histoire-entry h2 {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 10px;
    text-align: left;
}

.histoire-entry .annees {
    font-size: 24px;
    color: #aca28a;
}

.histoire-entry .separator {
    font-size: 14px;
    color: #aca28a;
    margin: 0 8px;
}

.histoire-entry p {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* Styles pour la page Notre répertoire */
.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.repertoire-card {
    background-color: #2c2926;
    padding: 15px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.repertoire-card h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 100;
    color: #aca28a;
    margin-bottom: 5px;
    text-align: left;
}

.repertoire-card .annees {
    font-size: 18px;
    color: #aca28a;
}

.repertoire-card .intitule {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 100;
    color: #aca28a;
    margin-bottom: 10px;
    text-align: left;
}

.repertoire-card .description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #aca28a;
    margin-bottom: 20px;
    padding: 0;
    word-wrap: break-word;
    text-align: justify;
    flex-grow: 1;
}

.repertoire-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 10px;
}

.repertoire-card .btn {
    font-family: 'Roboto', sans-serif;
    display: block;
    width: 100%;
    background-color: #2c2926;
    color: #d2b48c;
    padding: 8px 15px;
    text-decoration: none;
    border: 1px solid #aca28a;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.repertoire-card .btn:hover {
    background-color: #383531;
    border: 1px solid #aca28a;
}

.repertoire-grid p {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    text-align: center;
    grid-column: 1 / -1;
}

/* Styles pour la page Galerie */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galerie-card {
    background-color: #2c2926;
    padding: 15px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.galerie-card .intitule-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.galerie-card .intitule {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 100;
    color: #aca28a;
    margin: 0;
    text-align: center;
}

.galerie-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.galerie-grid p {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    text-align: center;
    grid-column: 1 / -1;
}

/* Styles pour le visualiseur (lightbox) */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox-content {
    position: relative;
    text-align: center;
}

.lightbox-image-container {
    position: relative;
    display: inline-block;
}

.lightbox-image {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.lightbox-intitule {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 100;
    color: #d2b48c;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 3px;
    transition: opacity 0.3s ease;
}

.pagination {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.pagination-btn {
    background: none;
    border: none;
    color: #d2b48c;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.pagination-btn:hover {
    color: #aca28a;
}

.pagination-counter {
    font-family: 'Roboto', sans-serif;
    color: #d2b48c;
    font-size: 16px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #d2b48c;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #aca28a;
}

/* Ajustement pour les écrans desktops (min-width: 769px) */
@media (min-width: 769px) {
    .burger-menu {
        display: none;
    }
    header .nav-menu {
        display: flex;
    }
}

/* Ajustement pour les écrans mobiles (max-width: 768px) */
@media (max-width: 768px) {
    .concerts-grid {
        grid-template-columns: 1fr;
    }
    .repertoire-grid {
        grid-template-columns: 1fr;
    }
    .galerie-grid {
        grid-template-columns: 1fr;
    }
    .burger-menu {
        display: block;
    }
    header .nav-menu {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: #2c2926;
        flex-direction: column;
        padding: 10px 0;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }
    header .nav-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease;
    }
    header .nav-menu a {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        color: #aca28a;
    }
    /* Footer en colonne sur mobile sans séparateurs */
    footer nav {
        flex-direction: column;
        align-items: center;
    }
    footer nav a {
        margin: 5px 0;
    }
    footer nav a + a::before {
        content: none; /* Supprime les "|" en mode vertical */
    }
}

/* Styles pour la page Direction musicale */
.direction-content {
    max-width: 100%;
}

.direction-entry {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #2c2926;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
}

.direction-image {
    flex: 0 0 300px;
    margin-right: 20px;
}

.direction-image img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
}

.direction-text {
    flex: 1;
}

.direction-entry h2 {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 10px;
    text-align: left;
}

.direction-entry p {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* Ajustement pour les écrans mobiles (max-width: 768px) */
@media (max-width: 768px) {
    .direction-entry {
        flex-direction: column;
    }
    .direction-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .direction-image img {
        width: 100%;
        height: auto;
    }
}

/* Styles pour la page Contactez-nous */
.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    background-color: #2c2926;
    padding: 20px;
    border-radius: 0;
}

.contact-info h2, .contact-form h2 {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 15px;
}

.contact-info p {
    font-family: 'Roboto', sans-serif;
    color: #d2b48c;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info strong {
    color: #aca28a;
}

.contact-form label {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #383531;
    border: 1px solid #aca28a;
    border-radius: 0;
    color: #d2b48c;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    font-family: 'Roboto', sans-serif;
    display: block;
    width: 100%;
    background-color: #2c2926;
    color: #d2b48c;
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #aca28a;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #383531;
}

.success-message {
    color: #aca28a;
    font-size: 16px;
    margin-bottom: 15px;
}

.error-message {
    color: #d2b48c;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Ajustement pour les écrans mobiles (max-width: 768px) */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

.recrutement-content {
    max-width: 100%;
}

.recrutement-entry {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #2c2926;
    border-radius: 0;
}

.recrutement-entry h2 {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 10px;
    text-align: left;
}

.recrutement-entry p {
    font-family: 'Roboto', sans-serif;
    color: #d2b48c;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.mentions-content {
    max-width: 100%;
}

.mentions-content h2 {
    font-family: 'Roboto', sans-serif;
    color: #aca28a;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 15px;
    margin-top: 20px;
}

.mentions-content p {
    font-family: 'Roboto', sans-serif;
    color: #d2b48c;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
}

.mentions-content strong {
    color: #aca28a;
}