/* Portfolio Project Page Styles - Reusable across all portfolio project pages */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #666;
  text-decoration: none;
  font-size: 1rem;
}

.back-link:hover {
  color: #333;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Project Description Schema - Reusable for all portfolio projects */
.project-header-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.project-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  font-weight: 400;
  max-width: 100%;
}

.project-intro strong {
  font-weight: 600;
  color: #000;
}

.project-keypoints {
  background-color: #f8f9fa;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  max-width: 100%;
}

.project-keypoints p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.project-keypoints strong {
  font-weight: 600;
  color: #000;
}

.project-description-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

.project-details {
  max-width: 100%;
}

.project-details details {
  margin-bottom: 0.25rem;
  background-color: transparent;
}

.project-details summary {
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: #000;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.project-details summary::-webkit-details-marker {
  display: none;
}

.project-details summary::marker {
  display: none;
  content: "";
}

.project-details summary::-moz-list-bullet {
  list-style-type: none;
}

.project-details summary::after {
  display: none;
  content: "";
}

.project-details summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.2s;
  color: #666;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.project-details details[open] summary::before {
  transform: rotate(90deg);
}

.project-details summary:hover {
  color: #333;
}

.project-details summary:hover::before {
  color: #000;
}

.project-details .project-section-content {
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.project-details .project-section-content p {
  margin-bottom: 1rem;
}

.project-details .project-section-content p:last-child {
  margin-bottom: 0;
}

/* Content Grid - Reusable for project cards/galleries */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.content-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.content-image {
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #666;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.content-title {
  padding: 15px;
  font-weight: bold;
  text-align: center;
  color: rgb(7, 7, 76);
  font-size: 16px;
  border-top: 1px solid #eee;
}

/* Responsive: single column on smaller screens */
@media (max-width: 900px) {
  .project-header-wrapper,
  .project-description-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

