﻿ * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #64748b;
            --light: #f8fafc;
            --dark: #0f172a;
            --gray: #e2e8f0;
            --success: #10b981;
            --border-radius: 10px;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --transition: all 0.3s ease;
        }

        body {
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px 20px;
        }
.productdetail{width:100%;height:auto;background: #f1f1f1;}
.productdetail>.l{
display:block;width:100%;height:auto;text-align:center;
}
.productdetail>.l>img{margin:10px;width:95%;}

        /* 头部导航 */
        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            display: flex;
            align-items: center;
        }
.logo img{height:50px;margin-right:20px;}
        .logo i {
            margin-right: 10px;
            font-size: 2rem;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav li {
            margin-left: 1.5rem;position:relative;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 5px;
            transition: var(--transition);
        }

        nav a:hover, nav a.active {
            background: rgba(255, 255, 255, 0.2);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
  nav li ul{
   display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 90px;
    background-color: #017DDB;
    z-index: 99;
    padding: 0px 0;margin-top:10px;
    border-radius: 0px;
    box-shadow: 1px 5px 5px #000;
}
  nav li:hover  ul{
 display:block; position: absolute;top:20px;
}
 nav li  ul li{
margin:0px;float:left;width:100%;height:auto;
}
 nav li  ul li a{
margin:0px;float:left;width:100%;height:auto;padding:5px 5px;border-radius:0px;text-align:center;font-size:12px;
}
        /* 页面内容 */
        .page-header {
            background: linear-gradient(90deg, var(--primary), #3b82f6);
            color: white;
            padding: 5rem 0;
            text-align: center;
        }

        .page-header h1 {
          font-size: 2.5rem;
          margin-bottom: 1rem;
          animation: fadeInDown 1s ease;
          text-shadow: 5px 0px #efefef;
          color: #003352;
        }

        .page-header p {
          font-size: 1.2rem;
          max-width: 700px;
          margin: 0 auto;
          animation: fadeInUp 1s ease;
          color: #1d4ed8;
        }

        /* 卡片样式 */
        .card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: var(--transition);
            margin-bottom: 2rem;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .card-body {
            padding: 1.5rem;width:100%;
        }

        .card-title {
            font-size: 1.4rem;
            margin-bottom: 0.75rem;
            color: var(--dark);
        }

        .card-text {
            color: var(--secondary);
            margin-bottom: 1.25rem;
        }
.pages{float:left;width:100%;height:auto;}
.pages>a{text-decoration:none;font-size:14px;display:block;float:left;width:auto;height:auto;padding:5px 10px;margin:2px 3px;background:#efefef;margin:5px;}
.pages>a.ok{background:#297EFA;color:#fff;}
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* 网格布局 */
        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        /* 页脚 */
        footer {
            background: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
            margin-top: 4rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary);
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--gray);
            font-size: 0.9rem;
        }

        /* 首页特定样式 */
        .hero {
            padding: 5rem 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            color: var(--dark);
        }

        .features {
            padding: 4rem 0;
            background: white;
        }

        .feature-card {
            text-align: center;
            padding: 2rem;
        }

        .feature-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2rem;
            color: var(--dark);
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
        }

        /* 新闻列表页 */
        .news-list .card {
            display: flex;
            flex-direction: row;
            height: 200px;
        }

        .news-list .card-img {
            width: 300px;
            height: auto;
            flex-shrink: 0;
        }

        /* 新闻详情页 */
        .news-detail {
            background: white;
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 3rem;
        }

        .news-title {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .news-meta {
            color: var(--secondary);
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--gray);
            display: flex;
        }

        .news-meta span {
            margin-right: 1.5rem;
        }

        .news-content {
            line-height: 1.8;
        }

        .news-content img {
            max-width: 100%;
            height: auto;
            margin: 2rem 0;
            border-radius: var(--border-radius);
        }

        /* 产品列表页 */
        .product-filter {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .filter-group {
            display: flex;
            align-items: center;
        }

        .filter-group label {
            margin-right: 10px;
            font-weight: 500;
        }

        select {
            padding: 0.5rem;
            border-radius: 5px;
            border: 1px solid var(--gray);
        }

        /* 产品详情页 */
        .product-detail {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            background: white;
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 3rem;
        }

        .product-gallery {
            position: relative;
        }

        .product-main-img {
            width: 100%;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
        }

        .product-thumbnails {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .product-thumb {
            border-radius: 5px;
            cursor: pointer;
            transition: var(--transition);
        }

        .product-thumb:hover {
            opacity: 0.8;
        }

        .product-info h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .product-price {
            font-size: 1.8rem;
            color: var(--primary);
            font-weight: 700;
            margin: 1rem 0;
        }

        .product-description {
            margin: 1.5rem 0;
            line-height: 1.8;
        }

        .specs-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }

        .specs-table td {
            padding: 0.75rem;
            border-bottom: 1px solid var(--gray);
        }

        .specs-table tr:last-child td {
            border-bottom: none;
        }

        .specs-table td:first-child {
            font-weight: 600;
            width: 30%;
        }

        /* 公司介绍页 */
        .about-content {
            background: white;
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 3rem;
            line-height: 1.8;
        }
        .about-content h1 {
            font-size: 1.8rem;
            margin: 0rem 0 1rem;
            color: var(--primary-dark);text-align:center;
        }
        .about-content h2 {
            font-size: 1.8rem;
            margin: 0rem 0 1rem;
            color: var(--primary-dark);text-align:center;
        }

        .about-content p {
            margin-bottom: 1rem;
        }
        .about-content p img{
            width:90%;margin:10px 5%;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin: 3rem 0;
        }

        .team-member {
            text-align: center;
        }

        .team-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
        }

        .team-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .team-position {
            color: var(--secondary);
            font-size: 0.9rem;
        }

        /* 面包屑导航 */
        .breadcrumb {
            padding: 1.5rem 0;
            font-size: 0.9rem;
            color: var(--secondary);
        }

        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        /* 动画效果 */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.8s ease forwards;
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .product-detail {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            nav>ul {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: var(--primary-dark);
                flex-direction: column;
                padding: 1rem 0;
            }
            
            nav ul.show {
                display: flex;
            }
            
            nav li {
                margin: 0;
                text-align: center;
            }
            
            nav a {
        display: block;
        float: left;
        padding: 1rem;
        border-radius: 0;
        width: 100%;
            }
        nav li ul{
         float: left;
         width: 100%;
         height: auto;
         display: block !important;
         position: relative !important;
         box-shadow: 0px 0px 0px;
        }
            nav li:hover ul{top:0px;}
            .mobile-menu-btn {
                display: block;
            }
            
            .grid-3, .grid-2 {
                grid-template-columns: 1fr;
            }
            
            .news-list .card {
                flex-direction: column;
                height: auto;
            }
            
            .news-list .card-img {
                width: 100%;
                height: 200px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .team-grid {
                grid-template-columns: 1fr;
            }
            
            .product-filter {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .filter-group {
                margin-bottom: 1rem;
                width: 100%;
            }
        }