/* 汽车流水线解决方案 - 主样式文件 */

/* 全局样式 */

/* 主色调 - 红色系 */
:root {
    --primary-red: #dc2626;
    --secondary-red: #ef4444;
    --light-red: #fef2f2;
    --dark-red: #991b1b;
    --accent-red: #b91c1c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


/* Banner样式 */
.banner {
    background: linear-gradient(rgba(220, 38, 38, 0.8), rgba(153, 27, 27, 0.8)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(220, 38, 38, 0.3);
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* 核心技术模块 */
.core-tech {
    background: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 核心技术模块 */
.core-technology {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.tech-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tech-content {
    padding: 25px;
}

.tech-content h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.tech-content li {
    padding: 8px 0;
    color: #555;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.tech-content li:before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

.tech-details {
    margin-top: 50px;
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.detail-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.detail-item h4 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.detail-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 核心优势模块 */
.core-advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2em;
    color: white;
}

.advantage-item h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}



/* 应用领域样式 */
.application-areas {
    padding: 80px 0;
    background: #f8f9fa;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.application-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.application-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.application-content {
    padding: 25px;
}

.application-content h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.application-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 客户评价高亮特效 */
.highlight-quote {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    position: relative;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.8;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 3em;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}

.highlight-quote::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    border-radius: 15px;
    animation: shine 3s ease-in-out infinite;
}



@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 应用领域样式 - 与核心技术模块保持一致 */
.application-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.application-features li {
    color: #555;
    margin-bottom: 12px;
    padding-left: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.red-check {
    color: #e74c3c;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .application-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 生产线实景 */
.production-showcase {
    background: var(--white);
}

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

.video-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-poster {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-poster:hover {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--dark-red);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 客户案例 */
.customer-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-red);
}

.case-card h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* 底部样式 */
.footer {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .tech-card,
    .product-info,
    .advantage-item,
    .area-card {
        padding: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background: var(--primary-red);
    color: var(--white);
}

/* 焦点样式 */
:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* 视频弹窗样式 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 900px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-close:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 视频缩略图样式 */
.video-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

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

.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail .play-button:hover {
    background: var(--primary-red);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .video-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

/* 视频右侧文字优化样式 */
.video-right {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #fee2e2;
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.video-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transform: rotate(45deg);
    pointer-events: none;
}

.video-right .main-features h3 {
    font-size: 28px;
    color: #dc2626;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.video-right .main-features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    border-radius: 2px;
}

.video-right .video-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.video-right .video-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.video-right .video-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
}

.video-right .video-features li:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* 视频容器整体优化 */
.video-main-container {
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    min-height: 600px;
    align-items: center;
}

.video-left .video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.video-left .video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-main-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 20px;
    }
    
    .video-right {
        padding: 20px;
    }
    
    .video-right .main-features h3 {
        font-size: 20px;
    }
    
    .video-right .video-features li {
        font-size: 15px;
        padding: 10px 0;
        padding-left: 25px;
    }
}

/* 客户评价高亮特效 */
.highlight-quote {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 2rem 3rem;
    border-radius: 15px;
    position: relative;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    margin: 2rem 0;
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}

.highlight-quote::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}



.customer-testimonial {
    text-align: center;
    margin: 3rem 0;
}

.quote-author {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}
