@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;600&family=Noto+Sans+TC:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans TC', sans-serif; color: #333; background: #fff; font-size: 15px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --dark: #2c2c2c;
  --mid: #666;
  --light: #f7f5f3;
  --accent: #8a7060;
  --accent-hover: #7a6050;
  --border: #e5e0da;
}

/* ====== HEADER ====== */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo a { display: flex; align-items: center; gap: 12px; }
.logo img { height: 46px; }
.logo-name {
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Nav */
.main-nav ul { display: flex; }
.main-nav ul li { position: relative; }
.main-nav ul li > a {
  display: block;
  padding: 0 16px;
  height: 70px;
  line-height: 70px;
  color: #ccc;
  font-size: 14px;
  transition: 0.2s;
  white-space: nowrap;
}
.main-nav ul li > a:hover,
.main-nav ul li > a.active { color: #fff; background: rgba(255,255,255,0.08); }

/* Dropdown */
.main-nav ul li ul {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  background: #222;
  min-width: 130px;
  border-top: 2px solid var(--accent);
}
.main-nav ul li:hover > ul { display: block; }
.main-nav ul li ul li a {
  height: auto;
  line-height: 1.4;
  padding: 11px 16px;
  font-size: 13px;
  color: #bbb;
  border-bottom: 1px solid #333;
}
.main-nav ul li ul li a:hover { background: var(--accent); color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ====== BANNER ====== */
.banner {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}
.banner-slide {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c9b99a 0%, #a08570 40%, #7a6050 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.banner-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.banner-dots span.active { background: #fff; }

/* ====== LAYOUT ====== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.page-wrap { padding: 60px 0 80px; }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: #999;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 50px;
}
.breadcrumb a:hover { color: var(--accent); }

/* Section heading */
.sec-title {
  text-align: center;
  margin-bottom: 48px;
}
.sec-title .en {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 38px;
  letter-spacing: 8px;
  color: #e0dbd6;
  display: block;
  line-height: 1;
}
.sec-title .zh {
  font-size: 15px;
  color: var(--mid);
  display: block;
  margin-top: 6px;
  letter-spacing: 2px;
}

/* ====== IMAGE PLACEHOLDER ====== */
.ph {
  background: #e8e4de;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ====== MORE LINK ====== */
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mid);
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  transition: 0.2s;
  letter-spacing: 1px;
}
.more-btn svg { width: 18px; height: 18px; }
.more-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ====== HOME: NEWS ====== */
.home-news { padding: 60px 0; background: var(--light); }
.news-list-home { margin-bottom: 28px; display: flex; flex-direction: column; gap: 0; }
.news-item-home {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ebe7e2;
}
.news-item-home .date { font-size: 12px; color: #aaa; min-width: 80px; }
.news-item-home a { font-size: 14px; line-height: 1.5; color: var(--dark); }
.news-item-home a:hover { color: var(--accent); }

/* ====== HOME: CONTACT FORM ====== */
.home-form { padding: 70px 0; }

/* ====== ABOUT ====== */
.about-banner { width: 100%; height: 320px; margin-bottom: 50px; }
.about-tagline {
  font-size: 24px;
  line-height: 2;
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 300;
  letter-spacing: 2px;
}
.about-sub {
  text-align: center;
  color: var(--mid);
  margin-bottom: 40px;
  line-height: 2;
  font-size: 14px;
}
.about-divider { text-align: center; margin: 40px 0; }
.about-divider .ph { width: 100%; height: 280px; }
.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.value-block { padding: 28px; background: var(--light); }
.value-block h3 { font-size: 15px; margin-bottom: 8px; color: var(--dark); }
.value-block p { font-size: 13px; color: var(--mid); line-height: 1.8; }
.about-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.work-thumb { position: relative; overflow: hidden; cursor: pointer; }
.work-thumb .ph { width: 100%; height: 230px; }
.work-thumb .label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5); color: #fff;
  text-align: center; padding: 12px;
  font-size: 14px; letter-spacing: 1px;
  transition: 0.3s;
}
.work-thumb:hover .label { background: rgba(138,112,96,0.8); }

/* ====== SERVICES ====== */
.services-banner { width: 100%; height: 240px; margin-bottom: 50px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  text-align: center;
  padding: 28px 16px 24px;
  border: 1px solid var(--border);
  transition: 0.25s;
}
.service-card:hover { border-color: var(--accent); background: #faf8f6; transform: translateY(-2px); }
.service-card .ph { width: 100%; height: 150px; margin-bottom: 16px; }
.service-card h3 { font-size: 16px; font-weight: 500; letter-spacing: 1px; }

/* ====== PROCESS ====== */
.process-list { max-width: 680px; margin: 0 auto; }
.process-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #eee;
}
.process-item:last-child { border-bottom: none; }
.process-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
  flex-shrink: 0;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 1px;
}
.process-info h3 { font-size: 18px; margin-bottom: 6px; font-weight: 500; }
.process-info p { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ====== NEWS ====== */
.news-grid { display: flex; flex-direction: column; }
.news-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.news-card .meta {
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px; padding-top: 4px;
}
.news-card .meta .day { font-size: 28px; font-weight: 700; color: var(--dark); line-height: 1; }
.news-card .meta .month { font-size: 11px; color: #aaa; margin-top: 2px; }
.news-card .meta .tag {
  font-size: 10px; background: var(--accent); color: #fff;
  padding: 2px 6px; margin-top: 6px; white-space: nowrap;
}
.news-card h3 { font-size: 15px; line-height: 1.6; color: var(--dark); font-weight: 400; }
.news-card h3:hover { color: var(--accent); cursor: pointer; }
.pagination {
  display: flex; gap: 6px; margin-top: 36px;
}
.pagination a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid #ddd; color: var(--mid); font-size: 14px;
  transition: 0.2s;
}
.pagination a.active, .pagination a:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

/* ====== PORTFOLIO ====== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-cat { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-cat .ph { width: 100%; height: 200px; }
.portfolio-cat .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5); color: #fff;
  text-align: center; padding: 14px;
  font-size: 15px; font-weight: 500; letter-spacing: 1px;
  transition: 0.3s;
}
.portfolio-cat:hover .overlay { background: rgba(138,112,96,0.85); }

/* ====== CONTACT ====== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
}
.contact-info-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: var(--dark);
}
.info-list li {
  display: flex; gap: 12px;
  margin-bottom: 14px;
  font-size: 14px; color: var(--mid);
  align-items: flex-start;
  line-height: 1.6;
}
.info-icon { color: var(--accent); min-width: 18px; }
.map-wrap { margin-top: 24px; }
.map-wrap iframe { width: 100%; height: 250px; border: 0; }

.form-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-note { font-size: 12px; color: #e74c3c; margin-bottom: 20px; }
.form-list { list-style: none; }
.form-list li { margin-bottom: 14px; }
.form-label { font-size: 13px; color: var(--mid); display: block; margin-bottom: 5px; }
.form-list input[type="text"],
.form-list select,
.form-list textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
  background: #fafaf8;
  transition: 0.2s;
  appearance: auto;
}
.form-list input:focus,
.form-list select:focus,
.form-list textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-list textarea { height: 120px; resize: vertical; }
.form-actions {
  display: flex; align-items: center; gap: 14px; margin-top: 12px;
}
.btn-reset {
  background: none; border: 1px solid #ccc;
  padding: 10px 20px; cursor: pointer;
  font-size: 14px; color: var(--mid);
  font-family: inherit; transition: 0.2s;
}
.btn-reset:hover { border-color: #999; }
.btn-submit {
  background: var(--accent); color: #fff;
  border: none; padding: 10px 32px;
  cursor: pointer; font-size: 14px;
  font-family: inherit; transition: 0.2s;
  letter-spacing: 1px;
}
.btn-submit:hover { background: var(--accent-hover); }

/* ====== FOOTER ====== */
footer { background: var(--dark); color: #999; margin-top: 0; }
.footer-body {
  max-width: 1100px; margin: 0 auto;
  padding: 50px 24px 40px;
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 40px;
}
.footer-logo-img { height: 46px; margin-bottom: 16px; filter: brightness(0.9); }
.footer-logo p { font-size: 12px; line-height: 1.7; }
.footer-contact h4,
.footer-nav-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 14px;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
}
.footer-contact ul li {
  font-size: 13px; line-height: 1.6;
  margin-bottom: 8px; color: #aaa;
}
.footer-nav-col a {
  display: block; font-size: 13px; color: #aaa;
  margin-bottom: 8px; transition: 0.2s;
}
.footer-nav-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ====== FIXED SIDEBAR ====== */
.fixed-side {
  position: fixed; right: 18px; bottom: 130px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
}
.fixed-side a {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: 0.2s;
  font-size: 20px;
}
.fixed-side a:hover { transform: scale(1.1); }
.fixed-side .s-tel { background: var(--accent); color: #fff; }
.fixed-side .s-line { background: #06c755; color: #fff; }
.fixed-side .s-fb { background: #1877f2; color: #fff; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #222;
  }
  .main-nav.open ul { flex-direction: column; }
  .main-nav.open ul li ul {
    position: static; border-top: none;
    border-left: 3px solid var(--accent);
  }
  .main-nav.open ul li > a {
    height: auto; line-height: 1;
    padding: 14px 20px;
    border-bottom: 1px solid #333;
  }
  .nav-toggle { display: flex; }
  header { position: relative; }

  .banner { height: 260px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-works { grid-template-columns: 1fr; }
  .footer-body { grid-template-columns: 1fr; gap: 24px; }
  .banner { height: 200px; }
}
