/* 项目展示页面样式 */
.post-content h2 {
  color: #007423; /* 从蓝色 #4285f4 改为深绿色 */
  border-bottom: 2px solid #007423; /* 从蓝色 #4285f4 改为深绿色 */
  padding-bottom: 10px;
  margin-top: 30px;
}

.post-content h3 {
  color: #ff9800;
  margin-top: 25px;
}

.post-content img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
}

.post-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #007423, transparent); /* 从蓝色 #4285f4 改为深绿色 */
  margin: 30px 0;
}

/* 项目卡片样式 */
.contact-section {
  background-color: #f2fff4;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
  border-left: 4px solid #007423; /* 保持绿色 */
}

.contact-button {
  display: inline-block;
  background-color: #007423; /* 从蓝色 #4285f4 改为深绿色 */
  color: white !important;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: #009e2f; /* 稍微调亮的绿色作为悬停状态 */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none !important;
}

/* 技术标签 */
.post-content strong {
  color: #0f9d58;
}

/* 技术栈列表 */
.tech-stack {
  list-style-type: none;
  padding-left: 10px;
  margin: 0 0 15px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.tech-stack li {
  background-color: #f2f7ff;
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 3px solid #34a853;
}

.tech-stack li strong {
  color: #007423; /* 从蓝色 #4285f4 改为深绿色 */
  margin-right: 5px;
}

/* 项目图片画廊 */
.project-gallery {
  margin: 20px 0;
}

.gallery-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.gallery-img {
  width: 24%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.gallery-img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* 移动设备响应式布局 */
@media (max-width: 768px) {
  .gallery-row {
    flex-wrap: wrap;
  }
  
  .gallery-img {
    width: 48%;
    margin-bottom: 10px;
  }
}