/* ===== Header (extracted from index.html) ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 0, 15, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: none !important;
  
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
  }
  
  /* Logo flush to left */
  header .logo img {
    height: 70px;
    margin-left: 30px;
    margin-top: 0;
    display: block;
  }
  header .logo {
  position: absolute;
  left: 20px;
}
  
  /* Nav on right */
  header nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
     justify-content: center;
  }
  
  header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
  }
  
  /* Hamburger button */
  .hamburger {
    display: none;
    font-size: 28px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
  }
  
  /* Mobile nav slide-in (uses nav.show) */
  @media (max-width: 768px) {
    header nav ul {
      flex-direction: column;
      gap: 30px;
      margin-top: 80px;
    }
  @media (max-width: 768px) {
  header nav {
    right: -100%;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px; /* stays right */
  }
}
    header nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background: rgba(10, 0, 20, 0.95);
      backdrop-filter: blur(15px);
      padding-top: 60px;
      z-index: 1100;
      transition: right 0.35s ease;
      margin: 0 auto;
    }
  
    header nav.show {
      right: 0;
    }
  
    .hamburger {
      display: block;
      margin-right: 20px;
    }
  
    header nav ul li a {
      font-size: 18px;
      display: block;
      padding: 12px;
    }
  }

  .light-page header {
  background: #000; /* keep header dark */
}

.light-page header nav ul li a {
  color: #fff; /* make nav visible */
}

/* Keep blog page nav links white despite global anchor inheritance */
body.blog-page header nav ul li a {
  color: #fff;
}

body.blog-page header nav ul li a:hover {
  opacity: 0.85;
}