* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 导航栏 */
header {
    background-color: #376c30;
    /* 深绿色 - 代表新鲜与自然 */
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c1e1c1;
}

/* 宣传栏 */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/back.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 30px;
}

.cta-button {
    padding: 12px 30px;
    background-color: #f0c75a;
    color: #2d5a27;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e0b84a;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: white;
}

.about h2,
.products h2,
.recommendations h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2d5a27;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* 产品分类 */
.products {
    padding: 80px 0;
    background-color: #f1f5f1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.product-item {
    /* background: white; */
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 3px 10px rgba(0,0,0,0.1); */
    text-align: center;
    padding: 20px;
}

.product-item img {
    /* width: 100%; */
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
}

.product-item h3 {
    color: #2d5a27;
    margin: 15px 0;
}

/* 推荐产品 */
.recommendations {
    padding: 80px 0;
    background-color: white;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.rec-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.rec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rec-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rec-info {
    padding: 15px;
}

.rec-info h3 {
    color: #2d5a27;
}

.rec-info p {
    color: #666;
    font-size: 0.9rem;
}

/* 页脚 */
footer {
    background-color: #2d5a27;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #c1e1c1;
}

.footer-column p,
.footer-column a {
    color: #ddd;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: #f0c75a;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a7546;
    color: #aaa;
    font-size: 0.9rem;
}