/*------------------------------------*\
  #PROJECTS PAGE
\*------------------------------------*/

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/project_hero.png');
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  z-index: -2; /* Lower than the video */
  /*opacity: 0.9; /* Optional if you want the image to show beneath */
}

.projects {
    height: auto;
}

/*------------------------------*\
  #STATUS
\*------------------------------*/

.highlight {
  color: var(--site-theme-secondary);	
}

.status {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 3px solid var(--site-theme-secondary);
  background: var(--site-theme-primary);
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.blink {
  animation: blink 1.5s infinite;
}

/* IN PROGRESS — site orange */
.status-inprogress {
  color: var(--site-theme-tertiary);
}

/* COMPLETE — site blue */
.status-complete {
  color: var(--site-theme-secondary);
}

/* ON HOLD — red */
.status-onhold {
  color: var(--site-red-lighter);
}

/*------------------------------*\
  #LIGHTBOX
\*------------------------------*/
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
	visibility: hidden;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.lightbox img,
.lightbox video {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90vh;
    display: block;
    margin: auto;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/*------------------------------------*\
  #ABOUT SECTION
\*------------------------------------*/

.about {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 3px solid var(--site-theme-secondary);

  background-image: url("../img/projectJarvis/jarvis_background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.about-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.about img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: -1000;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.about-content {
  position: relative;
  z-index: 2;
  color: white;
  margin: 10%;
}

.about h2, .about p {
  position: relative;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.about ul {
  list-style-type: none;
  padding: 0;
}

.about img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: -1000;
}

/*------------------------------------*\
  #SERVICES SECTION
\*------------------------------------*/

.services u {
  padding-right: 15px;
}


/*------------------------------------*\
  #YOUTUBE SECTION
\*------------------------------------*/

.youtube {
    text-align: center;
    padding: 50px 0;
    background: var(--site-theme-primary);
    border-bottom: 3px solid var(--site-theme-secondary);
}

.youtube-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.youtube h3 {
    font-family: Aquire;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.youtube p {
    color: var(--site-ltGrey);
    text-align: center;
    max-width: 600px;
    margin: 10px auto;
}

.youtube iframe {
    width: 100%;
    max-width: 700px;
    height: 400px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}



