/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #ffffff;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background: #0e0e0e;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(0);
  transition: transform 0.3s ease-in-out;
  z-index: 10000;
}

.sidebar.hide {
  transform: translateX(-100%);
}

.sidebar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

/* ✅ Add spacing between sidebar buttons */
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar nav a,
.sidebar nav .dropdown span {
  color: white;
  padding: 0.5rem 1rem;
  transition: 0.3s;
  border-radius: 6px;
  position: relative;
}

.sidebar nav a:hover,
.sidebar nav .dropdown span:hover {
  background-color: #222;
  box-shadow: 0 0 10px #00fff7, 0 0 20px #00fff7;
  color: #00fff7;
}

/* Dropdown */
.dropdown-content {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
}
.dropdown:hover .dropdown-content {
  display: flex;
}
.dropdown-content a:hover {
  background: #1a1a1a;
  box-shadow: 0 0 8px #00c3ff;
}

/* Hero Section */
.hero {
  margin-left: 220px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('assets/wr.webp') center/cover no-repeat;
  position: relative;
  text-align: center;
  padding: 2rem;
}

.logo-img {
  max-width: 200px;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Glowing Buttons */
.glow-btn {
  padding: 14px 32px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
  font-size: 1rem;
  transition: color 0.3s ease;
  text-align: center;
  text-decoration: none;
}
.glow-btn::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}
.glow-btn::before {
  content: "";
  background: linear-gradient(
    45deg,
    #FF0000, #FF7300, #FFFB00, #48FF00,
    #00FFD5, #002BFF, #FF00C8, #FF0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height:  calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
  opacity: 0;
}
.glow-btn:hover::before {
  opacity: 1;
}
.glow-btn:active::after {
  background: transparent;
}
.glow-btn:active {
  color: #000;
  font-weight: bold;
}

/* Info Sections */
.info-section {
  margin-left: 220px;
  padding: 4rem 2rem;
  background: #181818;
  border-bottom: 1px solid #333;
}

.info-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-section p {
  max-width: 700px;
  line-height: 1.6;
  color: #ddd;
}

/* Footer */
footer {
  margin-left: 220px;
  padding: 1.5rem 2rem;
  text-align: center;
  background: #0d0d0d;
  font-size: 0.9rem;
  color: #999;
}

/* Hamburger Glow Button */
.hamburger {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 10001;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: white;
  border-radius: 5px;
  animation: glowingHamburger 5s linear infinite;
  box-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
}
@keyframes glowingHamburger {
  0% { box-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff; }
  50% { box-shadow: 0 0 20px #00bfff, 0 0 40px #00bfff; }
  100% { box-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff; }
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero,
  .info-section,
  footer {
    margin-left: 0;
    padding: 1rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }
}


