/* 專題頁面特定樣式 */
.project-title {
  background: linear-gradient(45deg, #004080, #0066cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.2em;
  font-weight: bold;
  margin: 20px 0 10px 0;
  text-align: center;
  padding: 10px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.project-subtitle {
  color: #666;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 40px;
  font-style: italic;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 20px;
}

.project-info {
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
}

.project-info p {
  margin: 8px 0;
  color: #555;
}

.content-block {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.block-header {
  background: #f8f9fa;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.block-header:hover {
  background: #e9ecef;
}

.block-title {
  color: #004080;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
}

.block-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.block-content.show {
  padding: 20px;
  max-height: 2000px;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.block-content.show + .block-header .toggle-icon {
  transform: rotate(180deg);
}

.block-header.active {
  background: #e9ecef;
}

.tech-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.tech-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tech-card h4 {
  color: #004080;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.tech-card ul {
  list-style: none;
  padding: 0;
}

.tech-card li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.tech-card li:before {
  content: "•";
  color: #004080;
  position: absolute;
  left: 0;
}

.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.process-steps li {
  position: relative;
  padding: 20px 20px 20px 60px;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.process-steps li:hover {
  transform: translateX(10px);
  background: #e9ecef;
}

.process-steps li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: #004080;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.download-btn {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #004080;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.download-btn:hover {
  background: #0050a0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-decoration: none;
}

.download-btn i {
  font-size: 1.2em;
}

/* 響應式設計 */
@media screen and (max-width: 768px) {
  .project-title {
    font-size: 1.8em;
    margin: 15px 0;
  }

  .project-subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .project-info {
    margin: 20px 0;
    padding: 15px;
  }

  .project-info p {
    font-size: 1em;
    margin: 8px 0;
  }

  .tech-specs {
    display: block;
  }

  .tech-card {
    margin-bottom: 15px;
  }

  .content-block {
    margin-bottom: 20px;
  }

  .block-header {
    padding: 12px 15px;
  }

  .block-content {
    padding: 15px;
  }

  .process-steps li {
    padding: 15px 15px 15px 50px;
  }

  .process-steps li:before {
    width: 25px;
    height: 25px;
    left: 15px;
  }

  .download-btn {
    top: 60px;
    right: 10px;
    padding: 8px 15px;
    font-size: 0.9em;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .tech-specs {
    grid-template-columns: repeat(2, 1fr);
  }
} 