/* =========================================================
   昭岳姓名學
   視覺方向：1990s～2000s 台灣個人網站
   原則：老派、整齊、可讀；不要故意做成破舊或難用。
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 22px 12px 40px;
  background: #eee7da;
  color: #111;
  font-family: "PMingLiU", "MingLiU", "新細明體", "細明體", serif;
  font-size: 17px;
  line-height: 1.8;
}

a {
  color: #0000aa;
  text-decoration: underline;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #aa0000;
}

.page {
  width: min(820px, 100%);
  margin: 0 auto;
  background: #fffdf7;
  border: 1px solid #777;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.10);
}

.site-header {
  text-align: center;
  padding: 18px 20px 14px;
  border-bottom: 3px double #555;
  background: #f7f0df;
}

.small-top {
  text-align: left;
  font-family: "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: #666;
}

h1 {
  margin: 10px 0 2px;
  font-size: 34px;
  letter-spacing: 0.14em;
  font-weight: normal;
  color: #3d241d;
}

.subtitle {
  margin: 2px 0;
  font-size: 16px;
  letter-spacing: 0.25em;
}

.welcome {
  margin: 8px 0 0;
  color: #7e1818;
  font-weight: bold;
}

.nav {
  text-align: center;
  padding: 9px 8px;
  background: #e7e7e7;
  border-bottom: 1px solid #777;
  font-size: 15px;
}

.nav a {
  white-space: nowrap;
}

main {
  padding: 8px 18px 18px;
}

.box {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #aaa;
  background: #fff;
}

.section-title {
  margin: -14px -16px 12px;
  padding: 5px 10px;
  background: #efeadf;
  border-bottom: 1px solid #aaa;
  color: #7b1010;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 14px;
  font-size: 16px;
}

.price-table th,
.price-table td {
  border: 1px solid #777;
  padding: 8px 10px;
  vertical-align: top;
}

.price-table th {
  background: #efefef;
  font-weight: bold;
}

.service-name {
  width: 20%;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}

.price {
  width: 18%;
  text-align: center;
  white-space: nowrap;
  color: #7e1818;
  font-weight: bold;
}

.notice {
  padding: 9px 10px;
  border-left: 4px solid #8f6d52;
  background: #faf5e9;
}

.old-list {
  padding-left: 1.5em;
  margin: 8px 0;
}

.quiet {
  color: #555;
  font-size: 15px;
}

.placeholder {
  margin: 16px auto 4px;
  padding: 18px;
  text-align: center;
  width: min(430px, 88%);
  background: #fff2f5;
  border: 1px dashed #b98993;
}

.contact-card {
  margin: 12px 0;
  padding: 10px 14px;
  border: 1px solid #777;
  background: #fafafa;
}

.contact-card p {
  margin: 3px 0;
}

footer {
  padding: 8px 20px 20px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

footer hr {
  border: 0;
  border-top: 3px double #777;
  margin-bottom: 14px;
}

footer p {
  margin: 3px 0;
}

.best-view {
  font-family: "Times New Roman", serif;
  letter-spacing: 0.02em;
}

/* 手機仍維持可讀，不破壞老網站感 */
@media (max-width: 600px) {
  body {
    padding: 0;
    background: #fffdf7;
    font-size: 16px;
  }

  .page {
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  h1 {
    font-size: 27px;
    letter-spacing: 0.08em;
  }

  .nav {
    line-height: 2;
  }

  main {
    padding: 6px 10px 14px;
  }

  .box {
    padding: 12px;
  }

  .section-title {
    margin: -12px -12px 10px;
  }

  .price-table {
    font-size: 14px;
  }

  .price-table th,
  .price-table td {
    padding: 7px 5px;
  }
}


/* v1.1：讓文字更像早期個人網站，少一點現代品牌感 */
.box p { margin: 7px 0; }
.notice { font-size: 16px; }
