/* ===== Landing Page CSS - Full Width Cards with Retro Neon Styling ===== */

/* Optional subtle neon grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(0,234,255,0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(0,234,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.card {
  font-family: monospace;
  background: #fdfdfd;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 20px;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05),
              0 0 20px rgba(255,60,120,0.08),
              0 0 40px rgba(0,234,255,0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1),
              0 0 25px rgba(255,60,120,0.1),
              0 0 50px rgba(0,234,255,0.1);
}

/* ===== Free Text ===== */
.free-text h2 {
  font-family: 'Press Start 2P', cursive;
  color: #4f1e0c;
  margin-bottom: 1rem;
}

.free-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.free-text a {
  color: #4f1e0c;
  text-decoration: underline;
}

/* ===== Project Table ===== */
.project-table h2 {
  font-family: 'Press Start 2P', cursive;
  color: #4f1e0c;
  margin-bottom: 1rem;
}

.project-table table {
  width: 100%;
  border-collapse: collapse;
}

.project-table td {
  padding: 0.5rem 0.75rem;
}

.project-table .name {
  text-align: left;
  font-weight: bold;
}

.project-table .type {
  text-align: right;
  font-style: italic;
  color: #da6220;
}

.project-table a {
  color: #da6220;
  text-decoration: none;
}

.project-table a:hover {
  color: #4f1e0c;
}

/* ===== Image Collage ===== */

.image-collage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}

.image-collage h2 {
  font-family: 'Press Start 2P', cursive;
  color: #4f1e0c;
  margin-bottom: 1rem;
}

.image-collage a {
  display: block;
}

.image-collage img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-collage img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2),
              0 0 10px rgba(255,60,120,0.1),
              0 0 20px rgba(0,234,255,0.1);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .card {
    margin: 1rem;
    padding: 1.5rem;
  }

  .image-collage {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}
