/* Reset & structure */
html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', serif;
}

/* Section bannière par défaut */
.default-banner {
  height: 100vh;
  position: relative;
  overflow: visible;
}

/* Chaque slide de la bannière */
.default-banner .item-slider {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Ajout pour éviter la répétition */
}

/* Carousel */
#carouselExampleCaptions {
  overflow: hidden;
}

/* Pour les mobiles et petits écrans */
#carouselExampleCaptions .carousel-item img {
  width: 100%;
  height: 40vh;          /* plus petit sur mobile */
  object-fit: cover;
  object-position: center;
}


/* si ton carousel doit aussi être full-screen */
#carouselExampleCaptions .carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

/* NAVBAR centrée sur la limite (100vh) */
.main-navbar {
  position: absolute;       /* absolute par rapport au bloc racine */
  left: 50%;
  top: 100vh;               /* position verticale = la limite entre slide1 et slide2 */
  transform: translate(-50%, -50%); /* centre la navbar exactement sur cette ligne */
  width: 78%;
  max-width: 1100px;
  padding: 14px 20px;
  background: #936037;
  color: white;
  z-index: 9999;
  border-radius: 0px;
  height: 80px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* styles internes */
.main-navbar .inner
{
    display:flex; 
    align-items:center;
    justify-content:space-between;
 }

.main-navbar .nav-links
{ 
  display:flex; 
  gap:20px; 
  list-style:none;
  margin:0; 
  padding:0; 
}

.main-navbar a 
{ 
    color: #fff; 
    text-decoration: none; 
    text-transform: uppercase; 
    font-weight:600;
 }


/* cible exactement ton bouton (préféable) */
.main-navbar .search-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 0px;
  height: 50px;
}

.main-navbar .search-btn:hover {
  background-color: #000000;
  color: #fff;
}


.event-section {
  background-color: #fff;
}

.event-title {
  font-size: 2.5rem;
  color: #444;
  letter-spacing: 1px;
}

.event-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.event-img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}



.slider {
  margin-top: 1rem;
}

.slider-img {
  width: 10%;
  max-width: 1000px;
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slider-img:hover {
 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}




/* responsive */
@media (max-width: 768px) {
  .main-navbar { width: 92%; padding: 10px; }
  .main-navbar .nav-links { gap: 10px; font-size: 14px; }
}



/* Pour les écrans moyens et grands */
@media (min-width: 768px) {
  #carouselExampleCaptions .carousel-item img {
    height: 400px;       /* hauteur fixe plus raisonnable sur desktop */
  }
}



/* Photo Gallery */

.slider-img{

width: 100%;
height: 50vh;
object-fit: cover;

  
}



.Fonder{

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70%;
  height: 40vh;
  margin: 200px auto; /* centre le bloc lui-même horizontalement */
  background-color: rgba(147, 96, 55, 0.51); /* plus lisible que #93603782 */
  text-align: center;
  border-radius: 10px; /* optionnel pour un rendu plus doux */
  padding: 20px; /* ajoute un peu d’air autour du texte */
  
}

.Fonder-titre{
font-size: 50px;
  color: white;
}

.Fonder-para{
  font-size: 15px;
    color: white;
  }


.bouton .search-btn-1 {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 8px 16px;
  border-radius: 0px;
  height: 50px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.bouton .search-btn-1:hover {
  background-color: rgba(147, 96, 55, 0.51);
  color: #fff;
}