
:root {
--primary-color: #007bff; /* Bleu vibrant */
--secondary-color: #28a745; /* Vert pour l'accentuation */
--text-color: #343a40;
--background-light: #f8f9fa;
--background-dark: #343a40;
--shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
--transition-speed: 0.3s;
        }

    
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #343a40;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo {
  width: 150px;
  margin-left: 3rem;
}


.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* Permet un léger wrap si l'écran est juste trop petit */
}

.nav-links li {
  margin-left: 15px;
}

.nav-links a {
  color: white;
  padding: 8px 12px;
  display: block;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  border-radius: 5px;
  font-size: 1.rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}
nav ul li a.active{
   background-color: var(--primary-color);

}
.nav-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
   margin: 5px 0;
   margin-right: 15px;
  background-color: white;
  transition: all var(--transition-speed) ease-in-out;
}

/*RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 1024px) {
.nav-links li {
  margin-left: 10px;
}
 }
        
@media (max-width: 768px) {
 
 .header{
  width: 100%;
    
 }   

.header .logo{
  width: 90px;
  margin-left: 0;
}


          
          
.nav-links {
  display: none;
  flex-direction: column;
  width:100%;
  text-align: center;
  position: absolute;
  top: 70px; /* Hauteur de l'entête */
  left: 0;
  background-color: var(--background-dark);
  box-shadow: var(--shadow-light);
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
  padding: 15px 20px;
  text-transform: uppercase;
}

.menu-toggle {
  display: block;
}
            
/* Animation du Hamburger */
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
 

.para{

flex-direction: column;
text-align: center;

}

}

/*RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 1024px) {
.nav-links li {
  margin-left: 10px;
}

      
.nav-links {
  display: none;
  flex-direction: column;
  width:100%;
  text-align: center;
  position: absolute;
  top: 70px; /* Hauteur de l'entête */
  left: 0;
  background-color: var(--background-dark);
  box-shadow: var(--shadow-light);
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
  padding: 15px 20px;
  text-transform: uppercase;
}

.menu-toggle {
  display: block;
}
            
/* Animation du Hamburger */
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  
}

 

/* FOOTER */
.footer {
  background: #0a1a2f;
    color: #ff7200;
  padding: 40px;
  margin-top: 40px;
  transition: fadeIn 0.5s ease;
}

.para{ 
 display: flex;
 justify-content: space-around;
  color: #fff;
}

.page a{
    text-decoration: none;
    color: #fff;
}

.page{
  padding-bottom: 1rem;
}

.page a:hover{
  background-color: #007bff;
  padding: 0.3rem;
  border-radius: 5px;
  transition:  background 0.3s ease;
}

.parone .icons{
  margin-top: 2rem;
    text-decoration: none;
    color: #fff;
  margin-bottom: 2rem;
    
    
}
.icons ion-icon{
    color: #fff;
    font-size: 30px;
    padding-left: 14px;
    padding-top: 5px;
    transition: 0.3s ease;
}
.icons ion-icon:hover{
    color: #ff7200;

}

.partow  a{
  text-decoration: none;
  color: #ff7200;
}

.para h2{
    color: #ff7200;

}

.partow{
  margin-bottom: 2rem;
}

.footer .copy{
  text-align: center;
}

@media (max-width: 480px) {


  .header .search{
    width: 100%;
  }
}