/* =======================
   POLICES
======================= */
@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
}

/* =======================
   BODY
======================= */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    background: #f9fafb;
    color: #333;
text-align: justify;

}

/* =======================
   BANNIÈRE
======================= */

.banner {
    background: url("images/Photo 18.jpg") center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner .overlay {
  
    padding: 2rem;
    text-align: center;
    color: white;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* =======================
   MENU
======================= */
nav {
    background: #ED9140;
    padding: 0.5rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.6;
}

/* =======================
   SECTIONS
======================= */
main {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    color: #126591;
    border-bottom: 2px solid #1781BA;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* =======================
   GALERIE
======================= */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery img {
    width: 30%;
    border-radius: 10px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}



.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}




.fade-in {
    opacity: 0;              
    transform: translateY(20px); 
    transition: opacity 1s ease, transform 1s ease; 
}

.fade-in.visible {
    opacity: 1;              
    transform: translateY(0); 
}






.galerie-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: white;
  margin: 40px auto;
  padding: 20px 40px;
}

.galerie-photos {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.galerie-photos img {
  width: 350px;
  height: 230px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px;
}

/* --- Flèches de navigation sobres et modernes --- */
.fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
}

.fleche svg {
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.fleche:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fleche:hover svg {
  stroke: #000;
  transform: scale(1.1);
}

.fleche.gauche {
  left: 10px;
}

.fleche.droite {
  right: 10px;
}

/* =======================
   SECTIONS PRINCIPALES ENCADRÉES
======================= */
section {
    background: #ffffff;       /* fond blanc */
    border: 1px solid #d1d5db; /* bordure grise claire */
    border-radius: 12px;       /* coins arrondis */
    padding: 2rem;             /* espace intérieur */
    margin-bottom: 3rem;       /* espace entre les sections */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* ombre subtile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
