/* ====== 新闻详情页面样式 ====== */

/* 容器样式 */
.news-detail-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* 标题区域样式 */
.news-detail-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-detail-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* 元信息样式 */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.meta-left {
    color: #999;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.news-views {
    padding: 0 20px;
}

/* 新闻内容样式 */
.news-detail-content {
    margin: 40px 0;
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

.news-detail-content p {
    margin-bottom: 10px;
    text-align: justify;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 30px 0;
    text-align: center;
}

/* 上一篇下一篇导航 */
.news-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-item {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-label {
    color: #999;
    font-size: 16px;
    white-space: nowrap;
}

.nav-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.nav-item a:hover {
    color: #2f66bd;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .news-detail-container {
        padding: 30px 15px;
    }

    .news-detail-header h1 {
        font-size: 24px;
    }

    .news-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .meta-left {
        flex-wrap: wrap;
        gap: 15px;
    }

    .news-detail-content {
        font-size: 16px;
    }
}

/* 动画效果 */
.news-detail-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== 新闻详情页面样式End ====== */

/* ===案例详情页面样式 ===*/
.case-detail-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 20px;
}

.case-title {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

/* 轮播图样式 */
.case-detail-page .case-swiper {
    position: relative;
    margin-bottom: 40px;
}

/* 主轮播图样式 */
.case-detail-page .gallery-top {
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
}

.case-detail-page .gallery-top .swiper-slide {
    background-size: cover;
    background-position: center;
}

.case-detail-page .gallery-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 缩略图导航样式 */
.case-detail-page .gallery-thumbs {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    padding: 10px 0;
}

.case-detail-page .gallery-thumbs .swiper-slide {
    width: 120px;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-detail-page .gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-detail-page .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

/* 导航按钮样式 */
.case-detail-page .swiper-button-next,
.case-detail-page .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-detail-page .swiper-button-next:after,
.case-detail-page .swiper-button-prev:after {
    font-size: 20px;
    color: #333;
}

.case-detail-page .swiper-button-prev {
    left: 15px;
}

.case-detail-page .swiper-button-next {
    right: 15px;
}

.case-detail-page .swiper-button-next:hover,
.case-detail-page .swiper-button-prev:hover {
    background: #f8f8f8;
    transform: scale(1.1);
}

/* 分页器样式 */
.case-detail-page .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-5%);
    display: flex;
}

.case-detail-page .swiper-pagination-bullet {
    width: 20px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    margin: 0;
    margin-right: 10px !important;
}

.case-detail-page .swiper-pagination-bullet-active {
    width: 40px;
    background: #fff;
    transform: scale(1.2);
}

/* 描述文字样式 */
.case-detail-page .swiper-description {
    text-align: center;
    margin: 30px 0;
    padding: 0 20px;
}

.case-detail-page .swiper-description p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

/* 返回列表按钮 */
.back-to-list {
    text-align: center;
    margin: 60px 0;
}

.back-to-list a {
    display: inline-block;
    padding: 12px 40px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.back-to-list a:hover {
    background: #23489D;
    border-color: #ccc;
    color: #fff;
}

.case-nav-prev,
.case-nav-next {
    display: flex;
    align-items: center;
}

.case-nav-prev a,
.case-nav-next a {
    margin-right: 10px;
}

/* 底部导航 */
.case-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.case-nav a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.case-nav a:hover {
    color: #333;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .case-detail-page .gallery-top {
        height: 400px;
    }

    .case-detail-page .swiper-button-next,
    .case-detail-page .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .case-detail-page .swiper-button-next:after,
    .case-detail-page .swiper-button-prev:after {
        font-size: 16px;
    }

    .case-detail-page .swiper-description p {
        font-size: 16px;
    }

    .case-detail-page .back-to-list a {
        padding: 10px 30px;
        font-size: 16px;
    }
}

/* 产品详情页面样式 */
.produce-detail {
    background: #fff;
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 20px;
}

.produce-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    gap: 80px;
}

/* 左侧轮播图样式 */
.produce-gallery {
    width: 800px;
    flex-shrink: 0;
    position: relative;
}

/* 主轮播图 */
.gallery-main {
    width: 100%;
    margin-bottom: 20px;
    background: #fff;
}

.gallery-main .swiper-slide {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    opacity: 0;
    transition: all 0.5s ease;
}

.gallery-main .swiper-slide-active {
    opacity: 1;
}

.gallery-main .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-main .swiper-slide:hover img {
    transform: scale(1.05);
}

/* 缩略图轮播 */
.gallery-thumbs {
    width: 100%;
    height: 120px;
    position: relative;
    padding: 0 40px;
}

.gallery-thumbs .swiper-slide {
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #0066cc;
}

/* 导航按钮样式 */
.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev,
.gallery-thumbs .swiper-button-next,
.gallery-thumbs .swiper-button-prev {
    color: #666;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s;
}

.gallery-thumbs .swiper-button-next {
    margin-right: 10px;
}

.gallery-thumbs .swiper-button-next,
.gallery-thumbs .swiper-button-prev {
    width: 30px;
    height: 30px;
}


.gallery-thumbs .swiper-button-prev::after,
.gallery-thumbs .swiper-button-next::after {
    color: #000;
}

.gallery-thumbs .swiper-button-prev:hover,
.gallery-thumbs .swiper-button-next:hover {
    background-color: #fff;
}

.swiper-free-mode>.swiper-wrapper {
    margin-left: 18px;
}

.gallery-thumbs .swiper-button-next:after,
.gallery-thumbs .swiper-button-prev:after {
    font-size: 16px;
}

.gallery-main .swiper-button-next:hover,
.gallery-main .swiper-button-prev:hover,
.gallery-thumbs .swiper-button-next:hover,
.gallery-thumbs .swiper-button-prev:hover {
    background-color: #0066cc;
    color: #fff;
}

.gallery-main .swiper-button-next:after,
.gallery-main .swiper-button-prev:after {
    font-size: 20px;
}

/* 右侧产品信息 */
.produce-info {
    flex: 1;
    padding-top: 20px;
}

.produce-info-wrapper {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.produce-info-wrapper[style*="display: block"] {
    opacity: 1;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.produce-title {
    font-size: 32px;
    color: #333;
    margin: 0 0 40px 0;
    font-weight: normal;
    position: relative;
    padding-bottom: 20px;
}

.produce-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #0066cc;
}

.produce-desc {
    color: #666;
    line-height: 2;
}

.produce-desc h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 25px 0;
    font-weight: normal;
    position: relative;
    padding-left: 15px;
}

.produce-desc h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #0066cc;
}

.produce-desc p {
    margin: 0 0 20px 0;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
}

.produce-desc p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #0066cc;
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .produce-container {
        flex-direction: column;
    }

    .produce-gallery {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .gallery-main .swiper-slide {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .gallery-main .swiper-slide {
        height: 280px;
    }

    .gallery-thumbs {
        height: 80px;
    }
}

/* 性能参数 */
.performance-params {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 2025-3-03 修改样式 */
.performance-params img {
    width: 100%;
    height: auto;
}

.performance-params h2 {
    font-size: 28px;
    color: #333;
    font-weight: normal;
    margin-bottom: 40px;
    position: relative;
    padding-left: 15px;
}

.performance-params h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #0066cc;
}

.performance-params table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.performance-params table td {
    padding: 20px;
    border: 1px solid #eee;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.performance-params table tr td:nth-child(odd) {
    background-color: #fafafa;
    width: 20%;
    color: #333;
    font-weight: 500;
}

.performance-params table tr td:nth-child(even) {
    width: 30%;
    background-color: #fff;
}

/* 职位详情页样式 */
.job-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.job-basic-info h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.job-meta {
    color: #666;
    font-size: 16px;
}

.job-line {
    margin: 0 10px;
    color: #ddd;
}

.share-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    border: 1px solid #eee;
    padding: 6px 12px;
    border-radius: 4px;
}

.share-btn img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.job-section {
    margin-bottom: 50px;
}

.job-section h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-content {
    color: #666;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 10px;
}

.job-apply {
    text-align: center;
    margin: 40px 0;
}

.apply-btn {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.company-info {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
}

.company-logo {
    flex-shrink: 0;
    margin-right: 20px;
}

.company-logo img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
}

.company-detail h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.company-detail p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.share-popup.active {
    display: flex;
}

.share-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.share-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

.share-content p {
    color: #333;
    font-size: 16px;
}

.apply-notice {

    color: #666;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 1000;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media screen and (max-width: 768px) {
    .job-detail-header {
        flex-direction: column;
        gap: 15px;
    }

    .apply-btn {
        width: 100%;
    }
}

/* 联系我们页面样式 */

.contact-title {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title h2 {
    font-size: 32px;
    color: #333;
    position: relative;
    display: inline-block;
}

.contact-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1890ff;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.contact-item .label {
    min-width: 60px;
    color: #666;
    font-weight: 500;
}

.contact-item .value {
    color: #333;
    flex: 1;
}



/* 关于页面样式 */
.about-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 0 80px 0px;
}

/* 公司简介样式 */
.company-intro {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.intro-text {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    display: flex;
}

.intro-text img {
    width: 50%;
    margin-right: 2%;
    height: 500px;
    border-radius: 8px;

}

.intro-content-list {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 16;
    /* height: 500px; */
    text-overflow: ellipsis;
}

.intro-text p {
    /* height: 490px; */
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2rem;
    font-size: 16px;


}

/* 联系我们样式 */
.contact-section {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

/* 联系列表动画 */
.contact-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-item:nth-child(1) {
    animation-delay: 0.4s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.6s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.8s;
}

.contact-item:nth-child(4) {
    animation-delay: 1s;
}

/* 定义动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-intro h2,
.contact-section h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: normal;
}

.contact-info p {
    margin-bottom: 10px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info span {
    display: inline-block;
    width: 60px;
    color: #666;
}

.apply-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.apply-popup.active {
    display: flex;
}

.apply-content {
    background: #fff;
    width: 500px;
    border-radius: 8px;
    padding: 20px;
}

.apply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.close-popup {
    cursor: pointer;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.upload-area {
    border: 1px dashed #ddd;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    position: relative;
}

.upload-btn {
    background: #1890ff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="file"] {
    display: none;
}

.file-name {
    margin-left: 10px;
    color: #666;
}

.upload-success {
    display: none;
    align-items: center;
    color: #52c41a;
    margin-top: 10px;
}

.success-icon {
    margin-right: 5px;
}

.submit-btn {
    width: 100%;
    background: #1890ff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #40a9ff;
}

/* 上传成功提示框样式 */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 30px;
    border-radius: 4px;
    z-index: 2000;
    display: none;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}