﻿
:root {
	--nav_color_bg:#c00d23;
	--nav_color_current:#000000;
	--nav_color_text:#ffffff;
	--nav_color_text2:#ffffff;
	--bar_color_bg:#000000;
	--bar_color_current:#c00d23;
	--bar_color_text:#fff;
	--bar_color_text2:#fff;
	--bar_color_line:#292929;
	--mobile_nav_bg:#ffffff;
	--mobile_nav_text:#000000;
}

        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-color: #e74c3c;       /* 红色 - 食品行业主色调 */
            --secondary-color: #c0392b;      /* 深红色 */
            --accent-color: #27ae60;         /* 绿色 - 代表新鲜 */
            --dark-bg: #2c3e50;              /* 深蓝灰色 */
            --light-bg: #f9f9f9;             /* 浅灰色背景 */
            --text-dark: #333;
            --text-light: #fff;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }
        
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #fff;
            overflow-x: hidden;
        }
        
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .section {
            padding: 100px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--dark-bg);
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        .section-title p {
            font-size: 20px;
            color: #666;
            max-width: 800px;
            margin: 30px auto 0;
            line-height: 1.7;
        }
        
        /* 左侧导航栏样式 - 修改为化工领域页面样式 */
        .side-nav {
            position: fixed;
            left: 30px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            padding: 20px 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            gap: 15px;
            transition: left 0.3s;
            width: auto;
        }
        
        .side-nav a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--dark-bg);
            font-weight: 500;
            transition: all 0.3s;

            padding: 10px 15px;
            border-radius: 8px;
            position: relative;
        }
        
        .side-nav a:hover, .side-nav a.active {
            background: var(--primary-color);
            color: white;
            transform: translateX(5px);
        }
        
        .side-nav a i {
            margin-right: 10px;
            font-size: 18px;
        }
        
        .menu-toggle {
            display: none;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1100;
            background: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        /* 英雄区域 */
        .hero {
            background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.9)), 
                        url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            color: var(--text-light);
            padding: 200px 0 150px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            min-height: 100vh;
        }
        
        .hero-content {
            max-width: 800px;
            position: relative;
            z-index: 2;
        }
        
        .hero h1 {
            font-size: 64px;
            font-weight: 800;
            margin-bottom: 25px;
            line-height: 1.2;
        }
        
        .hero p {
            font-size: 22px;
            margin-bottom: 50px;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        .hero-btns {
            display: flex;
            gap: 20px;
        }
        
        .btn {
            display: inline-block;
            padding: 18px 40px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 18px;
            text-align: center;
        }
        
        .btn-primary {
            background: var(--primary-color);
            color: var(--text-light);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }
        
        .btn-primary:hover {
            background: #e74c3c;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--text-light);
            border: 2px solid var(--text-light);
        }
        
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-3px);
        }
        
        /* 应用范围 */
        .applications {
            background: var(--light-bg);
            position: relative;
        }
        
        .app-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }
        
        .app-card {
            background: #fff;
            border-radius: 20px;
            padding: 50px 30px;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            text-align: center;
        }
        
        .app-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-hover-shadow);
        }
        
        .app-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
        }
        
        .app-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            font-size: 36px;
            color: #fff;
            box-shadow: 0 10px 20px rgba(231, 76, 60, 0.2);
        }
        
        .app-card h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--dark-bg);
        }
        
        .app-card p {
            color: #666;
            line-height: 1.7;
            font-size: 16px;
        }
        
        /* 技术优势 */
        .advantages {
            background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.95)), 
                        url('https://images.unsplash.com/photo-1587734195503-904fca47e0e9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--text-light);
            position: relative;
            overflow: hidden;
        }
        
        .advantages .container {
            position: relative;
            z-index: 1;
        }
        
        .advantages .section-title h2,
        .advantages .section-title p {
            color: var(--text-light);
        }
        
        .adv-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }
        
        .adv-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 50px 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .adv-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .adv-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            font-size: 32px;
            color: #fff;
            box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
        }
        
        .adv-card h3 {
            font-size: 24px;
            margin-bottom: 20px;
        }
        
        .adv-card p {
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.7;
            font-size: 16px;
        }
        
        /* CTA部分 */
        .cta {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--text-light);
            text-align: center;
            padding: 120px 0;
            position: relative;
            overflow: hidden;
        }
        
        .cta h2 {
            font-size: 48px;
            margin-bottom: 25px;
            font-weight: 700;
        }
        
        .cta p {
            font-size: 22px;
            max-width: 800px;
            margin: 0 auto 50px;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
        }
        
        @media (max-width: 992px) {
            .section {
                padding: 80px 0;
            }
            
            .section-title h2 {
                font-size: 40px;
            }
            
            .hero h1 {
                font-size: 50px;
            }
            
            .hero p {
                font-size: 20px;
            }
            
            /* 应用范围在平板端改为两列 */
            .app-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            /* 技术优势在平板端改为两列 */
            .adv-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .side-nav {
                left: 20px;
                padding: 15px 10px;
            }
            
            .side-nav a span {
                display: none;
            }
            
            .side-nav a i {
                margin-right: 0;
                font-size: 20px;
            }
        }
        

        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 36px;
            }
            
            .hero {
                padding: 180px 0 120px;
            }
            
            .hero h1 {
                font-size: 42px;
            }
            
            .hero p {
                font-size: 18px;
            }
            
            .hero-btns {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
            
            /* 移动端隐藏左侧导航及菜单按钮 */
            .side-nav, .menu-toggle {
                display: none !important;
            }
            
            .advantages {
                background-attachment: scroll;
            }
            
            .app-card, .adv-card {
                padding: 40px 30px;
            }
        }
        
        @media (max-width: 576px) {
            .section-title h2 {
                font-size: 32px;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .cta h2 {
                font-size: 36px;
            }
            
            .cta p {
                font-size: 18px;
            }
            
            .app-icon, .adv-icon {
                width: 70px;
                height: 70px;
                font-size: 28px;
                margin-bottom: 25px;
            }
            
            .app-card h3, .adv-card h3 {
                font-size: 22px;
            }
            
            /* 应用范围在移动端改为单列 */
            .app-grid {
                grid-template-columns: 1fr;
            }
            
            /* 技术优势在移动端改为单列 */
            .adv-grid {
                grid-template-columns: 1fr;
            }
        }
