/* Header Styles */
.header {
  background-color: var(--primary-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.navigation ul {
  display: flex;
  gap: 30px;
}

.navigation a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.navigation a:hover {
  color: var(--secondary-color);
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.navigation a:hover::after {
  width: 100%;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--primary-dark);
  padding: 80px 20px 20px;
  transition: right 0.3s ease;
  z-index: 150;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 10px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 140;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:first-child {
  transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}