:root {
    --primary-blue: #0056b3;
    --dark-bg: #1a1a1a;
    --accent-orange: #ff6600;
    --light-gray: #f8f9fa;
    --border-gray: #e0e0e0;
}

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

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}


/* 英文字体 */
.en-font {
    font-family: 'Arial', 'Helvetica', sans-serif;
    letter-spacing: 2px;
}

/* 英文小 */
.nav-link.lang-link {
    padding: 0.5rem 0.8rem !important;
}

/* Hero Banner */


.hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-content h2 {
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: 4px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 1rem auto;
    animation: scaleIn 0.6s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* 面包屑 */
.breadcrumb-wrapper {
    background:linear-gradient(to right, var(--light-gray) 50%, transparent 50%) ;
    background-size: 100%;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #ddd;

}
.breadcrumb-wrapper .container {
    background-color: var(--light-gray);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.breadcrumb-wrapper .flex-direction{flex-direction: unset;}
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-orange);
}
.breadcrumb-item{color: #666;}
.breadcrumb-item.active {
    color: #666;
}

/* 产品系列区 */
.product-series {
    padding: 5rem 0 2rem;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-orange);
    margin: 0 auto 2rem;
    transition: width 0.6s ease;
}

.section-title:hover .section-divider {
    width: 100px;
}

.section-description {
    text-align: center;
    color: #666;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1rem;
}
.sections-title h2 {
    color: #333;
    position: relative;
    display: inline-block;
}

.sections-title h2::after {
    content: '';
    position: absolute;
    left: 137px;
    bottom: 5px;
    width: 45px;
    height: 5px;
    background: #dc3545;
}

.sections-title p {
    font-size: 1.5rem;
    margin-top: 5px;
}

.cards {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.cards img {
    transition: transform 0.5s ease;
    object-fit: cover;
}

.cards:hover img {
    transform: scale(1.02);
}
/*新闻卡片*/
.news-section {
    background-color: #f8f9fa;
}

.news-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-bottom: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-image {
    overflow: hidden;
    border-radius: 6px;
    height: 200px;
}

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

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 0 20px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 0;
    line-height: 1.4;
}
.news-title a{
    text-decoration: none;
     color: #333;
}

.news-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
}

.news-more {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-more:hover {
    color: #c82333;
}
.pagination .page-link {
    color: #0066cc;
    border-color: #ddd;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    border-color: #0066cc;
}

.pagination .page-item.active .page-link {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #fff;
}
/*新闻详情页*/
.article-header {
    text-align: center;
    padding: 3rem 0 0;
}

.article-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
}

.article-content {
    margin: 0 auto;
    padding:0 1rem;
    line-height: 2;
    font-size: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-indent: 2em;
}

.article-image {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 4px;
}

.article-nav {
    margin: 0 auto 3rem;
    padding: 2rem 1rem;
    display: flex;
    justify-content: space-between;
}

.article-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}
.article-nav div{
    position: relative;
    padding: 0 3rem;
}
.article-nav i.prev{
    position: absolute;
    top: 3%;
    left: 0;
    font-size: 2rem;
}
.article-nav i.next{
    position: absolute;
    top: 3%;
    right: 0;
    font-size: 2rem;
}
.article-nav a:hover {
    color: var(--primary-blue);
}
/* 产品卡片 */
.products-card {
    margin-bottom: 3rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    position: relative;
}

.products-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    /*transform: translateY(-8px);*/
    border-color: var(--primary-blue);
}

.products-card:hover .products-card-body{
    background-color: var(--primary-blue);
}
.products-card:hover .products-card-body h5{
    color: #fff;
}

.products-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.products-card:hover img {
    transform: scale(1.02);
}
.products-card-body a{
    text-decoration: none;
}
.products-card-body {
    padding: 1.2rem;
    text-align: center;
    background-color: white;
    transition: all 0.3s ease;
}

.products-card-title {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.products-card:hover .products-card-title {
    color: var(--primary-blue);
}

/* 合作共赢区 */
.cooperation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
}

.cooperation-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.cooperation-image:hover {
    transform: scale(1.02);
}

/* 页脚 */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 1rem;
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer ul li a::before {
    content: '>';
    margin-right: 0.5rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer ul li a:hover::before {
    opacity: 1;
}
/* Product Introduction */
.product-list-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    position: relative;
}

.title-underline {
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6600;
    margin-top: 0.5rem;
}

.product-list-subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-list-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.btn-contact {
    background: #ff6600;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background: #e65500;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Product Series */
.product-list-series {
    background-color: #f8f9fa;
}

.product-list-series h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
}

.section-underline {
    display: block;
    width: 80px;
    height: 3px;
    background: #ff6600;
    margin: 1rem auto 0;
}

.product-list-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-list-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-list-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-list-card .card-body {
    padding: 1.5rem;
}

.product-list-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 页脚表单 */
.footer-form .form-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: white;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-form .form-control:focus {
    background-color: #333;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
    color: white;
}

.footer-form .form-control::placeholder {
    color: #666;
}

.footer-form .btn-submit {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8533 100%);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.footer-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.footer-form .btn-submit:active {
    transform: translateY(0);
}

/* 页脚底部 */
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .product-series {
        padding: 3rem 0;
    }

    .cooperation-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-contact-item {
        margin-bottom: 1.5rem;
    }

    .footer-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.5rem !important;
        font-size: 0.9rem;
    }

    .section-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .footer h5 {
        font-size: 1rem;
    }

    .footer-contact-value {
        font-size: 0.95rem;
    }
}
