/* ===================================================================
   /sitesby/css/sitesby.css – Full header + panels + dropdowns
   =================================================================== */

/* ——————————————————————————————————————————————————————————————
   Base page background & reset
   —————————————————————————————————————————————————————————————— */
html, body {
  margin: 0;
  padding: 0;
  width: 100%; height: 100%;
  background-color: #000;
  overflow-x: hidden;
  font-family: 'Orbitron', sans-serif;
  color: #00ffee;
}

/* ——————————————————————————————————————————————————————————————
   Header (desktop + mobile toggle)
   —————————————————————————————————————————————————————————————— */
/* ensure your base styles.css loaded first */
@import url('/styles.css');

/* show desktop header */
.desktop-header {
  display: flex !important;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1002;
  background: transparent;
  align-items: center;
  gap: 20px;
}

/* show desktop nav */
.hud-desktop-menu {
  display: flex !important;
  z-index: 1003;
}
.hud-desktop-menu ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hud-desktop-menu li a {
  color: cyan;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 0 4px cyan;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s ease, text-shadow 0.2s ease;
}
.hud-desktop-menu li a:hover {
  background: rgba(0,255,238,0.15);
  text-shadow: 0 0 10px cyan;
}

/* reset mobile header & toggle wrapper (we only want desktop) */
.mobile-header,
.mobile-toggle-wrapper,
.hud-mobile-nav {
  display: none !important;
}

/* ——————————————————————————————————————————————————————————————
   Dropdown in desktop menu
   —————————————————————————————————————————————————————————————— */
.hud-desktop-menu li { position: relative; }

/* hide dropdowns by default */
.hud-desktop-menu .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0,0,0,0.85);
  padding: 8px 0;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0,255,255,0.4);
  list-style: none;
  white-space: nowrap;
  z-index: 1004;
}
.hud-desktop-menu .dropdown-content li a {
  display: block;
  padding: 6px 16px;
  color: #00ffee;
  text-decoration: none;
  font-size: 0.95rem;
}
.hud-desktop-menu .dropdown-content li a:hover {
  background: rgba(0,255,238,0.1);
}

/* reveal on hover */
.hud-desktop-menu .dropdown:hover .dropdown-content {
  display: block;
}

/* ——————————————————————————————————————————————————————————————
   Clock positioning (override for SitesBy)
   —————————————————————————————————————————————————————————————— */
.hud-clock {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 0.9rem;
  background: rgba(0,255,238,0.1);
  padding: 6px 10px;
  border: 2px solid cyan;
  border-radius: 6px;
  text-shadow: 0 0 6px cyan;
  box-shadow: 0 0 12px rgba(0,255,255,0.4);
  z-index: 1002;
}

/* ——————————————————————————————————————————————————————————————
   Scroll‐Activated Panels & Canvas
   —————————————————————————————————————————————————————————————— */
canvas#hud-scene {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.scene-panel {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-align: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
}
.scene-panel.active {
  opacity: 1;
}
.scene-panel h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
  text-shadow: 0 0 12px #00ffee;
}
.scene-panel p {
  font-size: 1.15rem;
  max-width: 700px;
  margin-bottom: 1em;
  text-shadow: 0 0 6px #00ffee;
}
.scene-panel a {
  padding: 0.75em 1.5em;
  border: 2px solid #00ffee;
  border-radius: 12px;
  color: #00ffee;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.scene-panel a:hover {
  background: #00ffee;
  color: #000;
  box-shadow: 0 0 16px #00ffee;
}

/* ——————————————————————————————————————————————————————————————
   Responsive fallback (narrow screens)
   —————————————————————————————————————————————————————————————— */
@media (max-width: 768px) {
  .desktop-header, .hud-desktop-menu, .hud-clock {
    display: none !important;
  }
  .mobile-header, .mobile-toggle-wrapper {
    display: flex !important;
  }
  /* You can style your mobile dropdowns here if needed */
}
