/* ===== wedding.com.tw 唯美婚禮風格落地頁 ===== */
:root {
  --ivory: #faf6ef;
  --cream: #f2eadd;
  --sand: #ece2d3;
  --gold: #b08d57;
  --gold-dark: #8f6f3f;
  --gold-light: #d9c193;
  --ink: #2f2a24;
  --ink-soft: #6f665a;
  --white: #fffdf9;
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-tw: "Noto Serif TC", "PMingLiU", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--serif-tw);
  color: var(--ink);
  background: var(--ivory);
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* ===== 導覽列 ===== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(176, 141, 87, 0.25);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif-en);
  font-size: 1.35rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--white); text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.nav-logo span { color: var(--gold-light); }
.nav.scrolled .nav-logo { color: var(--ink); text-shadow: none; }
.nav.scrolled .nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.95rem; text-decoration: none;
  color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav.scrolled .nav-links a { color: var(--ink-soft); text-shadow: none; }
.nav-links a:not(.nav-cta):hover { color: var(--gold-light); }
.nav.scrolled .nav-links a:not(.nav-cta):hover { color: var(--gold-dark); }
.nav-cta {
  border: 1px solid var(--gold-light);
  border-radius: 999px; padding: 7px 22px;
  color: var(--gold-light) !important; text-shadow: none !important;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--white) !important; }
.nav.scrolled .nav-cta { color: var(--gold-dark) !important; border-color: var(--gold); }
.nav.scrolled .nav-cta:hover { background: var(--gold); color: var(--white) !important; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -60px;
  background-size: cover; background-position: center 30%;
  animation: kenburns 22s ease-in-out infinite alternate;
  filter: saturate(0.92) brightness(0.94);
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.1) translateY(-18px); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,30,24,0.42) 0%, rgba(38,30,24,0.18) 40%, rgba(38,30,24,0.62) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-ornament {
  color: var(--gold-light);
  font-size: 0.9rem; letter-spacing: 0.3em;
  margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-kicker {
  color: #f4e9d8;
  font-size: 1rem; letter-spacing: 0.6em; text-indent: 0.6em;
  margin-bottom: 20px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.hero-domain {
  font-family: var(--serif-en);
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  font-weight: 500; line-height: 1.12;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.45);
  margin-bottom: 26px;
}
.hero-domain span {
  font-style: italic;
  background: linear-gradient(120deg, #e8cf9e, #c9a262);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: #f7f0e4;
  font-size: clamp(1.02rem, 2.6vw, 1.25rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(14px); opacity: 0; }
}

/* ===== 按鈕 ===== */
.btn {
  display: inline-block;
  padding: 14px 42px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--serif-tw);
  font-size: 1rem; letter-spacing: 0.18em; text-indent: 0.18em;
  cursor: pointer; border: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #c9a262 0%, #9a7a45 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.btn-ghost {
  background: rgba(255,253,249,0.08);
  border: 1px solid rgba(233, 211, 170, 0.85);
  color: #f4e9d8;
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(233,211,170,0.18); }
.btn-block { width: 100%; }

/* ===== 通用區塊 ===== */
.section { max-width: 1160px; margin: 0 auto; padding: 110px 24px; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-family: var(--serif-en);
  font-style: italic; font-size: 1.05rem;
  color: var(--gold); letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.section-eyebrow.light { color: var(--gold-light); }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600; letter-spacing: 0.22em; text-indent: 0.22em;
}
.section-title.light { color: var(--white); }
.section-title::after {
  content: "─────  ⚭  ─────";
  display: block;
  color: var(--gold);
  font-size: 0.7rem; letter-spacing: 0.4em;
  margin-top: 14px; opacity: 0.8;
}
.section-title.light::after { color: var(--gold-light); }

/* ===== 緣起 ===== */
.story { text-align: center; padding-bottom: 90px; }
.story-en {
  font-family: var(--serif-en); font-style: italic;
  font-size: 1.15rem; color: var(--gold);
  margin-bottom: 18px;
}
.story-quote {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 600; letter-spacing: 0.14em;
  margin-bottom: 34px;
}
.story-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36em; margin: 0 auto;
}
.story-text strong {
  font-family: var(--serif-en); font-weight: 600;
  color: var(--gold-dark); letter-spacing: 0.02em;
}

/* ===== 網域價值 ===== */
.section-value { background: var(--ivory); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.value-item {
  background: var(--white);
  border: 1px solid rgba(176,141,87,0.22);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  padding: 44px 30px 38px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-item:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(47,42,36,0.1); }
.value-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white);
  font-size: 0.85rem; letter-spacing: 0.2em; text-indent: 0.2em;
  padding: 4px 16px; border-radius: 999px;
}
.value-item h3 {
  font-size: 1.2rem; font-weight: 600; letter-spacing: 0.24em; text-indent: 0.24em;
  margin-bottom: 14px; color: var(--ink);
}
.value-item p { font-size: 0.95rem; color: var(--ink-soft); text-align: left; }

/* ===== 適合品牌：情境照片牆 ===== */
.fit {
  background: linear-gradient(180deg, #332b23 0%, #241e18 100%);
  padding: 110px 24px;
}
.fit-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.fit-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.fit-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease;
  filter: saturate(0.9);
}
.fit-card:hover img { transform: scale(1.07); filter: saturate(1.05); }
.fit-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  gap: 4px;
  padding: 26px 16px;
  background: linear-gradient(180deg, transparent 45%, rgba(20,15,10,0.78) 100%);
  transition: background 0.4s ease;
}
.fit-tag {
  color: var(--white);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: 0.3em; text-indent: 0.3em;
}
.fit-en {
  font-family: var(--serif-en); font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem; letter-spacing: 0.16em;
}

/* ===== 全幅引言 ===== */
.quote {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  padding: 80px 24px;
}
.quote-veil {
  position: absolute; inset: 0;
  background: rgba(30, 24, 18, 0.45);
}
.quote-content { position: relative; z-index: 1; }
.quote-text {
  color: var(--white);
  font-size: clamp(1.4rem, 4.5vw, 2.3rem);
  font-weight: 600; letter-spacing: 0.2em;
  text-shadow: 0 3px 18px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}
.quote-en {
  font-family: var(--serif-en); font-style: italic;
  color: var(--gold-light);
  font-size: 1.05rem; letter-spacing: 0.12em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.quote .hero-ornament { margin-bottom: 26px; }

/* ===== 洽詢 ===== */
.contact { text-align: center; }
.contact-intro { color: var(--ink-soft); margin-bottom: 46px; }
.email-card {
  max-width: 620px; margin: 0 auto 54px;
  background: var(--white);
  border: 1px solid rgba(176,141,87,0.28);
  border-radius: 6px;
  padding: 46px 34px;
  box-shadow: 0 16px 44px rgba(47,42,36,0.08);
}
.email-label {
  font-size: 0.9rem; letter-spacing: 0.4em; text-indent: 0.4em;
  color: var(--ink-soft); margin-bottom: 10px;
}
.email-address {
  display: inline-block;
  font-family: var(--serif-en);
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  font-weight: 600; letter-spacing: 0.03em;
  color: var(--gold-dark); text-decoration: none;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(176,141,87,0.4);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.email-address:hover { color: var(--gold); }
.email-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.email-actions .btn-ghost {
  background: transparent; color: var(--gold-dark);
  border: 1px solid var(--gold);
}
.email-actions .btn-ghost:hover { background: rgba(176,141,87,0.1); }

.contact-form {
  max-width: 620px; margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(176,141,87,0.28);
  border-radius: 6px;
  padding: 44px 36px;
  display: flex; flex-direction: column; gap: 24px;
  text-align: left;
  box-shadow: 0 16px 44px rgba(47,42,36,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.1em; }
.contact-form input,
.contact-form textarea {
  font-family: var(--serif-tw); font-size: 1rem; letter-spacing: 0.04em;
  padding: 13px 15px;
  border: 1px solid #ddd2c0; border-radius: 4px;
  background: var(--ivory); color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.15);
}
.form-note { text-align: center; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.05em; }
.honey-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.form-success {
  text-align: center;
  background: linear-gradient(135deg, rgba(201,162,98,0.16), rgba(176,141,87,0.08));
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 64px 32px;
  animation: pop-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.form-success .success-icon {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a262, #9a7a45);
  color: var(--white);
  font-size: 2.6rem;
  line-height: 84px;
  box-shadow: 0 10px 26px rgba(150,115,63,0.35);
}
.form-success h3 {
  font-size: 1.7rem;
  letter-spacing: 0.24em; text-indent: 0.24em;
  margin-bottom: 14px;
  color: var(--ink);
}
.form-success p { font-size: 1.05rem; color: var(--ink-soft); }
.form-success a { color: var(--gold-dark); font-weight: 600; }
.form-error { color: #a4553f; }

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 64px 24px 48px;
  background: #241e18;
}
.footer-domain {
  font-family: var(--serif-en);
  font-size: 1.6rem; font-weight: 500;
  color: var(--white); margin-bottom: 10px;
}
.footer-domain span { color: var(--gold-light); font-style: italic; }
.footer-contact { font-size: 0.95rem; color: #b9ad9c; margin-bottom: 14px; }
.footer-contact a { color: var(--gold-light); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.82rem; color: #7d7264; letter-spacing: 0.1em; }

/* ===== 進場動畫 ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.pc-br { display: inline; }

/* ===== 手機版 ===== */
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .quote { background-attachment: scroll; }
  .section { padding: 72px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 22px; }
  .fit { padding: 72px 20px; }
  .pc-br { display: none; }
}
