

/* ----------- IMAGE PRINCIPALE ----------- */
        .banner {
            width: 100%;               /* moitié de l’écran */
            margin: 0px auto;
            overflow: hidden;
            border-radius: 0px;
            animation: fadeIn 1.2s ease;
        }

        
        
        
        .banner img {
            width: 100%;
            display: block;
            transition: transform 0.8s ease;
            
        }

        .banner img:hover {
            transform: scale(1.08);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
 -------------------------------------------------- */
/* ??? PHOTO */
/* -------------------------------------------------- */
.photo {
  flex: 1 800px;
  display: flex;
  justify-content: left;
  align-items: center;
}




/* ----------------------------- */
/*       GRILLES D’IMAGES        */
/* ----------------------------- */

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-6 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-15 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 230px;
  
  border: 4px solid white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
* ----------------------------------------------------
   FOOTER
   ---------------------------------------------------- */
footer {
  text-align: center;
  background-color: var(--main-blue);
  color: #fff;
  padding: 20px 10px;
  font-size: 0.9em;
  line-height: 1.4;
}

footer a {
  color: #fff;
  text-decoration: none;
}

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

/* Logo centré dans le footer */
.footer-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 100px;
  height: auto;
  border-radius: 12%;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
/* -------------------------------------------------- */
/* ?? LIGHTBOX – Version minimaliste */
/* -------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  object-fit: contain;
}


.close {
  position: fixed;
  top: 6px;
  right: 8px;
  font-size: 42px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 100000;
}

.close:hover { color: #ddd; }

.visitor-counter {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 10px;
  border: 2px solid #0078d7;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  margin-top: 14px;
  text-align: center;
}
/* ----------------------------- */
/*          RESPONSIVE           */
/* ----------------------------- */

/* TABLETTES */
@media (max-width: 900px) {

  .gallery-6,
  .gallery-15 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 220px;
  }

  .section-title {
    font-size: 28px;
  }
}

  /* ----------- RESPONSIVE ----------- */

/* TABLETTES */
@media(max-width: 900px) {
    .banner { 
        width: 70%; 
    }
    .gallery img { 
        height: 220px; 
    }
}

/* PETITS TABLETTES / GRAND TÉLÉPHONES */
@media(max-width: 650px) {
    .banner { 
        width: 100%; 
    }
    .gallery { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* MOBILES CLASSIQUES */
@media(max-width: 480px) {
    .banner { 
        width: 100%; 
    }
    .gallery img { 
        height: 220px; 
    }
}

/* PETITS MOBILES */
@media(max-width: 450px) {
    .banner {
        width: 100%;
    }
    .gallery { 
        grid-template-columns: 1fr; 
    }
}

            
            
        


        
        
        
        