/* ===== GLOBAL ===== */
body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding-top: 70px; /* espace pour navbar fixe */
  transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

/* ===== NAVBAR ===== */
.navbar {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5) !important;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .nav-link.active {
  font-weight: bold;
  color: #ffd700 !important;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card img {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* ===== BUTTONS ===== */
.btn-modern {
  border-radius: 50px;
  padding: 8px 20px;
}

/* ===== ACCORDIONS ===== */
.accordion-button {
  font-weight: 600;
}

/* ===== FOOTER MODERNE AVEC ICONES JAUNES ===== */
footer {
  background-color: #1f1f1f;
  color: #f0f0f0;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

footer a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffffff;
}

footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* tout centré comme le menu */
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

footer .footer-section {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== ICONES CIRCULAIRES JAUNES ===== */
.footer-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffc107; /* jaune RGDA */
  transition: all 0.3s ease;
}

.footer-icon svg {
  width: 24px;
  height: 24px;
  fill: #1f1f1f; /* icône noire sur fond jaune */
  transition: all 0.3s ease;
}

/* Hover : fond bleu, icône blanche */
.footer-icon:hover {
  background-color: #0d6efd; /* bleu bootstrap */
}

.footer-icon:hover svg {
  fill: #ffffff;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

@media (max-width: 768px) {
  footer .footer-container {
    flex-direction: column;
  }
}
