/* solutions.css - 产品方案页面专属样式 */

/* ========== 基础变量与重置 ========== */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #0066cc;
    --color-accent: #3b68c5;
    --color-accent-light: #3388ee;
    --color-white: #ffffff;
    --color-light-gray: #f9fafc;
    --color-gray: #666666;
    --color-dark-gray: #333333;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--color-dark-gray);
    background: var(--color-white);
}

.container {
    max-width: 3000px;
    margin: 0 auto;
    padding: 0 0px;
}*/

/* 让 .header-with-banner 高度由内容撑开 */
.header-with-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    /* 不设固定 height */
}

.banner-background {
    position: relative; /* 改为 relative，让 img 决定高度 */
    width: 100%;
    /* height 由 img 决定 */
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; /* 保持原始比例 */
    opacity: 0;
    transform: scale(1.15);
    transform-origin: center;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    display: block;
    z-index: 0;
}

/* 只有 active 的图片参与布局（撑开容器） */
.banner-image.active {
    position: relative; /* ← 关键！让它脱离 absolute，参与文档流 */
    z-index: 1;
    opacity: 1;
    animation: bannerZoomIn 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}



/* 覆盖层也要跟随图片高度 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}



@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 文字内容要放在图片上方 */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center; /* 真正的垂直+水平居中 */
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.2s forwards;
}

.banner-content .container {
    text-align: left;
    max-width: 1200px;
    width: 100%;
}

.banner-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem); /* 响应式字体 */
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}


.banner-content p {
    color: white;	
    font-size: 1.8rem;
    opacity: 0.9;
}

/* 防止水平滚动条 */
.solutions-page {
    overflow: hidden;
}

/* ========== 产品类别选项卡 ========== */
.product-tabs-section {
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.product-tabs {
    display: flex;
    justify-content: flex-start;
    padding: 0;
    flex-wrap: wrap;
    overflow-x: auto;
}

.tab-btn {
    position: relative;
    padding: 25px 35px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    border-radius: 0;
    margin-right: 10px;
}

/* 悬停效果 - 文字变黄 */
.tab-btn:hover {
    color: var(--color-accent);
}

/* 激活状态 - 文字黑色 */
.tab-btn.active {
    color: #3b68c5;
    font-weight: 600;
}

/* 选项卡指示器 - 修改为从左边开始 */
.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0; /* 从左边开始 */
    width: 0; /* 初始宽度为0 */
    height: 3px;
    background-color: var(--color-accent);
    transition: width 0.3s ease; /* 只过渡宽度 */
}

/* 激活状态的指示器 - 从左边开始变长 */
.tab-btn.active .tab-indicator {
    width: 100%; /* 激活时显示100%宽度 */
    animation: indicatorExpandFromLeft 0.3s ease forwards;
}

@keyframes indicatorExpandFromLeft {
    0% {
        width: 0; /* 从0开始 */
    }
    100% {
        width: 100%; /* 扩展到100% */
    }
}

/* 悬停时的指示器动画 - 也从左边开始 */
.tab-btn:hover .tab-indicator {
    width: 100%;
    background-color: var(--color-accent);
}

/* 如果希望激活状态有更明显的动画效果，可以添加这个 */
.tab-btn.active .tab-indicator {
    animation: indicatorExpandFromLeft 0.3s ease forwards;
    width: 100%;
}

.tab-btn i {
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

/* 激活状态图标颜色 */
.tab-btn.active i {
    color: var(--color-accent);
}

/* 悬停状态图标颜色 */
.tab-btn:hover i {
    color: var(--color-accent);
}



/* ==============================
   多个独立横向轮播
   ============================== */
/* 产品轮播图样式 - 图片全屏，文字浮在图片上 */
.product-carousel-container {
    display: none;
    margin: 0;
    width: 100%;
}

.product-carousel-container.active {
    display: block;
}

.carousel-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 80px;
}

.carousel-title {
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

.carousel-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    text-align: center;
	align-items: center;

    margin-top: 15px;
    line-height: 1.7;
}

/* 修改：轮播图包装器横跨整个屏幕宽度 */
.carousel-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    /* 删除 min-height: 800px */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 854px;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
	/* aspect-ratio: 1920 / 850; */
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* 图片容器 - 占满整个轮播图 */
.carousel-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	max-width:100%;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    transform: scale(1.0);
}

.carousel-slide.active .carousel-image {
    transform: scale(1.01);
}


/* 文字容器 - 浮在图片上方，靠左居中 */
/* 修改：文字容器使用绝对定位，但相对于父容器居中 */
.carousel-text-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: 1000px;
    color: #fff;
    padding: 0 200px;
    z-index: 2;
    text-align: left;
    box-sizing: border-box;
}

.text-right-position {
    left: auto;
    right: 0;
    text-align: left;
    padding-right: 200px;
}

.carousel-slide-title {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
   
}

.carousel-slide-desc {
    font-size: 1.2rem;
    color: black;
    line-height: 1.6;
    margin-bottom: 25px;
}

.carousel-text-container {
	display: block !important;
}

.carousel-text-mobile-container {
	display: none !important;
}

.carousel-slide-mobile-title {
    font-size: 2.5rem;
    color: black;
    text-align: center;
    align-items: center;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px;
   
}

.carousel-slide-mobile-desc {
    font-size: 1.2rem;
    color: black;
    line-height: 1.6;
    text-align: center;
    align-items: center;
    margin: 20px;
}


.carousel-slide-features {
    margin-bottom: 25px;
}

.carousel-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.carousel-feature i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 1rem;
}

.carousel-slide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.carousel-tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-view-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2c6fdb, #1a4fa0);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-view-detail-btn:hover {
    background: linear-gradient(135deg, #1a4fa0, #0d3a7c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 控制按钮样式 */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: black;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* 左箭头颜色 */
.carousel-btn-prev i {
    color: white; /* 左箭头颜色为红色 */
}

/* 右箭头颜色 */
.carousel-btn-next i {
    color: white; /* 右箭头颜色为绿色 */
}

/* 鼠标悬停时左箭头颜色 */
.carousel-btn-prev:hover i {
    color: white; /* 悬停时左箭头颜色变深 */
}

/* 鼠标悬停时右箭头颜色 */
.carousel-btn-next:hover i {
    color: white; /* 悬停时右箭头颜色变深 */
}

/* 指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* 隐藏原始的产品展示区域 */
.products-display {
    display: none;
}





/* 端到端解决方案样式 */
.end-to-end-solutions {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
    align-items: center;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.process-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.process-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c6fdb, #1a4fa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.process-icon i {
    font-size: 1.8rem;
    color: white;
}

.process-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.process-desc {
    color: #666;
    line-height: 1.6;
}

/* 技术创新样式 */
.tech-innovation {
    padding: 80px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.tech-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tech-image {
    height: 250px;
    overflow: hidden;
}

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

.tech-card:hover .tech-image img {
    transform: scale(1.05);
}

.tech-content {
    padding: 30px;
}

.tech-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.tech-desc {
    color: #666;
    line-height: 1.6;
}
/* 技术创新样式 */

/* ========== 移动端专属样式 ========== */
@media (max-width: 1236px) {/* ========== 150% ========== ipad air 820*1180 ========== */
	/* solutions.css - 产品方案页面专属样式 */
    
	/* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 650px;
		/* aspect-ratio: 750 / 542; */
	}
	
	.carousel-subtitle {
		padding: 0  20px;

	}
	.carousel-text-container {
 		display: none !important;
	}
	.carousel-text-mobile-container {
		display: block !important;
	}
	.carousel-slide-mobile-title {
		font-size: 2.0rem;
	   
	}

	.carousel-slide-mobile-desc {
		font-size: 1.0rem;
	}
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */
    
    
    
    
}
@media (max-width: 927px) {/* ========== 200% ========== */

}

@media (max-width: 649px) {/* ========== 280% ========== */
    /* ========== 移动端：智能扫码设备 ========== */
	.banner-content h1 {
		font-size: clamp(1.5rem, 3vw, 2rem); /* 响应式字体 */
		font-weight: 700;
	}
	.banner-content p {
		font-size: 1.0rem;
	}
	
	.carousel-track {
		width: 100%;
		height: 500px;
	}  
	.carousel-slide-mobile-title {
		font-size: 1.0rem;
	   
	}

	.carousel-slide-mobile-desc {
		font-size: 0.7rem;
	}
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */
     

    
}

@media (max-width: 525px) {/* ========== 350% ========== */
    /* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 360px;
	}  
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}

@media (max-width: 428px) {/* ========== 450% ========== iphone 12/13 pro max 428*926 ========== */
    /* ========== 移动端：智能扫码设备 ========== */
	.banner-content h1 {
		font-size: clamp(1.0rem, 1vw, 1rem); /* 响应式字体 */
		font-weight: 700;
	}
	.banner-content p {
		font-size: 0.6rem;
	}

     .carousel-track {
		width: 100%;
		height: 340px;
	}  
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}

@media (max-width: 414px) {
    /* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 330px;
	}  
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}
@media (max-width: 412px) {
    /* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 320px;
	}  
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}
@media (max-width: 390px) {
    /* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 310px;
	}  
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}
@media (max-width: 384px) {
    /* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 300px;
	}  
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}

@media (max-width: 360px) {
    /* ========== 移动端：智能扫码设备 ========== */
	.carousel-track {
		width: 100%;
		height: 280px;
	}  
	
    /* ========== 移动端：工业产品中心 ========== */
    
    /* ========== 移动端：视觉终端产品 ========== */
    
    /* ========== 移动端：定制主板方案 ========== */
    
    /* ========== 移动端：室内定位系统 ========== */

    
}

