/* public/css/about.css */

/* Banner 區域 (與 partner.css 共用) */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  max-width: 800px;
  padding: 0 2rem;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.banner-description {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* About 內容區域 */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-content-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 0;
}

.about-section {
  margin-bottom: 2rem;
}

/* 特殊首字元樣式 */
.first-character {
  font-size: 2em;
  color: #b8272e;
  font-weight: bold;
  vertical-align: middle;
  line-height: 1;
}

/* 段落容器 */
.intro-text {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 列表樣式 */
.styled-list {
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check-mark {
  color: #22c55e;
  margin-right: 0.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

/* 圖片網格 */
.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.image-wrapper {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

/* 響應式設計 */
@media (min-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr 1fr;
  }

  .banner-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .about-content-wrapper {
    padding: 2rem 0;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1.25rem;
  }

  .banner-description {
    font-size: 1rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .banner-content {
    padding: 0 1rem;
  }

  .banner-title {
    font-size: 1.75rem;
  }

  .about-container {
    padding: 0 0.5rem;
  }

  .image-grid {
    gap: 1rem;
    margin-top: 1.5rem;
  }
}
