
/* Navbar Base */
.yanyi-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    /* background: linear-gradient(to bottom, rgba(255,255,255,0.9), transparent); /* 默认淡渐变 */ */
    padding: 24px 0;
}

.products-navbar .nav-item {color: #fff;}


/* Scrolled State (JS Toggled) */
.yanyi-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    /* padding: 16px 0; */
    box-shadow: 0 4px 30px -10px rgba(220, 38, 38, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}
.yanyi-navbar.son .nav-item,
.yanyi-navbar.scrolled .nav-item {color: #000;}
/* Top Line */
.nav-top-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(to right, transparent, #bf2626, transparent);
    opacity: 0.8;
    box-shadow: 0 0 10px #bf2626;
}

/* Container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding: 0 40px;
}

/* Logo */
.nav-logo img {
	width: 140px;
}
.logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(to top right, #bf2626, #bf2626);
    color: white; font-weight: 900; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
    border: 1px solid #f87171;
}
.logo-text {
    font-size: 20px; font-weight: 800; color: #111827; letter-spacing: 1px;
}
#header.scroll-center .nav-logo img:nth-child(1) {display: none;}
#header.scroll-center .nav-logo img:nth-child(2) {display: block;}

/* Desktop Links */
.nav-links { display: flex; align-items: center; gap: 60px; }

.nav-item {
    font-size: 18px; font-weight: 400; color: #fff;line-height: 86px;
    text-decoration: none; position: relative; transition: color 0.3s;
}
/*.yanyi-navbar.home .nav-item {color: #000;}*/
/* .nav-item:hover { color: #111827; } */
.nav-item:hover { color: #bf2626; }

/* Active State Underline */
.nav-item::after {
    content: '';
    position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px;
    background: #bf2626; transform: scaleX(0); transition: transform 0.3s;
}
.nav-item:hover::after {
    transform: scaleX(1); /*box-shadow: 0 0 8px #bf2626;*/
}
.nav-item.cur::after {
    transform: scaleX(1); /*box-shadow: 0 0 8px #bf2626;*/
}

.header-icons { display: flex; gap: 24px; align-items: center; height: 96px; }
.header-icons img { width: 20px; height: 20px; cursor: pointer; filter: brightness(0) invert(1); transition: filter 0.3s; }

#header.scroll-center .header-icons img {filter: none;}

#main-nav .nav-item.cur {color: #bf2626;}
/* Contact Button */
.btn-contact {
    position: relative; overflow: hidden;
    background: #000; color: white;
    padding: 8px 24px; border-radius: 99px;
    font-size: 20px; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s; border: 1px solid rgba(127, 29, 29, 0.3);
}
.btn-contact:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(220, 38, 38, 0.5); }

.btn-glow {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(220,38,38,0.3), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.group:hover .btn-glow { opacity: 1; }

/* Mobile Menu */
.menu-toggle {
    background: none; border: none; cursor: pointer; /*color: #111827;*/color: #fff;
}

#header.scroll-center .menu-toggle{color: #111827;}

.mobile-drawer {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: white; border-top: 1px solid #fee2e2;
    padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-150%); opacity: 0; pointer-events: none;
    transition: all 0.3s ease;
    z-index: -1;
	max-height: 80vh;
	overflow: scroll;
}
.mobile-drawer.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
}

.mobile-link {
    font-size: 16px; font-weight: 700; color: #4b5563; text-decoration: none;
    padding: 8px 0; border-bottom: 1px solid #f3f4f6;
}
.mobile-link:hover, .mobile-link.active { color: #bf2626; }

/* --- Dropdown Styles (Desktop) --- */

/* 1. 容器：相对定位，用于放置下拉菜单 */
.nav-dropdown-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 下拉箭头图标 */
.arrow-icon {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    transition: transform 0.3s;
}
/* Hover 时箭头旋转 */
.nav-dropdown-wrapper:hover .arrow-icon {
    transform: rotate(180deg);
}

/* 2. 下拉面板：默认隐藏 */
.dropdown-panel {
    position: absolute;
    top: 94%; /* 在导航栏正下方 */
    left: 50%;
    transform: translateX(-50%) translateY(20px); /* 初始位置稍微靠下 */
    background: white;
    min-width: 200px; /* 最小宽度 */
    padding: 12px 0 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    
    /* 隐藏状态 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    /* 动画 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 顶部小三角装饰 (可选) */
.dropdown-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid #f3f4f6;
    border-top: 1px solid #f3f4f6;
    display: none;
}

/* 顶部小三角装饰 (可选) */
.dropdown-panel::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* 3. 显示状态：Hover 容器时显示面板 */
.nav-dropdown-wrapper:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(10px); /* 上浮到正确位置 */
}

/* 4. 下拉链接样式 */
.drop-link {
    display: flex;
    flex-direction: column; /* 让标题和描述垂直排列 */
    padding: 10px 16px;
    /* border-radius: 8px; */
    text-decoration: none;
    color: #4b5563; /* gray-600 */
    transition: all 0.2s;
    white-space: nowrap; /* 防止换行 */
    text-align: center;
}

.drop-link span {
    font-size: 15px;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 2px;
}

.drop-link small {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 400;
}

/* Link Hover */
.drop-link:hover {
    background-color: #fef2f2; /* red-50 */
}
.drop-link:hover span {
    color: #bf2626; /* red-600 */
    font-weight: 600;
}

/* --- Mobile Specific Styles --- */
.mobile-group-title {
    font-size: 12px;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    margin-top: 16px;
    margin-bottom: 8px;
    padding-left: 0;
}

.mobile-link.indent {
    padding-left: 16px;
    font-size: 14px;
    border-left: 2px solid #f3f4f6;
    color: #6b7280;
}
.mobile-link.indent:hover {
    border-left-color: #bf2626;
    background-color: #f9fafb;
}



#header.hover .yanyi-navbar{background-color: #fff;}
#header.hover .nav-logo img:nth-child(1) {display: none;}
#header.hover .nav-logo img:nth-child(2) {display: block;}
#header.hover .yanyi-navbar .nav-item{color: #000;}
#header.hover .header-icons img {filter: none;}

#header.hover .nav-item:hover { color: #bf2626;font-weight: 600;}
#header.hover .nav-item.cur { color: #bf2626;font-weight: 600;}
/*#header.hover .yanyi-navbar.home .nav-item {color: #bf2626;font-weight: 600;}*/





@media (max-width: 1280px) {
	.nav-links {gap: 20px; }
}

/* Responsive Utils */
@media (max-width: 1024px) {
    .hidden-mobile { display: none !important; }

    .nav-container{padding: 0;}
    .header-icons{margin: 0 20px 0 auto;}
    
}
@media (min-width: 1025px) {
    .hidden-pc { display: none !important; }
}

@media (max-width: 576px) {
    .nav-logo img {
    	width: 80px;
    }
    .header-icons{height: 62px;}
}


#top {position: fixed;right: 52px;bottom: 60px;}
#top .item {cursor:pointer;width: 60px;height: 60px;border-radius: 50%;background: #fff;text-align: center;font-size: 14px;font-weight: 500;color: var(--mainColor);box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.10);display: flex;align-items: center;justify-content: center;flex-direction: column;}
#top .item:hover {background: var(--mainColor);color: #fff;}

@media (max-width: 768px) {
    #top {right: .3rem;bottom: .3rem;}
    #top .item{width: 1rem;height: 1rem;}
}

.my_footer_0001_0Wrap{padding: 80px 0 40px;background: url(/module/my/footer/0001/images/bottom.jpg) no-repeat center / cover;}
@media(max-width: 992px){
    .my_footer_0001_0Wrap{padding: .606rem 0 .303rem;}
}
@media(max-width: 768px){
    .my_footer_0001_0Wrap{padding: .8rem 0 .4rem;}
}

/* 顶部 CTA 区 */
#my_footer_0001_0Top{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 90px; }
#my_footer_0001_0Top .f-top-left h2 { font-size: 40px; font-weight: 400; color: #fff; line-height: 1.5; margin-bottom: 35px; letter-spacing: 1px; }
#my_footer_0001_0Top .f-top-left h2 strong { font-size: 48px; font-weight: 700; display: block; }

#my_footer_0001_0Top .f-btn { 
    width: 150px; height: 55px; display: flex; align-items: center; justify-content: center; 
    background-color: var(--mainColor); color: #fff; font-size: 18px; border-radius: 30px; 
    transition: all 0.3s ease; 
}
#my_footer_0001_0Top  .f-btn:hover { background-color: #bf2626; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(191, 38, 38, 0.2); }

#my_footer_0001_0Top .f-top-right { display: flex; flex-direction: column; align-items: center; gap: 12px; } 
#my_footer_0001_0Top .f-top-right img { width: 130px; height: 130px; background: #fff; border-radius: 6px; }
#my_footer_0001_0Top .f-top-right p { font-size: 16px; color: #aaa; margin: 0; }

@media(max-width: 1280px){
    #my_footer_0001_0Top .f-top-left h2 { font-size: 32px;}
    #my_footer_0001_0Top .f-top-left h2 strong { font-size: 42px;}
}
@media(max-width: 992px){
    #my_footer_0001_0Top{flex-direction: column; margin-bottom: .682rem; gap: .4rem 0;}
    #my_footer_0001_0Top .f-top-left h2 { font-size: .242rem; margin-bottom: .265rem; }
    #my_footer_0001_0Top .f-top-left h2 strong { font-size: .318rem;}

    #my_footer_0001_0Top .f-btn { width: 1.136rem; height: .417rem; font-size: .136rem; border-radius: .227rem; }

    #my_footer_0001_0Top .f-top-right { gap: .091rem; display: none;} 
    #my_footer_0001_0Top .f-top-right img { width: .985rem; height: .985rem; border-radius: .045rem; }
    #my_footer_0001_0Top .f-top-right p { font-size: .121rem;}
}
@media(max-width: 768px){
    #my_footer_0001_0Top{ gap: .5rem 0;}
    #my_footer_0001_0Top .f-top-left h2 { font-size: .32rem; margin-bottom: .4rem; }
    #my_footer_0001_0Top .f-top-left h2 strong { font-size: .42rem;}

    #my_footer_0001_0Top .f-btn { width: 2.2rem; height: .72rem; font-size: .3rem; border-radius: .36rem; }

    #my_footer_0001_0Top .f-top-right { gap: .2rem; } 
    #my_footer_0001_0Top .f-top-right img { width: 2rem; height: 2rem; border-radius: .09rem; }
    #my_footer_0001_0Top .f-top-right p { font-size: .3rem;}
}


#my_footer_0001_0Mid { display: flex; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 80px; justify-content: space-between;}
#my_footer_0001_0Mid .head {width: 25%; }
#my_footer_0001_0Mid .f-top-right { display: none; flex-direction: column; align-items: center; gap: 12px; } 
#my_footer_0001_0Mid .f-top-right img { width: 130px; height: 130px; background: #fff; border-radius: 6px; }
#my_footer_0001_0Mid .f-top-right p { font-size: 16px; color: #aaa; margin: 0; }
#my_footer_0001_0Mid .f-logo-col img { max-width: 236px; height: 71px; object-fit: contain; margin-bottom: 24px; }
#my_footer_0001_0Mid .f-logo-col p { font-size: 20px; color: #606161; }
#my_footer_0001_0Mid .f-links { width: 75%; display: flex; justify-content: space-between; }
#my_footer_0001_0Mid .f-link-col .nav_one{ margin-bottom: 30px; }
#my_footer_0001_0Mid .f-link-col h4 { font-size: 18px; color: #fff; font-weight: 600;}
#my_footer_0001_0Mid .f-link-col .li { display: block; font-size: 16px; color: rgba(255,255,255,0.5); margin-bottom: 18px; transition: all 0.3s ease; }
#my_footer_0001_0Mid .f-link-col .li:hover { color: #fff; transform: translateX(5px); }
@media(max-width: 1024px){
    #my_footer_0001_0Mid{flex-direction: column;gap: .4rem 0;margin-bottom: 50px;}
    #my_footer_0001_0Mid .f-links { width: 100%; }
}
@media(max-width: 992px){
    #my_footer_0001_0Mid { padding-top: .606rem; margin-bottom: .379rem;}
    #my_footer_0001_0Mid .f-logo-col img { width: auto; height: .538rem; margin-bottom: .182rem; }
    #my_footer_0001_0Mid .f-logo-col p { font-size: .152rem; }
    #my_footer_0001_0Mid .f-link-col .nav_one{margin-bottom: .227rem;}
    #my_footer_0001_0Mid .f-link-col h4 { font-size: .136rem; }
    #my_footer_0001_0Mid .f-link-col .li { font-size: .121rem; margin-bottom: .136rem; }
	
	#my_footer_0001_0Mid .f-top-right { gap: .091rem; }
	#my_footer_0001_0Mid .f-top-right img { width: .985rem; height: .985rem; border-radius: .045rem; }
	#my_footer_0001_0Mid .f-top-right p { font-size: .121rem;}
	
	#my_footer_0001_0Mid .head { width: 100%; display: flex;align-items: center;justify-content: space-between;}
	#my_footer_0001_0Mid .f-top-right {display: flex;}
}
@media(max-width: 768px){
   
    #my_footer_0001_0Mid .f-logo-col img { width: auto; height: 1rem; }
    #my_footer_0001_0Mid .f-logo-col p { font-size: .3rem; }
    #my_footer_0001_0Mid .f-links{flex-direction: column;gap: .3rem 0;}

    #my_footer_0001_0Mid .f-links .jt{display: block; width: 3.5vw;}
    #my_footer_0001_0Mid .f-links .svg{fill: #fff; transform: scale(1) rotate(180deg);}
    #my_footer_0001_0Mid .f-link-col.cur .jt .svg{transform: scale(1) rotate(90deg);}

    #my_footer_0001_0Mid .f-link-col .nav_one{margin-bottom: 0;}
    #my_footer_0001_0Mid .f-link-col.cur .nav_one{margin-bottom: .2rem;}
    #my_footer_0001_0Mid .f-link-col h4 { font-size: .36rem; }
    #my_footer_0001_0Mid .f-link-col .li { font-size: .3rem; margin-bottom: .25rem; }

    #my_footer_0001_0Mid .f-link-col .nav_two{height: 0;overflow: hidden;}
	
	#my_footer_0001_0Mid .f-top-right { gap: .2rem; }
	#my_footer_0001_0Mid .f-top-right img { width: 2rem; height: 2rem; border-radius: .09rem; }
	#my_footer_0001_0Mid .f-top-right p { font-size: .3rem;}
}



#my_footer_0001_0Bot { display: flex; justify-content: space-between; align-items: flex-end; }
#my_footer_0001_0Bot .f-contact {} 
#my_footer_0001_0Bot .f-contact p { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 2.2; margin: 0; }
#my_footer_0001_0Bot .f-copyright { text-align: right; } 
#my_footer_0001_0Bot .f-socials { display: flex; gap: 16px; margin-bottom: 25px; justify-content: flex-end; }
#my_footer_0001_0Bot .f-socials a { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; }
#my_footer_0001_0Bot .f-socials a img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
#my_footer_0001_0Bot .f-socials a:hover { transform: translateY(-3px); opacity: 0.8; }
#my_footer_0001_0Bot .f-copyright p { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.8; margin: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width: 992px){
    #my_footer_0001_0Bot .f-contact p { font-size: .121rem;}
    #my_footer_0001_0Bot .f-socials {gap: .121rem; margin-bottom: .189rem; }
    #my_footer_0001_0Bot .f-socials a { width: .303rem; height: .303rem; }
    #my_footer_0001_0Bot .f-socials a img { width: .303rem; height: .303rem;}
    #my_footer_0001_0Bot .f-copyright p { font-size: .121rem; }
}
@media(max-width: 768px){
    #my_footer_0001_0Bot{flex-direction: column;gap: .4rem 0;}
    #my_footer_0001_0Bot .f-contact p { font-size: .3rem;}
    #my_footer_0001_0Bot .f-socials {gap: .3rem; margin-bottom: .3rem; justify-content: center;}
    #my_footer_0001_0Bot .f-socials a { width: .606rem; height: .606rem; }
    #my_footer_0001_0Bot .f-socials a img { width: .606rem; height: .606rem;}
    #my_footer_0001_0Bot .f-copyright { text-align: center; } 
    #my_footer_0001_0Bot .f-copyright p { font-size: .3rem; }
}



/* =========================================
   PC 端样式 (> 992px) - PX
   ========================================= */

#act-gallery.gallery-section {
    padding: 100px 0;
    background-color: white;
}

#act-gallery .gallery-header { margin-bottom: 64px; }
#act-gallery .gallery-title { font-size: 36px; font-weight: 800; color: #111827; margin-bottom: 16px; }
#act-gallery .gallery-desc { font-size: 16px; color: #6b7280; max-width: 600px; margin: 0 auto; }

/* --- Grid System --- */
#act-gallery .gallery-grid {
   /* 
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px; 
    gap: 16px;
	 */
	column-count: 3;
	column-gap: 20px;
	margin-bottom: 48px;
}

/* 单元格尺寸变体 */
#act-gallery .item-large {
    grid-column: span 2;
    grid-row: span 2;
}

#act-gallery .item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

#act-gallery .item-small {
    grid-column: span 1;
    grid-row: span 1;
}

/* 卡片本体 */
#act-gallery .gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	break-inside: avoid;
	margin-bottom: 20px;
}

#act-gallery .gallery-item img {position: relative;}

/* 占位背景图 (模拟照片) */
#act-gallery .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s ease;
	position: relative;
}
#act-gallery .group:hover .img-placeholder {
    transform: scale(1.05); /* 缓慢放大 */
}

#act-gallery .bg-gray-100 { background-color: #f3f4f6; }
#act-gallery .bg-gray-200 { background-color: #e5e7eb; }

#act-gallery .placeholder-icon {
    color: #9ca3af;
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

/* --- Overlay Mask --- */
#act-gallery .item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#act-gallery .group:hover .item-overlay {
    opacity: 1;
}

/* Overlay Text Animation */
#act-gallery .overlay-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #f87171; /* red-400 */
    background: rgba(0,0,0,0.6);
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    margin-bottom: 8px;
    align-self: flex-start;
    
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

#act-gallery .overlay-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    
    transform: translateY(10px);
    transition: transform 0.3s ease 0.05s; /* 略微延迟 */
}

#act-gallery .group:hover .overlay-tag,
#act-gallery .group:hover .overlay-title {
    transform: translateY(0);
}

/* --- Footer Button --- */
#act-gallery .btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 99px;
    color: #4b5563; /* gray-600 */
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#act-gallery .btn-more:hover {
    background-color: #fef2f2; /* red-50 */
    color: #dc2626; /* red-600 */
    border-color: #fee2e2;
}

#act-gallery .icon-move {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}
#act-gallery .group:hover .icon-move {
    transform: translateX(4px);
}

/* =========================================
   移动端 (≤ 992px) - REM
   ========================================= */
@media (max-width: 992px) {
    #act-gallery.gallery-section { padding: 4rem 0; }
    
    #act-gallery .gallery-title { font-size: 2rem; }

    #act-gallery .gallery-grid {
        grid-template-columns: 1fr 1fr; /* 2列 */
        grid-auto-rows: 10rem; /* 降低行高 */
        gap: 1rem;
    }

    /* 移动端调整跨度，保持紧凑 */
    #act-gallery .item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    #act-gallery .item-tall {
        grid-column: span 1;
        grid-row: span 2;
    }
}