/* ---------------------------------------------------------
   drawer.css — Clean Reset
--------------------------------------------------------- */

:root {
  --drawer-width: 260px;
  --drawer-bg: rgba(18, 18, 18, 0.96);
  --drawer-border: rgba(255, 255, 255, 0.07);
}

/*-🔹 Logo Button-*/
.logo-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 7000;
}

.logo-btn img {
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo-btn:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

/*-🔹 Drawer Container (Shell)-*/
#drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--drawer-width);
  height: 100vh;
  background: var(--drawer-bg);
  transform: translateX(calc(-1 * var(--drawer-width)));
  transition: transform 0.35s ease;
  z-index: 6000;
  overflow: hidden;
  border-right: 1px solid var(--drawer-border);
}

#drawer.open {
  transform: translateX(0);
}

/*-🔹 Drawer Close Button-*/
.drawer-close {
  position: fixed;
  top: 16px;
  left: var(--drawer-width);
  background: none;
  border: none;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#drawer.open ~ .drawer-close {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close:hover {
  color: #fff;
  transform: scale(1.1);
}

/*-🔹 Drawer Background Layers-*/
.drawer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.45);
  transform: scale(1.1);
  z-index: 1;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/*-🔹 Drawer Inner Content-*/

.drawer-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/*-🔹 Navigation-*/
.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 72px 24px 0;
}

.drawer-nav li {
  margin-bottom: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.drawer-nav a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.85;
}

.drawer-nav li:hover {
  background: rgba(255, 255, 255, 0.08);
}

.drawer-nav a:hover {
  opacity: 1;
}
/*-🔹 Divider-*/
.drawer-divider {
  height: 1px;
  margin: 24px;
  background: rgba(255, 255, 255, 0.08);
}

/*-🔹 Meta + Footer-*/
.drawer-meta {
  padding: 0 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.drawer-meta .muted {
  opacity: 0.6;
  margin-top: 6px;
}

.drawer-footer {
  margin-top: auto;
  padding: 24px;
}

.drawer-footer .copyright {
  font-size: 0.7rem;
  opacity: 0.55;
  margin-top: 12px;
}

/*-🔹 Social Icons-*/
.drawer-social {
  display: flex;
  gap: 14px;
}

.drawer-social img {
  width: 18px;
  height: 18px;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.drawer-social img:hover {
  opacity: 1;
}
