/* ================== Global ================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f6f8;
  color: #333;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================== Header ================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* 底部對齊 */
  background: #1a73e8;
  color: #fff;
  padding: 10px 40px; /* 原20px → 40px，讓Logo右移至中間位置 */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  margin-left: 20px; /* Logo 右移一半距離 */
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* tag 與 logo 底部切齊 */
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

/* 第一個標籤與 logo 距離為其他標籤間距的兩倍 */
nav ul li:first-child {
  margin-left: 40px;
}

nav ul li a {
  color: #fff;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #1a73e8;
    position: absolute;
    top: 50px;
    right: 20px;
    border-radius: 8px;
    overflow: hidden;
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    padding: 10px 20px;
    margin-left: 0;
  }
  .hamburger {
    display: block;
  }
}

/* ================== Sections ================== */
section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
}

h1 {
  text-align: center;
  margin-bottom: 20px; /* 調整 header 距離 */
  color: #1a1a1a;
  font-size: 2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================== Index Hero ================== */
.hero-text .lead {
  text-align: left;
  margin-bottom: 20px;
  max-width: 750px;
  word-wrap: break-word;
}

.hero-points {
  margin: 20px 0;
}

.hero-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hero-arrow {
  font-weight: bold;
  color: #1a73e8;
  margin-right: 8px;
}

.hero-bold {
  font-weight: bold;
  margin-right: 5px;
}

/* ================== Buttons ================== */
.cta {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.cta:hover {
  background: #155cb0;
}

/* ================== Footer ================== */
footer {
  background: #1a73e8;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: #fff;
}

footer .footer-info {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* ================== Images & Stock ================== */
.stock-section {
  text-align: center;
  margin: 30px 0;
}

.stock-section img {
  max-width: 100%;
  border-radius: 8px;
}

.stock-section p {
  color: #555;
  margin-top: 10px;
  font-style: italic;
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  .hero-text .lead {
    max-width: 100%;
  }
  .hero-point {
    flex-wrap: wrap;
  }
}
/* ================== Contact Page 專屬樣式 ================== */
.contact-page header {
  /* 例如：只調整這一頁的 header 版位 */
  padding: 10px 80px;
}

.contact-page .logo {
  margin-left: 60px;
}

.contact-page footer {
  background: #0f5cc2;
  padding: 30px;
}




































