/* 關於頁面專屬樣式 */
.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 主標題區塊 */
.about-hero {
  text-align: center;
  padding: 5rem 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #222;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #222;
}

.about-hero h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #666;
  margin-top: 0;
}

/* 內容區塊 */
.about-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 6rem;
  gap: 4rem;
}

.about-section.reverse {
  flex-direction: row-reverse;
}

.section-content {
  flex: 1;
}

.section-image {
  flex: 1;
  text-align: center;
}

.section-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.section-image img:hover {
  transform: scale(1.02);
}

.about-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #222;
}

.about-section p {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

/* 引用區塊 */
blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;
  color: #666;
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid #222;
}

/* 聯絡區塊 */
.contact-section {
  margin-top: 4rem;
  padding: 3rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
}

.contact-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.contact-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-method i {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1rem;
}

.contact-method p {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: #444;
}

/* 導航欄當前頁面高亮 */
.nav-menu a.active {
  border-bottom: 2px solid #222;
}

/* 滾動漸入動畫效果 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 文字逐行漸入效果 */
.text-reveal span {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
}

.text-reveal span.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 為不同元素設置不同的延遲時間 */
.about-section h3.fade-in.visible {
  transition-delay: 0.1s;
}

.about-section p.fade-in.visible {
  transition-delay: 0.3s;
}

.about-section blockquote.fade-in.visible {
  transition-delay: 0.5s;
}

.section-image.fade-in.visible {
  transition-delay: 0.4s;
}

/* 響應式設計 */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-section.reverse {
    flex-direction: column;
  }
  
  .about-hero h1 {
    font-size: 2.8rem;
  }
  
  .about-hero h2 {
    font-size: 1.3rem;
  }
  
  .about-hero {
    padding: 3rem 1rem;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }
  
  .about-section h3 {
    font-size: 1.6rem;
  }
  
  blockquote {
    font-size: 1.2rem;
  }
} 