/* Container for all your project cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #1a1a1a; /* Dark background */
}

/* The Individual Card */
.project-card {
  background: #ffffff;
  border: 4px solid #000;
  box-shadow: 8px 8px 0px #333; /* Retro "thick" shadow */
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s;
}

.project-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0px #ff0000; /* "Type R" Red highlight on hover */
}

/* Project Image/Icon Area */
.project-thumb {
  width: 100%;
  height: 150px;
  background: #eee;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}

.project-thumb img {
  image-rendering: pixelated;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Typography */
.project-title {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
}

.project-tag {
  font-size: 0.7rem;
  background: #000;
  color: #fff;
  padding: 2px 6px;
  display: inline-block;
  margin-top: 5px;
  align-self: flex-start;
}

/* Container for the hardware specs */
.project-specs {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #333; /* Retro "schematic" divider */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.spec-label {
    font-weight: bold;
    color: #555;
}

.spec-value {
    color: #000;
    text-align: right;
}

.project-footer {
    grid-column: 1 / -1; /* Spans across all grid columns */
    text-align: center;
    width: 100%;
    padding: 50px 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    /* Use a softer, more transparent version of your plasma colors */
    background: linear-gradient(-45deg, #800000, #f58231, #aaffc3, #000075);
    background-size: 400% 400%;
    animation: fullPagePlasma 5s ease infinite;
    background-attachment: fixed; /* This keeps the background still while you scroll through photos */
}

@keyframes fullPagePlasma {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism Effect for Photo Containers */
.photo-card {
    background: rgba(255, 255, 255, 0.05); /* Very transparent white */
    backdrop-filter: blur(10px); /* Blurs the plasma behind the photo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* The Status Indicator Container */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* The LED itself */
.led-green {
    width: 10px;
    height: 10px;
    background-color: #2ecc71; /* Bright Green */
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
    animation: blink-live 2s infinite;
}
.led-yellow {
    width: 10px;
    height: 10px;
    background-color: #f1c40f;
    border-radius: 50%;
    box-shadow: 0 0 5px #f1c40f;
    animation: blink-live 2s infinite;
}
.led-red {
    width: 10px;
    height: 10px;
    background-color: #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 5px #e74c3c;
    animation: blink-live 2s infinite;
}
.led-ongoing {
    width: 10px;
    height: 10px;
    background-color: #00d4ff;
    border-radius: 50%
    box-shadow: 0 0 10px #00d4ff;
    /* Use a "breathing" animation—slow and steady */
    animation: breathing 3s ease-in-out infinite;
}
.led-white {
    width: 7px;
    height: 7px;    
    background-color: #ffffff;
    border-radius: 50%;
    border: 1px solid #333; /* The "Ring" */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), inset 0 0 4px rgba(0,0,0,0.2);
    animation: blink-live 0.2s infinite; /* Looks like a hard drive activity light */
}

/* The pulse effect */
@keyframes blink-live {
    0% { opacity: 1; box-shadow: 0 0 5px #2ecc71; }
    50% { opacity: 0.4; box-shadow: 0 0 0px #2ecc71; }
    100% { opacity: 1; box-shadow: 0 0 5px #2ecc71; }
}
@keyframes breathing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.6; }
}