/* ============================================================
   species.CSS — 五股濕地生態園區 生態環境頁面專屬樣式
   Namespace: .species-* (嚴禁覆寫 shared.css 的全域 class)
   ============================================================ */

/* ============================================================
   MAIN CONTAINER & BACKGROUND BLOBS
   ============================================================ */
.species-main {
  padding-top: 120px; /* 避開 Fixed Navbar 64px + 緩衝間距 */
  padding-bottom: 100px;
  position: relative;
  z-index: -1;
}

/* ============================================================
   species SECTION (水域、灘地、陸地 共用卡片結構)
   ============================================================ */
.species-section {
  position: relative;
  max-width: 1040px;
  width: 92%;
  margin: 0 auto 64px;
  background: linear-gradient(180deg, #d8f0ff 0%, #f4fafe 100%); /* 設計稿的漸層藍天 */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(64,89,53,0.08);
  z-index: 1;
}

/* ──────────────────────────────────────────────
   SCENERY (背景圖層：雲朵與丘陵)
   ────────────────────────────────────────────── */
.species-section__scenery {
  position: absolute;
  inset: 0;
  pointer-events: none;
  touch-action: none;
  z-index: 1;
}

.species-section__scenery img {
  height: 100%; 
  width: 100%;
  object-fit: cover;
}


/* ──────────────────────────────────────────────
   CONTENT (內容圖層：標題與文字)
   ────────────────────────────────────────────── */
.species-section__inner {
  position: relative;
  z-index: 2; /* 確保文字在山丘與雲朵之上 */
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 64px 48px; /* 底部 padding 留給丘陵空間 */
}

/* 左欄：大標題 */
.species-section__title-col {
  padding-top: 12px;
}

.species-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--clr-text);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0px 0px 30px #ffffff, 0px 0px 40px #ffffff, 0px 0px 50px #ffffff, 0px 0px 60px #ffffff, 0px 0px 70px #ffffff; 
}

/* 右欄：內文 */
.species-section__content-col {
  /* 在設計稿中文字是直接壓在背景上，但為了 RWD 可讀性，給予極淡的玻璃效果 */
  background: rgba(255, 255, 255, 0.733);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 32px;
  border-radius: 16px;
}

.species-section__subtitle {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-top: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.species-section__content-col p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--clr-text-muted); /* 延續專案文字顏色 */
  margin-bottom: 5px;
  text-align: justify;
}

.species-section__content-col p:last-child {
  margin-bottom: 0;
}

/* 在 mobile breakpoint 中的 .species-section__content-col */
@media (max-width: 860px) {
  .species-section__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 32px 160px;
  }

  .species-section__title-col {
    text-align: center;
  }

}

@media (max-width: 480px) {
  .species-main {
    padding-top: 90px;
  }
  .species-section {
    border-radius: 16px;
    margin-bottom: 40px;
  }
  .species-section__inner {
    padding: 32px 20px 140px;
  }
  .species-section__content-col {
    padding: 24px 16px;
  }
}
