/* ══════════════════════════════════════════════
   大綠地藝術 · 共用樣式
   色系：歐洲森林系 · 溫暖大地
══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:        #7FAF9B;
  --green-dark:   #5A9080;
  --green-deep:   #3D6B5C;
  --green-light:  #EAF2EE;
  --green-pale:   #F3F8F5;
  --terra:        #C17A5A;
  --terra-light:  #F5E8E0;
  --terra-dark:   #A35E3E;
  --yellow:       #E8C96B;
  --yellow-light: #FAF3DA;
  --cream:        #FAF7F2;
  --beige:        #F2EBE0;
  --beige-dark:   #E8DDD0;
  --ink:          #2E2A24;
  --ink-mid:      #6B6056;
  --ink-light:    #A89888;
  --white:        #FFFFFF;
  --font-sans:    'Noto Sans TC', sans-serif;
  --font-serif:   'Noto Serif TC', serif;
  --font-display: 'Cormorant Garamond', 'Noto Serif TC', serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 56px;
  border-bottom: 1px solid rgba(127,175,155,0.18);
  transition: box-shadow 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: 40px;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px; height: 44px;
  background: #8bc9c5;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-mark svg { width: 24px; height: 24px; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.logo-zh {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.06em;
  display: block;
}

.logo-en {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  display: block;
}

/* Nav links with dropdown */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 13.5px;
  padding: 7px 12px;
  border-radius: 20px;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li.active > a {
  color: var(--green-dark);
  background: var(--green-light);
}

/* Dropdown arrow */
.has-sub > a::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.5;
  margin-left: 1px;
}

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: 14px;
  padding: 10px 8px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(46,42,36,0.12);
  border: 1px solid rgba(127,175,155,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  list-style: none;
  z-index: 100;
}

.has-sub:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}

.dropdown li a:hover {
  color: var(--green-dark);
  background: var(--green-pale);
}

/* Nav CTA */
.nav-cta {
  background: var(--terra) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 22px !important;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--terra-dark) !important;
  color: white !important;
}

/* ── WAVE ───────────────────────────────────── */
.wave { width: 100%; overflow: hidden; line-height: 0; display: block; }
.wave svg { display: block; width: 100%; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 32px;
  transition: all 0.22s;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
}

.btn-terra {
  background: var(--terra);
  color: white;
  padding: 14px 36px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(193,122,90,0.3);
}

.btn-terra:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(193,122,90,0.4);
}

.btn-green {
  background: var(--green);
  color: white;
  padding: 14px 36px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(127,175,155,0.3);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--ink-mid);
  font-size: 14px;
  padding: 13px 24px;
  border: 1.5px solid var(--beige-dark);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }

.btn-white {
  background: white;
  color: var(--green-deep);
  padding: 15px 38px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(46,42,36,0.14);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(46,42,36,0.2); }

.btn-outline-w {
  background: transparent;
  color: white;
  padding: 14px 34px;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.55);
}

.btn-outline-w:hover { background: rgba(255,255,255,0.12); border-color: white; transform: translateY(-2px); }

/* ── SECTION SHARED ─────────────────────────── */
.sec-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-tag-dot {
  width: 26px; height: 1px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}

.sec-h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  margin-top: 70px;
  background: var(--beige);
  padding: 72px 80px 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,175,155,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: 0.045em;
}

.page-hero p {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 2;
  max-width: 740px;
}

/* ── CTA SECTION ────────────────────────────── */
.cta-sec {
  background: var(--green);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-sec::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: -180px; left: -80px;
}

.cta-sec::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -140px; right: -60px;
}

.cta-sec h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  color: white;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: 0.04em;
}

.cta-sec p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 64px 80px 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.48);
  line-height: 1.9;
  margin-top: 18px;
}

.footer-logo-zh { color: white !important; font-size: 17px !important; }
.footer-logo-en { color: var(--green) !important; }

.footer-col h5 {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.18s;
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-addr {
  font-size: 11.5px;
  color: rgba(255,255,255,0.28);
  margin-top: -4px;
  margin-bottom: 8px;
  padding-left: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── SCROLL ANIMATION ────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

@media (max-width: 1050px) {
  .nav {
    height: 128px; padding: 10px 24px 12px; justify-content: center;
    align-content: center; flex-wrap: wrap;
  }
  .nav-logo { margin-right: 0; }
  .nav-links {
    flex: 0 0 100%; display: grid; grid-template-columns: repeat(6, auto);
    justify-content: center; gap: 2px; margin-top: 8px;
  }
  .nav-links > li > a { justify-content: center; padding: 8px 10px; }
  .page-hero { margin-top: 128px; }
}

@media (max-width: 680px) {
  .nav { height: 156px; padding: 10px 12px 12px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-zh { font-size: 14px !important; }
  .logo-en { font-size: 8px !important; }
  .nav-links { grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
  .nav-links > li > a { padding: 7px 4px; font-size: 12px; }
  .nav-cta { padding: 7px 4px !important; }
  .page-hero { margin-top: 156px; }
  .cta-sec { padding: 64px 20px; }
  .cta-sec h2 { font-size: 29px; }
  .cta-btns { flex-direction: column; align-items: center; }
  footer { padding: 54px 22px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
