/* Reset default styles */
body, ul {
  margin: 0;
  padding: 0;
}

.site-header {
  background: #333; /* Dark background for contrast */
  color: #fff; /* Light text for readability */
  padding: 20px 0;
  position: fixed; /* Fixed position to stay at the top */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.site-header .logo img {
  height: 60px; /* Adjust the height as needed */
  width: auto; /* Maintain aspect ratio */
  display: block; /* Removes bottom space */
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header nav ul {
  list-style: none;
  display: flex;
}

.site-header nav ul li {
  margin: 0 15px;
}

.site-header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.site-header nav ul li a:hover {
  color: #f39c12; /* Highlight on hover */
}

.site-header .header-icons {
  display: flex;
}

.site-header .header-icons a {
  color: #fff; /* Use white for consistency across icons */
  font-size: 20px;
  margin-left: 15px;
  text-decoration: none;
}

.site-header .header-icons a:hover {
  color: #f39c12; /* Highlight on hover */
}

/* Container and overall header styling */
.header-icons {
  display: flex;
  align-items: center;
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-icon {
  font-size: 1.5em;
  cursor: pointer;
  text-decoration: none;
  color: #fff; /* Ensure icon matches the rest of the header */
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none; /* Hidden until hovered */
  position: absolute;
  right: 0;
  background-color: #f9f9f9; /* Light background to ensure contrast */
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0;
}

/* Dropdown links */
.dropdown-content a {
  display: block;
  color: black; /* Ensure text color is black */
  padding: 12px 16px;
  text-align: left;
  text-decoration: none;
  font-size: 16px;
  background-color: #f9f9f9; /* Ensure background is always visible */
}

/* Ensure text is visible even when not hovering over it */
.dropdown-content a:link, .dropdown-content a:visited {
  color: black; /* Ensure text color stays black */
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black; /* Keep text black on hover */
}

/* Show the dropdown when hovering over the user icon */
.user-dropdown:hover .dropdown-content {
  display: block; /* Dropdown appears on hover */
}
