/* ==================================== */
/* CSS 變數 (Colors, etc.)       */
/* ==================================== */
:root {
  --main-color: #f29204;
  --secondary-color: #fab958;
  --text-dark: #303030;
  --text-light: #585858;
  --bg-light: #f1f1f1;
}

/* ==================================== */
/* 全域樣式設定             */
/* ==================================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}

body {
  font-family: Arial, sans-serif;
  /* 建議指定一個字體 */
  color: var(--text-dark);
}

a,
a:hover {
  color: var(--text-dark);
  text-decoration: none;
}

p {
  margin: 0;
}

dl,
ol,
ul {
  margin: 0;
}

.w-100 {
  width: 100%;
}

.row {
  width: 100%;
  margin: 0;
}

/* 輔助類別 (Utility Classes) */
.color-black {
  color: var(--text-dark);
}

.color-org,
.color-org:hover {
  color: var(--secondary-color);
}

.color-org:hover {
  color: #ff9900;
}

.font-16 {
  font-size: 16px;
}

.font-bold {
  font-weight: bold;
}

/* ==================================== */
/* 導覽列 (Nav)              */
/* ==================================== */
.site-header {
  position: fixed;
  width: 100%;
  background: var(--main-color);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

}

.small-logo {
  margin-bottom: 0;
}

.small-logo h4 {
  color: #eea334;
}

.small-logo:hover {
  opacity: 0.8;
}

.language {

  /* 固定在行動裝置上的位置 */
  @media (max-width: 768px) {
    position: fixed;
    top: 3px;
    right: 12px;
    z-index: 10;
  }
}

/* ==================================== */
/* 首頁區塊 (KV)              */
/* ==================================== */
.kv {
  height: 100vh;
}

.slider {
  height: 96vh;
  filter: opacity(0.2);
}

.slogan {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 0%);
  max-width: 1000px;
}

@media (max-width: 480px) {
  .slogan {
    max-width: 80%;
  }
}

.slogan svg {
  width: 100%;
  height: 100%;
  stroke-width: 0.2;
  stroke: var(--text-light);
  transition: 0.4s ease;
}

.slogan svg path {
  transition: 0.4s ease;
}

.slogan.fill svg path {
  fill: var(--main-color);
}

/* 下箭頭動畫 */
.down {
  position: absolute;
  bottom: 0;
  left: 50%;
  font-size: 40px;
  color: var(--secondary-color);
  text-shadow: 0 0 5px #faea58;
  animation: down 1s infinite;
}

@keyframes down {
  0% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

/* ==================================== */
/* 關於我們 (About)             */
/* ==================================== */
.about {
  padding: 80px 0;
  margin-bottom: 50px;
}

.about .bg-logo {
  position: absolute;
  top: 40%;
  height: 150px;
  left: -245px;
  filter: opacity(0.2);
  transform: rotate(90deg);
}

.about h4 {
  font-size: 18px;
  font-weight: normal;
}

.about table {
  margin: 0 auto;
  border-collapse: collapse;
  /* 更好的表格樣式 */
}

.about th {
  padding: 10px;
}

.about td {
  padding: 10px 0 10px 45px;
  border-bottom: 1px solid #e0e0e0;
}

.about tr:first-child th,
.about tr:first-child td {
  border-top: 1px solid transparent !important;
}

.about tr:last-child td {
  border-bottom: 1px solid var(--secondary-color) !important;
}

/* ==================================== */
/* 產品區 (Product)             */
/* ==================================== */
.product {
  padding: 50px 0;
  background: var(--bg-light);
}

.product .card {
  cursor: pointer;
  transition: 0.3s;
  flex-direction: row;
  height: 305px;
}

.product .card-body {
  width: 300px;
}

.product .card-body h5 {
  font-weight: bold;
}

.product .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================================== */
/* 工作區 (Work)              */
/* ==================================== */
#work {
  padding: 50px 0;
}

.work .circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 2px var(--text-light);
}

.work .circle i {
  color: var(--secondary-color);
  font-size: 45px;
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
}

.work p {
  max-width: 59%;
  font-size: 16px;
  color: var(--text-light);
  margin-left: 16px;
}

/* ==================================== */
/* 聯絡表單 (Contact)           */
/* ==================================== */
.contact {
  padding: 32px;
}

.contact .contect-img {
  height: 100%;
  width: 100%;
  overflow: hidden;
  object-fit: cover;
}

.contact .sentBtn {
  background: #ffffff;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact .sentBtn:hover {
  background: #fffefa;
  border-color: #eea334;
  color: #eea334;
}

/* ==================================== */
/* 共用組件 (General)             */
/* ==================================== */
.subtitle {
  padding: 32px 0;
  color: var(--main-color);
  font-weight: bold;
}

.subtitle::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--secondary-color);
  border-radius: 50%;
  position: relative;
  left: -8px;
  bottom: 50%;
  transform: translateY(-50%);
}

.description {
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .description {
    width: 100%;
  }
}

.goTop {
  background: var(--main-color);
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 100;
  color: #fff;
}

.bigLogo {
  padding: 12px;
  margin: 0 auto;
  width: 120px;
}

/* ==================================== */
/* 頁腳 (Footer)               */
/* ==================================== */
footer {
  padding: 16px;
  background: #d8d8d8;
  height: 100%;
}

footer p {
  font-size: 0.8rem;
  padding-top: 8px;
}


