﻿/* 
    顺飞纺织官网主样式文件
    小龙虾助手开发
    Version: 1.0
*/

/* ===== 基础设置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #1B365D;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #D4AF37;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #D4AF37;
    color: #fff;
    border: 2px solid #D4AF37;
}

.btn-primary:hover {
    background-color: #c4941a;
    border-color: #c4941a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: #1B365D;
    color: #fff;
    border: 2px solid #1B365D;
}

.btn-secondary:hover {
    background-color: #152a47;
    border-color: #152a47;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

.btn-outline:hover {
    background-color: #D4AF37;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* ===== 顶部通知栏 ===== */
.top-notice {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
    color: #666;
}

/* ===== 头部导航 ===== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1B365D;
    font-family: 'Montserrat', sans-serif;
}

/* 主导航 */
.main-nav {
    flex: 1;
    margin: 0 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.nav-item {
    position: relative;
    margin: 0 8px;
}

.nav-link {
    color: #1B365D;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #D4AF37;
}

/* 语言切换 */
.language-switch {
    display: flex;
    align-items: center;
}

.lang-btn {
    padding: 8px 12px;
    color: #666;
    font-weight: 500;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    color: #D4AF37;
    font-weight: 600;
}

.lang-separator {
    color: #ccc;
    margin: 0 5px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #1B365D;
    cursor: pointer;
    padding: 5px;
}

/* 移动端导航 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-content {
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 0;
    color: #333;
    font-weight: 500;
}

.mobile-nav-list a:hover {
    color: #D4AF37;
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 20px;
    background-color: #f8f9fa;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

/* ===== 主要内容区域 ===== */
.main-content {
    min-height: calc(100vh - 400px);
}

/* ===== 轮播图 ===== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(27, 54, 93, 0.7), rgba(212, 175, 55, 0.3));
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-button {
    font-size: 18px;
    padding: 15px 30px;
}

/* 轮播控制 */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.slider-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* ===== 通用部分样式 ===== */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1B365D;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f8f9fa;
}

.mt-5 {
    margin-top: 3rem;
}

/* ===== 企业简介 ===== */
.company-intro .intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-media {
    flex: 1;
}

.company-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.stat-card {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #D4AF37;
    font-family: 'Montserrat', sans-serif;
}

.stat-unit {
    font-size: 24px;
    color: #D4AF37;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.intro-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 企业视频 */
.company-video {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-placeholder {
    background: linear-gradient(45deg, #1B365D, #D4AF37);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 10px;
}

.video-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
}

/* 企业图片 */
.company-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.company-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

/* ===== 产品展示 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #1B365D;
    margin-bottom: 10px;
}

.product-composition {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

.product-actions {
    margin-top: 15px;
}

/* ===== 产品分类 ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 40px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.category-name {
    font-size: 20px;
    font-weight: 600;
    color: #1B365D;
    margin-bottom: 15px;
}

.category-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== 合作伙伴 ===== */
.partners-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-item img {
    max-height: 80px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-name {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* ===== 资质证书 ===== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.certificate-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.certificate-image {
    height: 200px;
    overflow: hidden;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
}

.certificate-info {
    padding: 20px;
}

.certificate-name {
    font-size: 18px;
    font-weight: 600;
    color: #1B365D;
    margin-bottom: 10px;
}

.certificate-description {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.certificate-date {
    font-size: 12px;
    color: #888;
}

/* ===== 合作伙伴 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(27, 54, 93, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #1B365D;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-summary {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.read-more {
    color: #D4AF37;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1B365D;
}

/* ===== CTA区域 ===== */
.cta-section {
    background: linear-gradient(135deg, #1B365D 0%, #2c5282 100%);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    min-width: 160px;
}

.cta-actions .btn-outline {
    color: #fff;
    border-color: #fff;
}

.cta-actions .btn-outline:hover {
    background-color: #fff;
    color: #1B365D;
}

/* ===== 页脚 ===== */
.site-footer {
    background-color: #1B365D;
    color: #fff;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #D4AF37;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-stats .stat-item {
    text-align: center;
}

.footer-stats .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #D4AF37;
}

.footer-stats .stat-label {
    font-size: 12px;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #D4AF37;
    opacity: 1;
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-item i {
    margin-right: 10px;
    color: #D4AF37;
    width: 20px;
}

.social-links h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #D4AF37;
    opacity: 1;
    transform: translateY(-3px);
}

.social-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.social-icon span {
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    opacity: 0.7;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-links a {
    color: #fff;
    opacity: 0.7;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: #D4AF37;
}

.separator {
    opacity: 0.5;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .company-intro .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-item {
        margin: 0 4px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .header-content {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    /* 头部导航 */
    .main-nav {
        display: none;
    }
    
    .language-switch {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content {
        height: 70px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    /* 轮播图 */
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    /* 通用部分 */
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* 企业介绍 */
    .company-stats {
        justify-content: center;
    }
    
    .intro-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* 页脚 */
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-content {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .company-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* =============================================
   炫酷特效 - 滚动入场动画
   ============================================= */

/* 滚动入场基础 */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* 从下方滑入 */
.reveal-fade-up {
    transform: translateY(60px);
}

/* 从左侧滑入 */
.reveal-fade-left {
    transform: translateX(-60px);
}

/* 从右侧滑入 */
.reveal-fade-right {
    transform: translateX(60px);
}

/* 放大入场 */
.reveal-zoom-in {
    transform: scale(0.8);
}

/* 依次延迟入场 */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =============================================
   波浪分隔效果
   ============================================= */

.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .wave-fill {
    fill: #f8f9fa;
}

.wave-divider.gold .wave-fill {
    fill: #D4AF37;
}

.wave-divider.dark .wave-fill {
    fill: #1B365D;
}

/* =============================================
   回到顶部按钮增强
   ============================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #c4941a);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #c4941a, #b8860b);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* =============================================
   首页Hero区域增强
   ============================================= */

.hero-content {
    animation: heroFadeIn 1.5s ease-out;
}

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

.hero-slider .slide h2 {
    animation: heroTitleSlide 1s ease-out 0.3s both;
}

.hero-slider .slide p {
    animation: heroTitleSlide 1s ease-out 0.5s both;
}

.hero-slider .slide .hero-actions {
    animation: heroTitleSlide 1s ease-out 0.7s both;
}

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

/* =============================================
   产品卡片悬浮效果增强
   ============================================= */

.product-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(27, 54, 93, 0.15);
}

.product-card .product-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* =============================================
   统计数字脉冲动画
   ============================================= */

.stat-item.animated .stat-number {
    animation: numberPulse 0.5s ease-out;
}

@keyframes numberPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); color: #D4AF37; }
    100% { transform: scale(1); }
}

/* =============================================
   页面块级入场
   ============================================= */

.section-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   证书卡片悬浮
   ============================================= */

.certificate-card {
    transition: all 0.4s ease;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27, 54, 93, 0.2);
}

/* =============================================
   底部流光按钮
   ============================================= */

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    100% { left: 120%; }
}
/* 分页控件样式 */
.pagination-controls {
    text-align: center;
    margin: 30px 0;
}
.pagination-controls .page-btn {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination-controls .page-btn:hover {
    background: #f5f0e8;
    border-color: #D4AF37;
    color: #1B365D;
}
.pagination-controls .page-btn.current {
    background: #1B365D;
    color: #fff;
    border-color: #1B365D;
}

/* =============================================
   产品详情页布局
   ============================================= */

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* 图片区域 */
.product-images-section {
    position: sticky;
    top: 20px;
}

.main-image-container {
    margin-bottom: 15px;
}

.main-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}



.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-zoom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.image-zoom:hover {
    background: #D4AF37;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 70px;
    height: 70px;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #D4AF37;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* 信息区域 */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-basic-info .product-title {
    font-size: 1.3rem;
    color: #1B365D;
    margin-bottom: 8px;
}

.product-basic-info .product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.product-status {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-label {
    color: #888;
}

.status-value {
    color: #333;
    font-weight: 500;
}

.status-in-stock {
    color: #27ae60;
}

/* 参数表格 */
.product-parameters {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.parameters-title {
    font-size: 16px;
    color: #1B365D;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.parameters-title i {
    color: #D4AF37;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
}

.parameters-table tr {
    border-bottom: 1px solid #eee;
}

.parameters-table tr:last-child {
    border-bottom: none;
}

.parameters-table td {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: top;
}

.parameter-label {
    color: #888;
    width: 100px;
    white-space: nowrap;
}

.parameter-value {
    color: #333;
}

/* 商务信息 */
.product-pricing {
    background: linear-gradient(135deg, #1B365D, #2c5282);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
}

.pricing-title {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
}

.pricing-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.price-item {
    flex: 1;
    min-width: 100px;
}

.price-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.price-value {
    font-size: 16px;
    font-weight: 600;
}

.price-sample {
    color: #D4AF37;
}

/* 操作按钮 */
.product-info-section .product-actions {
    display: flex;
    gap: 12px;
}

.product-info-section .product-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
    text-align: center;
}

.action-tips {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
}

/* 分享 */
.product-share {
    text-align: center;
}

.share-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
}

.share-btn:hover {
    border-color: #D4AF37;
    color: #D4AF37;
}

/* 产品详情内容区 */
.product-detail-section {
    margin-top: 40px;
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.detail-heading {
    font-size: 18px;
    color: #1B365D;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #D4AF37;
    display: inline-block;
}

/* 详情标签页(保留兼容) */
.product-detail-tabs {
    margin-bottom: 40px;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    gap: 0;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 15px;
    color: #888;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #1B365D;
    border-bottom-color: #D4AF37;
    font-weight: 600;
}

.tab-btn:hover {
    color: #1B365D;
}

.tab-panel {
    display: none;
    padding: 20px 0;
}

.tab-panel.active {
    display: block;
}

.detail-content {
    line-height: 1.8;
    color: #444;
    font-size: 14px;
    max-width: 800px;
}

/* 相关产品 */
.related-products {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* 相关产品 */
.related-products {
    margin-top: 40px;
}

/* 面包屑 */
.product-detail-header {
    padding: 15px 0;
}

.breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #D4AF37;
}

.breadcrumb .separator {
    margin: 0 8px;
}

.product-detail-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-detail-title h1 {
    font-size: 1.8rem;
    color: #1B365D;
    margin: 0;
}

.category-tag {
    background: #1B365D;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-images-section {
        position: static;
    }
    
    .product-detail-title h1 {
        font-size: 1.4rem;
    }
    
    .pricing-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .tabs-nav {
        overflow-x: auto;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
}
/* 图片放大弹窗 */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}
.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
/* 双图布局 */
.dual-images {
    display: flex;
    gap: 12px;
    width: 100%;
}
.main-image-container {
    flex: 3;
    min-width: 0;
}
.secondary-image-container {
    flex: 2;
    min-width: 0;
}
.secondary-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.secondary-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}
.image-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(27,54,93,0.85);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 3px;
    z-index: 3;
    letter-spacing: 1px;
}
.image-badge.secondary {
    background: rgba(212,175,55,0.85);
}

/* 响应式：手机端上下排列 */
@media (max-width: 768px) {
    .dual-images {
        flex-direction: column;
    }
    .main-image-container, .secondary-image-container {
        flex: none;
        width: 100%;
    }
}
.case-cover-img { width:100%; height:100%; object-fit:cover; }
/* 保留文本框中的回车和空格 */
.parameter-value,
.product-description,
.detail-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}