/* ========================================
   茶道 CHADAO - Premium Tea Brand
   Elegant, Zen-like, Modern Chinese Aesthetic
   ======================================== */

:root {
  /* Color Palette - Tea Inspired */
  --tea-green: #4A7C23;
  --tea-green-light: #6B9B3A;
  --tea-green-dark: #2D5016;
  --tea-sage: #8FA66B;
  --tea-moss: #5C7A3D;
  
  --cream: #FAF8F3;
  --cream-warm: #F5F0E6;
  --ivory: #FFFEF9;
  
  --gold: #D4A574;
  --gold-light: #E8C9A0;
  --bronze: #8B6914;
  
  --charcoal: #2C2C2C;
  --gray-soft: #6B6B6B;
  --gray-light: #A0A0A0;
  
  /* Typography */
  --font-cn: 'Noto Serif TC', serif;
  --font-en: 'Inter', -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(45, 80, 22, 0.08);
  --shadow-medium: 0 8px 40px rgba(45, 80, 22, 0.12);
  --shadow-glow: 0 0 60px rgba(74, 124, 35, 0.15);
}

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

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

body {
  font-family: var(--font-en);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: var(--tea-green);
  color: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ========================================
   Floating Tea Leaves Decoration
   ======================================== */
.tea-leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.leaf {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.leaf-1 { top: 10%; left: 5%; animation-delay: 0s; }
.leaf-2 { top: 30%; right: 8%; animation-delay: -5s; font-size: 1rem; }
.leaf-3 { top: 60%; left: 3%; animation-delay: -10s; font-size: 1.2rem; }
.leaf-4 { top: 80%; right: 5%; animation-delay: -15s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(10deg); }
  50% { transform: translateY(0) rotate(-5deg); }
  75% { transform: translateY(10px) rotate(5deg); }
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74, 124, 35, 0.1);
  transition: var(--transition-base);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.logo-cn {
  font-family: var(--font-cn);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tea-green-dark);
  letter-spacing: 0.1em;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-cn);
  font-size: 0.95rem;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tea-green);
  transition: var(--transition-base);
}

.nav-links a:hover {
  color: var(--tea-green);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 550px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: linear-gradient(135deg, var(--tea-green-light), var(--tea-green));
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.title-main {
  display: block;
  font-family: var(--font-cn);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--tea-green-dark);
  letter-spacing: 0.15em;
  line-height: 1.1;
}

.title-sub {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--gray-soft);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

.hero-desc {
  font-family: var(--font-cn);
  font-size: 1.1rem;
  color: var(--gray-soft);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
}

/* Tea Cup Art */
.hero-tea-svg {
  width: 280px;
  height: auto;
  animation: floatSlow 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(45,80,22,0.15));
}

.steam-line {
  animation: steamFloat 2.5s ease-in-out infinite;
}
.steam-line.s2 { animation-delay: 0.4s; }
.steam-line.s3 { animation-delay: 0.8s; }

@keyframes steamFloat {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(-8px); }
}
  background: radial-gradient(ellipse, rgba(45, 80, 22, 0.2) 0%, transparent 70%);
  animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.7; }
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-cn);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-primary {
  background: var(--tea-green);
  color: white;
  border-color: var(--tea-green);
}

.btn-primary:hover {
  background: var(--tea-green-dark);
  border-color: var(--tea-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-ghost {
  background: transparent;
  color: var(--tea-green);
  border-color: var(--tea-green);
}

.btn-ghost:hover {
  background: var(--tea-green);
  color: white;
}

.btn-full {
  width: 100%;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tea-green);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-cn);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--tea-green-dark);
  letter-spacing: 0.05em;
}

.section-desc {
  font-family: var(--font-cn);
  color: var(--gray-soft);
  margin-top: var(--space-sm);
}

/* ========================================
   About Section
   ======================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text {
  font-family: var(--font-cn);
}

.about-lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--tea-green-dark);
  margin-bottom: var(--space-md);
}

.about-text p {
  margin-bottom: var(--space-sm);
  color: var(--gray-soft);
}

.highlight {
  color: var(--tea-green);
  font-weight: 500;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-scene {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

/* ========================================
   Products Section
   ======================================== */
.products {
  background: var(--cream-warm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.product-card.featured {
  grid-column: span 1;
}

.product-image {
  height: 200px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.05);
}

/* Bottle Design */
.bottle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottle-cap {
  width: 30px;
  height: 15px;
  background: var(--gold);
  border-radius: 5px 5px 0 0;
}

.bottle-neck {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(200,200,200,0.3);
}

.bottle-body {
  width: 70px;
  height: 120px;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(200,200,200,0.2);
  border-radius: 10px 10px 20px 20px;
  position: relative;
  overflow: hidden;
}

.bottle-liquid {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  height: 90px;
  background: linear-gradient(180deg, 
    rgba(212, 165, 116, 0.7) 0%,
    rgba(139, 105, 20, 0.8) 100%
  );
  border-radius: 5px 5px 15px 15px;
}

.bottle-liquid.liquid-green {
  background: linear-gradient(180deg, 
    rgba(107, 155, 58, 0.6) 0%,
    rgba(45, 80, 22, 0.7) 100%
  );
}

.bottle-liquid.liquid-amber {
  background: linear-gradient(180deg, 
    rgba(194, 118, 58, 0.7) 0%,
    rgba(139, 69, 19, 0.8) 100%
  );
}

.bottle-cap.cap-green {
  background: var(--tea-green);
}

.bottle-cap.cap-amber {
  background: #C2763A;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--tea-green);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-info {
  padding: var(--space-md);
  min-height: 100px;
  background: var(--ivory);
}

.product-name {
  font-family: var(--font-cn);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tea-green-dark);
  margin-bottom: var(--space-xs);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--gray-soft);
  margin-bottom: var(--space-sm);
}

.product-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: var(--cream);
  color: var(--tea-green);
  border-radius: 20px;
  border: 1px solid var(--tea-sage);
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
  text-align: center;
}

.philosophy-content {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.philosophy-quote {
  font-family: var(--font-cn);
  margin-bottom: var(--space-lg);
}

.philosophy-quote p {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 500;
  color: var(--tea-green-dark);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.philosophy-quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--gold);
}

.philosophy-text {
  font-family: var(--font-cn);
  color: var(--gray-soft);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.value-item {
  padding: var(--space-lg);
  background: white;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-base);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.value-item h3 {
  font-family: var(--font-cn);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tea-green-dark);
  margin-bottom: var(--space-xs);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--gray-soft);
  line-height: 1.6;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: var(--cream-warm);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: var(--space-sm);
}

.contact-info > p {
  font-family: var(--font-cn);
  color: var(--gray-soft);
  margin-bottom: var(--space-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: var(--charcoal);
  transition: var(--transition-base);
}

.contact-method:hover {
  background: var(--tea-green);
  color: white;
  transform: translateX(5px);
}

.method-icon {
  font-size: 1.3rem;
}

.method-text {
  font-family: var(--font-cn);
  font-weight: 500;
}

.contact-form {
  background: white;
  padding: var(--space-lg);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-cn);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-en);
  font-size: 0.95rem;
  border: 2px solid var(--cream-warm);
  border-radius: 10px;
  background: var(--cream);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tea-green);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--tea-green-dark);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo-cn {
  color: white;
  font-size: 1.8rem;
}

.footer-brand .logo-en {
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.footer-brand p {
  font-family: var(--font-cn);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-family: var(--font-cn);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(74, 124, 35, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    min-height: 300px;
    margin-top: var(--space-lg);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
