/* ============================================
   三道弯葡萄 - 共享样式表
   农产品清新风 · 绿色田园
   ============================================ */

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主题色:清新田园绿 */
    --green-deep: #2d6a4f;
    --green-main: #40916c;
    --green-light: #95d5b2;
    --green-soft: #d8f3dc;
    --green-mist: #f3faf5;
    /* 葡萄色:点缀 */
    --grape-purple: #6a4c93;
    --grape-deep: #4c3575;
    /* 文字 / 背景 */
    --text-dark: #1b3a2b;
    --text-body: #3a4a42;
    --text-light: #6b7d72;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(45, 106, 79, 0.12);
    --shadow-hover: 0 14px 40px rgba(45, 106, 79, 0.22);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    color: var(--text-body);
    background: var(--green-mist);
    line-height: 1.75;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- 顶部导航栏 ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
}
.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--green-deep);
}
.logo-icon {
    font-size: 28px;
}
.logo small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}
.nav-links a {
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 15px;
    color: var(--text-body);
    transition: all 0.25s ease;
}
.nav-links a:hover {
    background: var(--green-soft);
    color: var(--green-deep);
}
.nav-links a.active {
    background: var(--green-main);
    color: var(--white);
}

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.28s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--green-main);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(64, 145, 108, 0.35);
}
.btn-primary:hover {
    background: var(--green-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(64, 145, 108, 0.45);
}
.btn-outline {
    background: transparent;
    color: var(--green-deep);
    border: 2px solid var(--green-main);
}
.btn-outline:hover {
    background: var(--green-main);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- 通用容器 ---------- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 90px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 56px;
}
.section-title h2 {
    font-size: 38px;
    color: var(--green-deep);
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.section-title .leaf {
    font-size: 28px;
    display: inline-block;
    margin: 0 8px;
}
.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--green-deep);
    color: var(--green-soft);
    padding: 56px 0 24px;
}
.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 17px;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: var(--green-soft);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.footer-col ul li a:hover { opacity: 1; color: var(--white); }
.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-desc {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.8;
}
.footer-bottom {
    max-width: 1180px;
    margin: 36px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .nav-inner { height: auto; padding: 14px 18px; flex-direction: column; gap: 10px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .nav-links a { padding: 8px 14px; font-size: 14px; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
