/* Header styles from styles.css */
.main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
}

.header-top-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 15px;
}

.header-top-row > a:first-child {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  line-height: 0;
}

.search-container-wrapper {
  display: flex;
  align-items: center;
}

.logo-link-header {
  line-height: 0;
  flex-shrink: 0;
}

.main-header .logo {
  width: 160px;
  height: auto;
  display: block;
  margin-left: 315px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: auto; /* Pushes toggle to the far right */
  z-index: 999;
  flex-shrink: 0;
}

.menu-icon {
  font-size: 28px;
  color: #000;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: none;
  background-color: #fff;
  transform: translateX(100%);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: 60px 20px 20px;
  gap: 15px;
}

.close-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.close-icon {
  font-size: 28px;
  color: #000;
}

.menu-link {
  font-family: "Kameron", sans-serif;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-link:last-child {
  border-bottom: none;
}

.menu-link:hover {
  color: #2890e6;
}

.desktop-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 100%;
  margin-top: 15px;
}

.nav-link {
  font-family: "Kameron", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2890e6;
}

/* Responsive header styles */
@media (max-width: 991px) {
  .main-header {
    padding: 10px 15px;
  }
  .header-top-row {
    gap: 10px;
    margin-bottom: 10px;
  }
  .main-header .logo {
    width: 140px;
  }
  .desktop-menu {
    margin-top: 10px;
    gap: 20px;
  }
  .nav-link {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .header-top-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
  }
  .search-container-wrapper {
    order: 1;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
  }
  .header-top-row > a:first-child {
    order: 2;
  }
  .main-header .logo {
    width: 130px;
    margin: 0 auto;
  }
  .menu-toggle {
    order: 3;
    display: flex;
    margin-left: 0;
    position: absolute;
    top: 18px;
    right: 15px;
  }
  .mobile-menu {
    display: block;
  }
  .desktop-menu {
    display: none;
  }
}