header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  vertical-align: middle;
  transition: all 0.3s ease;
  display: block;
  object-fit: contain;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

/* Ensure desktop navigation works properly */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 2.5rem !important;
    right: auto !important;
    top: auto !important;
    padding-top: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  
  .nav-links li {
    opacity: 1 !important;
    margin: 0 !important;
  }
  
  .nav-links li a {
    font-size: 1rem !important;
  }
}

.nav-links li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--secondary);
  padding: 0.3rem 0;
  position: relative;
}

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

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

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

.nav-links li a.active {
  color: var(--primary);
  font-weight: 600;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 100;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger:hover div {
  background-color: var(--primary);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    transition: 0.5s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }
  
  .nav-links.nav-active {
    right: 0;
  }
  
  .nav-links li {
    margin: 0;
    opacity: 0;
  }
  
  .nav-links li a {
    font-size: 1.3rem;
  }
  
  /* Mobile logo styles are defined outside media query */
  
  .mobile-logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
    object-fit: contain;
  }
  
  .mobile-logo-img:hover {
    transform: scale(1.05);
  }
  
}

/* Hide mobile logo by default (desktop) */
.mobile-logo {
  display: none !important;
}

/* Show mobile logo only in mobile menu */
@media (max-width: 768px) {
  .mobile-logo {
    display: block !important;
    margin-bottom: 3rem !important;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--light);
    margin-top: 0 !important;
  }
}
  
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 576px) {
  nav {
    padding: 0.8rem 1.5rem;
  }
  
  .logo-img {
    height: 35px;
  }
} 