/* Hide hamburger on desktop */
.hamburger {
  display: none;
  position: relative;
  cursor: pointer;
}

.menu-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  /* margin: 0 10px; */
  border-radius: 50%;
  font-size: 18px;
  background: linear-gradient(145deg, var(--secondary-bg), var(--bg-color));
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
}

/* Mobile Menu (hidden by default) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--navbar-bg);
  box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Header */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-header {
  font-size: 26px;
  cursor: pointer;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 30px;
  font-size: 26px;
  cursor: pointer;
}

/* Description */
.mobile-desc {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--secondary-text);
}

/* Mobile Links */
.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.mobile-links a {
  text-decoration: none;
  font-size: 18px;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-links a:hover {
  color: var(--accent-color);
}

/* Social Icons */
.mobile-social {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.mobile-social a {
  font-size: 20px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.mobile-social a:hover {
  color: var(--accent-color);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

@media (max-width: 550px) {
  .logo-text{ font-size: 1.2rem;}
  .theme-toggle{
    margin: 0;
    width: 45px;
    height: 45px;
  }
  
  .theme-toggle span{font-size: 18px;  }

  .user-menu{
    margin: 0;
  }

  .user-icon{
    width: 45px;
    height: 45px;
  }
  .menu-icon{
    width: 45px;
    height: 45px;
  }
  .theme-toggle span{font-size: 18px;  }
  .hamburger{
    width: 45px;
    height: 45px;
  }
  
}
