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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  color: #2d2d2d;
  background: #fff;
  line-height: 1.7;
}

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

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.logo-zh {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2e7d32;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.navbar nav {
  display: flex;
  gap: 8px;
  flex: 1;
}

.navbar nav a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #444;
  transition: background 0.2s, color 0.2s;
}

.navbar nav a:hover {
  background: #e8f5e9;
  color: #2e7d32;
}

.nav-fb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  background: #1877f2;
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}

.nav-fb:hover { background: #1565d8; transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #43a047 70%, #66bb6a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.hero-overlay {
  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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 40px 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 4px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 2px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: #2e7d32;
  border-radius: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  border-radius: 28px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-light { background: #f7faf7; }

.section-green {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #43a047;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 48px;
  line-height: 1.3;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-text strong { color: #2e7d32; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: #fff;
  border: 1px solid #e0f2e1;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(46,125,50,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.14);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: #2e7d32;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: #777;
  letter-spacing: 1px;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid #e8f5e9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(46,125,50,0.12);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1b5e20;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.product-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.product-img-1 {
  background: linear-gradient(135deg, #a5d6a7, #66bb6a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.product-img-1::after { content: '🥟'; font-size: 5rem; display: block; text-align: center; line-height: 200px; }
.product-img-2::after { content: '🌯'; font-size: 5rem; display: block; text-align: center; line-height: 200px; }
.product-img-3::after { content: '🛒'; font-size: 5rem; display: block; text-align: center; line-height: 200px; }

.product-img-2 {
  background: linear-gradient(135deg, #c8e6c9, #81c784);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-3 {
  background: linear-gradient(135deg, #b2dfdb, #80cbc4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 14px;
}

.product-badge {
  display: inline-block;
  padding: 3px 12px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-link {
  color: #43a047;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.product-link:hover { color: #1b5e20; }

/* ===== Locations ===== */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.location-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(46,125,50,0.1);
  transition: transform 0.2s;
}

.location-card:hover { transform: translateY(-4px); }

.location-header {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-icon { font-size: 1.4rem; }

.location-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.location-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.95rem;
}

.loc-label {
  font-weight: 600;
  color: #2e7d32;
  font-size: 0.85rem;
  padding-top: 2px;
}

.location-row a {
  color: #1b5e20;
  transition: color 0.2s;
}

.location-row a:hover { color: #43a047; }

.map-link {
  color: #1565d8 !important;
  font-weight: 500;
  font-size: 0.88rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-item {
  background: #f7faf7;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e0f2e1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(46,125,50,0.1);
}

.contact-icon {
  font-size: 2.4rem;
  color: #2e7d32;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.contact-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.phone-list {
  text-align: left;
  font-size: 0.9rem;
  line-height: 2;
}

.phone-list a { color: #2e7d32; font-weight: 500; }

/* ===== Footer ===== */
.footer {
  background: #1b5e20;
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-zh { color: #a5d6a7; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.6); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.75;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a5d6a7;
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 0.88rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }

.footer-contact p {
  font-size: 0.88rem;
  opacity: 0.75;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: #1877f2;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid,
  .locations-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .navbar nav { display: none; }
  .about-grid,
  .features-grid,
  .products-grid,
  .locations-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 60px 0; }
}
