/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333; line-height: 1.7; background: #faf9f7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-size: 2rem; font-weight: 900; color: #1a1a2e;
  margin-bottom: 10px; position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%); width: 50px; height: 3px;
  background: linear-gradient(90deg, #c9a96e, #8b6914); border-radius: 2px;
}
.section-header p { color: #666; font-size: 1.05rem; }

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  height: 65px;
}
.logo {
  font-size: 1.4rem; font-weight: 900; color: #1a1a2e;
  display: flex; align-items: center; gap: 8px;
}
.logo-sub { font-size: 0.8rem; font-weight: 400; color: #8b6914; letter-spacing: 1px; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a {
  font-size: 0.92rem; color: #444; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-menu a:hover { color: #c9a96e; }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: #c9a96e;
  transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.hamburger span {
  width: 25px; height: 2px; background: #333;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 100%);
  color: white; text-align: center; position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(201,169,110,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: 3rem; font-weight: 900; margin-bottom: 15px;
  letter-spacing: 2px;
}
.hero-title .highlight { color: #c9a96e; }
.hero-subtitle { font-size: 1.2rem; color: #c9a96e; margin-bottom: 20px; font-weight: 500; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 35px; line-height: 1.8; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 50px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s; border: none; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #c9a96e, #a8832e);
  color: white; box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,169,110,0.4);
}
.btn-order {
  background: #1a1a2e; color: white; padding: 12px 28px;
  font-size: 0.92rem; width: 100%;
}
.btn-order:hover { background: #c9a96e; }
.btn-submit { width: 100%; margin-top: 20px; font-size: 1.1rem; padding: 16px; }

/* ===== Products ===== */
.products-section { background: white; }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.product-card {
  background: #faf9f7; border-radius: 16px; padding: 35px 25px;
  text-align: center; position: relative;
  border: 1px solid #eee; transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border-color: #c9a96e;
}
.product-badge {
  position: absolute; top: 15px; right: 15px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white; padding: 4px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700;
}
.product-badge.sale { background: linear-gradient(135deg, #c9a96e, #8b6914); }
.product-img {
  width: 100px; height: 100px; margin: 0 auto 20px;
  background: linear-gradient(135deg, #f0ece3, #e8e0d0);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.product-emoji { font-size: 3rem; }
.product-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.product-desc { font-size: 0.9rem; color: #666; margin-bottom: 15px; min-height: 40px; }
.product-price { margin-bottom: 12px; }
.price-original {
  display: block; font-size: 0.85rem; color: #999;
  text-decoration: line-through; margin-bottom: 3px;
}
.price-current { font-size: 1rem; font-weight: 700; color: #8b6914; }
.product-offers {
  background: #f5f0e8; border-radius: 10px; padding: 12px 15px;
  margin-bottom: 20px; text-align: left;
}
.product-offers p { font-size: 0.88rem; margin-bottom: 5px; color: #555; }
.product-offers p:last-child { margin-bottom: 0; }
.product-offers strong { color: #c0392b; }

/* ===== About ===== */
.about-section { background: #faf9f7; }
.about-content { max-width: 700px; margin: 0 auto; }
.about-text p {
  margin-bottom: 15px; font-size: 1.02rem; color: #444;
  text-align: center; line-height: 2;
}

/* ===== Order Form ===== */
.order-section { background: white; }
.order-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-size: 0.95rem; color: #333;
}
.form-group .required { color: #e74c3c; }
.form-group input, .form-group textarea, .qty-input {
  width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0;
  border-radius: 10px; font-size: 0.95rem; transition: border-color 0.2s;
  font-family: inherit; background: #faf9f7;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: #c9a96e; background: white;
}
.form-section-title {
  font-size: 1.1rem; font-weight: 700; color: #1a1a2e;
  margin: 30px 0 15px; padding-bottom: 10px;
  border-bottom: 2px solid #f0ece3;
}
.order-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px; background: #faf9f7; border-radius: 10px;
  margin-bottom: 10px;
}
.order-item-header { display: flex; flex-direction: column; }
.order-item-name { font-weight: 600; font-size: 0.95rem; }
.order-item-price { font-size: 0.85rem; color: #8b6914; }
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 2px solid #e0e0e0; border-radius: 8px; overflow: hidden;
  background: white;
}
.qty-btn {
  width: 36px; height: 36px; border: none; background: #f0ece3;
  font-size: 1.2rem; cursor: pointer; font-weight: 700;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: #c9a96e; color: white; }
.qty-input {
  width: 50px; height: 36px; text-align: center; border: none;
  border-radius: 0; font-weight: 700; padding: 0; background: white;
}
.form-total {
  text-align: right; padding: 15px 0; font-size: 1.2rem;
  font-weight: 700; border-top: 2px solid #f0ece3; margin: 10px 0;
}
.form-total span:last-child { color: #c0392b; font-size: 1.4rem; }

.order-success {
  max-width: 500px; margin: 0 auto; text-align: center; padding: 60px 30px;
}
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.order-success h3 { font-size: 1.5rem; margin-bottom: 15px; color: #1a1a2e; }
.order-success p { color: #666; margin-bottom: 25px; }

/* ===== FAQ ===== */
.faq-section { background: #faf9f7; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: white; border-radius: 12px; margin-bottom: 10px;
  border: 1px solid #eee; overflow: hidden;
}
.faq-question {
  padding: 18px 25px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem; transition: background 0.2s;
}
.faq-question:hover { background: #faf9f7; }
.faq-arrow { transition: transform 0.3s; font-size: 0.8rem; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  padding: 0 25px;
}
.faq-item.active .faq-answer {
  max-height: 200px; padding: 0 25px 18px;
}
.faq-answer p { color: #666; font-size: 0.95rem; }

/* ===== Contact ===== */
.contact-section { background: white; }
.contact-info { max-width: 500px; margin: 0 auto; }
.contact-item {
  display: flex; align-items: center; gap: 15px;
  padding: 16px 20px; border-bottom: 1px solid #f0ece3;
  font-size: 0.95rem;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon { font-size: 1.3rem; }
.contact-item a { color: #c9a96e; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer {
  background: #1a1a2e; color: rgba(255,255,255,0.6);
  text-align: center; padding: 40px 0; font-size: 0.9rem;
}
.footer .footer-small { font-size: 0.8rem; margin-top: 8px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 65px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); flex-direction: column;
    padding: 20px; gap: 15px; transform: translateY(-100%);
    opacity: 0; transition: all 0.3s; pointer-events: none;
  }
  .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .hamburger { display: flex; }
  .hero { padding: 130px 0 70px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .products-grid { grid-template-columns: 1fr; }
  .order-item { flex-direction: column; gap: 10px; align-items: flex-start; }
  .section { padding: 50px 0; }
  .contact-item { font-size: 0.9rem; }
}
