body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(74,107,109);
    overflow-x: hidden;
}


/* Bouton menu burger */
.burger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 40;
    background-color: var(--red);
    color: white;
    border: none;
    font-size: 2em;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

/* Masquer le menu sur mobile par défaut */
@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0; /* Pour éviter que le contenu soit décalé */
    }

    .banner {
        margin-left: 0;
        width: 100%;
    }
}


/* Menu latéral avec forme fluide */
.sidebar {
    width: 220px;
    background-color: var(--red); 
    color: white;
    height: 100vh;
    padding-top: 50px;
    position: fixed;
    top: 0;
    left: 0;
    clip-path: ellipse(90% 100% at 0% 50%);
    box-shadow: 3px 0 15px rgba(0,0,0,0.3);
    z-index: 30;
}

.sidebar a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: 0.3s ease;
}

.sidebar a:hover {
    background-color: rgba(0,0,0,0.4);
    padding-left: 55px;
   /* border-radius: 20px; */
}

/* Fallback pour anciens navigateurs
.banner {
    position: relative;
    width: calc(100% - 160px); 
    height: 250px;
    background: url('../imgs/fdr-ban-10.svg') no-repeat center left;
    background-size: cover;
    overflow: hidden;
    margin-left: 160px;
} */


.ban6 {
    position: relative;
    width: calc(100% - 160px); /* largeur totale moins celle du menu */
    height: 600px;
    background: url('../imgs/fdr/ban11.jpg') no-repeat center left;
    background-size: cover;
    overflow: hidden;
    margin-left: 160px;
/*    box-shadow: 0 4px 20px rgba(0,0,0,0.15);*/
}

/* Contenu principal */
.content {
    margin-left: 240px;
    padding: 30px;
}

h1 {
    font-size: 2em;
    color: #333;
}

p {
    font-size: 1.1em;
    line-height: 0.3;
    color: #555;
}

p.deux {
    font-size: 1.1em;
    line-height: 1.2;
}

.balai {
    position: relative;
    width: 200px;
    height: auto;
}


/* FOOOTER */

.site-footer {
  background-color: #222;
  color: #eee;
  padding: 30px 20px 15px;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 /* =top */ 10px /* =right */ 0 /* =bottom */ auto /* =left */
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-section h3 {
  margin-bottom: 12px;
  font-size: 18px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.footer-section a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #999;
}

.baisse {
    margin-top: 30px;
}

.soixante { width: 50%; text-align: justify; }



.arriereplan {
    position: relative;
    left:85%; top:440px;
    width: 120px; height:120px;
    background-color: #c4001a;
}

.qr {
    position: relative;
    width: 100px; height:100px;
    left:10px; top:10px;
    z-index: 999;
    
}

.bienvenue-contenu {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-left: 240px; /* même marge que le reste du contenu */
  padding: 30px;
}

.bienvenue-contenu .texte {
  flex: 2;
  text-align: justify;
}

.bienvenue-contenu .photo {
  flex: 1;
  text-align: right;
}

.bienvenue-contenu .photo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.galerietitre {
  color:white;
  font-size: 2em;
  letter-spacing: 4%;
}

@media screen and (max-width: 768px) {
  .bienvenue-contenu {
    flex-direction: column;
    align-items: center;
  }

  .bienvenue-contenu .photo {
    text-align: center;
    margin-top: 20px;
  }
}


/* Réduction progressive de la hauteur de la bannière en fonction de la largeur de l'écran */
@media screen and (max-width: 1360px) {
    .banner {
        height: 250px;
    }
}

@media screen and (max-width: 1200px) {
    .banner {
        height: 200px;
    }
}

@media screen and (max-width: 992px) {
    .banner {
        height: 150px;
    }
}

/* MOBILES */
@media screen and (max-width: 768px) {

    .sidebar a:first-of-type { margin-top:20px; }

    .content {
        margin-left: 0;
        padding: 10px;
    }

    .banner {
        width: 100%;
        height: 130px;
        margin-left:0px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        width: 100%;
        height: 130px;
    }
}
