/* ─── Body with ocean bg ─── */
body {
  position: relative;
  min-height: 100vh;
  background: #a8d5e2 url('assets/ocean-bg.png') no-repeat top center;
  background-size: cover;
  z-index: 1;
}

/* 導航列背景設為透明以顯示頁面背景 */
.navbar {
  background-color: transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* 導航列連結和文字陰影，確保在海洋背景上可讀 */
.navbar__links a,
.navbar__logo,
.navbar__hamburger span {
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════
   認識當龜 (About Us) Page Styles
   Based on homepage ocean theme
   ═══════════════════════════════════════════ */

/* ─── Page Header ─── */
.page-header {
  position: relative;
  width: 100%;
  height: 236px;
  margin-top: 70px; /* 導航列高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 10px solid #2D6A4F;
}

.page-header__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-header__title {
  color: #1a3a2a;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.85);
  z-index: 2;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .page-header {
    height: 180px;
  }

  .page-header__img {
    height: 100%;
    width: auto;
  }

  .page-header__title {
    font-size: 32px;
    line-height: 1;
  }
}

/* ─── Content wrapper ─── */
.au-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ─── Section card ─── */
.au-section {
  margin-bottom: 40px;
}

.au-section:last-child {
  margin-bottom: 0;
}

.au-section__card {
  background: rgba(245, 248, 250, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px 48px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* ─── Common Section Styles ─── */
.au-section__label {
  text-align: center;
  font-size: 0.9rem;
  color: #000000;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.au-section__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  color: #000000;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0px 4px 4px #00000040;
  margin-bottom: 20px;
}

/* Divider: green line + gold accent */
.au-section__divider {
  position: relative;
  width: 100%;
  height: 6px; /* 4px gold + 2px green */
  margin: 0 auto 28px;
}

.au-section__divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2D6A4F;
}

.au-section__divider::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 72px;
  height: 4px;
  background: #FFB703;
}

/* Body paragraphs */
.au-section__body {
  text-align: left;
}

.au-section__body p {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.au-section__body p:last-child {
  margin-bottom: 0;
}

/* Highlighted paragraph */
.au-section__highlight {
  font-size: 1.05rem;
  color: #1a3a2a;
  text-align: left;
  line-height: 1.9;
  margin-top: 8px;
}

/* Bullet list */
.au-section__list {
  margin: 12px 0 20px 24px;
  font-size: 1rem;
  color: #222;
  line-height: 2;
}

.au-section__list li {
  margin-bottom: 4px;
  position: relative;
}

/* ─── Timeline Section ─── */
.au-timeline-card {
  background: rgba(255, 255, 255, 0.7);
  padding: 60px 80px;
}

/* Timeline container */
.au-timeline {
  margin-top: 12px;
}

/* Timeline items - 3 columns: year | bar | content */
.au-timeline__item {
  display: grid;
  grid-template-columns: 160px 10px 1fr;
  grid-column-gap: 24px;
  align-items: stretch;
  margin-bottom: 36px;
}

.au-timeline__item:last-child {
  margin-bottom: 0;
}

/* Year on the left */
.au-timeline__year {
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  color: #FFB703;
  -webkit-text-stroke: 1px #2D6A4F;
  text-stroke: 1px #2D6A4F;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-align: right;
  line-height: 30px;
  letter-spacing: 0;
}

/* Green vertical bar */
.au-timeline__bar {
  display: block;
  width: 10px;
  background: #2D6A4F;
  min-height: 100%;
}

/* Title and desc on the right */
.au-timeline__content {
  flex: 1;
}

.au-timeline__event {
  font-size: 1.2rem;
  font-weight: 800;
  color: #2196c4;
  margin-bottom: 8px;
  line-height: 1.4;
}

.au-timeline__desc {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #333;
  line-height: 1;
  letter-spacing: 0;
}

/* ─── Navbar semi-transparent for ocean bg ─── */
.navbar {
  background-color: rgba(33, 150, 196, 0.9);
}

/* ─── Active nav link highlight ─── */
.navbar__links a.is-active {
  color: #FFB703;
  opacity: 1;
}

.mobile-overlay__nav a.is-active {
  color: #2D6A4F;
  font-weight: 700;
}

/* ─── RWD ─── */
@media (max-width: 768px) {
  .au-content {
    padding: 24px 16px;
  }

  .au-section__card {
    padding: 24px 20px;
  }

  .au-timeline-card {
    padding: 40px 24px;
  }

  .au-timeline__item {
    grid-template-columns: 10px 1fr;
    grid-column-gap: 16px;
    margin-bottom: 28px;
  }

  .au-timeline__year {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    font-size: 1.5rem;
    width: auto;
    padding: 0;
    border: none;
    margin-bottom: 8px;
  }

  .au-timeline__year br {
    display: none;
  }

  .au-timeline__bar {
    grid-column: 1;
    grid-row: 2;
  }

  .au-timeline__content {
    grid-column: 2;
    grid-row: 2;
  }
}
