:root {
    /* Light theme colors */
    --primary-color: #C1272D;
    --secondary-color: #2c3e50;
    --background-color: #ffffff;
    --text-color: #333333;
    --card-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --nav-bg: #ffffff;
    --nav-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* 字體設置 */
    --heading-font: 'Noto Sans TC', 'Noto Sans', 'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', sans-serif;
    --body-font: 'Noto Sans TC', 'Noto Sans', 'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', sans-serif;
}

[data-theme="dark"] {
    --primary-color: #E63E43;
    --secondary-color: #34495e;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --nav-bg: #2d2d2d;
    --nav-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* Header styles */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-nav {
    background-color: var(--nav-bg);
    padding: 1rem 0;
    box-shadow: var(--nav-shadow);
    position: relative;
}

.main-nav .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem;
    font-family: var(--heading-font);
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme toggle and language switcher */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-family: var(--heading-font);
}

.theme-toggle:hover {
    background-color: var(--card-bg);
}

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

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-family: var(--heading-font);
}

.lang-btn:hover {
    background-color: var(--card-bg);
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Hero section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Rest of your existing styles... */
/* Buttons and CTAs */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: var(--heading-font);
}

.cta-button:hover {
    background-color: #A6212A;
}

/* Section styles */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Products section */
.products {
    background-color: var(--card-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-card {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    padding-bottom: 1rem;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem;
    color: var(--text-color);
    font-family: var(--heading-font);
}

.product-card p {
    padding: 0 1rem 1rem;
    color: var(--text-color);
}

/* About section */
.about-content {
    padding: 3rem 0;
    background-color: var(--background-color);
}

.about-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--heading-font);
}

.contact-form button:hover {
    background-color: #A6212A;
}

/* Footer styles */
footer {
    background-color: #474747;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.2rem 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: white;
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-email-link {
    color: #fff !important;
    text-decoration: underline;
    transition: color 0.2s, opacity 0.2s;
}

.footer-email-link:hover {
    color: #fff !important;
    opacity: 0.7;
}

/* Responsive styles */
@media (max-width: 768px) {
    /* 主导航栏样式 */
    .main-nav {
        padding: 0.75rem 0;
    }
    
    .main-nav .container {
        padding: 0 1rem;
        flex-direction: row;
        gap: 0.5rem;
        position: relative;
        align-items: center;
    }
    
    .logo {
        text-align: left;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* 显示导航切换按钮 */
    .nav-toggle {
        display: flex !important; /* 在移动端显示为flex布局，强制覆盖其他样式 */
        position: absolute;
        top: 0.5rem;
        right: 1rem;
        z-index: 10;
        font-size: 1.8rem;
        color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    /* 导航链接容器 */
    .nav-links {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--background-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 0;
        margin: 0;
        display: none;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        border-top: none;
    }
    
    /* 当添加.active类时显示导航 */
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    
    /* 移动端导航项样式 */
    .nav-links a {
        width: 100%;
        padding: 0 1.5rem;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        height: 50px;
        box-sizing: border-box;
        margin: 0;
        background-color: var(--background-color);
        transition: background-color 0.3s, color 0.3s;
    }
    
    .nav-links a:hover {
        background-color: var(--card-bg);
        color: var(--primary-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* 调整菜单展开时的动画效果 */
    .nav-links.active {
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-controls {
        margin-right: 4rem;
    }

    .language-switcher {
        order: 2;
    }
    
    /* 不再使用 */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* 内容区域样式调整 */
    .hero, 
    .products-hero, 
    .about-hero, 
    .contact-hero {
        margin-top: 100px; /* 减小顶部边距，因为导航默认是折叠的 */
    }
    
    /* 当导航展开时增加页面内容的顶部边距 */
    body.nav-expanded .hero,
    body.nav-expanded .products-hero,
    body.nav-expanded .about-hero,
    body.nav-expanded .contact-hero {
        margin-top: 230px;
        transition: margin-top 0.3s ease;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .products-hero h1 {
        font-size: 2rem;
    }
    
    /* 其他样式保持不变 */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .products-table-wrapper {
        padding: 0.5rem;
    }
    
    .products-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .products-tabs {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .footer-logo {
        height: 40px;
    }
}

.featured-products {
    background-color: var(--card-bg);
    padding: 4rem 0;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

.more-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 1rem;
    font-family: var(--heading-font);
}

.more-btn:hover {
    background-color: #A6212A;
}

/* Fix existing styles */
.hero {
    margin-top: 80px;
}

.product-card {
    padding-bottom: 1rem;
}

/* Products page styles */
.products-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/product-catalogue.png');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 80px;
    text-align: center;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.products-content {
    padding: 4rem 0;
}

.products-filters {
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group label {
    font-weight: bold;
    color: var(--text-color);
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--background-color);
    color: var(--text-color);
    min-width: 200px;
}

.products-table-wrapper {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

/* DataTables customization */
.dataTables_wrapper {
    color: var(--text-color);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 4px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    margin-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color);
}

table.dataTable {
    border-collapse: collapse !important;
    width: 100% !important;
    border: 1px solid var(--border-color);
}

table.dataTable thead th {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color) !important;
    padding: 1rem !important;
}

table.dataTable tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

table.dataTable.stripe tbody tr.odd {
    background-color: var(--background-color);
}

table.dataTable.stripe tbody tr.even {
    background-color: var(--card-bg);
}

table.dataTable.hover tbody tr:hover {
    background-color: var(--border-color) !important;
}

.products-note {
    color: var(--text-color);
    font-style: italic;
}

.products-note p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group select {
        width: 100%;
    }

    .products-table-wrapper {
        padding: 0.5rem;
    }
}

.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-family: var(--heading-font);
}

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

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    margin-top: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background-color: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.category-card img, .category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.category-card:hover img, .category-card:hover .category-image {
    transform: scale(1.05);
}

.category-card h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
    padding: 0 1.5rem;
}

.category-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0.5rem;
}

.google-sheet-container {
    background: var(--background-color);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.sheet-actions {
    margin-top: 1rem;
    text-align: right;
}

.sheet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sheet-link:hover {
    background-color: #A6212A;
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* 價目表樣式 */
.price-list-container {
    background: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.price-list-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-list-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-family: var(--heading-font);
}

.price-list-header p {
    color: var(--text-color);
    opacity: 0.8;
}

.price-list-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.price-category-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 1rem;
    font-family: var(--heading-font);
}

.price-category-btn:hover,
.price-category-btn.active {
    background: var(--primary-color);
    color: white;
}

.price-list-content {
    margin-bottom: 2rem;
}

.price-category-content {
    display: none;
}

.price-category-content.active {
    display: block;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    background-color: var(--card-bg);
    color: var(--text-color);
    font-weight: bold;
}

.price-table tr:hover {
    background-color: var(--card-bg);
}

.price-list-note {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    font-style: italic;
    margin-top: 2rem;
}

.price-list-note p {
    margin-bottom: 1rem;
}

/* 移動端樣式適配 */
@media (max-width: 768px) {
    .price-list-tabs {
        flex-direction: column;
    }
    
    .price-category-btn {
        width: 100%;
    }
    
    .price-table {
        font-size: 0.9rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* 在小屏幕下使表格可以水平滾動 */
    .price-category-content {
        overflow-x: auto;
    }
}

/* 服務卡片新樣式 - 基於圖片中的UI設計 */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
    font-family: var(--heading-font);
}

.service-content {
    flex-grow: 1;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* 區塊樣式優化 */
.services, .delivery {
    padding: 4rem 0;
    background-color: var(--background-color);
    text-align: center;
}

.services h2, .delivery h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2rem;
}

.features-section {
    padding: 4rem 0;
    background-color: var(--background-color);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 50%, transparent);
}

.features-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    flex: 1;
    padding: 1.5rem;
    background-color: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    gap: 1rem;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
}

.feature-text {
    flex-grow: 1;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-family: var(--heading-font);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
}

/* 客戶評價區塊樣式修復 */
.testimonials {
    background-color: var(--card-bg);
    padding: 5rem 0;
    position: relative;
}

.testimonial-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background-color: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    width: calc(33.333% - 1rem);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.testimonial-quote {
    padding: 2rem;
    flex-grow: 1;
}

.testimonial-quote h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: var(--heading-font);
}

.testimonial-quote p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid white;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--heading-font);
}

.author-info p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .testimonial-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .testimonial-card {
        width: calc(50% - 1rem);
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 0;
    }
    
    .features-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.2rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .testimonial-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .testimonial-card {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-quote {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        padding: 1.2rem 1.5rem;
    }
}

/* 所有標題使用標題字體 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

/* 導航連結使用更加現代的字體 */
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem;
    font-family: var(--heading-font);
}

/* 按鈕字體同樣使用標題字體 */
.cta-button, 
.lang-btn,
.theme-toggle,
.service-card h3,
.product-card h3,
.tab-btn,
.price-category-btn {
    font-family: var(--heading-font);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* 優質冷藏精選區塊 */
.premium-selection {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.premium-selection h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--heading-font);
    font-weight: 700;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.premium-card {
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.premium-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.premium-card:hover .premium-image {
    transform: scale(1.05);
}

.premium-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 1rem 0 0.5rem;
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 0 1.5rem;
}

.premium-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .premium-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-selection h2 {
        font-size: 2rem;
    }
}

/* 聯絡我們頁面樣式 */
.contact-page-hero {
    padding: 8rem 0 4rem;
    background-color: var(--background-color);
    text-align: center;
    margin-top: 80px;
}

.contact-page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-page-content {
    padding: 3rem 0 5rem;
    background-color: var(--background-color);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-form-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info-block {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font);
    transition: border-color 0.3s;
}

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

.send-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s;
    font-family: var(--heading-font);
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-block {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.contact-info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-block h3 i {
    color: var(--primary-color);
}

.contact-info-block p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-info-block p:last-of-type {
    margin-bottom: 0;
}

.contact-info-block h3.mt-4 {
    margin-top: 0.75rem;
}

.contact-hours {
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .contact-page-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-page-hero h1 {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card,
    .contact-info-blocks {
        width: 100%;
    }
}

/* 移動端樣式適配 */
@media (max-width: 992px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text-container {
        max-width: 100%;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 100%;
    }
}

/* 送货服务样式 */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.delivery-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.delivery-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.delivery-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
    display: block;
}

.delivery-card:hover i {
    transform: scale(1.1);
}

.delivery-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: var(--heading-font);
}

.delivery-card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-card {
        padding: 1.5rem;
    }
}

.error-message {
    color: #C1272D;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1em;
}

.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font);
    transition: border-color 0.3s;
    height: 100px;
    min-height: 100px;
    resize: vertical;
}

.mt-4 {
    margin-top: 1rem;
}

.contact-info-content {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.contact-social {
    margin-top: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.send-button:hover {
    background-color: #A6212A;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 关于我们页面样式 */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/about us.png');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 80px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-content {
    padding: 3rem 0;
    background-color: var(--background-color);
}

.about-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* 服务和配送部分样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* 移动端导航收缩按钮样式 */
.nav-toggle {
    display: none !important; /* 默认在桌面视图隐藏 */
    background-color: rgba(193, 39, 45, 0.9); /* 使用主色调 */
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 2000;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important; /* 在移动端强制显示 */
    }
}

/* 增值服務和送貨服務新样式 */
.about-section {
    padding: 4rem 0;
    background-color: var(--background-color);
    text-align: center;
}

.about-section h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
}

.about-section p {
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    line-height: 1.6;
}

.about-section.bg-light {
    background-color: var(--card-bg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* 服务网格布局 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* 送货信息网格 */
.delivery-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.delivery-item {
    background-color: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.delivery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.delivery-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.delivery-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.delivery-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* 响应式布局调整 */
@media (max-width: 1200px) {
    .services-grid,
    .delivery-info {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .about-section p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .services-grid,
    .delivery-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item,
    .delivery-item {
        padding: 1.5rem;
    }
}