/* 共用設計系統 CSS - 基於 design HTML 文件 */

/* 基礎重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 基礎樣式 */
body {
  font-family: 'Noto Sans TC', sans-serif;
  background: #fdeff3;
  color: #432c4d;
  line-height: 1.6;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff5f8;
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* 頁首 */
header {
  background: #fff5f8;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #432c4d;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #5a3a60;
  font-weight: 500;
}

nav a:hover {
  color: #693a6d;
}

/* 按鈕 */
.btn-primary {
  background: #693a6d;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background: #5a2f5e;
}

.btn-secondary {
  background: #f7e2ef;
  color: #693a6d;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background: #e8d5e8;
}

/* 卡片 */
.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* 表單元素 */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #432c4d;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0d5e0;
  border-radius: 12px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #693a6d;
}

/* 選擇器組 */
.select-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.select-group select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  min-width: 100px;
}

/* 特色區塊 */
.features {
  display: flex;
  justify-content: space-around;
  padding: 50px 40px;
  background: #fff;
  gap: 20px;
}

.feature {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.feature svg, .step svg {
  width: 36px;
  height: 36px;
  background: #f7e2ef;
  fill: #693a6d;
  padding: 20px;
  border-radius: 50%;
  margin-bottom: 16px;
  display: inline-block;
  box-sizing: content-box;
}

.feature h3 {
  color: #693a6d;
  margin-bottom: 12px;
  font-size: 18px;
}

.feature p {
  color: #8b6c86;
  font-size: 14px;
}

/* 步驟流程 */
.steps {
  text-align: center;
  padding: 50px 40px;
  background: #fff5f8;
}

.steps h2 {
  margin-bottom: 40px;
  font-size: 28px;
  color: #432c4d;
}

.step-flow {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.step {
  width: 140px;
  font-size: 14px;
}

.step svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.step div {
  font-weight: 500;
  color: #432c4d;
}

/* 頁尾 */
footer {
  background: #432c4d;
  color: white;
  padding: 40px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h5 {
  margin-bottom: 12px;
  color: #f7e2ef;
}

.footer-section p {
  margin-bottom: 6px;
  color: #e0d5e0;
  font-size: 14px;
}

.copyright {
  border-top: 1px solid #5a3a60;
  padding-top: 20px;
  color: #e0d5e0;
  font-size: 12px;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .container {
    margin: 20px 10px;
    border-radius: 16px;
  }
  
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  nav {
    display: flex;
    gap: 15px;
  }
  
  .features {
    flex-direction: column;
    padding: 30px 20px;
  }
  
  .step-flow {
    gap: 30px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* 工具類 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.p-20 {
  padding: 20px;
}

.p-40 {
  padding: 40px;
}

/* 顏色變數 */
:root {
  --primary-color: #693a6d;
  --secondary-color: #5a3a60;
  --text-color: #432c4d;
  --text-light: #8b6c86;
  --bg-primary: #fdeff3;
  --bg-secondary: #fff5f8;
  --bg-accent: #f7e2ef;
  --border-color: #e0d5e0;
  --white: #ffffff;
} 