/* ===== 陳亦豐個人網站樣式 ===== */
:root {
  --primary: #991b1b;
  --primary-dark: #7f1d1d;
  --primary-light: #dc2626;
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --gold-dark: #b8860b;
  --bg: #fefefe;
  --bg-soft: #fef9f0;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(153, 27, 27, 0.08);
  --shadow-hover: 0 8px 30px rgba(153, 27, 27, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Serif TC', 'Microsoft JhengHei', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ===== 區塊標題 ===== */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title i { color: var(--gold); }
.section-subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===== 卡片 ===== */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* ===== 網格 ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== 統計數據 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.stat-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--gold-light); }
.stat-label { font-size: 0.95rem; opacity: 0.9; margin-top: 4px; }

/* ===== 時間軸 ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 32px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--primary));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
}
.timeline-date {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.timeline-company { color: var(--text-light); font-size: 0.95rem; margin-bottom: 10px; }
.timeline-company i { color: var(--gold); margin-right: 6px; }
.timeline-desc { color: var(--text); line-height: 1.8; }

/* ===== 得獎記錄 ===== */
.award-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
}
.award-item:hover { transform: translateX(5px); box-shadow: var(--shadow-hover); }
.award-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.award-content { flex: 1; }
.award-title { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.award-year { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }
.award-desc { color: var(--text-light); font-size: 0.92rem; margin-top: 2px; }

/* ===== 音樂會 ===== */
.concert-item {
  display: flex;
  gap: 20px;
  padding: 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.concert-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.concert-date-box {
  min-width: 80px;
  text-align: center;
  padding: 12px 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  height: fit-content;
}
.concert-year { font-size: 1.3rem; font-weight: 800; color: var(--gold-light); }
.concert-month { font-size: 0.85rem; opacity: 0.9; }
.concert-info { flex: 1; }
.concert-title { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.concert-venue { color: var(--text-light); font-size: 0.92rem; margin-bottom: 6px; }
.concert-venue i { color: var(--gold); margin-right: 6px; }
.concert-desc { color: var(--text); font-size: 0.95rem; line-height: 1.7; }
.concert-tags { margin-top: 8px; }
.concert-tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 6px;
  border: 1px solid var(--gold);
}

/* ===== 作品 ===== */
.work-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.work-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  position: relative;
}
.work-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.work-body { padding: 20px; }
.work-title { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.work-type { color: var(--gold-dark); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.work-desc { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; }

/* ===== 聯絡 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  transition: all 0.3s ease;
}
.contact-info-item:hover { transform: translateX(5px); }
.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--primary), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.contact-text h4 { color: var(--primary); margin-bottom: 2px; }
.contact-text p { color: var(--text-light); font-size: 0.95rem; }

/* ===== 技能標籤 ===== */
.skill-category { margin-bottom: 32px; }
.skill-category h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-category h3 i { color: var(--gold); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  color: var(--primary);
  border: 2px solid var(--gold);
  border-radius: 25px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
}
.skill-tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(153, 27, 27, 0.2);
}

/* ===== 響應式 ===== */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .concert-item { flex-direction: column; }
  .concert-date-box { min-width: auto; display: flex; align-items: center; justify-content: center; gap: 10px; }
}
