/*去除滚动条*/
body{
    height: 100%;
    overflow-y: auto;
}
body::-webkit-scrollbar{
    width: 0;
    display: none;
}
/* 让轮播图和图片展示区域垂直排列 */
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0px;
}

/* 图片展示区域整体居中 */
.gallery {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* 左1/4，中1/2，右1/4 */
    grid-template-rows: 1fr 1fr; /* 上下均分 */
    gap: 10px; /* 图片间距 */
    width: 80%;
    height: 500px; /* 总高度固定 */
    align-items: center;
}

/* 左侧2张 */
.gallery .image-container:nth-child(1),
.gallery .image-container:nth-child(2) {
    grid-column: 1;
    width: 100%;
    height: calc(100% - 10px); /* 保持间距 */
}

.gallery .image-container:nth-child(1) {
    grid-row: 1;
}

.gallery .image-container:nth-child(2) {
    grid-row: 2;
}

/* 右侧2张 */
.gallery .image-container:nth-child(4),
.gallery .image-container:nth-child(5) {
    grid-column: 3;
    width: 100%;
    height: calc(100% - 10px); /* 保持间距 */
}

.gallery .image-container:nth-child(4) {
    grid-row: 1;
}

.gallery .image-container:nth-child(5) {
    grid-row: 2;
}

/* 中间大图，占据左右两张累计的高度，并保持间距 */
.main-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: calc(100% - 10px); /* 保持上下间距 */
    display: flex;
    align-items: center;
}

/* 图片容器 */
.image-container {
    position: relative;
    overflow: hidden;
}

/* 让所有图片填充整个容器 */
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

/* 半透明遮盖层 */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    transition: opacity 0.3s ease-in-out;
}

/* 悬停动画：整体增加光影、上浮、放大 */
.image-container:hover {
    transform: translateY(-5px); /* 轻微上浮 */
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(1.1) drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.6)); /* 提升亮度 + 添加光影 */
}

/* 图片悬停时放大，增加景深感 */
.image-container:hover img {
    transform: scale(1.1);
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* 遮罩层悬停时透明度渐变消失 */
.image-container:hover .overlay {
    opacity: 0;
    transform: translateY(20px); /* 让文字向下消失 */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/*此处开始新品展示*/
/* 科技感新品展示标题 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 40px 0;
    position: relative;

    /* 蓝色霓虹渐变 */
    background: linear-gradient(90deg, #333333, black);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* 让渐变作用于文本 */

    /* 文字光影效果 */
    /*text-shadow: 0 0 10px rgba(0, 210, 255, 0.8),
    0 0 20px rgba(0, 210, 255, 0.5),
    0 0 30px rgba(0, 210, 255, 0.3);*/

    transition: transform 0.3s ease-in-out;
}

/* 下划线特效 */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #333333, black); /* 同步蓝色渐变 */
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

/* 悬停时增加动效 */
.section-title:hover {
    transform: scale(1.1);
}

.section-title:hover::after {
    width: 140px; /* 悬停时增加下划线宽度 */
}



/* 让大图区域全屏适应 */
.hero-section {
    margin-top: 130px;
    position: relative;
    width: 100%;
    height: 100vh; /* 适应屏幕高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 大图样式 */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片填充但不变形 */
    filter: brightness(80%); /* 图片稍微变暗，让文字更清晰 */
    transition: filter 0.5s ease;
}

/* 文字内容层 */
.hero-content {
    position: absolute;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 大标题 */
.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 小标题 */
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* 炫酷按钮 */
.hero-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 按钮悬浮效果 */
.hero-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.5);
}

/* 鼠标悬停时，文字淡入 */
.hero-section:hover .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* 鼠标悬停时，图片变亮 */
.hero-section:hover .hero-image {
    filter: brightness(100%);
}


/*解决方案*/
/* 整体产品展示区域 */
.product-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background: #ffffff; /* 背景颜色可调整 */
}

/* 三列等宽容器 */
.product-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
}

/* 每个产品卡片 */
.product-card {
    width: 32%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* 悬浮时放大 */
.product-card:hover {
    transform: scale(1.05);
}

/* 图片容器 */
.product-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 图片样式 */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* 默认黑白滤镜 */
.product-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* 文字悬浮层 */
.product-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    color: white;
    transition: background 0.5s ease-in-out;
}


/* 标题 */
.product-overlay h2 {
    font-size: 22px;
    margin-bottom: 10px;
    /*opacity: 0;*/
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* 描述 */
.product-overlay p {
    font-size: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

/* 按钮 */
.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    border-radius: 25px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

/* 悬浮时按钮光效 */
.cta-button:hover {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.5);
    transform: translateY(-3px);
}

/* 悬浮时文字动画 */
.product-card:hover .product-overlay h2,
.product-card:hover .product-overlay p,
.product-card:hover .cta-button {
    opacity: 1;
    transform: translateY(0);
}


/*联系我们*/
.company-info {
    background: linear-gradient(to right, #0f172a, #1e293b);
    color: #f1f5f9;
    height: 500px;
    display: flex;
    align-items: center;
    border-radius: 15px;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.info-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.info-map {
    flex: 1;
    padding: 20px;
}

.info-map img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.info-details {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.company-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #60a5fa;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-list li i {
    font-size: 22px;
    color: #93c5fd;
    margin-right: 10px;
}

.contact-list li span {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.contact-list li:hover span {
    color: #93c5fd;
}
