@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  font-family: "Poppins", serif;
}

.navbar {
  background-color: #f8f8f8;
}
.logo img{
  height: 70px;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover,
.navbar-nav .show > .nav-link {
    color: #4CAF50;
    font-weight: bold; 
}


.btn-login {
  background-color: #4CAF50;
  color: white;
}
.btn-login:hover{
    background-color: #5f665f;
    color: white;
}

.hero-section {
  background-color: #f8f8f8;
  padding: 3rem 1rem;
  
}
.hero-section h1{
    color: #000;
    font-size: 25px;
}


 .btn-primary {
  background-color: #FF7D00;
  border: none;
}

.texte-color{
  color:#ff6600;
}

.hero-section .btn-secondary {
  background-color: #4CAF50;
  border: none;
}
.hero-section img{
    max-width: 100%; 
    height: auto;
    border-radius: 10px;

}

.values-section {
  text-align: center;
  padding: 1rem 1rem;
}

.values-section .icon {
  font-size: 3rem;
}
.rse-section .icon {
    font-size: 3rem;
  }



.habitats-section .card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    height: 100%;   
   display: flex;
   flex-direction: column;
   text-overflow: ellipsis;
}
.habitats-section .card-text {
    text-overflow: ellipsis;
    display: -webkit-box;

}

  
.habitats-section .card .card-img-top {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
}

.testimonials-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;

}

.testimonials-section .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.testimonials-section .card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}



footer {
  background-color: #4CAF50;
  color: white;
  padding: 1.5rem 1rem;
  
}
footer .col-md-4 {
    margin-bottom: 1rem;
}


footer a {
  color: white;
  text-decoration: none;
}

.mission-section img{
    width: 500px;
}
.historical-section {
    background-color: #f8f9fa;
  }
  

.form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.form-inline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #ddd;
    padding: 12px;
    width: 48%;  
    font-size: 1rem;
    transition: all 0.3s ease;
}



.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Bouton reset */
.btn-secondary {
    background-color: #6c757d;
    border: none;
    color: white;
}



.btn:hover {
    transform: scale(1.05);
    background-color: #224525;
}

button[type="reset"], button[type="submit"] {
    width: 48%; 
}

@media (max-width: 768px) {
    .form-control {
        width: 100%;
    }

    button[type="reset"], button[type="submit"] {
        width: 100%;
    }
}





/* Register Section */
.register-section {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  background: #f8f8f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.image-container {
  flex: 1;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.image-container .image-text {
  position: absolute;
  bottom: 365px;
  left: 20px;
  color: white;
}

.image-container h1 {
  font-size: 2rem;
  font-weight: bold;
}

.image-container p {
  font-size: 1rem;
}

.form-container {
  flex: 1;
  padding: 2rem;
}

h1,h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #FF7D00;
}

.form-container p {
  margin-bottom: 1.5rem;
  color: #555;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-container input,
.form-container button {
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.form-container button {
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  background-color: #008000;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container .login-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.login-link a {
  color: #007bff;
  text-decoration: none;
}

.form-container .login-link a:hover {
  text-decoration: underline;
}



.main-content{
  background-color: #f8f8f8;
}

/* Main Content */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.image-gallery .thumbnail-gallery img {
  width: 30%;
  margin-right: 0.5rem;
  cursor: pointer;
}

.details-info .btn-reserve {
  background: #ff6600;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.owner-info {
  margin-top: 1rem;
  text-align: center;
}

.owner-info img{
  width: 70px;
  border-radius: 50%; 
 object-fit: cover; 
}


.reservation-section {
  background-color: #f8f9fa;
}

.summary-section ul li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}



.account-settings {
  background-color: #f8f9fa;
}

.card {
  border: none;
}

.avatar-selection {
  display: flex;
  gap: 1rem;
}
.avatar {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: border 0.3s;
}
.avatar.selected {
  border: 2px solid #007bff;
}



.card-title a{
  font-size: 25px;
  text-decoration: none;
  color: black;
}
.card-title a:hover{

  color: #008000
}



@media (max-width: 800px) {
  .image-container {
      display: none;
  }
}

dialog#cookieModal {
  width: 400px;
  padding: 20px;
  border: none;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
}

.cookie-content h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cookie-content p {
  font-size: 0.95rem;
  margin: 15px 0;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
}

.cookie-buttons button {
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#acceptCookies {
  background-color: #28a745;
  color: white;
}

#rejectCookies {
  background-color: #dc3545;
  color: white;
}
.search-and-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .search-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-grow: 1;
  }

  .search-bar input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .search-bar button {
    white-space: nowrap;
  }

  .action-buttons {
    display: flex;
    gap: 10px;
  }

  @media (max-width: 768px) {
    .search-and-buttons {
      flex-direction: column;
      align-items: stretch;
    }
    
    .search-bar {
      width: 100%;
    }

    .action-buttons {
      width: 100%;
      display: flex;
      flex-direction: column;
    }
  }
.breadcrumb {
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.breadcrumb li {
    display: inline;
    font-weight: 500;
}

.breadcrumb li + li::before {
    content: "»";
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumb a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0056b3;
}

.breadcrumb .active {
    color: #6c757d;
    font-weight: bold;
}



.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Ajoute de l'espace pour l'icône */
    border-radius: 8px;
    border: 2px solid #ddd;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #888;
}

.toggle-password:hover {
    color: #4CAF50;
}

.color-base{
	color : #4CAF50;
}



