/* Importation de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* === GÉNÉRAL === */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #424242; /* Texte par défaut */
  background-image: url('/img/fond.webp');
  background-size: cover; /* Assure que l'image couvre tout l'arrière-plan */
  background-attachment: fixed; /* L'image reste fixe lors du défilement */
  background-position: center; /* Centre l'image */
}
.container {
  position: relative; /* Nécessaire pour que le pseudo-élément soit positionné par rapport au conteneur */
  z-index: 1; /* Assure que le contenu du conteneur est au-dessus de la superposition */
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9); /* Couleur blanche avec une opacité de 0.7 pour un effet pastel */
  z-index: -1; /* Place la superposition derrière le contenu du conteneur */
}
.container
{
  padding: 20px;
}

/* === LOGO AU-DESSUS DE LA NAVBAR === */
.logo-container {
  margin-top: 0px;
  margin-bottom: 20px;
  text-align: center;
}

.logo-container img {
  height: 200px;
  width: auto;
  max-width: 100%;
}

/* === NAVBAR === */
.nav-wrapper {
  background-color: #2E7D32; /* Vert P.A.M.E */
}

.nav-wrapper a {
  color: #FFFFFF; /* Texte blanc */
  font-weight: bold;
}

/* === SIDENAV (MENU MOBILE) === */
.sidenav {
  background-color: #2E7D32; /* Vert principal */
}

.sidenav a {
  color: #FFFFFF;
}

/* === SECTIONS === */
.section {
  padding: 4rem 0;
}

/* === TITRES === */
h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2E7D32; /* Vert principal */
  font-weight: bold;
}

/* === BOUTONS === */
.btn {
  background-color: #FFC107; /* Jaune doré */
  color: #FFFFFF;
  font-weight: bold;
}

.btn:hover {
  background-color: #FFB300; /* Jaune plus foncé */
}

/* === FORMULAIRE DE CONTACT === */
.input-field input,
.input-field textarea {
  border-bottom: 2px solid #2E7D32 !important;
  color: #2E7D32;
}

.input-field label {
  color: #2E7D32;
}

.input-field input:focus,
.input-field textarea:focus {
  border-bottom: 2px solid #FFC107 !important;
}

/* === GALERIE === */
.carousel {
  height: 300px;
}

.carousel .carousel-item img {
  height: 100%;
  object-fit: cover;
}

/* === FOOTER === */
.page-footer {
  background-color: #2E7D32;
}

.page-footer .container p {
  color: #A5D6A7; /* Vert clair pour contraster */
}

.footer-copyright {
  background-color: #1B5E20; /* Un vert plus foncé pour le contraste */
  color: #FFFFFF;
  text-align: center;
  padding: 10px 0;
}


.swiper-container {
  width: 100%;
  height: 600px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajuste bien l'image */
}
.important {
  font-weight: bold;
  color: #2E7D32; /* Vert foncé pour symboliser la nature */
}
nav {
  background-color: #2E7D32; /* Vert foncé */
}

h2 {
  color: #4E342E; /* Brun foncé */
}

.btn {
  background-color: #2E7D32;
}

.nav-wrapper {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 20px;
  padding-right: 20px;
  background-color: #348d1a;
  max-width: 100%;
}

.swiper-container {
  overflow: hidden; /* Assure que seules les images actives sont visibles */
}

.swiper-slide {
  width: 100% !important; /* Force chaque slide à occuper 100% de la largeur du conteneur */
}
.material-icons
{
  position: relative;
  top: -1px;
  left: -2px;
  float: left;
  color: green;
}
.alert {
    padding: 15px;
    margin: 20px;
    border-radius: 5px;
    font-size: 16px;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* === RESPONSIVE DESIGN === */
@media (max-width: 1270px) {
  .logo-container img {
    height: auto;
    max-height: 150px;
    width: auto;
    max-width: 100%;
  }
  .menu_grand
  {
      display: none;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

@media only screen and (max-width: 1315px){
  .menu_grand
  {
    display: none;
  }
}

@media only screen and (max-width: 700px) {
  table.highlight.responsive-table {
    width: 100%;
    border-collapse: collapse;
  }
  table.highlight.responsive-table thead {
    display: none;
  }
  table.highlight.responsive-table tbody,
  table.highlight.responsive-table tr,
  table.highlight.responsive-table td {
    display: block;
    width: 100%;
  }
  table.highlight.responsive-table tr {
    margin-bottom: 15px;
  }
  table.highlight.responsive-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  table.highlight.responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 15px;
    font-weight: bold;
    text-align: left;
  }
}

