:root {
  --primary-color: #FF6B35;
  --white: #FFFFFF;
  --black: #000000;
  --text-color: #1A202C;
  --dark-bg: #1e1e1e;
  --light-gray: #f5f5f5;
  --medium-gray: #666666;
  --dark-gray: #333333;
  --border-gray: #888888;
  --blue-accent: #1a73e8;
  --light-blue: #87CEEB;
  --card-bg: #E8F0FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* Header */
header {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 5px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  z-index: 1001;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
}


.nav-links a:hover::after {
  width: 100%;
}

/* Menu Burger pour mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 30px;
    box-shadow: 0 5px 10px var(--shadow-color);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
      opacity 0.5s ease;
    z-index: 1000;
    visibility: hidden;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 18px;
    display: block;
    padding: 15px 0;
    width: 100%;
  }

  .nav-links a:hover::after {
    width: 0;
  }

  /* Animation du menu burger */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media screen and (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .container {
    padding: 0 15px;
  }

  header {
    padding: 15px 0;
  }

  .nav-links a {
    font-size: 16px;
  }
}