/* Style galerie Collection */
/* Slider wrapper avec flèches extérieures */
.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 1rem;
}

.slider-container {
  flex: 1;
  max-width: 1200px;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: height 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

/* Slides */
.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Caption */
.slider-caption {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0;
  font-style: italic;
}

/* Flèches */
.nav-btn {
  background: white;
  border: none;
  font-size: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.2);
  background: #f0f0f0;
}

#prevBtn { margin-right: 10px; }
#nextBtn { margin-left: 10px; }

/* Conteneur vignettes */
.thumbnails-container {
  max-width: 1200px;
  margin: 1rem auto 0 auto;
  padding: 0 20px;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.7rem;
  justify-items: center;
}

.thumb {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: 0.25s;
}

.thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.thumb.active {
  outline: 3px solid rgba(0,0,0,0.2);
}

/* ============================= */
/*          RESPONSIVE           */
/* ============================= */

/* TABLETTES */
@media (max-width: 992px) {
  .slider-container {
    min-height: 55vh;
    padding: 15px;
  }

  .slide img {
    max-height: 55vh;
  }

  .nav-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.7rem;
  }

  .thumbnails {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
}

/* MOBILES */
@media (max-width: 600px) {
  .slider-wrapper {
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-btn {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.5rem;
  }

  .slider-container {
    min-height: 45vh;
    padding: 10px;
  }

  .slide img {
    max-height: 45vh;
  }

  .slider-caption {
    font-size: 1rem;
  }

  .thumbnails {
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }

  .thumb {
    max-width: 75px;
  }
}

/* TRÈS PETITS MOBILES */
@media (max-width: 400px) {
  .nav-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
  }

  .thumb {
    max-width: 60px;
  }
}




/* Style pour Formulaire de contact avec EmailJS  */
/* Contact form styles (EmailJS) */@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* --------------------------------------------- */
/* FORMULAIRE CONTACT — TOUS LES FONDS TRANSPARENTS */
/* --------------------------------------------- */

#templatemo_contact,
#templatemo_contact_gray_wap,
.contact-container,
.contact-info,
#contactForm {
    background: transparent !important;
    box-shadow: none !important;
}

/* Conteneur principal */
.contact-container {
    display: flex;
    flex-wrap: nowrap;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
	    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
}

/* Coordonnées gauche */
.contact-info {
    flex: 0 0 35%;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
    gap: 12px;
    color: #222 !important;
}

.contact-info h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    color: #333 !important;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
    font-size: 13px;
    color: #444 !important;
}

.contact-info i {
    font-size: 15px;
    width: 20px;
    color: #0f5e2b !important; /* vert foncé */
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-info p:hover i {
    color: #1c8a45 !important; /* vert clair au survol */
    transform: scale(1.15);
}

/* Formulaire droit */
#contactForm {
    flex: 0 0 65%;
    padding: 25px 60px 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    font-size: 13px;
}

#contactForm h2 {
    margin-bottom: 18px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

#contactForm label {
    margin-bottom: 3px;
    font-weight: 600;
    color: #555;
    font-size: 12px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #bbb;
    font-size: 13px;
    box-sizing: border-box;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #0f5e2b;
    box-shadow: 0 0 5px rgba(15,94,43,0.2);
    outline: none;
}

#contactForm textarea {
    resize: vertical;
    min-height: 60px;
}

#contactForm button {
    background: #0f5e2b; /* vert foncé */
    color: white;
    padding: 8px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contactForm button:hover {
    background: #1c8a45; /* vert clair */
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.success-message {
    display: none;
    text-align: center;
    background: #d4edda;
    color: #155724;
    padding: 8px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 600;
    animation: fadeIn 0.5s ease forwards;
    font-size: 13px;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-5px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 700px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-info,
    #contactForm {
        flex: 1 1 100%;
        border-radius: 0;
        padding: 20px;
    }
}

/* ============================= */
/*      GALERIE SLIDER          */
/* ============================= */

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1240px;
  margin: 0 auto;
}

.slider-container {
  flex: 1;
  max-width: 1200px;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: height 0.5s ease;
}

.slide { 
  display: none; 
}

.slide.active { 
  display: block; 
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Caption */
.slider-caption {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0;
  font-style: italic;
}

/* Buttons */
.nav-btn {
  background: white;
  border: none;
  font-size: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.2);
  background: #f0f0f0;
}

#prevBtn { margin-right: 10px; }
#nextBtn { margin-left: 10px; }

/* Thumbnails */
.thumbnails-container {
  max-width: 1200px;
  margin: 1rem auto 0 auto;
  padding: 0 20px;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(6, 100px);
  gap: 1rem;
  justify-content: center;
}

.thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: 0.25s;
}

.thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.thumb.active {
  outline: 3px solid rgba(0,0,0,0.2);
}


/* ============================= */
/*        HERO IMAGE             */
/* ============================= */

#hero_image {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 400px;
 /* background-image: url('../img/mondeImaginaire.jpg');*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
}

#hero_image .hero_content {
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 2;
}

#hero_image .hero_inner {
  width: 100%;
  max-width: 800px;
  padding: 10px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
}

/* Titre Tangerine */
#hero_image h1 {
  font-family: "Tangerine", cursive;
  font-size: 6rem;
  font-weight: 700;
  text-shadow: 0 3px 14px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}

/* Texte Inter */
#hero_image p {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* Responsive */
@media (max-width: 768px) {

  #hero_image {
    background-attachment: scroll;
    height: 50vh;
    min-height: 300px;
  }

  #hero_image h1 { 
    font-size: 3.5rem; 
  }

  #hero_image p { 
    font-size: 1.1rem; 
  }

  #hero_image .hero_inner {
    max-width: 90%;
  }
}
