/* Navigation Bar Styles */
nav {
    background-color: #f56600; /* Clemson orange */
    padding: 10px 0;
    text-align: center;
    border-top: 2px solid #ffffff; /* Clemson orange border on top */
    border-bottom: 2px solid #ffffff; /* Clemson orange border on bottom */
    border-left: none;
    border-right: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    position: relative;
    display: inline-block;
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
}

nav ul li a:hover {
    background-color: #522d80;
    color: white;
    text-decoration: none;
}


/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f56600;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: left;
}

.dropdown-content a {
    color: white;
    padding: 10px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #522d80;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Expanded Dropdown Styling */
.mega-dropdown .mega-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 600px;
    background-color: #f56600;
    padding: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.mega-dropdown:hover .mega-menu {
    display: flex;
}

.mega-menu .column {
    flex: 1;
    padding: 0 15px;
}

.mega-menu h3 {
    margin-top: 0;
    font-size: 1em;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    color: #2c3e50
}

.mega-menu a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    color: white;
    transition: background 0.3s ease;
}

.mega-menu a:hover {
    background-color: #522d80;
}

/* Make avatars circular and uniform in size */
.auth-nav img.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}



/* Search input styling */
.search-li {
  position: relative;
}
.search-li input {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
/* dropdown suggestions */
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
}
.search-results li {
  padding: 6px 8px;
  cursor: pointer;
}
.search-results li:hover {
  background-color: #f0f0f0;
}





