/* Header Styles */
header {
  background: var(--primary-yellow);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

header nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

header nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--black);
  transition: all 0.3s;
  position: relative;
}

header nav a:hover {
  color: var(--gray-dark);
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s;
}

header nav a:hover::after {
  width: 100%;
}

.cta-header {
  background: var(--black);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.menu-toggle:hover {
  background: var(--gray-dark);
}

/* Responsive Header */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-wrap: wrap;
    position: sticky;
  }

  header img {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-yellow);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 0;
    width: 100%;
  }

  header nav.active {
    display: flex;
  }

  header nav a {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-left: 0;
    width: 100%;
  }

  header nav a:last-child {
    border-bottom: none;
  }

  .cta-header {
    width: 100%;
    text-align: center;
  }
}

