img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    border: 0;
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5{
    font-weight: normal;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            text-decoration: none;
        }

        body {
            font-weight: normal;
            color: #333;
            overflow-x: hidden;
        }

        /* 导航栏样式 */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            background-color: transparent;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        .mobile-menu{
            display: none;
        }

        header.scrolled {
            padding: 15px 5%;
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        header.scrolled .logo,
        header.scrolled nav ul li a,
        header.scrolled .social-icons a {
            color: #333;
        }


        .logo {
            font-size: 28px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .logo span {
            color: #843f1c;
        }
         header .logo img{
            filter: brightness(0) invert(1);
            display: flex;
            justify-content: center;
            align-items: center;
        }

         header.scrolled .logo img{
            filter: brightness(1) invert(0);
        }

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

        nav ul li {
            margin: 0 15px;
            position: relative;
        }

        nav ul li a {
            text-decoration: none;
            color: white;
            transition: color 0.3s;
            display: flex;
            align-items: center;
        }

        nav ul li a i {
            margin-left: 5px;
            font-size: 12px;
        }

        nav ul li a:hover {
            color: #843f1c;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s;
            z-index: 1001;
        }

        .dropdown-menu li {
            margin: 0;
            width: 100%;
        }

        .dropdown-menu li a {
            color: #333;
            padding: 12px 20px;
            display: block;
            border-bottom: 1px solid #f1f1f1;
        }

        .dropdown-menu li:last-child a {
            border-bottom: none;
        }

        .dropdown-menu li a:hover {
            background-color: #f8f9fa;
            color: #843f1c;
        }

        nav ul li:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .social-icons {
            display: flex;
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            margin-left: 10px;
            transition: all 0.3s;
        }

        .social-icons a:hover {
            background-color: #843f1c;
            color: white;
            transform: translateY(-3px);
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 24px;
            color: white;
        }
        /*.scrolled .menu-toggle{
            color: #843f1c;
        }*/
        .scrolled .fa-bars:before, .scrolled .fa-navicon:before{
            color: #843f1c;
        }

        /* 视频背景区域 */
        .video-section {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-section video {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: -1;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }

        .slogan {
            text-align: center;
            color: white;
            z-index: 2;
            max-width: 800px;
            padding: 0 20px;
        }

        .slogan h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
        }

        .slogan p {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #843f1c;
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn:hover {
            background-color: #491900;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* 产品分类区域 */
        .categories {
            padding: 100px 5%;
            background-color: #f8f9fa;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .section-title p {
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .category-card {
            position: relative;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
        }

        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        .category-card .a{
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            background: rgba(132, 63, 28, 0.0);
            z-index: 9;
        }

        .category-img {
            height: 200px;
            overflow: hidden;
        }

        .category-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .category-card:hover .category-img img {
            transform: scale(1.1);
        }

        .category-content {
            padding: 20px;
        }

        .category-content h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .category-content p {
            color: #7f8c8d;
            margin-bottom: 15px;
        }

        .category-link {
            display: inline-flex;
            align-items: center;
            color: #843f1c;
            text-decoration: none;
            font-weight: 600;
        }

        .category-link i {
            margin-left: 5px;
            transition: transform 0.3s;
        }

        .category-link:hover i {
            transform: translateX(5px);
        }

        /* 工厂介绍视频区域 */
        .factory-video {
            padding: 100px 5%;
            background-color: white;
        }

        .video-container {
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .video-container video {
            width: 100%;
            display: block;
        }

        /* 认证图标区域 */
        .certifications {
            padding: 80px 5%;
            background-color: #f8f9fa;
        }

        .cert-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
            margin-top: 40px;
        }

        .cert-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 150px;
        }

        .cert-icon {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .cert-icon i {
            font-size: 36px;
            color: #843f1c;
        }

        .cert-item p {
            text-align: center;
            font-weight: 600;
            color: #2c3e50;
        }

        /* 选择理由区域 */
        .reasons {
            padding: 100px 5%;
            background-color: white;
        }

        .reasons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .reason-card {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .reason-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            background: white;
        }

        .reason-icon {
            width: 70px;
            height: 70px;
            background: #843f1c;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .reason-icon i {
            font-size: 30px;
            color: white;
        }

        .reason-card h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: #2c3e50;
        }

        .reason-card p {
            color: #7f8c8d;
        }

        /* 底部信息 */
        footer {
           
            padding: 70px 5% 30px;
        }

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

        .footer-links h3, .footer-contact h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
        }

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

        .footer-links ul li {
            margin-bottom: 12px;
        }

        .footer-links ul li a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links ul li a:hover {
            color: #843f1c;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact-item {
            display: flex;
            align-items: center;
        }

        .contact-item i {
            width: 30px;
            font-size: 18px;
            color: #843f1c;
        }

        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #333;
            color: white;
            transition: all 0.3s;
        }

        .footer-social a:hover {
            background-color: #843f1c;
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #34495e;
            color: #bdc3c7;
            font-size: 0.9rem;
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .slogan h1 {
                font-size: 2.8rem;
            }
            
            nav ul {
                display: none;
            }
            header,
            header.scrolled{
                padding: 10px 5%;
            }
            header .logo img,
            header.scrolled .logo img{
                max-height: 40px;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .mobile-menu {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: white;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                padding: 20px;
                display: none;
                z-index: 1002;
            }
            
            .mobile-menu.active {
                display: block;
            }
            
            .mobile-menu ul {
                list-style: none;
            }
            
            .mobile-menu ul li {
                margin: 15px 0;
                position: relative;
            }
            
            .mobile-menu ul li a {
                text-decoration: none;
                color: #2c3e50;
                display: block;
                padding: 10px 0;
            }
            
            .mobile-dropdown {
                padding-left: 20px;
                display: none;
            }
            
            .mobile-dropdown.active {
                display: block;
            }
            
            .mobile-menu ul li a i {
                float: right;
                transition: transform 0.3s;
            }
            
            .mobile-menu ul li a i.rotate {
                transform: rotate(180deg);
            }
        }

        @media (max-width: 768px) {
            .slogan h1 {
                font-size: 2.2rem;
            }
            
            .social-icons {
                display: none;
            }
            
            .category-grid, .reasons-grid {
                grid-template-columns: 1fr;
            }
            
            .cert-grid {
                gap: 30px;
            }
            
            .logo {
                position: static;
                transform: none;
            }
        }

        @media (max-width: 576px) {
            .slogan h1 {
                font-size: 1.8rem;
            }
            
            .slogan p {
                font-size: 1rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
        }