/* ============================================
   TUNG JEN TANG ACUPUNCTURE — STYLESHEET
   Deep Navy (#1e3a5f) + Warm Gold (#d4a84b)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1e3a5f;
  --navy-dark: #152a45;
  --navy-light: #2a4f73;
  --gold: #d4a84b;
  --gold-light: #e8c36a;
  --gold-dark: #b8912e;
  --cream: #faf6ee;
  --cream-dark: #f0e8d8;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #5a5a72;
  --text-light: #f5f0e8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(30,58,95,0.08);
  --shadow-md: 0 4px 20px rgba(30,58,95,0.12);
  --shadow-lg: 0 8px 40px rgba(30,58,95,0.16);
  --shadow-gold: 0 4px 20px rgba(212,168,75,0.3);
  --transition: 0.3s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,168,75,0.15);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo--light .logo-text { color: var(--white); }

/* ---------- NAV ---------- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212,168,75,0.4);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 42, 69, 0.92) 0%,
    rgba(30, 58, 95, 0.85) 40%,
    rgba(42, 79, 115, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,75,0.15);
  border: 1px solid rgba(212,168,75,0.3);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- SECTION LABELS ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-title--light { color: var(--white); }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.text-center { text-align: center; }
.section-header { margin-bottom: 64px; }

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}
.about-img-float img {
  width: 260px;
  height: 190px;
  object-fit: cover;
}
.about-stat {
  position: absolute;
  top: -24px;
  right: 40px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-stat .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.about-content { padding: 20px 0; }
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(212,168,75,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-item strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}
.value-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 100px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,168,75,0.2);
  background: var(--white);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(212,168,75,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- APPROACH ---------- */
.approach {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.approach-intro {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.75;
}
.steps { display: flex; flex-direction: column; gap: 36px; }
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.7;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.step-content p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}
.approach-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.approach-visual img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(30,58,95,0.06);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 700;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}
.testimonial-name {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial-location {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
}
.contact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,75,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.75;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(212,168,75,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-item span,
.contact-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--gold); }

/* ---------- FORM ---------- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e4dc;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,168,75,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0a898;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  color: #16a34a;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p,
.footer-hours p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-img-float { right: 16px; bottom: -24px; }
  .approach-visual img { height: 450px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-dark);
    padding: 100px 32px 40px;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .main-nav.open { right: 0; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  .main-nav .btn-gold {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }
  .hero-content { padding: 120px 24px 100px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 20px; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrapper { padding: 28px 24px; }
  .about-img-main img { height: 360px; }
  .about-img-float img { width: 200px; height: 150px; }
  .about-stat { top: -16px; right: 16px; padding: 16px 20px; }
  .about-stat .stat-number { font-size: 1.8rem; }
  .approach-visual img { height: 350px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-badge { font-size: 0.75rem; }
  .section-title { font-size: 1.6rem; }
  .service-card { padding: 28px 24px; }
}
