/* dashboard.css */

/* ================== General Styling ================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
}

/* ================== Sidebar Styles ================== */
.sidebar {
  width: 220px;
  height: 100vh;
  background-color: #000;
  position: fixed;
  top: 120px;
  left: 20px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: width 0.3s ease;
  overflow: hidden;
  z-index: 999;
}

.sidebar-top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#toggleSidebar {
  background: transparent;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sidebar nav a,
.sidebar nav button {
  width: 100%;
  padding: 15px 25px;
  text-decoration: none;
  color: #f8ecec;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 500px;
  white-space: nowrap;
}

.sidebar nav a:hover {
  background-color: #1f1f1f;
  color: #fff;
  transform: scale(1.05) translateZ(5px);
  box-shadow: 0 8px 20px rgba(164, 74, 228, 0.3);
}

.sidebar nav a:active {
  transform: scale(0.98) translateY(2px);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15) inset;
}

.sidebar nav .active {
  background-color: #1f1f1f;
  color: #fff;
}

.sidebar nav i {
  margin-right: 12px;
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.sidebar nav span {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ================== Sidebar Collapse Styles ================== */
.sidebar.collapsed {
  width: 70px;
}

.sidebar.collapsed nav a,
.sidebar.collapsed nav button {
  justify-content: center;
  padding: 15px 0;
}

.sidebar.collapsed nav i {
  margin-right: 0;
}

.sidebar.collapsed nav span {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

/* ================== Main Content Area ================== */
.main {
  margin-left: 220px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.main.collapsed {
  margin-left: 70px;
}

/* ================== Header ================== */
#fixedHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid #1f1f1f;
  z-index: 1000;
  transition: left 0.3s ease;
}

.logo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  gap: 40px;
}

.logo-header .logo-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo-header .search-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-header input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
}

.header-buttons {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.header-buttons button {
  background: transparent;
  color: #fff;
  border: 1px solid #555;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* Adjust content position */
.hero {
  margin-top: 140px;
}

/* ================== Hero Section ================== */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at center, #15001f 0%, #000 100%);
  border-radius: 12px;
  margin-top: 110px;
}

.hero-text h1 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #da8bfa;
}

.hero-text p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

.hero-text .explore {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #a44ae4;
  padding: 12px 24px;
  border-radius: 32px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hero-text .explore:hover {
  background-color: #a44ae4;
}

/* ================== 3D Carousel ================== */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}

.carousel-3d {
  display: flex;
  justify-content: center;
  gap: 20px;
  transform: perspective(1000px);
}

.carousel-3d img {
  width: 200px;
  border-radius: 12px;
  transform: scale(0.9);
  transition: transform 0.6s ease, opacity 0.6s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.carousel-3d img:nth-child(2) {
  transform: scale(1.1) translateY(-10px);
  z-index: 2;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-indicators span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #555;
  border-radius: 50%;
}

.carousel-indicators span.active {
  background: #17f9ff;
  width: 16px;
  border-radius: 6px;
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  .sidebar {
    width: 70px;
  }

  .main {
    margin-left: 70px;
  }

  .sidebar nav a span {
    display: none;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .carousel-3d img {
    width: 150px;
  }

  .logo-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .header-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-header .search-center {
    justify-content: flex-start;
    width: 100%;
  }
}




















