/* 注塑模具页面专用样式 */

/* 产品详情部分 */
.product-section,
.product-section .container {
    padding: 20px 0;
    background: transparent !important; /* 露出全站背景 */
}

.product-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 10px;
}

.product-image {
    height: clamp(800px, 80vh, 1200px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

.product-features {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-500);
}

.product-features h3 {
    color: var(--primary-500);
    margin-bottom: 25px;
    font-size: 1.5em;
    font-weight: 600;
}

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

.product-features li {
    padding: 12px 0;
    position: relative;
    padding-left: 30px;
    font-size: 1.1em;
    line-height: 1.6;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
    font-size: 1.2em;
}

/* 技术规格部分 */
.specifications-section,
.specifications-section .container {
    padding: 20px 0;
    background: transparent !important; /* 露出全站背景，卡片仍为白色 */
}

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

.spec-item {
    background: var(--bg-50);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-200);
}

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

.spec-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.spec-icon i {
    font-size: 2em;
    color: white;
}

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

.spec-item p {
    color: var(--text-600);
    font-size: 1.1em;
    font-weight: 500;
}

/* 应用领域部分 */
.applications-section,
.applications-section .container {
    padding: 80px 0;
    background: transparent !important;
}

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

.app-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-500);
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.app-icon i {
    font-size: 1.8em;
    color: white;
}

.app-item h4 {
    color: var(--primary-500);
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.app-item p {
    color: var(--text-600);
    line-height: 1.6;
    font-size: 1.1em;
}

/* 制造流程部分 */
.process-section,
.process-section .container {
    padding: 80px 0;
    background: transparent !important; /* 使用全站背景 */
}

/* 制造流程 2*2 网格布局 */
.process-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.process-steps-grid .step {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-steps-grid .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.process-steps-grid .step:nth-child(1) {
    border-left: 4px solid #3498db;
}

.process-steps-grid .step:nth-child(2) {
    border-left: 4px solid #e74c3c;
}

.process-steps-grid .step:nth-child(3) {
    border-left: 4px solid #f39c12;
}

.process-steps-grid .step:nth-child(4) {
    border-left: 4px solid #27ae60;
}

.process-steps-grid .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0 auto 15px auto;
}

.process-steps-grid .step:nth-child(1) .step-number {
    background: #3498db;
}

.process-steps-grid .step:nth-child(2) .step-number {
    background: #e74c3c;
}

.process-steps-grid .step:nth-child(3) .step-number {
    background: #f39c12;
}

.process-steps-grid .step:nth-child(4) .step-number {
    background: #27ae60;
}

.process-steps-grid .step-content h4 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-steps-grid .step-content p {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 联系咨询部分 */
.contact-section {
    padding: 80px 0;
    background: var(--primary-500);
    color: white;
}

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

.contact-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.contact-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-primary {
    background: white;
    color: var(--primary-500);
}

.btn-primary:hover {
    background: var(--bg-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* 响应式设计 */
@media (min-width: 1200px) {
    .product-content { grid-template-columns: 1.8fr 1fr; }
    .product-image { height: clamp(900px, 85vh, 1400px); }
    .product-image img { height: 100% !important; }
}

@media (max-width: 768px) {
    .product-image { height: clamp(420px, 60vh, 700px); }
    .product-image img { height: 100% !important; }
    .product-content { grid-template-columns: 1fr; gap: 40px; }

    .specifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
        padding: 15px;
    }

    .process-steps-grid .step {
        min-height: 150px;
        padding: 25px 15px;
    }

    .process-steps-grid .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .process-steps-grid .step-content h4 {
        font-size: 16px;
    }

    .process-steps-grid .step-content p {
        font-size: 13px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-content h2 {
        font-size: 2em;
    }

    .spec-item,
    .app-item,
    .step {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .product-section,
    .specifications-section,
    .applications-section,
    .process-section,
    .contact-section {
        padding: 60px 0;
    }

    .contact-content h2 {
        font-size: 1.8em;
    }

    .contact-content p {
        font-size: 1.1em;
    }
}
