/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d7a4a;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --pale-green: #e8f5e9;
    --accent-green: #81c784;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
}

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

/* 头部导航 */
header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.ff-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.85rem;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主页英雄区 - 水彩画风格 */
.watercolor-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 水彩天空渐变 */
        linear-gradient(180deg, 
            rgba(135, 206, 235, 0.6) 0%, 
            rgba(176, 224, 230, 0.5) 20%,
            rgba(200, 230, 201, 0.6) 50%,
            rgba(165, 214, 167, 0.7) 100%
        ),
        /* 水彩纹理效果 */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cdefs%3E%3Cfilter id='watercolor'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='4' result='noise'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='noise' scale='8' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3C!-- 远山 --%3E%3Cellipse cx='200' cy='350' rx='300' ry='120' fill='%2381c784' opacity='0.4' filter='url(%23watercolor)'/%3E%3Cellipse cx='600' cy='320' rx='400' ry='150' fill='%2366bb6a' opacity='0.35' filter='url(%23watercolor)'/%3E%3Cellipse cx='1000' cy='340' rx='350' ry='130' fill='%237cb342' opacity='0.3' filter='url(%23watercolor)'/%3E%3C!-- 绿色田野 --%3E%3Cellipse cx='100' cy='500' rx='250' ry='80' fill='%234caf50' opacity='0.5' filter='url(%23watercolor)'/%3E%3Cellipse cx='400' cy='520' rx='300' ry='100' fill='%2366bb6a' opacity='0.6' filter='url(%23watercolor)'/%3E%3Cellipse cx='800' cy='500' rx='400' ry='120' fill='%234caf50' opacity='0.55' filter='url(%23watercolor)'/%3E%3Cellipse cx='1100' cy='530' rx='280' ry='90' fill='%2381c784' opacity='0.5' filter='url(%23watercolor)'/%3E%3C!-- 点缀的树木 --%3E%3Cellipse cx='150' cy='450' rx='30' ry='50' fill='%232e7d32' opacity='0.4' filter='url(%23watercolor)'/%3E%3Cellipse cx='350' cy='470' rx='40' ry='60' fill='%23388e3c' opacity='0.35' filter='url(%23watercolor)'/%3E%3Cellipse cx='750' cy='460' rx='35' ry='55' fill='%232e7d32' opacity='0.4' filter='url(%23watercolor)'/%3E%3Cellipse cx='950' cy='480' rx='45' ry='65' fill='%23388e3c' opacity='0.35' filter='url(%23watercolor)'/%3E%3C!-- 天空云朵 --%3E%3Cellipse cx='200' cy='100' rx='80' ry='40' fill='white' opacity='0.5' filter='url(%23watercolor)'/%3E%3Cellipse cx='500' cy='80' rx='100' ry='50' fill='white' opacity='0.4' filter='url(%23watercolor)'/%3E%3Cellipse cx='900' cy='120' rx='90' ry='45' fill='white' opacity='0.45' filter='url(%23watercolor)'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(45, 122, 74, 0.3) 0%,
        rgba(27, 94, 32, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 120px 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

/* 特色区域 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--pale-green);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* 关于预览区 */
.about-preview {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--pale-green), var(--white));
    text-align: center;
}

.about-preview h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-preview p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-preview .btn-outline {
    margin-top: 20px;
}

/* 产品预览区 */
.products-preview {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.products-preview h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    padding: 30px;
    background: var(--pale-green);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.product-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
    background-color: var(--white);
}

.content-section h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pale-green);
}

.content-section h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin: 30px 0 15px;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 单位介绍页 */
.理念-box ul {
    list-style: none;
    padding: 20px;
    background: var(--pale-green);
    border-radius: var(--radius);
}

.理念-box li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--accent-green);
}

.理念-box li:last-child {
    border-bottom: none;
}

/* 荣誉页 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.honor-card {
    background: var(--pale-green);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.honor-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.honor-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.awards-list {
    margin: 30px 0;
}

.award-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--pale-green);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.award-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    min-width: 80px;
}

.award-detail h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.recognition-item {
    padding: 25px;
    background: var(--pale-green);
    border-radius: var(--radius);
}

/* 产品页 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-detail-card {
    background: var(--pale-green);
    padding: 25px;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.product-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-img {
    font-size: 3rem;
    margin-bottom: 15px;
}

.product-detail-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-feature {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: bold;
}

.purchase-info {
    background: var(--pale-green);
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 50px;
    text-align: center;
}

.purchase-info h3 {
    color: var(--primary-green);
    margin-bottom: 30px;
}

.purchase-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.method {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
}

.method h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* 联系页 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.info-list {
    margin-top: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--pale-green);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.info-icon {
    font-size: 2rem;
}

.info-detail h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.business-types {
    margin-top: 20px;
}

.business-card {
    padding: 25px;
    background: var(--pale-green);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.business-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.contact-tip {
    color: var(--light-green);
    font-size: 0.9rem;
    margin-top: 10px;
}

.visit-us {
    margin-top: 50px;
    padding: 40px;
    background: var(--pale-green);
    border-radius: var(--radius);
    text-align: center;
}

.visit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.visit-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
}

.visit-item .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.visit-item h4 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.notice {
    color: var(--light-green);
    font-size: 0.9rem;
    margin-top: 20px;
}

.map-placeholder {
    margin-top: 50px;
}

.map-placeholder h2 {
    margin-bottom: 20px;
}

.map-box {
    background: var(--pale-green);
    padding: 80px;
    border-radius: var(--radius);
    text-align: center;
}

.map-box p {
    font-size: 1.2rem;
    color: var(--primary-green);
}

.map-note {
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        gap: 8px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 80px 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .award-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }

    nav ul {
        gap: 5px;
    }

    nav a {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}
