html, body {
  background-color: #000 !important;
  color: #AE9D6B;
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  height: 100%;
}

:root {
  --gold-old: #AE9D6B;
  --gold-mid: #CFBA6F;
  --gold-bright: #FFD158;
  --dark-bg: #000;
  --overlay-bg: #111;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  z-index: 1000;
}
.nav-brand span {
  font-size: 18px;
  color: var(--gold-old);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100vw - 100px); /* prevents it from hanging off */
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
}

.nav-logo {
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-brand span {
  color: var(--gold-old);
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100vw - 100px);

/* --- HAMBURGER --- */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
}

.hamburger span {
  background: var(--gold-old);
  height: 3px;
  width: 100%;
  border-radius: 2px;
}

/* --- OVERLAY MENU --- */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--overlay-bg);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
}

.overlay-menu.active {
  transform: translateX(0);
}

.close-btn {
  background: none;
  border: none;
  color: var(--gold-bright);
  font-size: 28px;
  float: right;
  cursor: pointer;
  margin-bottom: 20px;
}

/* --- LINKS --- */
.overlay-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-links > li {
  margin: 6px 0;
}

.overlay-links a {
  color: var(--gold-old);
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 4px 0;
}

.overlay-links a:hover {
  color: var(--gold-bright);
}

.submenu ul {
  list-style: none;
  margin: 4px 0 8px 15px;
  padding: 0;
}

.submenu ul a {
  font-size: 16px;
  color: var(--gold-mid);
}

/* --- SEARCH BAR --- */
.overlay-search {
  margin-top: 15px;
  display: flex;
  gap: 6px;
}

.overlay-search input {
  flex: 1;
  background: #000;
  border: 1px solid var(--gold-old);
  color: #fff;
  padding: 6px;
  border-radius: 4px;
}

.overlay-search button {
  background: var(--gold-old);
  border: none;
  color: #000;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.overlay-search button:hover {
  background: var(--gold-bright);
}

/* Prevent scroll when menu is open */
body.menu-open {
  overflow: hidden;
}
