/* Service Detail Pages Styles */

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/service-bg.jpg') center/cover;
    opacity: 0.2;
    z-index: -1;
}

.service-hero-content {
    text-align: center;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: #f39c12;
    font-weight: 500;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.service-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Details */
.service-details {
    background: white;
}

.service-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.service-overview-content h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.service-overview-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.service-features h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    color: #555;
    position: relative;
    padding-left: 35px;
}

.service-features li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: #27ae60;
    font-size: 1.2rem;
}

.service-overview-image {
    position: relative;
}

.service-overview-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Technical Specifications */
.technical-specs {
    background: #f8f9fa;
}

.technical-specs h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

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

.spec-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.spec-item h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.spec-item ul {
    list-style: none;
}

.spec-item li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

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

/* Process Section */
.process-section {
    background: white;
}

.process-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background: #f8f9fa;
}

.gallery-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    font-weight: 500;
}

/* Video Section */
.video-section {
    background: white;
}

.video-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Applications Section */
.applications-section {
    background: #f8f9fa;
}

.applications-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

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

.application-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.application-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.application-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.application-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

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

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

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: white;
    color: #2c3e50;
}

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

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Service Specific Hero Backgrounds */
.service-hero.laser-hero {
    background-image: linear-gradient(rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.8)), url('../images/laser-cutting-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero.press-hero {
    background-image: linear-gradient(rgba(155, 89, 182, 0.8), rgba(142, 68, 173, 0.8)), url('../images/press-bending-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero.welding-hero {
    background-image: linear-gradient(rgba(231, 76, 60, 0.8), rgba(192, 57, 43, 0.8)), url('../images/welding-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero.design-hero {
    background-image: linear-gradient(rgba(52, 73, 94, 0.8), rgba(44, 62, 80, 0.8)), url('../images/design-mockup-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero.nct-hero {
    background-image: linear-gradient(rgba(39, 174, 96, 0.8), rgba(34, 153, 84, 0.8)), url('../images/laser_cutting.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive Design for Service Pages */
@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
    
    .service-overview {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .specs-grid,
    .process-steps,
    .gallery-grid,
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 250px;
        justify-content: center;
    }
}