
@font-face {
  font-family: 'wt021.subset';
  src: url('wt021.subset.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette based on Business Cards */
  --color-primary: #1A2820; /* Deep Dark Green */
  --color-accent: #C49F6B; /* Elegant Gold/Tan */
  --color-accent-light: #E0C49A;
  --color-bg-light: #F9F9F9; /* Very soft gray for light backgrounds */
  --color-bg-white: #FFFFFF;
  --color-text-dark: #2C2C2C; /* Softer than pure black */
  --color-text-light: #F5F5F5;
  --color-border: #E5E5E5;

  /* Typography */
  --font-heading: 'Noto Serif TC', serif;
  --font-body: 'Noto Sans TC', sans-serif;
  
  /* Layout */
  --nav-height: 80px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height); /* Prevent nav overlap */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Accessibility / SEO */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: transform var(--transition-normal);
}

.navbar .container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-svg {
  width: 40px;
  height: 56px;
  stroke: var(--color-accent);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}

.nav-title {
  display: flex;
  flex-direction: column;
}

.nav-title-zh {
    display: block;
    font-size: 1.25rem; /* 書法字體通常看起來比較小，建議調大一點點，原本是 1.25rem */
    font-weight: normal; /* 重要！將原先的 700 改為 normal，讓書法線條正確顯示 */
    font-family: 'wt021.subset', 'Noto Sans TC', sans-serif; /* 新增這一行！ */
    color: var(--color-primary);
    letter-spacing: 1px; /* 將原先的 1px 改為 2px，讓字距更寬鬆有氣勢 */
}

.nav-title-en {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  min-height: calc(85vh - var(--nav-height));
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  border: 1px solid rgba(196, 159, 107, 0.15);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero-subtitle {
  color: var(--color-accent);
  font-family: var(--font-heading);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  font-size: 1.1rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 600;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 2px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(196, 159, 107, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  transform: translateY(-2px);
}

/* --- Section Titles --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}

.section-subtitle {
  color: #777;
  font-size: 1rem;
  margin-top: 20px;
}

/* --- Page Header (for inner pages) --- */
.page-header {
  background-color: var(--color-bg-light);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

/* --- Content Sections --- */
.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  margin-bottom: 20px;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.footer-brand span {
  color: var(--color-accent);
  display: block;
  font-size: 0.8rem;
  margin-top: 5px;
}

.footer-title {
  color: var(--color-accent);
  font-family: var(--font-heading);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links li, .footer-contact li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

/* --- Animations (AOS style) --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--color-bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left var(--transition-normal);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title { font-size: 2.2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 15px; display: inline-block; }
}
