/* ================= SIDEBAR BASE ================= */

.sidebar {
  width: 260px;
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid #eee;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  left: 0;
  top: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ================= LOGO ================= */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #ff8a00;
}

/* ================= NAV ================= */

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #444;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-item i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: 0.25s ease;
}

/* Hover */
.nav-item:hover {
  background: #fff3e5;
  color: #ff8a00;
  transform: translateX(4px);
}

.nav-item:hover i {
  stroke: #ff8a00;
}

/* Active */
.nav-item.active {
  background: linear-gradient(135deg, #b61d03, #ff7a00);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255,122,0,0.3);
}

.nav-item.active i {
  stroke: #ffffff;
}

/* ================= SOCIAL ================= */

.sidebar-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.socials {
  display: flex;
  justify-content: space-around;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.socials a:hover {
  background: #ff8a00;
  color: white;
  transform: translateY(-3px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ================= MAIN CONTENT SHIFT ================= */

.main-content {
  margin-left: 260px;
  transition: 0.3s;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1100;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #ff8a00;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .hamburger {
    display: block;
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 900;
  }

  .sidebar-overlay.active {
    display: block;
  }
}

@media (min-width: 901px) {
  .sidebar {
    transform: translateX(0);
  }
}
