/*------------------------------------*\
  #PROJECTS PAGE
\*------------------------------------*/

.background-image {
  position: absolute;
  top: 0;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  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;
}

.project-card p {
    display: none;
    font-size: 14px;
    overflow: hidden;
    padding: 5px;
    font-family: 'Orbitron';
}

.project-card {
    height: 225px;
    width: 250px;
    background: var(--site-theme-quaternary-darker);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}
.project-card h4 {
	margin: 20px 0 0 0;
	padding: 0;
}

.project-card img,
.project-card video {
      /* Ensures video and image scale to fit */
    /* height: 100%;  Maintains aspect ratio */
    max-width: 250px; /* Matches image size */
    max-height: 150px; /* Ensures it doesn't overflow */
    border-radius: 5px; /* Keeps consistency with images */
    object-fit: cover; /* Ensures proper scaling within dimensions */
}

.project-card:hover {
	height: auto;
    transform: scale(1.10);
}

.project-card:hover p {
    display: block;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.4;
  
}

.project-card .letter {
  display: inline-block;
  width: 1.5em;       /* fixed spacing column */
  font-weight: 800;   /* heavier to pop */
  font-size: 1.2rem;  /* bigger than the words */
  color: var(--site-theme-secondary); /* your accent color */
}

.project-card p::after {
  content: "▌";
  display: inline-block; /* change to inline-block to activate heroCaret blinker */
  margin-left: 2px;
  animation: heroCaret 0.3s steps(1) infinite;
}
@keyframes heroCaret { 50% { opacity: 0; } }
/*------------------------------*\
  #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, .status-planning {
  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);
}

.showcase-item {
    width: 80%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    background: var(--site-theme-quaternary-darker);
    border-radius: 8px;
	margin: 25px auto;
	padding: 10px;
}

.showcaseSlot {
	width: 100%;
}