/* style.css (最終修正版) */

/* --- 基本重置與全域設定 --- */
:root {
    --primary-text: #1a1a1a;
    --secondary-text: #666;
    --background-light: #fcfcfc;
    --border-color: #f0f0f0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Noto Sans TC", sans-serif;
    background-color: #ffffff;
    color: var(--primary-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    margin: 0;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }
  
  ul {
    list-style: none;
    padding: 0;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  h1,
  h2,
  h3 {
    font-weight: 500;
    line-height: 1.3;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5em;
  }
  h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25em;
  }
  
  /* --- 頁首 Header --- */
  .main-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
  }
  
  .main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-img {
    height: 45px;
    width: auto;
  }
  
  .main-nav ul {
    display: flex;
    gap: 40px;
    margin: 0;
  }
  
  .main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
  }
  .main-nav a:hover {
    color: var(--secondary-text);
  }
  
  /* --- 主視覺區 Hero Section --- */
  .hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
  }
  
  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
  }
  
  .hero-content h1 {
    font-weight: 700;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
  }
  
  /* --- 商品展示區 --- */
  .product-showcase-section {
    padding: 60px 0;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px 35px;
  }
  
  .product-card {
    text-align: left;
  }
  
  .product-card summary {
    list-style: none;
    cursor: pointer;
  }
  .product-card summary::-webkit-details-marker {
    display: none;
  }
  
  .product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .product-card details[open] summary img,
  .product-card:hover img {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
  }
  
  .product-card .price {
    color: var(--secondary-text);
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* --- 購買與社群區 --- */
  .ordering-section {
    padding: 80px 0;
    background-color: var(--background-light);
    text-align: center;
  }
  .ordering-subtitle {
    max-width: 500px;
    margin: -1.5em auto 2.5em;
    color: var(--secondary-text);
  }
  
  .order-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 3em;
  }
  
  .cta-button.order-platform-button {
    background-color: var(--primary-text);
    color: #fff;
    border: 1px solid var(--primary-text);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  .cta-button.order-platform-button:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
  }
  .social-links a:hover {
    text-decoration: underline;
  }
  .social-links span {
    color: var(--secondary-text);
  }
  
  /* --- 關於我們 --- */
  .about-us-section {
    padding: 80px 0;
    text-align: center;
  }
  .about-us-section p {
    max-width: 700px;
    margin: -1.5em auto 0;
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  /* --- 頁尾 Footer --- */
  .main-footer {
    background-color: #fff;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
  }
  
  /* --- 主食營養比較區塊 --- */
  .comparison-section {
    padding: 80px 0;
    background-color: #ffffff;
  }
  
  .comparison-table-wrapper {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #eae5e0;
  }
  
  .comparison-header {
    background-color: #1d5951;
    padding: 24px;
    text-align: center;
  }
  
  .comparison-header h3 {
    color: #f7f3ef;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
  }
  
  .table-container {
    width: 100%;
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    min-width: 600px;
    text-align: center;
    border-collapse: collapse;
  }
  
  thead {
    background-color: #faf8f5;
  }
  
  th {
    padding: 20px 16px;
    font-weight: 500;
    color: #8a817a;
    font-size: 0.9rem;
    white-space: nowrap;
    letter-spacing: 0.5px