/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar { 
  margin-bottom: 0 !important;
  background-color: #04042c;
  position: sticky;
  top: 0;
  z-index: 10000;
  padding: 6px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

/* Logo */
.logo img { 
  max-height: 44px; 
  height: auto; 
  width: auto; 
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #9243f9;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffffff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #9243f9;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
    padding: 0 12px;
  }

  /* Slide-out panel */
  .nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100%;
    width: 240px;
    background: #04042c;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 10001;              /* below the hamburger but above page */
  }
  .nav-links.show { left: 0; }

  .nav-links li a {
    font-size: 1.2em;
    color: #fff;
  }

  /* Hamburger on the RIGHT so it never collides with the logo */
  .hamburger {
    display: flex;
    position: static;            /* not absolute */
    margin-left: auto;           /* push to the right */
    z-index: 10002;              /* above the drawer */
  }

  /* Keep logo on the left, don’t center it */
  .logo { margin: 0; }
}
