/* Base Styles */
:root {
    --primary-color: #3c8a51;
    --secondary-color: #f8f9fa;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-text: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: #2c6d3e;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2c6d3e;
    border-color: #2c6d3e;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.main-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 3px;
}

.main-nav .nav-link:hover, 
.main-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(60, 138, 81, 0.1);
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.mobile-menu.show {
    display: block;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: white;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

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

.footer-bottom {
    background-color: #222;
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--primary-color);
}

.price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Product Cards */
.product-card {
    height: 100%;
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* News Cards */
.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.read-more {
    font-weight: 500;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Feature List */
.feature-list {
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-card .card-img-top,
    .news-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product-card .card-img-top,
    .news-card .card-img-top {
        height: 160px;
    }
}
