/* Back Button */
.back-button {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.back-button:hover {
  color: #f0f0f0;
  text-decoration: underline;
}


/* Project Meta Info */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
  font-size: 0.95rem;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* Content Sections */
.content-section {
  padding: 60px 0;
}

.content-section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-label {
  color: #9b1999;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}


/* Finding Items */
.finding-item {
  padding-left: 25px;
  position: relative;
  margin-bottom: 15px;
}

.finding-item:before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: bolder;
}


/* Sketch Grid */
.sketch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.sketch-image {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 20px 0;
}

.demo-gif {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  margin: 30px 0;
}

/* Highlight Box */
.highlight-box {
  background: #f8f9fa;
  border-left: 4px solid #9b1999;
  border: 1px solid #9b199950;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

/* Tool Badge */
.tool-badge {
  background-color: #9b1999;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  margin: 4px;
}




/* Responsive Styles for Project Detail */
@media (max-width: 768px) {
  .project-detail-hero {
    padding: 60px 0 40px;
  }
  
  .sketch-grid {
    grid-template-columns: 1fr;
  }
  
  .content-section {
    padding: 40px 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sketch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1441px) {
  .content-section {
    padding: 80px 0;
  }
  
  .sketch-grid {
    gap: 30px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #9b1999;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(155, 25, 153, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  background-color: #7a1479;
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(155, 25, 153, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}
