/* 3D Printing Service Page Styles */

/* CSS Variables - Matching Main Page */
:root {
    --ink: #1a1a2e;           /* 深蓝色墨水：标题/粗体 */
    --ink-2: #16213e;         /* 次级深蓝色文字 */
    --cream: #f8f6f0;         /* 淡黄色纸张背景 */
    --lavender: #0f3460;      /* 深蓝色主色调 */
    --lavender-2: #16213e;    /* 悬停/高亮深蓝色 */
    --line: rgba(26,26,46,0.15); /* 深蓝色分割线/边框 */
    --shadow: 0 8px 28px rgba(26,26,46,0.15);
}

/* Main Layout */
.printing-service-main {
    background: var(--cream);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    padding: 30px 0 10px;
    text-align: center;
    background: transparent;
    color: var(--ink);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--ink);
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 600px;
    margin: 0 auto 0 auto;
    text-shadow: none;
}

/* Services Container - Now inside hero section */
.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 0 24px;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 0 auto;
}



/* Service Cards */
.service-card {
    background: var(--cream);
    border-radius: 24px;
    overflow: visible;
    border: 1px solid var(--line);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    height: auto;
    width: 400px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(30px);
}

/* Override global gradient effect */
.service-card::after {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--lavender);
}

/* Card Visual Area (70% height) */
.card-visual {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.card-pattern {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* SLA Pattern - Background Image */
.sla-pattern {
    background: url('../images/IMG20250816180236.jpg') center/cover no-repeat;
}

/* FDM Pattern - Background Image */
.fdm-pattern {
    background: url('../images/IMG20250820173817.jpg') center/cover no-repeat;
}



.service-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: white;
    z-index: 2;
}

/* Card Content Area (30% height) */
.card-content {
    padding: 40px;
    background: var(--cream);
    border-top: none;
    height: auto;
}

.service-subtitle {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: rgba(127, 120, 200, 0.1);
    color: var(--lavender);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(127, 120, 200, 0.2);
}

/* Price Info */
.price-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.starting-price {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
}

.price {
    color: var(--lavender);
    font-size: 1.8rem;
    font-weight: 700;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0 15px;
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 0 4vw;
        text-align: center;
        max-width: 60%;
        width: 60%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .services-container {
        flex-direction: column;
        gap: 24px;
        padding: 0 4vw;
        box-sizing: border-box;
        margin-top: 10px;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        box-sizing: border-box;
    }
    
    .card-visual {
        height: 200px;
    }
    
    .service-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .feature-tags {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 0 10px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .services-container {
        margin-top: 5px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .feature-tags {
        gap: 6px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .price {
        font-size: 1.5rem;
    }
}
