/* contact.css - 聯絡我們頁面專屬樣式 */

.contact-page {
  --contact-ink: #0e3f58;
  --contact-muted: #465861;
  --contact-blue: #168cbd;
  --contact-blue-dark: #0c5f80;
  --contact-teal: #00ad9e;
  --contact-teal-dark: #008f84;
}

/* 第一屏 Hero：對齊 about.php 的居中大氣設計與漂浮動物背景 */
.contact-hero {
  position: relative;
  padding: 40px 0 0;
  background: radial-gradient(circle at 79% 18%, rgba(37, 188, 181, .15), transparent 23rem), linear-gradient(135deg, #fff 0%, #f7fcfd 56%, #edf8fc 100%);
  overflow: hidden;
}

.contact-hero .about-hero__center {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero .about-hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 36px;
}

.contact-hero .about-hero__copy .about-eyebrow {
  margin-bottom: 20px;
}

.contact-hero .about-hero__lead {
  max-width: 740px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--contact-muted);
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* Hero CTA 按鈕：對齊 team.php / facilities.php / 首頁雙按鈕風格 */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.contact-btn--whatsapp {
  color: #ffffff !important;
  background: var(--contact-teal);
  border: 1px solid var(--contact-teal);
  box-shadow: 0 10px 20px rgba(0, 173, 158, .25);
}

.contact-btn--whatsapp:hover {
  color: #ffffff !important;
  background: var(--contact-teal-dark);
  border-color: var(--contact-teal-dark);
  box-shadow: 0 14px 26px rgba(0, 173, 158, .32);
}

.contact-btn--secondary {
  color: var(--contact-blue-dark) !important;
  background: #ffffff;
  border: 1.5px solid #84cfc7;
  box-shadow: 0 4px 12px rgba(0, 100, 100, .06);
}

.contact-btn--secondary:hover {
  color: #ffffff !important;
  background: var(--contact-blue-dark);
  border-color: var(--contact-blue-dark);
  box-shadow: 0 10px 20px rgba(12, 95, 128, .22);
}

/* 聯絡表單送出按鈕優化 */
.contact-submit-btn,
.contact-page__form .theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #168cbd 0%, #0c5f80 100%);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 24px rgba(22, 140, 189, 0.28);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.contact-submit-btn:hover,
.contact-page__form .theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(12, 95, 128, 0.35);
  filter: brightness(1.06);
  color: #ffffff !important;
  opacity: 1;
}

.contact-submit-btn:active,
.contact-page__form .theme-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(12, 95, 128, 0.25);
}

.contact-submit-btn i,
.contact-page__form .theme-btn i {
  font-size: 15px;
  transition: transform .2s ease;
}

.contact-submit-btn:hover i,
.contact-page__form .theme-btn:hover i {
  transform: translateX(3px) translateY(-1px);
}

/* 響應式適配 */
@media (max-width: 767px) {
  .contact-hero {
    padding-top: 75px;
    padding-bottom: 50px;
  }
  .contact-hero__actions {
    gap: 12px;
  }
  @media (max-width: 575px) {
    .contact-hero__actions {
      flex-direction: column;
      align-items: stretch;
    }
    .contact-btn {
      width: 100%;
    }
  }
}
