html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

.projects-wrapper {
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scroll-padding: 1px; /* Helps reduce snapping harshness */
  -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

.project {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease-out; /* Optional content animation */
}

.projectContainer {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  gap: 1.5rem; /* spacing between title, description, button */
}

/* NEW HEADER */

.hud-header {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url('../ASSETS/IMAGES/SVG/backgroundShape.svg') no-repeat center center;
  background-size: contain;
  z-index: 1000; 
  overflow: hidden;
}

.hud-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 5rem; 
  z-index: 1;
}


.logo img {
    transform: translateX(45px);
    width: 9em;
    height: auto;
}

 .logo a img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo a:hover img {
    filter: drop-shadow(0 0 5px white);
    transform: translateX(45px) scale(1.1);
}


.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: flex-end;
    margin: 0;
    padding: 0;
}

.main-nav {
    transform: translateX(35px);
}


.main-nav a {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  overflow: hidden;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #ff003c;
  transform: translateX(-100%);
  transition: transform 0.4s ease, visibility 0.4s ease;
  visibility: hidden;
}

.main-nav a:hover::after {
  transform: translateX(0);
  visibility: visible;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: 4rem;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

 .social-icons a:hover img {
     transform: scale(1.5);
     filter: brightness(0) invert(1) drop-shadow(0 0 3px white);
}

/*-----------------------------------------FOOTER-----------------------------------------*/
 .top-footer {
    background-color: #111;
    padding-top: 2rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}
 .top-footer ul {
     list-style: none;
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 2rem;
     margin: 0;
     padding: 0;
}
 .top-footer a {
     position: relative;
     display: inline-block;
     color: var(--neutral-color);
     text-decoration: none;
     font-weight: 500;
     letter-spacing: 1px;
     font-size: 1rem;
     overflow: hidden;
}
.top-footer a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.top-footer a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}
.top-footer img{
     width: 13rem;
     height: auto;
}
 .retro-footer {
     background-color: #1a1a1a;
     font-family: 'VCR OSD Mono', monospace;
     padding: 3rem 2rem 0;
     position: relative;
}
 .terminal-footer {
     display: flex;
     justify-content: center;
     margin: 2rem;
}
 .terminal-win95 {
     background-color: #1a1a1a;
     color: var(--primary-color);
     font-family: 'VCR OSD Mono', monospace;
     width: 100%;
     max-width: 800px;
     margin: 0 auto 3rem auto;
     overflow: hidden;
     position: relative;
     z-index: 0;
}
.win95-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../ASSETS/ANIMATIONS/WEBP_anim/static.webp');
  background-repeat: repeat;
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 30px 30px;
}




 .win95-title-bar {
     background: #572222;
     padding: 0.5rem 1rem;
     color: var(--neutral-color);
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-bottom: 3px solid #7e3535;
     font-size: 1.3rem;
     letter-spacing: 0.8px;
     border-radius: 10px 10px 0px 0px;
     color: var(--primary-color);
}
 .win95-controls {
     display: flex;
     gap: 0.4rem;
}
 .win95-btn {
     background-color: #ffffff;
     color: var(--secondary-color);
     width: 30px;
     height: 30px;
     font-size: 1.6rem;
     font-weight: 600;
     display: flex;
     align-items: center;
     justify-content: center;
}
 .win95-btn:hover {
     background-color: var(--secondary-color);
     color: #ffffff;
}
 .win95-body {
     background-color: #000;
     padding: 1.5rem;
     font-size: 1.05rem;
     line-height: 1.6;
     border-radius: 0px 0px 30px 30px;
     letter-spacing: 0.5px;
     color: var(--neutral-color);
     text-shadow: 0 0 1px #000;
}
 .prompt {
     display: block;
     color: var(--accent-color);
     font-weight: bold;
     margin-bottom: 0.2rem;
}
 .output {
     color: var(--neutral-color);
     margin-left: 1rem;
     margin-bottom: 1.4rem;
}
 .footer-extras {
     background-color: #111;
     text-align: center;
     padding: 2rem 1rem;
     margin: 0 -2rem;
}
 .footer-socials {
     display: flex;
     justify-content: center;
     gap: 1.5rem;
     margin-bottom: 1rem;
}
 .social-btn {
     display: inline-flex;
     background-color: var(--accent-color);
     padding: 0.7rem;
     border-radius: 10px;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 .social-btn:hover {
     transform: translateY(6px);
     animation: bouncePress 0.25s ease forwards;
     box-shadow: 0 0 10px var(--accent-color);
     box-shadow: 0 0 5px #fff, 0 0 10px #ff003c, 0 0 20px #ff003c;
}
 .social-btn img {
     width: 42px;
     height: 42px;
     filter: brightness(0) invert(1);
}
 @keyframes bouncePress {
     0% {
         transform: translateY(0px);
    }
     40% {
         transform: translateY(9px);
    }
     100% {
         transform: translateY(6px);
    }
}
 .footer-legal {
     text-align: center;
     font-size: 0.9rem;
     color: #fcee09;
     margin-bottom: 1rem;
}
 .footer-legal a {
     color: #fcee09;
     text-decoration: none;
}
 .footer-legal a:hover {
     text-decoration: underline;
}
 .copyright {
     text-align: center;
     font-size: 0.8rem;
     color: #888;
     padding-bottom: 0;
}
 .footer-bar-deco {
     width: 100%;
     height: 32px;
     background-image: url('../ASSETS/IMAGES/PNG/footer_bar.png');
     background-size: contain;
     background-repeat: repeat-x;
     background-position: center;
}
 .blinking-cursor {
     display: inline-block;
     width: 8px;
     height: 1.2em;
     background-color: white;
     margin-left: 4px;
     animation: blinkCursor 1s steps(1) infinite;
     vertical-align: bottom;
}
 @keyframes blinkCursor {
     0%, 49% {
         opacity: 1;
    }
     50%, 100% {
         opacity: 0;
    }
}

/*CYBER BUTTON*/

.cyber-button {
     position: relative;
     display: inline-block;
     padding: 1rem 2rem;
     background: var(--accent-color);
     color: var(--neutral-color);
     font-family: 'VCR OSD Mono', monospace;
     font-size: 1.2rem;
     border: none;
     cursor: pointer;
     clip-path: polygon( 0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90% );
     overflow: hidden;
     transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     z-index: 1;
}
 .cyber-button span {
     position: relative;
     z-index: 1;
}
 .cyber-button::before {
     content: "";
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: var(--primary-color);
     transition: left 0.4s ease;
     z-index: -1;
}
 .cyber-button:hover::before {
     left: 0;
}
 .cyber-button:hover {
     color: var(--secondary-color);
     transform: translateY(-6px);
     box-shadow: 0 8px 20px rgba(255, 0, 60, 0.4);
}
 .cyber-button::after {
     content: "_";
     position: absolute;
     bottom: 8px;
     right: 12px;
     font-size: 0.8rem;
     color: var(--secondary-color);
     opacity: 0.7;
}