/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
}

body {
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #2E7D32;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #1B5E20;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid #2E7D32;
    color: #2E7D32;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #2E7D32;
    color: #fff;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background-color: #2E7D32;
    margin: 0 auto;
}

/* 本地图标系统 - 替代外部Font Awesome */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
}

/* 叶子图标（品牌标识） */
.icon-leaf::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #2E7D32;
    border-radius: 0 70% 70% 0;
    transform: rotate(45deg);
    top: 2px;
    left: 2px;
}

/* 烧瓶图标（研发相关） */
.icon-flask::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 16px;
    border: 3px solid #2E7D32;
    border-radius: 0 0 4px 4px;
    top: 2px;
    left: 6px;
}
.icon-flask::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 3px;
    background-color: #2E7D32;
    top: 2px;
    left: 10px;
}

/* 心形图标（健康相关） */
.icon-heart::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 10px;
    background-color: #2E7D32;
    transform: rotate(-45deg);
    top: 8px;
    left: 6px;
}
.icon-heart::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 10px;
    background-color: #2E7D32;
    border-radius: 50% 50% 0 0;
    top: 3px;
    left: 6px;
}

/* 日历图标（活动相关） */
.icon-calendar::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 14px;
    border: 2px solid #999;
    top: 4px;
    left: 4px;
}
.icon-calendar::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: #999;
    top: 8px;
    left: 7px;
}

/* 地图标记图标（地址相关） */
.icon-map-marker::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #999;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 6px;
    left: 9px;
}
.icon-map-marker::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    top: 8px;
    left: 11px;
}

/* 电话图标（联系相关） */
.icon-phone::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #999;
    border-radius: 4px;
    top: 5px;
    left: 5px;
}
.icon-phone::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid #999;
    top: 19px;
    left: 12px;
}

/* 邮件图标（联系相关） */
.icon-envelope::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 12px;
    border: 2px solid #999;
    border-radius: 2px;
    top: 5px;
    left: 4px;
}
.icon-envelope::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 6px solid #999;
    top: 5px;
    left: 6px;
}

/* 微信图标（社交相关） */
.icon-weixin::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #999;
    border-radius: 4px;
    top: 3px;
    left: 3px;
}

/* 微博图标（社交相关） */
.icon-weibo::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #999;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

/* 对勾图标（列表相关） */
.icon-check::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 5px;
    border-left: 2px solid #2E7D32;
    border-bottom: 2px solid #2E7D32;
    transform: rotate(-45deg);
    top: 8px;
    left: 6px;
}

/* 导航栏样式 */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #2E7D32;
}

.logo .icon {
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 40px;
}

.main-nav a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2E7D32;
}

/* 轮播图样式 */
.carousel-section {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    left: 50px;
    bottom: 60px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    width: 400px;
}

.carousel-caption h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 18px;
    margin-bottom: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}

.indicator.active {
    background-color: #fff;
}

/* 核心优势样式 */
.advantages-list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.advantage-item {
    flex: 1;
    padding: 30px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon .icon {
    font-size: 24px;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
}

/* 公司简介样式 */
.brief-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.brief-image {
    width: 50%;
}

.brief-image img {
    width: 100%;
    border-radius: 8px;
}

.brief-text {
    width: 50%;
}

.brief-text h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2E7D32;
}

.brief-text p {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
}

.brief-text .btn-secondary {
    margin-top: 15px;
}

/* 页脚样式 */
.site-footer {
    background-color: #333;
    color: #999;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    width: 24%;
}

.footer-column h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.footer-column h3 .icon {
    margin-right: 10px;
}

.footer-column p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #999;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #2E7D32;
}

.footer-links li {
    margin-bottom: 15px;
    list-style: none;
}

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #2E7D32;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    list-style: none;
}

.contact-info .icon {
    margin-right: 10px;
    margin-top: 5px;
}

.qrcode-container {
    width: 120px;
    height: 120px;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 15px;
}

.qrcode-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* 产品页面样式 */
.product-list {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.product-card {
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 25px;
}

.product-details h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.product-details p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.product-meta {
    display: flex;
    align-items: center;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #2E7D32;
    margin-right: 30px;
}

/* 活动页面样式 */
.activity-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.activity-card {
    width: 32%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 200px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-details {
    padding: 20px;
}

.activity-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.activity-date .icon {
    margin-right: 5px;
}

.activity-details h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.activity-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-more {
    color: #2E7D32;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* 政策页面样式 */
.policy-list {
    padding: 0 50px;
}

.policy-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.policy-item:last-child {
    border-bottom: none;
}

.policy-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.policy-item p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.policy-more {
    color: #2E7D32;
    font-size: 14px;
}

/* 关于页面样式 */
.about-content {
    display: flex;
    gap: 40px;
}

.about-image {
    width: 50%;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-text {
    width: 50%;
}

.about-text h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
}

.culture-section {
    margin-top: 30px;
}

.culture-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.culture-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #666;
    font-size: 15px;
    list-style: none;
}

.culture-list .icon {
    color: #2E7D32;
    margin-right: 10px;
    margin-top: 5px;
}

/* 页面标题样式 */
.page-title {
    text-align: center;
}

.page-title h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 16px;
}
