@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;1,400;1,500&family=Noto+Sans+TC:wght@300;400;500;600&display=swap');

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li{list-style: none;}
img{ max-width:100%;}
.zhengwen img{height: auto!important;}
.productxiangqingbk img{height: auto!important;}
html, body {

    font-family: "Noto Sans TC",sans-serif; font-size:16px;
}
.grey{ background-color:#f2f2f2;}
a {
    color: inherit;
    text-decoration: none;
}
a:hover{    color: #265ea7;}
button {
    font-family: inherit;
}

/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    background: #fff;
box-shadow: 0px 1px 8px 1px #00000036;
   /*  border-bottom: 1px solid rgba(255, 255, 255, .12);*/
    color: #333;
}
.header-inner {
    width: 90%;
    max-width: 1500px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1500px;
	margin:0 auto;
   
}


/* =========================
   LOGO
========================= */
.logo {
    width: 275px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo img{ max-width:100%;}




/* =========================
   NAVIGATION (PC)
========================= */
.nav {
    flex: 1;
    height: 100%;
}
.nav-list {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    list-style: none;
}
.nav-item > a > span.fa {
    padding-left: 7px;
    font-size: 20px;
    font-weight: bold;
}
.nav-item {
    position: relative;
    height: 100%;
	font-weight: bold;
    display: flex;
    align-items: center;
	text-transform: uppercase;
    font-size: 18px;
    white-space: nowrap;
}
.nav-item > a {
    height: 100%;
    display: flex;
    align-items: center;
    transition: .3s;
}
.nav-item > a:hover {
    color: #265ea7;
}
.arrow {
    margin-left: 7px;
    font-size: 11px;
    transition: .3s;
}

/* PC 二级下拉 */
.dropdown {
    position: absolute;
    top: 92px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 220px;
    padding: 8px 0;
    background: rgba(20, 20, 20, .7);
    border-top: 4px solid #265ea7;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, transform .3s, visibility .3s;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown > a {
    display: block;
    padding: 13px 24px;
    color: #ddd;
    font-size: 14px;
    transition: .3s;
}
.dropdown > a:hover {
    color: #fff;
    background: #265ea7;
}

/* PC 三级下拉容器 */
.has-submenu {
    position: relative;
}
.has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
	text-transform: capitalize;
    padding: 13px;
    color: #ddd;
    font-size: 16px;
    transition: .3s;
}
.has-submenu > a:hover {
    color: #fff;
    background: #265ea7;
}
.has-submenu > a .sub-arrow {
    font-size: 10px;
    transition: transform .3s;
}
.has-submenu:hover > a .sub-arrow {
    transform: rotate(90deg);
}
/* PC 三级子菜单 */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
    padding: 8px 0;
    background: rgba(20, 20, 20, .97);
    border-top: 2px solid #265ea7;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.submenu a {
    display: block;
    padding: 12px 20px;
    color: #ddd;
    font-size: 16px;
    transition: .3s;
}
.submenu a:hover {
    color: #fff;
    background: #265ea7;
}

/* =========================
   HEADER TOOLS (PC)
========================= */
.header-tools {
    width: 300px;
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: 10px;
    flex-shrink: 0;
}
.tool {
    width: 170px;
	right:5%;
	position:absolute;
    height: 45px;
    display: block;border-radius: 24px;padding: 0px 10px;
    align-items: center;
	text-align:center;
	line-height:45px;
    cursor: pointer;
    color: #fff;
    transition: .3s;
	background-color: #265ea7;
}
.tool i{width: 30px;align-items: center;display: flex;}
.tool:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px); color:#fff;
}
.tool svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
.search-icon {
    color: #265ea7;
}

/* Language (PC) */
.language {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.language-current {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 18px;
    transition: .3s;
    padding: 8px 13px;
}
.language-current:hover {
    color: #265ea7;
}

.language-arrow {
    font-size: 11px;
    transition: .3s;
}
.language.open span {
    transform: rotate(180deg);
}
.language-dropdown {
    position: absolute;
    top: 57px;
    right: 0;
    width: 125px;
    background: rgba(20, 20, 20, .97);
    border-top: 2px solid #265ea7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
    z-index: 2000;
}
.language.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.language:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 箭头旋转（可选） */
.language:hover .language-arrow {
    transform: rotate(180deg);
}

/* 选中项高亮 */
.language-dropdown a.active {
    background: #eef2ff;
    color: #2563eb;
    font-weight: 500;
}
.language-dropdown a {
    display: block;
    padding: 13px 18px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: .3s;
}
.language-dropdown a:last-child {
    border-bottom: none;
}
.language-dropdown a:hover {
    background: #265ea7;
    color: #fff;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #222;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
transform:scale(1.1);
transition: transform 5s ease;
}
.slide.active  .slide-image{ animation: zoomIn 5s ease forwards;}

@keyframes zoomIn {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.05) 100%);
}
.hero-content {
    position: absolute;
    z-index: 5;
    left: 10%;
    top: 51%;
    transform: translateY(-50%);
    width: 850px;
    max-width: 80%;
    color: #fff;
}
.hero-content h1 {
    margin-bottom: 20px;
    font-size: 58px;
    line-height: 1.25;
    font-weight: 700;
    opacity: 0;
    transform: translateY(35px);
}
.hero-content p {
    margin-bottom: 35px;
    font-size: 19px;
    line-height: 1.8;
    color: #fff;
    opacity: 0;
    transform: translateY(35px);
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 52px;
    padding: 0 30px;
    border-radius: 30px;
    background: #265ea7;
    color: #fff;
    font-size: 16px;
    transition: .3s;
    opacity: 0;
    transform: translateY(35px);
}
.hero-btn:hover {
    background: #fff;
    color: #265ea7;
}
.slide.active .hero-content h1 {
    animation: fadeUp .8s .15s forwards;
}
.slide.active .hero-content p {
    animation: fadeUp .8s .35s forwards;
}
.slide.active .hero-btn {
    animation: fadeUp .8s .55s forwards;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots */
.dots {
    position: absolute;
    z-index: 20;
    left: 10%;
    bottom: 55px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: .3s;
}
.dot.active {
    width: 30px;
    border-radius: 10px;
    background: #fff;
}

/* Scroll down */
.scroll-down {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 12px;
}
.mouse {
    position: relative;
    width: 19px;
    height: 28px;
    margin: 0 auto 7px;
    border: 2px solid #fff;
    border-radius: 12px;
}
.mouse::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 3px;
    height: 6px;
    border-radius: 3px;
    background: #fff;
    transform: translateX(-50%);
    animation: mouseMove 1.5s infinite;
}
@keyframes mouseMove {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 8px); }
}

/* Slider arrows */
.slider-arrows {
    position: absolute;
    z-index: 20;
    right: 7%;
    bottom: 45px;
    display: flex;
    gap: 18px;
}
.slider-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 27px;
    cursor: pointer;
    transition: .3s;
}
.slider-arrow:hover {
    background: #fff;
    color: #222;
}

/* =========================
   MOBILE HEADER RIGHT (顶部：语言 + 菜单按钮)
========================= */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 18px;
}

/* 手机端语言（顶部，菜单按钮左侧） */
.mobile-lang-inline {
    position: relative;
    color: #265ea7;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
    transition: color .3s;
}
.mobile-lang-inline:hover {
    color: #265ea7;
}
.mobile-lang-inline .lang-arrow {
    font-size: 10px;
    transition: transform .3s;
}
.mobile-lang-inline.open .lang-arrow {
    transform: rotate(180deg);
}
/* 语言下拉（顶部 header 内） */
.mobile-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 110px;
    background: rgba(20, 20, 20, .98);
    border-top: 2px solid #265ea7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s, visibility .3s;
    z-index: 2000;
}
.mobile-lang-inline.open .mobile-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mobile-lang-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: background .3s;
}
.mobile-lang-dropdown a:last-child {
    border-bottom: none;
}
.mobile-lang-dropdown a:hover,
.mobile-lang-dropdown a.active {
    background: #265ea7;
    color: #fff;
}

/* =========================
   MOBILE MENU BUTTON (汉堡)
========================= */
.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}
.mobile-menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: .3s;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

/* =========================
   MOBILE NAV 关闭按钮 (右上角 ?)
========================= */
.mobile-close-btn {
    position: absolute;
    top: 18px;

    right: 5%;          /* 与 header-inner 宽度 90% 对齐右侧 */
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    transition: color .3s, transform .3s;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.mobile-close-btn:hover {
    color: #265ea7;
    transform: rotate(90deg);
}

/* =========================
   MOBILE NAV (三级菜单)
========================= */
.mobile-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(15, 15, 15, .98);
    transition: max-height .4s ease;
    z-index: 999;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.open {
    max-height: 80vh;
    padding-bottom: 10px;
    padding-top: 50px;  /* 给右上角关闭按钮留出空间 */
}

/* 一级菜单项 */
.mobile-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}
.mobile-link:hover,
.mobile-link.active {
    background: #265ea7;
}
.mobile-link .arrow {
    font-size: 13px;
    transition: transform .3s;
}
.mobile-link.open .arrow {
    transform: rotate(180deg);
}

/* 二级下拉容器 */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,.4);
    transition: max-height .35s ease;
}
.mobile-dropdown.open {
    max-height: 600px;
}

/* 二级菜单项 */
.mobile-sub-item {
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 25px 13px 45px;
    color: #ddd;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}
.mobile-sub-link:hover,
.mobile-sub-link.active {
    background: #265ea7;
    color: #fff;
}
.mobile-sub-link .sub-arrow {
    font-size: 11px;
    transition: transform .3s;
}
.mobile-sub-link.open .sub-arrow {
    transform: rotate(90deg);
}

/* 三级下拉容器 */
.mobile-sub-dropdown {
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,.5);
    transition: max-height .35s ease;
}
.mobile-sub-dropdown.open {
    max-height: 400px;
}
.mobile-sub-dropdown a {
    display: block;
    padding: 12px 25px 12px 65px;
    color: #ccc;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .2s;
}
.mobile-sub-dropdown a:hover {
    background: #265ea7;
    color: #fff;
}
.mobile-sub-dropdown a:last-child {
    border-bottom: none;
}
.spc-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.spc-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片铺满且不变形 */
    object-position: center;
    display: block;transition: transform 0.25s ease;
}
.spc-banner img{transition: transform 0.5s ease;}
.spc-banner:hover img{transform: scale(1.01);}

.spc-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spc-banner-text {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    font-family: 'Arial', sans-serif;
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .spc-banner-text {
        font-size: 28px;
    }
    .spc-banner {
        height: 180px;
    }
}


/*首页产品*/
.title-center h2{font-size: 36px;line-height: 1.6;text-align: center;margin: 0 auto; color:#000;text-transform: capitalize;} 
.title-center p{font-size: 16px;text-align: center;color: #494949;margin-bottom: 30px;line-height: 2;}
.syproduct-list ul{display: grid;grid-template-columns: repeat(5, 1fr);gap: 25px;margin: 50px auto !important;}
.syproduct-list ul li{    border-radius: 20px;-webkit-border-radius: 20px;overflow: hidden;transition: all 0.3s ease;border: 1px solid #f2f2f2;}
.syproduct-list ul li:hover{box-shadow: 0 5px 10px rgba(0, 0, 0, 0.10);transform: translateY(-3px);}
.img-box img{ height:100%;transition: transform 0.25s ease;}
.img-box{ overflow:hidden;}
.syproduct-list ul li:hover .img-box img{transform: scale(1.05);}
.img-text{padding: 30px;text-align: center;}
.syproduct{ margin:50px auto;}


.mobile-dropdown.open a{ display:block;text-transform: capitalize;
    padding: 10px 15px;
    color: #ddd;
    transition: .3s;
    border-bottom: 1px solid #ddd;}
@media(max-width:1440px) {.tool{right: 3%;}
.nav-item{ font-size:16px;}
.nav-list{gap: 20px;}
.header-tools{ width:325px;}
.chanpin .xiaodaohangz{ display:none;}



}
@media(max-width:1366px) {.tool{right: 40px;}
.nav-list{ gap:15px;}
.nav-item{ font-size:16px;}
.chanpin .xiaodaohangz{ display:none;}
.newstitle{line-height: normal;}

}
/* =========================
   TABLET
========================= */
@media(max-width:1250px) {
    .logo { width: 180px; }
    .nav-list { gap: 18px; }
    .nav-item { font-size: 14px; }
    .header-tools { width: 180px; gap: 12px; }
    .hero-content h1 { font-size: 48px; }
}

/* =========================
   MOBILE
========================= */
@media(max-width:900px) {
    .header {
        height: 72px;
    }
	.hero{ height:460px;}
    .header-inner {
        width: 90%;
        justify-content: space-between;
    }
   
 
    /* 隐藏PC导航和工具 */
    .nav,
    .header-tools {
        display: none;
    }

    /* 显示手机端顶部右侧（语言+菜单按钮） */
    .mobile-header-right {
        display: flex;
    }

    /* 显示菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }

    /* 手机端导航显示 */
    .mobile-nav {
        display: block;
    }

    /* Hero 调整 */
    .hero-content {
        left: 8%;
        right: 8%;
        top: 48%;
        width: auto;
        max-width: none;
    }
    .hero-content h1 {
        font-size: 38px;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 15px;
        line-height: 1.8;
    }
    .hero-btn {
        min-width: 150px;
        height: 46px;
        font-size: 14px;
    }
    .dots {
        left: 8%;
        bottom: 28px;
    }
    .scroll-down {
        display: none;
    }
    .slider-arrows {
        right: 8%;
        bottom: 20px;
        gap: 10px;
    }
    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    /* 关闭按钮位置微调 */
    .mobile-close-btn {
        right: 5%;
    }
	.syproduct-list ul{grid-template-columns: repeat(2, 1fr);gap: 15px;}
	.img-text{ padding:15px;}
	.title-center h2{ font-size:20px;}
	
}

/* =========================
   SMALL MOBILE
========================= */
@media(max-width:600px) {
    .logo-desc { display: none; }
    .logo-text {
        border-left: 0;
        padding-left: 0;
    }
	html, body { font-size:14px;}
    .hero-content h1 { font-size: 24px; }
    .hero-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    .slide-image {
        object-position: center;
    }
}

