/* VFX Project styling */
/* White text for project pages */
.content-column-content h1 {
  color: white;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

/* --- PURE CSS GRID MASONRY FOR PROJECT LIST --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 24px;
  margin-top: 24px;
}

/* Make projects full width on mobile screens under 670px */
@media (max-width: 670px) {
  .grid {
    display: block;
    width: 100%;
  }
  
  .masonry-item {
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px 0;
  }
  
  .box-masonry {
    width: 100%;
  }
  
  .box-masonry-image img {
    width: 100%;
  }
}
.masonry-item {
  margin: 0;
  padding: 15px;
  /* Remove Bootstrap grid/floats */
  box-sizing: border-box;
  width: 100%;
  /* Optional: add transition for smoother appearance */
  transition: box-shadow 0.2s, transform 0.2s;
}
.box-masonry {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* --- END CSS GRID --- */

/* Project list styling */
.box-masonry h4 {
  font-weight: 300;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;

}

.box-masonry h4 a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
}

.box-masonry-description p {
  font-weight: 300;
  color: #cccccc;
}

.box-masonry-text {
  background-color: #1a1a1a;
  padding: 1rem;
}

/* Project details styling */
.project-details {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.project-details p {
  margin-bottom: 15px;
  color: white;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.project-details strong {
  font-weight: 600;
  color: white;
}

/* Make links stand out */
.project-details a {
  color: #4a9df8;
  text-decoration: none;
}

.project-details a:hover {
  text-decoration: underline;
}

.project-gallery {
  margin: 30px 0;
}

.project-gallery img {
  margin-bottom: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-link {
  margin-top: 30px;
}

.project-link .btn {
  padding: 10px 20px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #4a9df8;
  color: white;
  border: none;
}

.project-link .btn:hover {
  background-color: #3a8de8;
}

/* Placeholder for missing images */
.placeholder-image {
  background-color: #333;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-text {
  color: #999;
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
