/* Apex Culture Media — global styles (static multilingual pages) */
:root {
  --navy: #0d1b2a;
  --navy-2: #14283c;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --paper: #f8f6f1;
  --text: #22303e;
  --muted: #6b7887;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 27, 42, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
}
h1, h2, h3, .brand-name { font-family: "Noto Serif TC", "Songti TC", "SimSun", serif; }
img { max-width: 100%; display: block; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 27, 42, .97);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.nav-wrap {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-badge {
  width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--gold), #8a6d12);
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Serif TC", serif; font-weight: 700; font-size: 20px; color: #fff;
}
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; line-height: 1.3; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: #b9c4d0; letter-spacing: 1.5px; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav.main a {
  color: #d8e0e8; text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 6px;
  transition: color .2s, background .2s;
}
nav.main a:hover { color: var(--gold-light); background: rgba(255,255,255,.06); }
nav.main a.cta { background: var(--gold); color: #1a1405; font-weight: 700; margin-left: 8px; }
nav.main a.cta:hover { background: var(--gold-light); color: #1a1405; }
.lang-sw { display: flex; gap: 4px; margin-left: 10px; }
.lang-sw button {
  background: transparent; border: 1px solid #44586c; color: #b9c4d0;
  font-size: 12.5px; padding: 4px 11px; border-radius: 14px; cursor: pointer;
  transition: color .2s, background .2s;
}
.lang-sw button.active { background: var(--gold); border-color: var(--gold); color: #1a1405; font-weight: 700; }
.lang-sw button:hover { color: var(--gold-light); border-color: var(--gold-light); }
.lang-sw button.active:hover { color: #1a1405; }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(13,27,42,.88) 0%, rgba(20,40,60,.80) 55%, rgba(13,27,42,.88) 100%),
    url("images/hero.jpg") center/cover no-repeat;
  color: var(--white); text-align: center; padding: 130px 24px 140px;
}
.hero .kicker { color: var(--gold-light); letter-spacing: 4px; font-size: 13px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: 44px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.hero .tagline { font-size: 20px; color: var(--gold-light); margin-bottom: 26px; font-family: "Noto Serif TC", serif; }
.hero p.sub { max-width: 780px; margin: 0 auto 40px; color: #d3dce5; font-size: 16px; }
.btn {
  display: inline-block; padding: 14px 42px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s;
}
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201,162,39,.35); }
.btn-line { border: 1.5px solid #7c8ea0; color: #e5ecf2; margin-left: 14px; }
.btn-line:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- sections ---------- */
section { padding: 84px 24px; }
.wrap { max-width: 1180px; margin: 0 auto; }
.sec-kicker { color: var(--gold); letter-spacing: 3px; font-size: 12.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
section h2 { font-size: 32px; color: var(--navy); margin-bottom: 30px; position: relative; padding-bottom: 14px; }
section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--gold); }
.lead { font-size: 16.5px; max-width: 900px; color: var(--text); margin-bottom: 18px; }
.vision { color: var(--muted); font-size: 15.5px; border-left: 3px solid var(--gold); padding-left: 16px; margin-top: 26px; max-width: 900px; }
.dark { background: var(--navy); color: #e7edf3; }
.dark h2 { color: var(--white); }

/* about with photo */
.about-flex { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.about-photo { border-radius: 14px; box-shadow: var(--shadow); }

/* cards */
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--white); border-radius: 14px; padding: 30px 28px;
  box-shadow: var(--shadow); border-top: 3px solid transparent;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); border-top-color: var(--gold); }
.card .num { font-family: "Noto Serif TC", serif; font-size: 15px; color: var(--gold); font-weight: 700; letter-spacing: 2px; }
.card h3 { font-size: 18.5px; color: var(--navy); margin: 8px 0 12px; line-height: 1.5; }
.card p { font-size: 14.5px; color: #4d5a68; }

/* photo gallery strip */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(13,27,42,.85));
  color: #f1e8cf; font-size: 13px; padding: 26px 14px 12px; text-align: center;
}

/* case studies */
.case-note {
  background: rgba(255,255,255,.05); border: 1px dashed rgba(201,162,39,.4);
  border-radius: 12px; padding: 34px 30px; text-align: center; color: #b9c4d0; font-size: 15px;
}
.case-note strong { color: var(--gold-light); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 10px; }
.contact-box { background: var(--white); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); }
.contact-box h3 { color: var(--navy); font-size: 16px; margin-bottom: 12px; letter-spacing: 1px; }
.contact-box p, .contact-box a { color: var(--text); font-size: 15px; text-decoration: none; }
.contact-box a { color: #9a6b00; font-weight: 600; }
.contact-box .addr-zh { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- legal pages ---------- */
.legal-hero { background: var(--navy); color: var(--white); padding: 70px 24px 60px; text-align: center; }
.legal-hero h1 { font-size: 34px; letter-spacing: 1px; }
.legal-hero .upd { color: #b9c4d0; font-size: 13.5px; margin-top: 10px; }
.legal-body { max-width: 880px; margin: 0 auto; padding: 60px 24px 90px; }
.legal-body h2 { font-size: 21px; color: var(--navy); margin: 40px 0 14px; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 14px; }

/* ---------- footer ---------- */
footer.site { background: #0a1420; color: #8fa0b1; padding: 44px 24px 36px; font-size: 13.5px; }
.foot-wrap { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot-brand { color: #d8e0e8; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
footer.site a { color: #c9a227; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.copyright { max-width: 1180px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #1c2c3d; text-align: center; font-size: 12.5px; color: #61718a; }

@media (max-width: 900px) {
  .about-flex { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero h1 { font-size: 32px; }
  .hero { padding: 90px 20px 100px; }
  nav.main a { padding: 6px 8px; font-size: 13px; }
  .btn-line { margin-left: 0; margin-top: 12px; display: inline-block; }
}
