@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Slab:wght@100..900&display=swap");

/* CSS Variables for theme colors and fonts */
:root {
  --header-font: "Bebas Neue", cursive;
  --text-font: "Roboto Slab", serif;
  --primary-background: #000000;
  --accent: #e50914;
  --text-secondary: #b3b3b3;
  --text-primary: #ffffff;
}
/* Side Menu Styles */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001; /* Behind menu, above header */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  left: -300px; /* Hide off-screen */
  width: 280px;
  height: 100%;
  background-color: #1a1a1a; /* Dark background */
  z-index: 1002;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu.open {
  left: 0;
}

.menu-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #111;
}

.menu-header h2 {
  color: var(--accent);
  font-family: var(--header-font);
  letter-spacing: 2px;
  margin: 0;
  font-size: 1.8rem;
}

#close-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

#close-menu-btn:hover {
  color: var(--accent);
}

.menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content li {
  margin: 0;
}

.menu-content a {
  display: block;
  padding: 12px 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.menu-content a:hover {
  text-decoration: none; /* jQuery or Bootstrap override check */
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-left-color: var(--accent);
  padding-left: 30px;
}

.menu-section-header {
  padding: 15px 25px 5px;
  margin-top: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #666;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 5px;
}

/* Scrollbar for menu */
.menu-content::-webkit-scrollbar {
  width: 6px;
}

.menu-content::-webkit-scrollbar-track {
  background: #111;
}

.menu-content::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
