/*index_style.css*/
    /* 重置样式确保跨浏览器一致性 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: Arial, "Microsoft YaHei", sans-serif;
        line-height: 1.6;
        color: #666;
        background-color: white;
        min-height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: center; /* 垂直居中 */
        align-items: center; /* 水平居中 */
        padding: 10px;
        overflow-x: auto;
    }
    
    body > * {
        width: 90%;
        max-width: 1080px;
        }

    .sticky-menu {
        position: fixed;
        top: 0;
        background: white;
        padding: 0px 0;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: all 0.3s ease;
    }
    
    
    
    .sticky-menu.scrolled .logo-content {
        opacity: 0;
        visibility: hidden;
        height: 0;
        max-height: 0;
        overflow: hidden;
    } 
    
    .sticky-menu.scrolled .menu-container {
        background-color: white !important;
    }
    
    .sticky-menu.scrolled .menu-link{
        color: #666;
        text-decoration: none !important;
    }  
    
    .sticky-menu.scrolled #menu-container-first,
    .sticky-menu.scrolled #menu-container-last {
        opacity: 1;
        visibility: visible;
    }
        
       /* 布局样式 */
   .header-content {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        /*height: 126px;*/
        max-height: 155px;
        max-width: 1080px;
        /*margin: 0 auto;
        padding: 0 0px;*/
    }
    
    .logo-content {
        display: flex;
        font-size: 1.1rem;
        position: relative;
        width: 100%;
        height: 80px;
        max-height: 80px;
        max-width: 1080px;
        margin: 0 auto;
        /*padding: 0 0px;*/
        transition: all 0.3s ease;
    }
    
    .logo-content a{
        color:#666;
        font-size:16px;
        text-decoration: none !important;
    }
    /* 头部样式 */
    header {
        color: white;
        padding: 1rem 0;
        box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    }
    
    
    /* 导航样式 */
    .menu-container{
        /*background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);*/
        background: rgb(215,96,32);
        display: flex;
        font-size: 1.0rem;
        justify-content: left;
        /*justify-content: center;
        /*margin-bottom: 3rem;*/
        width: 100vw;
        height:57px;
        /*max-width: 1200px;*/
        position:relative;
        left: calc(-50vw + 50%);
        right: calc(-50vw + 50%);
    }
    
    .menu-inner {
        display: flex;
        justify-content: left;
        width: 100%;
        max-width: 1080px; /* 限制内部内容宽度 */
        margin: 0 auto;
        font-size: 1.0rem;
        padding: 0 0px;
    }
    
    #menu-container-first{
        position: relative;
        display: flex;
        margin-left:0px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    #menu-container-last{
        display: flex;
        position: relative;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    #menu-container-last a{
        font-size: 0.8rem;
        color:#666;
        text-decoration: none !important;
    }
    
   
    
    .menu-container-nav {
        display: flex;
        width:80%;
        position: relative;
       
    }
    .nav-menu {
        display: flex;
        /*background: white;*/
        border-radius: 1px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        overflow: visible; /* 关键修复：允许下拉菜单显示 */
    }
    
    .menu-item {
        display:flex;
        position: relative;
        list-style: none;
        padding: 1px 1px;
        width:110px;
        height:57px;
        justify-content:center;
        align-items:center;
    }
    
    .menu-link {
        display: flex;
        justify-content:center;
        align-items:center;
        width:100%;
        height:100%;
        text-decoration: none;
        color: white;
        transition: all 0.3s ease;
        border-right: 1px solid #f1f1f1;
        position: relative;
        z-index: 1;
    }
    
    .menu-item:last-child .menu-link {
        border-right: none;
    }
    
    .menu-link:hover {
        background: rgb(208,104,0);
        color: white;
    }
    
    /* 下拉菜单样式 - 关键修复 */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 128px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000; /* 提高z-index确保菜单显示在最前面 */
        padding: 5px 0; /* 添加内边距使悬停区域更大 */
    }
    
    /* 关键修复：确保悬停区域足够大 */
    .menu-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* 添加一个透明的悬停区域，使菜单不会在鼠标移动时立即关闭 */
    .menu-item::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 1px; /* 悬停区域高度 */
        background: transparent;
        z-index: 999;
    }
    
    .dropdown-item {
        list-style: none;
        border-bottom: 1px solid #f1f1f1;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-link {
        display: block;
        padding: 0.8rem 1.5rem;
        text-decoration: none;
        color: #2c3e50;
        transition: all 0.2s ease;
    }
    
    .dropdown-link:hover {
        background: white;
        padding-left: 1.8rem;
    }
    
    /* 添加指示器 */
    .has-dropdown::after {
        content: "▼";
        font-size: 0.7rem;
        margin-left: 5px;
        display: inline-block;
        transition: transform 0.3s ease;
    }
    
    .menu-item:hover .has-dropdown::after {
        transform: rotate(180deg);
    }    
    
    #main-content{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1080px;
        margin-top:125px;
        position: relative;
        margin-bottom: 10px;
    }
    
    .index-photos{
     /*margin-left:0%;
        margin-right:0%;*/
        display: flex;
        height:515px;
        width: 100vw;
        /*max-width: 1200px;*/
        position: relative;
        left: calc(-50vw + 50%);
        right: calc(-50vw + 50%);
    }
    
     .index-brands{
        margin: 0 auto;
        display: flex;
        margin-left: 15px ;
        height: 221px;
        max-height: 30%;
        width: 100%;
        max-width: 1080px;
        position: relative;
    }
    
    .index-left-nav{
        margin-left:0px;
        margin-right:1px;
        position: relative;
        height: 221px;
        width: 330px;
        margin-bottom: 0px;
        display: inline-block;
        cursor: pointer;
        }
        
    .index-icon-brand{
        margin-left:0px;
        margin-right:1px;
        position: relative;
        height: 221px;
        width: 330px;
        display: flex;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .index-icon-hover{
        position: absolute;
        height: 221px;
        width: 330px;
        margin-right:1px;
        opacity: 0;
        top:0;
        left:0;
        transition: opacity 0.3s ease;
    }
    
    .index-left-nav:hover .index-icon-hover{
        opacity: 1;
    }
    
    .index-left-nav:hover .index-icon-brand{
        opacity: 0;
    }
    
     #index-brands-desc{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        height: 20%;
        width: 90%;
        margin-top: 40px;
        margin-bottom: 40px;
        max-width: 1080px;
        position: relative;
    }
    #index-brands-desc strong{
        font-size:15px;
        text-align: center;
        color:#666;
    }
    
    #index-brands-desc p{
        font-size:15px;
        text-align: left;
        margin-left:80px;
        margin-right: 80px;
        color:#666;
    }
     .index-news{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 40%;
        max-width: 1080px;
        padding:20px;
        position: relative;
    }
    
    
    .index-head-title{
        display:flex;
        width: 100%;
        max-width: 1080px;
    }
    
    .index-head-title a{
         text-decoration: none !important;
         color:white;
    }
    .index-head-title:hover a{
         color: rgb(214,96,32);
         background-color: transparent; /* 背景保持透明 */
    }
    
    
    /*
     .index-news a{
       border: 2px solid #ccc;
       border-block-color: grey;
    }
    */
   .index-news-more{
        border: none;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 40%;
        max-width: 1080px;
        position: relative;
        margin-top:10px;
        margin-left:1px ;
        margin-bottom: 10px;
    }
    
    .news-link {  /* 改为 .news-link 而不是 .news-item */
        display: flex;
        justify-content: space-between;
        margin-left:10px;
        margin-right:10px;
        min-height:50px;
        align-items: center;  /* 这会让标题和日期垂直居中 */
        text-decoration: none !important;
        padding: 12px 20px;  /* 调整padding，28px太大了 */
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #f0f0f0;  /* 添加分隔线 */
    }
    
    .news-link:hover .news-title,
    .news-link:hover .news-date {
        color: rgb(214,96,32); /* 悬停时字体变橙色 */
    }
    
    .news-link:hover {
        background-color: transparent; /* 背景保持透明 */
    }
    .news-title {
        color: #666 ;
        font-size: 15px;
        font-weight: normal;
        flex: 1;
        margin-right: 30px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none !important;
        white-space: nowrap;
        line-height: 1.4;  /* 添加行高确保垂直居中 */
    }
    
    .news-date {
        color: #666 ;
        font-size: 15px;
        text-decoration: none;
        white-space: nowrap;
        margin-right:30px;
        line-height: 1.4;  /* 添加行高确保垂直居中 */
    }
    .index-news-more a {
        text-decoration: none !important;
    }
            
    .products-grid{
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 1080px;
        padding:20px;
        position: relative;
    }
    .product-card{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        width: 31%;
        height: 350px;
        max-width: 1080px;
        margin-right:20px;
        position: relative;
    }
    
    .product-card:hover{
            transform: scale(1.01);
        }
    .product-card:hover .product-description{
         color:rgb(215,96,32);
    }
        .product-card:hover .product-button{
         color:rgb(215,96,32);
    }
    
   .product-image{
        margin: 0 auto;
        display: flex;
        width:100%;
        height:65%;
        max-width: 330px;
        align-content:center;
        text-align: center;
        object-fit: cover;
        position: relative;
    }
    
    .product-info{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 33%;
        margin-left: 10px;
        max-width: 360px;
        position: relative;
    }
    
    .product-name{
        color:rgb(215,96,32); 
        font-size:16px;
    }
    .product-description{
        text-decoration: none !important;
        color:#666;
        font-size:15px;
    }
    .product-button{
        text-decoration: none !important;
        color:#666;
        font-size:15px;
    }
    
    footer{
        margin-top: 30px;
        position: relative;
        background: #666;
        color: white;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        
    }
    .footer-container{
        display: flex;
        text-align: center;
        align-content: center;
    }
    
    .footer-container p{
        align-content: center;
        margin-left:40%;
        font-size:16px;
        text-align: center;
    }
    /* 浏览器兼容性提示 */
    .browser-warning {
        background: #ffc107;
        color: #666;
        padding: 1px;
        text-align: center;
        display: none;
    }