/* ══════════════════NAV═════════════════════  */
:root {
  --border:   rgba(255,255,255,0.055);
  --gold:     #e8b84b;
  --text:     #d8dce8;
  --text2:    #7a8099;
  --bg3:      #161923;
}
.topnav{
  background:oklch(91.237% 0.20156 112.244);
	background: linear-gradient(135deg, #1a1a2e 0%, #26213e 100%);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:200;
}
.topnav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:48px;
  max-width:1800px;
  margin:0 auto;
  padding:0 24px;
  gap:12px;
}
.nav-logo{
  font-family: 'Bebas Neue',sans-serif;
  font-size:22px;
  letter-spacing:0.08em;
  color:var(--gold);
  text-decoration:none;
  white-space:nowrap;
}
.nav-logo span{color:var(--text);opacity:0.6;}
.nav-links{display:flex;gap:2px;}

.nav-links a{
  font-size:11px;
  font-weight:500;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:var(--text2);
  text-decoration:none;
  padding:4px 10px;
  border-radius:4px;
  transition:all 0.15s;
}
.nav-links a:hover{background:var(--bg3);color:var(--text);}
.nav-links a.active{color:var(--gold);}

.dropdown {
  display: inline-block;
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #25291a; 
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
  z-index: 999;
  border: 1px solid #2d333b;
  border-top: 2px solid #00f2ff; 
  margin-top: 2px;
}

.dropdown-content a {
  color: #8b949e !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 11px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:hover {
  background-color: #2d333b;
  color: #fff !important;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.arrow {
  font-size: 8px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Basic Reset & Navbar Styling*/
.navbar {
  background: linear-gradient(135deg, #1a1a2e 0%, #26213e 100%);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:200;
  display: flex;
  padding: 0 20px;
  height: 60px; 
  justify-content: space-between; 
  align-items: center; 
}

.navbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:48px;
  max-width:1800px;
  margin:0 auto;
  padding:0 24px;
  gap:12px;
}
.navbar-links {
  list-style: none;
  display: flex;
  margin: 0; 
  padding: 0;
  align-items: center;    
  gap: 15px;             
}

/* Style for the Parent Item */
.navbar-dropdown {
  position: relative;
}
.drop-trigger {
  display: block;
  padding: 20px;
  color: #efe40a;
  text-decoration: none;
  cursor: default; /* Shows it's not a standard link */
}
/* The navbar-submenu (Hidden by default) */
.navbar-submenu {
  display: none;
  position: absolute;
  background-color: #041f25;
  color: #55ef08;
  list-style: none;
  padding: 0;
  min-width: 160px;
  box-shadow: 0px 8px 16px #e9ede7fb;
/* The "Magic" Trio */
  min-width: 200px;        /* Sets a decent starting width */
  width: max-content;      /* Forces the menu to grow to fit the longest text */
  white-space: nowrap;     /* Prevents the text from wrapping to a second line */
  z-index: 100;            /* Ensures it sits on top of other content */
}
.navbar-submenu li a {
  display: block;
  padding: 12px 16px;
  color: #f0f0f5f5;
  text-decoration: none;
}
/* Hover States */
.navbar-submenu li a:hover {
  background-color: rgb(150, 16, 16);
}

/* Ensure the navbar-submenu still appears on hover of the parent LI */
.navbar-dropdown:hover .navbar-submenu {
  display: block; /* Shows the menu on hover */
}

.navbar-dropdown:hover .drop-trigger {
  background-color: #444;
}

/* ... Keep previous navbar and navbar-submenu CSS ... */
/* Shared style for both single links and dropdown triggers */
.navbar-item {
  display: block;
  padding: 20px 25px;
  color: rgb(245, 243, 246);
  text-decoration: none;
  transition: background 0.3s;
}

/* Hover effect for everything in the top bar */
.navbar-item:hover {
  background-color: lab(1.37% 0 0);
}

/* Specific cursor for dropdown triggers to show they aren't 'pages' */
.navbar-dropdown .navbar-item {
  cursor: default;
}

/* Specific cursor for single links to show they ARE pages */
a.navbar-item[href]:not([href="javascript:void(0)"]) {
  cursor: pointer;
}

/* Shared style for both single links and dropdown triggers */
.navbar-item-menu {
  display: block;
  padding: 20px 25px;
  color: #eff2f7;
  text-decoration: none;
  transition: background 0.3s;
}
/* Hover effect for everything in the top bar */
.navbar-item-menu:hover {
  background-color: #ff1331;
  box-shadow: 0px 8px 16px #e9ede7fb;
}

/* Shared style for both single links and dropdown triggers */
.navbar-item-menus {
  display: block;
  padding: 20px 25px;
  color: #f6f5f5;
  text-decoration: none;
  transition: background 0.3s;
}

.navbar-item-menus:hover {
  background-color: #555555;
}

.navbar-dropdown .navbar-item-menus {
  cursor: default;
}

a.navbar-item-menus[href]:not([href="javascript:void(0)"]) {
  cursor: pointer;
}


.nav-button-item {
  display: flex;
  align-items: center;   
}

#themeBtn {
  cursor: pointer;
}

navbar {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  padding: 0 20px;
  height: 60px; 
}
