/* Sidebar Styles */
.sidebar {
  position: fixed;
  left: -300px;
  top: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #ef5874 0%, #ff7a93 100%);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar-logo {
  padding: 30px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar-logo img {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.sidebar-logo img:hover {
  transform: scale(1.05);
}

.sidebar-nav {
  padding: 30px 0;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 16px 25px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: white;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.sidebar-nav a:hover::before {
  transform: scaleY(1);
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 35px;
}

.sidebar-nav a i {
  margin-right: 12px;
  font-size: 18px;
}

.sidebar-toggle {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ef5874 0%, #ff7a93 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 4px 15px rgba(239, 88, 116, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 88, 116, 0.6);
}

.sidebar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  position: relative;
  transition: all 0.3s ease;
}

.sidebar-toggle span::before,
.sidebar-toggle span::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.sidebar-toggle span::before {
  top: -7px;
}

.sidebar-toggle span::after {
  bottom: -7px;
}

.sidebar-toggle.active span {
  background: transparent;
}

.sidebar-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.sidebar-toggle.active span::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Sidebar Footer */
.sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sidebar-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.sidebar-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.sidebar-social a:hover {
  background: white;
  color: #ef5874;
  transform: translateY(-3px);
}

.sidebar-contact {
  color: white;
  font-size: 12px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 260px;
    left: -260px;
  }
  
  .sidebar-toggle {
    left: 15px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 240px;
    left: -240px;
  }
  
  .sidebar-logo img {
    width: 150px;
  }
  
  .sidebar-nav a {
    font-size: 14px;
    padding: 14px 20px;
  }
}
