/* 
 * Bag Doctor (袋博士) - Eco Canvas Bag Website Styles
 * Color Psychology:
 * - Deep Green (#1B5E20 / #2E7D32): Eco-friendly, nature, trust in sustainability
 * - Soft Cream (#F8F5F0): Canvas texture feel, calm, natural
 * - Warm Orange (#E65100): Call-to-action, urgency to order, energy
 * - Trust Blue (#0D47A1): Professionalism, security for B2B clients
 * - Neutral Grays: Clean, modern, readable
 * Designed for conversion: Large CTAs, social proof, clear hierarchy
 */

:root {
  --primary-green: #1B5E20;
  --primary-green-light: #2E7D32;
  --primary-green-pale: #E8F5E9;
  --accent-orange: #E65100;
  --accent-orange-hover: #BF360C;
  --trust-blue: #0D47A1;
  --bg-cream: #F8F5F0;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #5C5C5C;
  --border-soft: #E0DCD4;
  --shadow-soft: 0 4px 20px rgba(27, 94, 32, 0.08);
  --shadow-hover: 0 8px 30px rgba(27, 94, 32, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font-sans: "Inter", "Noto Sans SC", "Noto Sans TC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-green);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

a {
  color: var(--primary-green-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

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

/* Header & Navigation */
.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-green);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav-main {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-main a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--primary-green);
}

.nav-main a.active::after,
.nav-main a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-switcher a {
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: white;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-green-pale) 0%, #FFFFFF 60%);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  background: white;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-green);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-image-placeholder {
  background: linear-gradient(145deg, #C8E6C9, #A5D6A7);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-green);
  box-shadow: var(--shadow-hover);
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--border-soft);
}

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

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #E8F5E9, #C8E6C9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-green);
  position: relative;
}

.product-image .oz-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-green);
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-meta .from {
  font-weight: 600;
  color: var(--accent-orange);
}

/* Features / Why Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-green-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: var(--primary-green);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

/* Printing Methods */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.method-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--primary-green);
}

.method-card h3 {
  margin-bottom: 0.5rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-green) 0%, #0D3B12 100%);
  color: white;
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: #0D3B12;
  color: #C8E6C9;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 300px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #A5D6A7;
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Mobile Nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-green);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .nav-main {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-wrap: wrap;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* SEO / Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
