

/* 头图样式 */
.aboutus .container {
    padding: 0 0;
    max-width: 1920px;
    /*padding: 0px 0px;*/
}
.aboutus .container img {
    /*width:100%;*/
    height: 500px;
    object-fit: cover;
}




/* 公司介绍 */
.introduce{
   padding: 80px 0;
}

.introduce .container {
    /* display: flex; */
    align-items: center;
    max-width: 1400px;
    padding: 6px 0px;
}

.introduce h2{
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 70px;
}

.introduce p{
    color: #868686;
    font-size: 20px;
    font-weight: 400;
    text-align:justify;
    margin-top: 15px;
}

.introduce span{
    color: #868686;
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 1290px)  {

    .introduce .container{
        padding: 0 35px;
    }
    .introduce .container h2{
        margin-bottom: 30px;
    }
    .introduce .container p{
        font-size: 11px;
    }
    .introduce .container span{
        font-size: 11px;
    }
}

/* 荣誉资质 */
.honour{
   padding: 80px 0;
   background-color: #f8f9fa;
}

.honour .container {
    /* display: flex; */
    align-items: center;
    max-width: 1400px;
    padding: 6px 0px;
}

.honour h2{
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 70px;
}

.honour-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.honour-grid .honour-grid-item{
    border: 1px solid #c0bfbf;
    box-shadow: 10px 10px 5px -4px rgba(44, 41, 41, 0.8);
}

.honour-grid-item:hover img{
     transform: scale(1.1);
}


@media (max-width: 1290px)  {
    .honour-grid{
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 0px;
        padding: 0 20px;
    }
}


/* 介绍视频 */
.gy-introduce {
    padding: 80px 0;
}

.gy-introduce .container {
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1300px;
    /* padding: 6px 0px; */
}

.gy-introduce h2{
   
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 60px;
}

.introvideo {
    width: 100%;
    height: auto;
}



/* 公司历史 */
.gy-history {
    padding: 110px 0;
    background-color: #f8f9fa;
}

.gy-history .container {
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1000px;
}

.gy-history h2{
   
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 60px;
}

/* 鱼骨图容器 */
#timeline-container {
    position: relative;
    overflow: hidden;
}

/* 导航按钮 */
.nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 20;
    outline: none;
}

.nav-btn:hover {
    background-color: #2d62b8;
}

.nav-btn:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #3b82f6;
}

#prev-btn {
    left: 10px;
    /* transform: translateY(-50%) translateX(-50%); */
}

#next-btn {
    right: 10px;
    transform: translateY(-50%) translateX(50%);
}

@media (min-width: 768px) {
    #prev-btn, #next-btn {
        transform: translateY(-50%);
    }
}

.nav-btn .fa-chevron-left {
    /* padding: 3px 4px 0 0; */
    font-size: 1.5rem;
}

.nav-btn .fa-chevron-right {
    /* padding: 3px 0 0 4px; */
    font-size: 1.5rem;
}

/* 时间线容器 */
.timeline-scroll-container {
    position: relative;
    height: 27rem;
    overflow: hidden;
}

/* 主时间线 */
.timeline-line {
    height: 1px;
    background-color: #e5e7eb;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3rem;
    right: 3rem;
}

@media (min-width: 768px) {
    .timeline-line {
        left: 6rem;
        right: 6rem;
    }
}

/* 时间节点容器 */
#timeline-wrapper {
    display: flex;
    transition: transform 0.5s ease-out;
    height: 100%;
}

.timeline-page {
    min-width: 100%;
    position: relative;
    height: 100%;
}

/* 时间节点 */
.timeline-node {
    position: absolute;
    top: 47%;
    
}

.timeline-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #D8060F;
    border: 4px solid white;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
    z-index: 10;
    position: relative;
}

.timeline-year {
    /* padding-right: 100px; */
    /* margin-top: 0.5rem; */
    margin-left: -0.5rem;
    font-weight: 600;
}

/* 历史事件卡片 */
.gy-history .history-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: all 0.3s ease;
    width: 12rem;
}

@media (min-width: 768px) {
    .history-card {
        width: 16rem;
    }
}

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

.history-title {
    color: #3b82f6;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.history-description {
    font-size: 0.875rem;
    color: #6b7280;
}

/* 卡片动画类 */
.card-up {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s ease;
    position: absolute;
    bottom: 4.5rem;
}

.card-down {
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
    position: absolute;
    top: 3rem;
}

.card-visible {
    transform: translateY(0);
    opacity: 1;
}

/* 节点位置 */
.node-1 { left: 20%; }
.node-2 { left: 40%; }
.node-3 { left: 60%; }
.node-4 { left: 80%; }

/* 历史卡片位置 */
.gy-history .align-left { left: -84px;}
.gy-history .align-right { right: -77px; margin-top: 15px;}

/* 分页指示器 */
.page-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.page-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #e5e7eb;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-indicator.active {
    background-color: #3b82f6;
}


@media (max-width: 1290px)  {
    .gy-history {
        display: none;
    }
}


/* 团队介绍 */
.gy-team {
    padding: 110px 0; 
}
.gy-team .container { 
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1300px;
}
.gy-team h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}
.gy-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 70px;
    margin-top: 90px;
    
}
.gy-team-card .team-name {
    color: #333333;
    font-size: 20px; 
    font-weight: 600;
    margin-top: 20px;
}
.gy-team-card .team-title {
    color: #333333;
    font-size: 20px; 
}
.gy-team-card .team-degrees {
    color: #333333;
    font-size: 20px; 
}
.gy-team-card .team-desc {
    color: #666666;
    font-size: 18px; 
    margin-top: 10px;
    text-align: justify;
}

@media (max-width: 1290px)  {
    .gy-team .container {
        padding: 0 35px;
    }
    .gy-team-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
    .gy-team .team-info h3,
    .gy-team .team-info p {
        font-size: 14px;
    }
}


/* 热销产品 */
.gy-products {
    padding: 110px 0;
    background-color: #f8f9fa;
    
}

.gy-products .container {
    /* display: flex; */
    max-width: 1000px;
    /* align-items: center; */
    padding: 6px 0px;
}

.gy-products h2{
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}

.gy-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 70px;
    margin-top: 90px;
}

.gy-product-card {
    background-color: #fff;
    border: 1px solid rgba(221, 221, 221, 0);
    /* padding: 0px; */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    
}

.gy-product-card:hover {
    transform: translateY(-10px);
}

.gy-product-card img {
    width: 100%;
    /* height: 0; */
    padding: 20px; 
    padding-bottom: 0%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gy-product-card:hover img {
    transform: scale(1.1);
}

.gy-product-card h3 {
    background-color: #F3F3F3;
    font-size: 36px;
    padding: 70px 20px;
    /* margin: 20px ; */
    text-align: center;
    color: #191919;
}

.gy-product-grid .product-image {
    overflow: hidden;
    border-radius: 5px;
    margin: -20px -20px 20px -20px;
}

@media (max-width: 1290px) {

    .gy-products .gy-product-grid {
        display: grid;
        place-self: center;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 20px;

        margin: 40px 40px;
        /*margin: 40px 90px;*/
    }
    .gy-product-grid .gy-product-card {
        width: 90px;
    }
    .gy-product-card h3 {
        font-size: 10px;
        padding: 30px 10px;
    }
}

@media (max-width: 1290px)  {
    .container h2{
        font-size: 32px;
    }
}

html:lang(en) .timeline-scroll-container {
    height: 33rem;
}