/* *{
  box-sizing: border-box;
  color: inherit;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
} */

.skip-link,
a[href="#main-content"] {
  display: none !important;
}
 
/* Couleurs CRRH */
:root {
  --crrh-blue: #003366;
  --crrh-light-blue: #00B2E6;
  --crrh-background: #ffffff;
  --crrh-text: #333333;
}

/* Style général */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--crrh-text);
}

/* En-tête */
.site-header {
  background-color:#ffffff;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
  padding: auto;
  border-bottom: 2px solid #00B2E6;
  
}

/* Logo */
.site-logo img {
  max-height: 75px
}

/* Titre de l'intranet */
.site-name {
  color: var(--crrh-blue);
  font-size: 2.5rem;
  font-weight: bold;
  margin-left: 10px;
}

/* Menu principal */
.navbar {
  background-color: white;
  border: none;
}

.navbar-nav {
  margin-left: auto;
  display: flex;
  /* gap:1px; */
  list-style-type: none;
  /* justify-content: end; */
}

.nav-link {
  color: var(--crrh-light-blue) !important;
  font-weight: 500;
  margin: 0 10px;
  padding: 10px 15px !important;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--crrh-blue) !important;
  text-decoration: none;
}

/* Section de bienvenue */
.welcome{
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* padding: 40px 20px; */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  
}

.welcome-section {
  padding: 40px 20px;
}

.welcome-section h1 {
  color: var(--crrh-blue);
  margin-bottom: 20px;
  
}

.welcome p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
    text-align: justify;
}

.welcome img {
  height: auto;
  width: 500px;
}

/* Sections de contenu */
.content-section {
  padding: 30px 20px;
}

.content-section h2 {
  color: var(--crrh-blue);
  border-bottom: 2px solid var(--crrh-light-blue);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Liens */
a {
  color: var(--crrh-text);
  text-decoration: none;
}

a:hover {
  color: var(--crrh-light-blue);
}

/* Liste à puces personnalisée */
.custom-bullet-list {
  list-style: none;
  padding-left: 0;
}

.custom-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

/* .custom-bullet-list li:before {
  content: "•";
  color: var(--crrh-light-blue);
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
} */
.fuck{
 display: flex;
justify-content: space-around;
}
.align{
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.esp{
display: flex;
}
/* Container des icônes */
.navbar-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* .navbar-dispo{
justify-content: end;
} */

.navbar-icons .btn-link {
  color: var(--crrh-light-blue);
  border: none;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-icons .btn-link:hover {
  color: var(--crrh-blue);
  background-color: var(--crrh-hover);
  transform: scale(1.1);
}
* RECHERCHE */
.search-container {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: 130px;
  right: 0;
  width: 300px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 15px;
  display: none;
  z-index: 1000;
}

.search-dropdown.show {
  display: block;
  animation: slideDown 0.3s ease;
}

.search-form .input-group {
  margin-bottom: 0;
}

.search-form .form-control {
  border: 1px solid #ddd;
  border-radius: 25px 0 0 25px;
  padding: 10px 15px;
}

.search-form .btn-primary {
  background-color: var(--crrh-light-blue);
  border-color: var(--crrh-light-blue);
  border-radius: 0 25px 25px 0;
  padding: 10px 15px;
}

.search-form .btn-primary:hover {
  background-color: var(--crrh-blue);
  border-color: var(--crrh-blue);
}
.search_flex{
  display: flex;
}
/* ANNONCES */
.announcement-btn {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
/* UTILISATEUR */
.user-container {
  position: relative;
}
.user-container .dropdown-menu {
  border: 1px solid #ddd;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 10px 0;
  width: 100%;
  z-index: 1000;
   width: 180px;
  position: absolute;
  top: 100%;
  right: 0; 
  background: white;
  border-radius: 8px;
  
}

.user-container .dropdown-item {
  padding: 8px 20px;
  color: var(--crrh-text);
  transition: background-color 0.3s ease;
  display: block;
  
}

.user-container .dropdown-item:hover {
  background-color: var(--crrh-hover);
  color: var(--crrh-blue);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* RESPONSIVE */
@media (max-width: 991px) {
  .navbar-icons {
    margin-top: 15px;
    justify-content: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
  }
  
  .search-dropdown {
    width: 280px;
    right: -50px;
  }
  
  .site-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .navbar-icons {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .search-dropdown {
    width: 250px;
    right: -100px;
  }
  
  .navbar-brand .logo {
    max-height: 40px;
  }
  
  .site-title {
    font-size: 1rem;
  }
}

/* Overlay pour fermer la recherche en cliquant ailleurs */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
}

.search-overlay.show {
  display: block;
}
/* Pied de page */
.site-footer {
  /* background-color: var(--crrh-blue); */
  background-color: #000;
  color: white;
  padding: 15px 0;
  text-align: center;
}

/* Media queries pour responsive */
@media (max-width: 768px) {
  .navbar-nav {
    margin-left: 0;
  }
  
  .nav-link {
    margin: 5px 0;
  }
}