/* ===================================
   METALINE Service Page Styles
   =================================== */

/* === SERVICE HERO === */
.service-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    opacity: 0.6;
}

.service-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.service-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* === SERVICE DESCRIPTION === */
.service-description {
    padding: 80px 0;
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-content h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-content .lead {
    font-size: 18px;
    color: var(--primary-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-types {
    margin-top: 30px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: var(--radius-md, 10px);
    border-right: 4px solid var(--primary-color);
}

.service-types h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-types ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-types li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    line-height: 1.6;
}

.service-types li:last-child {
    border-bottom: none;
}

.service-types li strong {
    color: var(--secondary-color);
}

.service-image {
    position: relative;
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* === PROCESS FEATURES === */
.process-features {
    padding: 80px 0;
    background: var(--light-bg);
}

.process-features h2 {
    text-align: center;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md, 10px);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C61 100%);
    border-radius: 50%;
    padding: 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* === SPECIFICATIONS === */
.specifications {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.specifications h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.spec-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius-md, 10px);
    text-align: center;
    transition: var(--transition-fast);
}

.spec-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.spec-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.spec-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.spec-item p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* === SERVICE GALLERY === */
.service-gallery {
    padding: 80px 0;
    background: var(--white);
}

.service-gallery h2 {
    text-align: center;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

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

.service-gallery .gallery-item {
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.service-gallery .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-gallery .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* === SERVICE CTA === */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    text-align: center;
    color: var(--white);
}

.service-cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.service-cta p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

/* === RELATED SERVICES === */
.related-services {
    padding: 80px 0;
    background: var(--light-bg);
}

.related-services h2 {
    text-align: center;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.related-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-service-card {
    position: relative;
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    text-decoration: none;
}

.related-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.related-service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.related-service-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    font-size: 20px;
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .service-hero h1 {
        font-size: 32px;
    }
    
    .service-hero p {
        font-size: 16px;
    }
    
    .service-description,
    .process-features,
    .specifications,
    .service-gallery,
    .service-cta,
    .related-services {
        padding: 60px 0;
    }
    
    .service-content h2,
    .process-features h2,
    .specifications h2,
    .service-gallery h2,
    .related-services h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .related-services .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cta h2 {
        font-size: 28px;
    }
    
    .service-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}
