/* ============================
   NAVBAR
============================ */
.navbar {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #343a40;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.navbar .nav-link:hover {
  color: #007bff;
  border-bottom: 2px solid #007bff;
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  background-image:
    url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.highlight-logo img {
  transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-logo img:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================
   SECTION TITRE
============================ */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
}

/* ============================
   GRILLE D'ACTIVITÉS
============================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================
   CARTES D'ACTIVITÉS
============================ */
.activity-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.activity-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b22222;
  margin-bottom: 0.5rem;
}

@-moz-document url-prefix() {
  .activity-title {
    color: #b22222 !important;
  }
}

.activity-info p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: #333;
}

/* ============================
   BOUTON DÉTAILS
============================ */
.btn-details {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: #007bff;
  border: 1px solid #007bff;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.btn-details:hover {
  background-color: #007bff;
  color: #fff;
}

/* ============================
   FOOTER
============================ */
footer .link {
  text-decoration: none;
  color: #007bff;
}

footer .link:hover {
  text-decoration: underline;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
  .navbar .nav-link {
    font-size: 1rem;
    display: block;
    padding: 10px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* ===== Détails Activité ===== */
.activity-detail-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #b22222;
  margin-bottom: 0.8rem;
  text-align: center;
}

.activity-detail-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

.info-box {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
}

.info-box li {
  margin-bottom: 0.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
}

/* ===== Formulaire de réservation ===== */
.booking-form {
  text-align: center;
  margin-top: 1rem;
}

.booking-form .form-control {
  border: 2px solid #b22222;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.booking-form .form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.booking-form .btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
}

.booking-form .btn-primary {
  background-color: #b22222;
  border: none;
}

.booking-form .btn-primary:hover {
  background-color: #8b1a1a;
}

.alert-warning {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  font-size: 0.95rem;
}

.alert-danger {
  font-size: 0.9rem;
}