/* side-menu.css */

:root {
  --primary: #f99746;
  --accent: #2d3142;
  --white: #fff;
  --gray: #eff2f6;
}

/* SIDE MENU STRUCTURE */
.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background: var(--white);
  box-shadow: 2px 0 12px rgba(45,49,66,0.1);
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  transition: left 0.25s ease-in-out;
  z-index: 2000;
}

.side-menu.open {
  left: 0;
}

.side-menu .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 1rem;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--gray);
}

.side-menu a:hover {
  color: var(--primary);
  background: var(--gray);
}

/* OVERLAY */
.overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 49, 66, 0.13);
}

.overlay.active {
  display: block;
}

