/* ===== 美甲 Nail Salon — Shared Design System ===== */
:root {
  --color-primary: #d98a9e;        /* rose */
  --color-primary-dark: #b96a80;
  --color-accent: #c9a14a;         /* gold */
  --color-bg: #fdf8f5;             /* warm cream */
  --color-surface: #ffffff;
  --color-text: #3d3239;
  --color-muted: #8a7b81;
  --color-border: #efe2dc;
  --font-head: "Noto Serif TC", "Songti TC", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Helvetica Neue", sans-serif;
  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(185, 106, 128, .12);
  --gap: clamp(1rem, 3vw, 2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.3; }

/* layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 5vw, 3rem);
}
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--alt { background: var(--color-surface); }
.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .eyebrow {
  display: inline-block; color: var(--color-accent); letter-spacing: .25em;
  font-size: .8rem; text-transform: uppercase; margin-bottom: .75rem;
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-head p { color: var(--color-muted); margin-top: .9rem; }

/* buttons */
.btn {
  display: inline-block; padding: .7em 1.6em; border-radius: 999px;
  font-size: 1rem; font-weight: 500; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--color-primary); color: var(--color-primary-dark); background: transparent; }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }

/* header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 245, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--color-primary-dark); letter-spacing: .05em; }
.brand span { color: var(--color-accent); }
.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; list-style: none; }
.nav-links a { color: var(--color-text); font-size: .98rem; padding-block: .3rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--color-primary-dark); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--color-accent);
}
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--color-primary-dark); cursor: pointer; }

/* hero */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(90,40,55,.42), rgba(90,40,55,.42)), url("../images2/hero-bg.png") center/cover no-repeat;
}
.hero .container { min-height: clamp(420px, 70vh, 620px); display: flex; flex-direction: column; justify-content: center; align-items: center; padding-block: 4rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero p { font-size: clamp(1rem, 2.5vw, 1.2rem); max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.page-hero { background: linear-gradient(135deg, #f6e4e9, #fdf8f5); text-align: center; padding-block: clamp(3rem, 8vw, 5rem); }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: var(--color-primary-dark); }
.page-hero p { color: var(--color-muted); margin-top: .8rem; }

/* grids & cards */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  transition: transform .25s;
}
.card:hover { transform: translateY(-5px); }
.card .icon { font-size: 2rem; margin-bottom: .6rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .96rem; }
.card .price { display: block; margin-top: 1rem; color: var(--color-accent); font-weight: 600; font-size: 1.05rem; }

/* split (about) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1rem; }
.split p { color: var(--color-muted); margin-bottom: 1rem; }
.split ul { list-style: none; }
.split li { padding-left: 1.6rem; position: relative; margin-bottom: .6rem; }
.split li::before { content: "✦"; color: var(--color-accent); position: absolute; left: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.gallery figure { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.07); }

/* price list table */
.pricelist { max-width: 720px; margin-inline: auto; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px dashed var(--color-border);
}
.price-row .name { font-weight: 500; }
.price-row .desc { color: var(--color-muted); font-size: .9rem; }
.price-row .amt { color: var(--color-accent); font-weight: 600; white-space: nowrap; }

/* contact */
.info-list { list-style: none; }
.info-list li { margin-bottom: 1.1rem; }
.info-list strong { display: block; color: var(--color-primary-dark); margin-bottom: .15rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; margin-bottom: .35rem; font-size: .95rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border);
  border-radius: 10px; font: inherit; background: var(--color-surface); color: var(--color-text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--color-primary); border-color: transparent; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1rem; }
.cta-band p { margin-bottom: 1.6rem; opacity: .95; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary-dark); }
.cta-band .btn-primary:hover { background: var(--color-bg); }

/* footer */
.site-footer { background: #2e252b; color: #d8c9cf; padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { font-family: var(--font-head); color: #fff; margin-bottom: .9rem; }
.footer-grid a, .footer-grid li { color: #c7b6bd; list-style: none; margin-bottom: .4rem; font-size: .95rem; }
.footer-grid a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; font-size: .85rem; color: #a8979e; }

/* responsive nav */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: .9rem; border-top: 1px solid var(--color-border); }
}
