/* ═══════════════════════════════════════
   亮妍娛樂 · 共用樣式
   柔美雜誌風 — 象牙白 + 玫瑰酒紅
   ═══════════════════════════════════════ */

:root {
  --ink: #2A1F22;
  --ink-60: rgba(42,31,34,0.6);
  --ink-75: rgba(42,31,34,0.75);
  --cream: #FBF7F3;
  --soft: #F7EDE8;
  --soft-deep: #EEDAD0;
  --blush: #F3D9DC;
  --accent: #B8405E;
  --accent-deep: #8B2E47;
  --line: #06C755;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans TC", "Helvetica Neue", sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.serif { font-family: "Noto Serif TC", serif; }
.script { font-family: "Dancing Script", cursive; font-style: italic; color: var(--accent); }

/* ══════ Marquee ══════ */
.topbar {
  background: var(--soft); color: var(--accent);
  font-family: "Dancing Script", cursive; font-size: 14px;
  padding: 10px 0; text-align: center; font-style: italic;
  overflow: hidden; white-space: nowrap;
}
.topbar-track { display: inline-block; animation: marquee 60s linear infinite; will-change: transform; }
.topbar-track span { margin-right: 40px; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ══════ Nav ══════ */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 56px;
  font-family: "Noto Serif TC", serif;
  background: var(--cream);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(184,64,94,0.08);
}
.nav-left, .nav-right {
  display: flex; gap: 24px; font-size: 12px; letter-spacing: 2px;
  color: var(--ink-75);
  align-items: center;
}
.nav-right { justify-content: flex-end; }
.nav-item { position: relative; cursor: pointer; padding: 8px 0; }
.nav-item::after {
  content: ''; position: absolute; left: 0; bottom: 2px; width: 0;
  height: 1px; background: currentColor; transition: width .3s ease;
}
.nav-item:hover::after, .nav-item.active::after { width: 100%; }
.nav-item.active { color: var(--accent); }

.nav-logo {
  text-align: center;
}
.nav-logo-en {
  font-family: "Dancing Script", cursive;
  font-size: 36px; color: var(--accent);
  font-weight: 600; line-height: 1;
}
.nav-logo-cn { font-size: 11px; letter-spacing: 7px; margin-top: 4px; }

/* 下拉選單 */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 200px; padding: 12px 0;
  border: 1px solid var(--soft); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(42,31,34,0.12);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  margin-top: 8px;
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 24px; font-size: 13px; letter-spacing: 1px;
  font-family: "Noto Serif TC", serif;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: var(--soft); color: var(--accent); }
.nav-dropdown-menu .group-label {
  padding: 6px 24px; font-size: 10px; letter-spacing: 3px;
  color: var(--accent); font-style: italic;
  font-family: "Dancing Script", cursive; font-size: 14px;
}

.nav-cta {
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  padding: 10px 22px; font-size: 12px; letter-spacing: 2px; border-radius: 999px;
  font-family: "Noto Serif TC", serif; cursor: pointer;
  transition: background .2s, color .2s;
  display: inline-block;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ══════ 漢堡選單（手機） ══════ */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink);
}
.mobile-menu {
  position: fixed; inset: 0; background: var(--cream); z-index: 200;
  padding: 80px 32px 32px; display: none;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--ink);
}
.mobile-menu a { display: block; padding: 14px 0; font-size: 18px; font-family: "Noto Serif TC", serif; border-bottom: 1px solid var(--soft); }
.mobile-menu .group-label {
  font-family: "Dancing Script", cursive; font-style: italic;
  color: var(--accent); font-size: 18px;
  margin-top: 24px; margin-bottom: 8px;
}
.mobile-menu .sub-item { padding-left: 16px; font-size: 15px; }

/* ══════ 共用區塊 ══════ */
.page-hero {
  padding: 80px 56px 48px; text-align: center;
  background: var(--soft);
}
.page-hero-script { font-family: "Dancing Script", cursive; font-size: 40px; color: var(--accent); font-style: italic; }
.page-hero-title {
  font-family: "Noto Serif TC", serif;
  font-size: 56px; font-weight: 300; letter-spacing: 4px;
  margin-top: 12px;
}
.page-hero-sub {
  font-size: 14px; color: var(--ink-60); margin-top: 20px;
  letter-spacing: 2px;
}

/* 按鈕 */
.btn {
  display: inline-block;
  padding: 16px 32px; font-size: 14px; letter-spacing: 3px;
  border-radius: 999px; font-family: "Noto Serif TC", serif;
  cursor: pointer; border: none; transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184,64,94,0.35); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-line { background: var(--line); color: #fff; }
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(6,199,85,0.35); }

/* ══════ Footer ══════ */
.footer {
  padding: 48px 56px 32px; background: var(--ink); color: var(--cream);
  font-family: "Noto Serif TC", serif;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 36px;
  max-width: 1400px; margin: 0 auto;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.footer h4 {
  font-family: "Dancing Script", cursive; font-style: italic;
  font-size: 22px; color: var(--blush); margin-bottom: 16px; font-weight: 400;
}
.footer a {
  display: block; padding: 6px 0; font-size: 13px;
  color: rgba(251,247,243,0.7); letter-spacing: 1px;
  transition: color .2s;
}
.footer a:hover { color: var(--blush); }
.footer-logo-en { font-family: "Dancing Script", cursive; font-size: 36px; color: var(--blush); }
.footer-logo-cn { font-size: 12px; letter-spacing: 6px; margin-top: 4px; }
.footer-tagline { font-size: 13px; line-height: 2; color: rgba(251,247,243,0.6); margin-top: 16px; }
.footer-bottom {
  max-width: 1400px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(251,247,243,0.12);
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 2px; color: rgba(251,247,243,0.5);
}

/* ══════ 浮動 LINE 按鈕 ══════ */
.fab-line {
  position: fixed; right: 24px; bottom: 24px;
  width: 64px; height: 64px; background: var(--line);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(6,199,85,0.35); z-index: 500;
  animation: fab-pulse 2.4s ease-in-out infinite;
  transition: transform .2s;
}
.fab-line:hover { transform: scale(1.08); }
@keyframes fab-pulse {
  0%,100%{ box-shadow: 0 8px 24px rgba(6,199,85,0.35), 0 0 0 0 rgba(6,199,85,0.5); }
  50%{ box-shadow: 0 8px 24px rgba(6,199,85,0.45), 0 0 0 16px rgba(6,199,85,0); }
}
.fab-call {
  position: fixed; right: 24px; bottom: 100px;
  width: 52px; height: 52px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(184,64,94,0.35); z-index: 500;
  transition: transform .2s;
}
.fab-call:hover { transform: scale(1.08); }

/* 動畫 */
@keyframes fade-up { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fade-up .8s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* ══════ 手機版 ══════ */
@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .nav-left { display: none; }
  .nav-right .nav-item, .nav-right .nav-dropdown { display: none; }
  .nav-logo-en { font-size: 26px; }
  .nav-logo-cn { font-size: 9px; letter-spacing: 5px; }
  .hamburger { display: block; }
  .nav-right { gap: 12px; }
  .nav-cta { padding: 8px 16px; font-size: 11px; letter-spacing: 1px; }

  .page-hero { padding: 48px 24px 32px; }
  .page-hero-script { font-size: 28px; }
  .page-hero-title { font-size: 32px; letter-spacing: 2px; }
  .page-hero-sub { font-size: 13px; }

  .footer { padding: 40px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
