﻿body {
}

/* 2025年9月19日：将首页的一些标题或伪按钮（超链接）样式集中于.css页面 */

/* 第一个CSS样式代码 */

/* 第一个实现“我们的优势”横向排列的样式 -A */

/* 整体容器样式 */
.advantages {
  max-width: 1200px; /* 适配宽屏，避免内容过宽 */
  margin: 0 auto; /* 水平居中 */
  padding: 40px 20px; /* 内边距，让内容不贴边 */
}

/* 标题样式（“我们的优势”） */
.advantages-title {
  font-size: 28px; /* 字体大小 */
  font-weight: bold; /* 加粗 */
  color: #333; /* 深灰色，更显质感 */
  text-align: center; /* 居中对齐 */
  position: relative; /* 为红色下划线定位做准备 */
}

/* 标题下方的红色下划线 */
.advantages-title::after {
  content: ""; /* 伪元素内容为空 */
  width: 80px; /* 下划线宽度 */
  height: 4px; /* 下划线高度 */
  background-color: #d9001b; /* 红色（参考原图色调） */
  position: absolute; /* 绝对定位，让下划线在标题下方 */
  left: 50%; /* 左边距为50%，实现居中 */
  transform: translateX(-50%); /* 水平偏移-50%，让下划线精准居中 */
  bottom: -10px; /* 距离标题底部10px */
}

/* 内容布局（两列，每列2个优势） */
.advantages-content {
  display: flex; /* 弹性布局，实现两列排列 */
  justify-content: space-between; /* 两列间距均匀 */
  gap: 40px; /* 两列之间的间距 */
}

/* 每个优势的容器样式 */
.advantages-item {
  width: calc(50% - 20px); /* 每列宽度为50%减去间距的一半，保证两列等宽 */
  text-align: center; /* 内容居中对齐 */
}

/* 优势标题（如“先进设备”） */
.advantages-item h3 {
  font-size: 20px; /* 字体大小 */
  font-weight: bold; /* 加粗 */
  color: #333; /* 深灰色 */
  margin: 0 0 10px 0; /* 上下间距，下间距10px */
}

/* 优势描述（如“拥有国际领先的生产设备...”） */
.advantages-item p {
  font-size: 16px; /* 字体大小 */
  color: #666; /* 浅灰色，区分标题 */
  line-height: 1.6; /* 行高，让文字更易读 */
  margin: 0; /* 重置浏览器默认段落间距 */
}

/* 第一个实现“我们的优势”横向排列的样式 -O */


/* 第二个CSS样式代码 */

/* 第二个实现“我们的优势”纵向排列的样式 -A */

.container_Google {
    width: 1250px;
    margin: 10px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.title_Google  {
    text-align: center;
    margin-bottom: 40px;
}
.title_Google  h2 {
    position: relative;
    display: inline-block;
    font-size: 2em;
    color: #333;
}
.title_Google  h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff6b6b;
    animation: slideIn 1s ease-out;
}
@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}


.advantages_Google  {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
/*
.advantage_Google  {
    width: 48%;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.advantage_Google :hover {
    transform: translateY(-10px);
}
.advantage_Google  h3 {
    margin-bottom: 10px;
    color: #333;
}
.advantage_Google  p {
    line-height: 1.6;
    color: #666;
    margin:15px 0px;
}
*/

/*“我们的优势”CSS代码内部局部修改：2025年10月15日：增加“呼吸灯”效果（对上述代码进行修改）*/
/*呼吸灯效果 - A */
.advantage_Google {
    width: 48%;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 添加 box-shadow 的过渡效果 */
    animation: breathing 3s infinite ease-in-out; /* 应用呼吸灯动画 */
    cursor: pointer; /* 鼠标放到div上面变为手指 */
}

/* 鼠标悬停时的效果，可以保留原有的上移效果 */
.advantage_Google:hover {
    transform: translateY(-10px);
    /* 可以选择增强呼吸灯效果或改变阴影 */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* 定义呼吸灯动画 */
@keyframes breathing {
    0% {
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0,0,0,0.2); /* 阴影变大，模拟呼吸效果 */
    }
    100% {
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
}

/* 或者使用更深的灰色 */
/*
@keyframes breathing {
    0% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
}
*/

.advantage_Google h3 {
    margin-bottom: 10px;
    color: #333;
}

.advantage_Google p {
    line-height: 1.6;
    color: #666;
    margin:15px 0px;
}

/*
说明：
‌1、动画应用‌：
   使用 animation 属性将 breathing 动画应用到 .advantage_Google 类上。
   动画持续时间为 3 秒，无限循环，使用 ease-in-out 缓动函数使动画更平滑。

2、‌动画定义‌：
   @keyframes breathing 定义了呼吸灯效果的关键帧。
   在 50% 的关键帧处，阴影变大，模拟呼吸时的“亮起”效果。

‌3、悬停效果‌：
   保留了原有的悬停上移效果，并增强了阴影效果以配合呼吸灯。

4、注意事项：
   呼吸灯效果通过改变 box-shadow 的大小来实现，这样不会影响模块内的文本内容。
   你可以根据需要调整动画的持续时间、阴影的大小和颜色，以达到最佳的视觉效果。
*/

/*呼吸灯效果 - O */

/* 第二个实现“我们的优势”纵向排列的样式 -O */


/* 第三个CSS样式代码 */

/*  以下是“返回顶部按钮”的样式CSS代码 -A */

        #scrollToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #007bff;
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 50px;
            font-size: 24px;
            cursor: pointer;
            opacity: 0.8;
            display: none;
            transition: opacity 0.3s, display 0.3s;
            z-index: 9999; /* 确保按钮在最上层 */
        }
        
        #scrollToTop:hover {
            opacity: 1;
            background-color: #0056b3;
        }

  /*  以上是“返回顶部按钮”的样式CSS代码 -O */



/* 第四个CSS样式代码 */

/*  以下是“联系我们”板块中“商务合作咨询/联系方式”的样式CSS代码 -A */

.container_ContactUs {
    width: 48%;
    margin: 10px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1); 
}

/* 以上是“联系我们”板块中“商务合作咨询/联系方式”的样式CSS代码 -O */




/* 第五个CSS样式代码 */

/*  以下是“产品展示”板块中各图片特效的样式CSS代码 -A */

        /* 基础样式重置和通用设置 */
       /* body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f0f0f0; /* 添加背景色以便观察效果 */
           /* padding: 20px;
            margin: 0;
        }*/

        /* 卡片容器 */
        .product-card {
            width: 100%;
            /*max-width: 384px; /* Tailwind 的 w-96 */
            max-width: 480px; 
            background-color: #ffffff; /* Tailwind 的 bg-white */
            border-radius: 12px; /* Tailwind 的 rounded-xl */
            overflow: hidden; /* Tailwind 的 overflow-hidden */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Tailwind 的 shadow-lg */
            transition: box-shadow 0.2s ease-in-out; /* Tailwind 的 transition-shadow */
            margin: 20px auto; /* 居中显示 */
        }

        /* 悬停时阴影加深 */
        .product-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* Tailwind 的 hover:shadow-xl */
        }

        /* 悬停时轻微放大 (替代 Tailwind 的 scale-up-hover) */
        .product-card:hover {
           /*  transform: translateY(-5px); /* 向上轻微移动 */
            
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .product-card {
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        }


        /* 图片容器 */
        .image-container {
            position: relative;
            height: 256px; /* Tailwind 的 h-64 */
            width: 100%; /*实际图片为：415x256*/
        }

        /* 图片样式 */
        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Tailwind 的 object-cover */
        }

        /* 渐变遮罩层 */
        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* Tailwind 的 from-black/60 to-transparent */
            background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
            display: flex;
            align-items: flex-end; /* Tailwind 的 items-end */
            opacity: 0; /* 初始隐藏 */
            transition: opacity 0.3s ease-in-out;
        }

        /* 悬停时显示遮罩 */
        .product-card:hover .image-overlay {
            opacity: 1;
        }

        /* 遮罩内的文字内容 */
        .overlay-content {
            padding: 24px; /* Tailwind 的 p-6 */
            color: white;
        }

        .overlay-title {
            font-size: 1.25rem; /* Tailwind 的 text-xl */
            font-weight: 700; /* Tailwind 的 font-bold */
            margin-bottom: 0.25rem; /* Tailwind 的 mb-1 */
        }

        .overlay-description {
            font-size: 0.875rem; /* Tailwind 的 text-sm */
            opacity: 0.8; /* Tailwind 的 text-white/80 */
        }

        /* 卡片底部内容区 */
        .card-content {
            padding: 24px; /* Tailwind 的 p-6 */
        }

        .card-description {
            color: #525252; /* 接近 Tailwind 的 text-neutral-600 */
            margin-bottom: 16px; /* Tailwind 的 mb-4 */
            line-height: 1.5; /* 改善可读性 */
        }

        /* 标签容器 */
        .tag-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px; /* Tailwind 的 gap-2 (approx) */
            margin-bottom: 24px; /* Tailwind 的 mb-6 */
        }

        /* 标签样式 */
        .tag {
            font-size: 0.75rem; /* Tailwind 的 text-xs */
            padding: 4px 12px; /* Tailwind 的 px-3 py-1 (approx) */
            border-radius: 9999px; /* Tailwind 的 rounded-full */
            background-color: #e0f2fe; /* 接近 Tailwind 的 bg-primary/10 (假设 primary 是蓝色) */
            color: #0284c7; /* 接近 Tailwind 的 text-primary */
        }

        /* 查看详情链接 */
        .details-link {
           /* color: #0284c7; /* 接近 Tailwind 的 text-primary */
            color: #0F3460;
            font-weight: 600; /* Tailwind 的 font-medium */
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: color 0.2s ease-in-out; /* Tailwind 的 transition-colors */
        }

        .details-link:hover {
            color: #0369a1; /* 接近 Tailwind 的 hover:text-primary/80 */
            text-decoration: underline;
        }

        /* SVG 箭头图标样式 */
        .arrow-icon {
            margin-left: 8px; /* Tailwind 的 ml-2 (approx) */
            width: 14px; /* Tailwind 的 text-sm (approx) */
            height: 14px;
            transition: transform 0.2s ease-in-out;
        }

        .details-link:hover .arrow-icon {
            transform: translateX(3px); /* 悬停时箭头右移 */
        }

 
/* 以上是“产品展示”板块中各图片特效的样式CSS代码 -O */




/* 第六个CSS样式代码 */

/* 以下是定义“查看更多产品”伪按钮样式CSS代码 -A */

    
        /* 定义主要颜色变量 */
        :root {
            --primary-color: #0F3460; /* Tailwind's default blue-500 */
            --primary-hover-bg: rgba(59, 130, 246, 0.1); /* hover:bg-primary/10 */
        }

        .mt-12 {
            margin-top: 2rem;
        }

        .text-center {
            text-align: center;
        }

        .btn-fancy {
            /* 布局 */
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 3rem;

            /* 外观 */
            background-color: #ffffff;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
            border-radius: 0.5rem;
            font-weight: 500;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

            /* 交互 */
            text-decoration: none;
            cursor: pointer;
            overflow: hidden; /* 隐藏溢出的伪元素 */
            transition: color 0.25s ease-out;
        }

         /* 创建一个用于动画的滑入背景层 */
        .btn-fancy::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0%; /* 初始宽度为0 */
            height: 100%;
            background-color: var(--primary-hover-bg);
            transition: width 0.3s ease-in-out;
            z-index: 0; /* 放在文字下方 */
        }

        .btn-fancy:hover::before {
            width: 100%; /* 悬停时宽度变为100% */
        }

        /* 让文字和图标在z轴上层 */
        .btn-fancy span, .btn-fancy i {
            position: relative;
            z-index: 1;
            transition: transform 0.25s ease-out;
        }

        .btn-fancy:hover span {
            transform: translateX(-5px); /* 悬停时文字向左微移 */
        }

        .btn-fancy:hover i {
            transform: translateX(5px); /* 悬停时图标向右微移 */
        }

        .ml-2 {
            margin-left: 0.5rem;
        }
        
        
        
/* hover 交互：上浮 + 阴影 + 边框脉冲动画 */
.btn-fancy:hover {
    transform: translateY(-3px); /* 轻微上浮 */
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3); /* 扩散阴影 */
}

.btn-fancy:hover::before {
    border-color: #6a11cb;
    animation: borderPulse 1.5s infinite; /* 触发脉冲动画 */
}

/* 边框脉冲动画 */
@keyframes borderPulse {
    0% {
        border-width: 2px;
        opacity: 1;
    }
    50% {
        border-width: 3px;
        opacity: 0.7;
    }
    100% {
        border-width: 2px;
        opacity: 1;
    }
}        
        
/* 以上是定义“查看更多产品”伪按钮样式CSS代码 -O */



/* 第七个CSS样式代码 */

/*  以下是定义“查看更多产品”伪按钮右侧的“双向右箭头》”样式CSS代码 -A */

    
.Double-RightArrowt::before,
.Double-RightArrowt::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px; /*Goo:这两个是调整两个向右箭头的大小*/
    height: 6px;
    border-right: 2px solid #0F3460;
    border-bottom: 2px solid #0F3460;
    transform: translateY(-50%) rotate(-45deg);
    
    margin-left:5px;
}

.Double-RightArrowt::before {
    left: 0;
}

.Double-RightArrowt::after {
    left: 8px;   /*Goo:这个是调整两个向右箭头的间距*/
}

/* 以上是定义“查看更多产品”伪按钮右侧的“双向右箭头》”样式CSS代码 -O */




/* 第八个CSS样式代码 */

/* 以下是定义“关于我们”后“详细了解……”超链接样式的CSS代码 -A */

.cool-link-underline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: #0F3460;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

/* 下划线伪元素 */
.cool-link-underline::after {
    content: '';
    position: absolute;
    bottom: -0px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b); /* 渐变下划线 */
    transition: width 0.3s ease;
}

/* hover 交互：文字变色 + 下划线展开 */
.cool-link-underline:hover {
   /* color: #ff416c;*/
    color: #FF8C00;
}

.cool-link-underline:hover::after {
    width: 100%; /* 下划线展开 */
}


/* 以上是定义“关于我们”后“详细了解……”超链接样式的CSS代码 -O */





/* 以下是为搜索图片“search-icon.png”超链接特效样式的CSS代码 -A */
    
.search-button {
    display: inline-block;
}

.search-icon {
    width: 30px; /* 根据需要调整 */
    height: 30px; /* 根据需要调整 */
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-icon:hover {
    filter: grayscale(0%) brightness(1) drop-shadow(0 0 5px #3471ff);
    transform: scale(1.25); /* 鼠标放上去后图片变大的调整代码 */
}

/* 以上是为搜索图片“search-icon.png”超链接特效样式的CSS代码 -A */