/* === Base Reset & General Layout === */
body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: black;
  font-family: 'Orbitron', sans-serif;
  color: cyan;
  min-height: 100vh;
  position: relative;
}

#parallax-contents {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  visibility: hidden; /* 👈 ADD THIS */
}

#parallax-contents.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible; /* 👈 ADD THIS */
}




#3d-container {
  position: relative;
  top: 140px;
  width: 100vw;
  height: calc(100vh - 140px);
  z-index: 0;
}



.hud-layer {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: auto;
}

/* === Shared Glitch Header Title === */
.glitch-title {
  font-size: 32px;
  color: #bc13fe;
  text-shadow: 0 0 8px #bc13fe, 0 0 15px #00ffff, 0 0 20px #00ffff;
  animation: glitch-flicker 2.5s infinite alternate ease-in-out;
  margin: 0 auto;
  text-align: center;
}

/* === Desktop Header === */
.desktop-header {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1002;
  background: transparent;
  width: auto;
}
.desktop-header .logo-menu-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hud-desktop-menu {
  display: none;
  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: 15px;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 0 4px cyan;
  transition: color 0.2s ease;
}
.hud-desktop-menu li a:hover {
  color: white;
  text-shadow: 0 0 6px white;
}

.hud-clock {
  position: fixed;
  top: 25px;
  left: 1000px;
  font-size: 12px;
  background: rgba(0, 255, 255, 0.1);
  padding: 8px 12px;
  border: 2px solid cyan;
  border-radius: 4px;
  text-shadow: 0 0 6px cyan;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
  z-index: 1002;
}

/* === Mobile Header === */
.mobile-header {
  display: none;
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  z-index: 1002;
  background: transparent;
}
.mobile-header .glitch-title {
  margin: 0;
  font-size: 28px;
}

.mobile-toggle-wrapper {
  display: none;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  z-index: 1002;
  position: relative;
}

.hud-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1003;
  margin: 0 auto;
}
.glow-bar {
  width: 28px;
  height: 4px;
  background: cyan;
  box-shadow: 0 0 6px cyan;
  border-radius: 2px;
}

.hud-mobile-nav {
  display: none;
  pointer-events: auto;
  position: relative;
  width: fit-content;
  margin: 16px auto;
  text-align: center;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(6px);
  z-index: 1002;
}
.hud-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hud-mobile-nav li {
  margin: 10px 0;
}
.hud-mobile-nav li a {
  color: cyan;
  text-decoration: none;
  font-size: 1rem;
  text-shadow: 0 0 4px cyan;
}
.hud-mobile-nav li a:hover {
  color: white;
  text-shadow: 0 0 6px white;
}



/* === Fixed Bottom Buttons === */
.hud-button {
  padding: 10px 20px;
  background: rgba(0, 255, 255, 0.08);
  border: 2px solid cyan;
  border-radius: 6px;
  color: cyan;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-shadow: 0 0 6px cyan;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
  position: fixed;
  z-index: 1002;
}
.hud-button:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: scale(1.05);
}
.hud-button.right {
  bottom: 20px;
  right: 20px;
}
.hud-button.left {
  bottom: 20px;
  left: 20px;
}

/* === Folder Overlay & Close Button === */
.folder-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.folder-overlay.hidden {
  display: none;
}
#folder-overlay-content {
  width: 90vw;
  max-width: 1200px;
  height: 80vh;
  background: rgba(0, 255, 255, 0.03);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1101;
}
.folder-overlay.hidden .close-overlay-btn {
  display: none;
}
.close-overlay-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: 2px solid cyan;
  color: cyan;
  font-size: 20px;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1102;
  text-shadow: 0 0 8px cyan;
}
.close-overlay-btn:hover {
  background: rgba(0, 255, 255, 0.08);
}

@keyframes glitch-flicker {
  0% { opacity: 1; transform: translate(0, 0); }
  2% { opacity: 0.85; transform: translate(1px, -1px); }
  4% { opacity: 1; transform: translate(-1px, 1px); }
  8% { opacity: 0.95; transform: translate(0.5px, -0.5px); }
  100% { opacity: 1; transform: translate(0, 0); }
}

/* === Responsive Styles === */
@media (min-width: 769px) {
  .desktop-header {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .hud-desktop-menu {
    display: flex;
  }
  .mobile-header, .mobile-toggle-wrapper, .hud-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .mobile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mobile-toggle-wrapper {
    display: block;
  }
  .hud-menu-toggle {
    display: flex;
  }
  .hud-mobile-nav {
    display: none;
  }
  .desktop-header, .hud-desktop-menu {
    display: none !important;
  }
}
/* === Glowing Scroll Arrow (Mobile Only) === */
.scroll-arrow {
  display: none;
  position: fixed;
  bottom: 90px; /* leaves space above contact button */
  right: 20px;
  font-size: 32px;
  color: cyan;
  cursor: pointer;
  z-index: 1002;
  animation: pulse-glow 1.8s infinite;
  user-select: none;
  text-shadow: 0 0 6px cyan, 0 0 12px cyan;
}

@keyframes pulse-glow {
  0% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
  100% { opacity: 0.4; transform: translateY(0); }
}

/* Only show the arrow on mobile */
@media (max-width: 768px) {
  .scroll-arrow {
    display: block;
  }
}
/* Label under the scroll arrow */
.scroll-arrow-label {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  font-size: 10px;
  color: cyan;
  text-shadow: 0 0 5px cyan;
  z-index: 1001;
  pointer-events: none;
}

@media (max-width: 768px) {
  .scroll-arrow-label {
    display: block;
  }
}

/* === Digital Defense Lab Invitation === */
.defense-lab-block {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #0b0b0b, #0d1a1f);
  color: cyan;
  border-top: 1px solid rgba(0,255,255,0.1);
  border-bottom: 1px solid rgba(0,255,255,0.1);
  box-shadow: inset 0 0 40px rgba(0,255,255,0.05);
  z-index: 1;
}

.defense-lab-block h2 {
  font-size: 2rem;
  color: #bc13fe;
  text-shadow: 0 0 12px #00ffff;
  margin-bottom: 20px;
}

.defense-lab-block p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: cyan;
}

.response-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.response-buttons button {
  background: transparent;
  border: 2px solid cyan;
  color: cyan;
  padding: 10px 30px;
  font-size: 1rem;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.response-buttons button:hover {
  background: rgba(0,255,255,0.1);
  transform: scale(1.05);
  color: white;
}

#declineMessage {
  margin-top: 30px;
  font-size: 1rem;
  color: #888;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#declineMessage.visible {
  opacity: 1;
}
/* === Digital Defense Decline Animation === */
.hidden {
  display: none;
}

.decline-wrap {
  display: none;
  text-align: center;
  padding: 100px 20px;
  color: cyan;
  font-size: 1.5rem;
}

.decline-wrap.visible {
  display: block;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* === Footer === */
.site-footer {
  background: #0a0a0a;
  color: cyan;
  text-align: center;
  padding: 60px 20px 40px;
  font-family: 'Orbitron', sans-serif;
  border-top: 1px solid rgba(0,255,255,0.1);
  box-shadow: inset 0 0 20px rgba(0,255,255,0.05);
}

.site-footer .footer-logo {
  font-size: 1.5rem;
  color: #bc13fe;
  text-shadow: 0 0 10px #bc13fe, 0 0 18px #00ffff;
  margin-bottom: 10px;
}

.site-footer .footer-tagline {
  font-size: 1rem;
  color: cyan;
  margin-bottom: 25px;
  text-shadow: 0 0 5px cyan;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links li a {
  color: cyan;
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 0 4px cyan;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: white;
  text-shadow: 0 0 6px white;
}

.footer-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 20px;
}

.folder-hint-glitch {
  position: absolute;
  top: calc(100vh - 140px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw; /* Prevents text from overflowing on small screens */
  text-align: center; /* Ensures wrapped lines are centered */
  font-size: 0.9rem;
  font-family: 'Orbitron', sans-serif;
  color: #00ffffcc;
  text-shadow:
    0 0 3px #00ffff,
    0 0 6px #00ffff,
    0 0 12px #bc13fe;
  opacity: 0.7;
  z-index: 1000;
  pointer-events: none;
  animation: floatGlitch 4s infinite ease-in-out, flickerGlitch 6s infinite steps(1, end);
}

@keyframes floatGlitch {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes flickerGlitch {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 0.7;
  }
  20%, 22%, 24%, 55% {
    opacity: 0.3;
  }
}
@media (max-width: 768px) {
  .folder-hint-glitch {
    top: calc(100vh - 300px); /* lift it slightly on mobile */
    font-size: 0.85rem;
    opacity: 0.75;
  }
}

/* ——— Parallax Block Containers ——— */
#parallax-contents {
  position: relative;
  z-index: 1;
  perspective: 1000px;
}

/* Base style for every block */
.parallax-blocks {
  position: relative;
  min-height: 100vh;
  padding: 100px 20px;
  background: #0a0a0a;
  overflow: hidden;
}

/* Subtle radial glow behind each block for depth */
.parallax-blocks::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 150%; height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0,255,255,0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* Inner “glass panel” */
.parallax-blocks .block-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 30px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,255,255,0.3), inset 0 0 10px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  transform: translateZ(20px);
  z-index: 1;
}

/* Headings */
.parallax-blocks .block-inner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #bc13fe;
  text-shadow:
    0 0 8px #bc13fe,
    0 0 16px #00ffff;
  margin-bottom: 20px;
}

/* Paragraphs & lists */
.parallax-blocks .block-inner p,
.parallax-blocks .block-inner ul,
.parallax-blocks .block-inner li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0ffff;
  text-shadow: 0 0 4px rgba(0,255,255,0.2);
}

/* Roadmap list items as glowing cards */
.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.roadmap-list li {
  margin: 10px 0;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-left: 4px solid #00ffff;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,255,255,0.2);
}

/* Blockquotes */
.parallax-blocks .block-inner blockquote {
  margin: 15px auto;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid #bc13fe;
  color: #c0ffff;
  font-style: italic;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
}

/* Buttons */
.parallax-blocks .block-inner button,
.parallax-blocks .block-inner .btn-yes,
.parallax-blocks .block-inner .btn-no {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #00ffff;
  background: transparent;
  border: 2px solid #00ffff;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,255,255,0.4);
  cursor: pointer;
  transition: 
    background 0.3s ease, 
    box-shadow 0.3s ease, 
    transform 0.2s ease;
}
.parallax-blocks .block-inner button:hover,
.parallax-blocks .block-inner .btn-yes:hover,
.parallax-blocks .block-inner .btn-no:hover {
  background: rgba(0,255,255,0.1);
  box-shadow: 0 0 16px rgba(0,255,255,0.6);
  transform: scale(1.03);
}

/* Ensure block-inner sits above pseudo‑elements */
.parallax-blocks .block-inner { z-index: 1; }

/* in styles.css */
.parallax-blocks .block-inner {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
/* styles.css */
.heading-sweep {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.heading-sweep::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
}
/* styles.css */
#parallax-contents {
  position: relative;
  z-index: 1;
}
#parallax-contents::before {
  content: '';
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-image: url('images/particles.png'); /* a tiny, repeating tile */
  opacity: 0.1;
  animation: drift 30s linear infinite;
  z-index:0;
}
@keyframes drift {
  from { background-position: 0 0; }
  to   { background-position: 200px 200px; }
}
.shine-btn {
  position: relative;
  overflow: hidden;
}
.shine-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50px; height: 100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-20deg);
}
.shine-btn:hover::after {
  animation: shine 0.8s forwards;
}
@keyframes shine {
  to { left: 120%; }
}


