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

:root {
  --brown:      #5c3317;
  --brown-dark: #3b1f0a;
  --brown-light:#8b5e3c;
  --gold:       #c9a84c;
  --gold-light: #e8d5a3;
  --cream:      #faf6f0;
  --cream-dark: #f0e8d8;
  --green:      #2d6a4f;
  --green-wa:   #25D366;
  --text:       #2c1810;
  --text-light: #6b4c3b;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(92,51,23,.12);
  --radius:     12px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown-dark);
  border-color: var(--gold);
}
.btn-primary:hover { background: #b8923e; border-color: #b8923e; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover { background: var(--brown); color: var(--white); transform: translateY(-1px); }

.btn-green {
  background: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
}
.btn-green:hover { background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-1px); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,246,240,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92,51,23,.1);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(92,51,23,.2));
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-zh {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: .05em;
}
.logo-en {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  color: var(--brown-light);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav a:hover { color: var(--brown-dark); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.lang-toggle:hover { background: var(--brown-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brown);
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--brown-dark) 0%, #6b3a1a 40%, #4a2510 100%);
  overflow: hidden;
}

/* Decorative tea pattern background */
.hero::before {
  content: '茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶 茶';
  position: absolute;
  inset: 0;
  font-size: 4rem;
  color: rgba(255,255,255,.03);
  font-family: 'Noto Serif SC', serif;
  word-spacing: 2rem;
  line-height: 2;
  letter-spacing: 2rem;
  pointer-events: none;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(92,51,23,.3) 0%, rgba(0,0,0,.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 40px 24px;
  padding-top: 108px;
}

.hero-sub {
  font-size: .9rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 300;
}

/* Hero logo */
.hero-logo-wrap {
  margin-bottom: 32px;
}
.hero-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.5)) drop-shadow(0 0 60px rgba(201,168,76,.25));
  margin: 0 auto;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: .05em;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-light); font-size: 1rem; }

/* ===== ABOUT STRIP ===== */
.about-strip {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.about-icon { font-size: 2.2rem; margin-bottom: 12px; }
.about-item h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 8px;
}
.about-item p { color: var(--text-light); font-size: .88rem; }

/* ===== PRODUCTS ===== */
.products { padding: 80px 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--text-light);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--brown-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(92,51,23,.18);
}
.product-card.hidden { display: none; }

.product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-emoji { font-size: 4rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }

.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.product-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--brown-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 50px;
}

.product-body h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.3;
}

.product-body p {
  color: var(--text-light);
  font-size: .85rem;
  line-height: 1.6;
  flex: 1;
}

.enquire-btn { align-self: flex-start; margin-top: auto; font-size: .85rem; padding: 9px 22px; }

.tag-gold {
  background: linear-gradient(135deg, #c9a84c, #e8d5a3);
  color: var(--brown-dark);
}

/* ===== CATEGORY BANNERS ===== */
.category-banner {
  margin: 48px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.liubao-banner  { background: linear-gradient(135deg, #3d1c02, #7a3b1e); }
.heicha-banner  { background: linear-gradient(135deg, #1a1a2e, #3d2b1f); }
.laoshu-banner  { background: linear-gradient(135deg, #2c1a00, #6b4c11); }

.category-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C20 15 10 20 5 30 C10 40 20 45 30 55 C40 45 50 40 55 30 C50 20 40 15 30 5Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.category-banner-inner {
  position: relative;
  padding: 32px 40px;
  color: var(--white);
}
.category-banner-inner h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: .05em;
}
.category-banner-inner p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 680px;
}

/* ===== OWNER ===== */
.owner {
  padding: 80px 0;
  background: var(--cream);
}
.owner-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: flex-start;
}
.owner-photo-wrap { display: flex; justify-content: center; }
.owner-photo-placeholder {
  width: 220px;
  height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--brown-dark), var(--brown-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.owner-photo-placeholder span {
  font-family: 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .1em;
}
.owner-photo {
  width: 220px;
  height: 260px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.owner-label {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.owner-text h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 20px;
}
.owner-bio p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: .97rem;
}
.bio-placeholder {
  color: var(--brown-light) !important;
  font-style: italic;
  border-left: 3px solid var(--gold-light);
  padding-left: 16px;
}

@media (max-width: 768px) {
  .owner-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .owner-photo-wrap { justify-content: flex-start; }
  .category-banner-inner { padding: 24px 20px; }
}

/* ===== STORY ===== */
.story {
  background: var(--brown-dark);
  padding: 80px 0;
  color: var(--white);
}
.section-header-light h2 { color: var(--gold-light) !important; }
.section-header-light p  { color: rgba(255,255,255,.6) !important; }

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.story-text p {
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
  line-height: 1.85;
  font-size: .97rem;
}

/* Climate badges */
.climate-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
}
.climate-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.climate-icon { font-size: 1.4rem; flex-shrink: 0; }
.climate-badge div { display: flex; flex-direction: column; gap: 1px; }
.climate-badge strong {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
  text-transform: uppercase;
}
.climate-badge span {
  font-size: .92rem;
  color: rgba(255,255,255,.85);
}

.story-text .btn-primary { margin-top: 12px; }

.story-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.story-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  transition: background var(--transition);
}
.story-card:hover { background: rgba(255,255,255,.12); }
.story-stat {
  font-family: 'Lora', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.story-stat span { font-size: 1.6rem; }

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-icon { font-size: 2.2rem; }
.contact-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.contact-card p { color: var(--text-light); font-size: .88rem; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.social-link {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--cream-dark);
  font-size: .82rem;
  color: var(--text-light);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--brown); color: var(--brown); background: var(--cream-dark); }

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.65);
  padding: 40px 0 28px;
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 4px; }
.footer-brand .logo-zh { color: var(--gold-light); }
.footer-brand .logo-en { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 6px; color: rgba(255,255,255,.45); font-size: .8rem; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: rgba(255,255,255,.3); font-size: .78rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(250,246,240,.98);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; padding: 6px 0; }
  .nav-toggle { display: block; }

  .hero-content { padding-top: 120px; }

  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-visual { grid-template-columns: repeat(2, 1fr); }

  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .story-visual { grid-template-columns: 1fr 1fr; }
}

/* ===== LANG TRANSITION ===== */
[data-zh], [data-en] { transition: opacity .15s ease; }
