/*header.css*/
/*.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, #020617, #020617);
  z-index: 1000;
}*/

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;               /* 🔴 REQUIRED */
  background: #020617;       /* 🔴 REQUIRED */
  z-index: 1300;             /* above hero */
  display: flex;
  align-items: center;
}

/*
.header-container {
  max-width: 1100px;
  margin: auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}*/

.header-container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo a {
  color: #3b82f6;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ffffff;
  z-index: 1500;       /* 🔥 REQUIRED */
  cursor: pointer;    /* UX fix */
}


/* Mobile */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
/**********************************/
/**********************************/
/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #020617;
  padding: 90px 20px;
  transition: right 0.3s ease;
  z-index: 1200;
}
.mobile-drawer {
  z-index: 1600;   /* higher than header */
}

.drawer-overlay {
  z-index: 1500;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer nav a {
  display: block;
  padding: 14px 0;
  color: #93c5fd;
  font-size: 1.1rem;
  text-decoration: none;
}

.mobile-drawer nav a:hover {
  color: #ffffff;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

