/* Service Pages Styles */

.service-hvac .service-hero-overlay { background: rgba(25, 118, 210, 0.65); }
.service-plumbing .service-hero-overlay { background: rgba(21, 101, 192, 0.65); }
.service-electrical .service-hero-overlay { background: rgba(46, 125, 50, 0.65); }
.service-firefighting .service-hero-overlay { background: rgba(198, 40, 40, 0.65); }
.service-firealarm .service-hero-overlay { background: rgba(216, 67, 21, 0.65); }

.service-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.service-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.service-hero-content h1 {
    color: #333;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid;
}

.service-hvac .service-hero-content h1 { border-color: #1976D2; color: #1976D2; }
.service-plumbing .service-hero-content h1 { border-color: #1565C0; color: #1565C0; }
.service-electrical .service-hero-content h1 { border-color: #2E7D32; color: #2E7D32; }
.service-firefighting .service-hero-content h1 { border-color: #C62828; color: #C62828; }
.service-firealarm .service-hero-content h1 { border-color: #D84315; color: #D84315; }

.service-hero-content p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.service-content {
    padding: 80px 0;
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.service-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.service-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

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

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

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.feature-box i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-hvac .feature-box i { color: #1976D2; }
.service-plumbing .feature-box i { color: #1565C0; }
.service-electrical .feature-box i { color: #2E7D32; }
.service-firefighting .feature-box i { color: #C62828; }
.service-firealarm .feature-box i { color: #D84315; }

.feature-box h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

.applications-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
}

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

.application-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    text-align: center;
}

.application-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-hvac .application-card i { color: #1976D2; }
.service-plumbing .application-card i { color: #1565C0; }
.service-electrical .application-card i { color: #2E7D32; }
.service-firefighting .application-card i { color: #C62828; }
.service-firealarm .application-card i { color: #D84315; }

.application-card h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero-content {
        padding: 30px 20px;
    }
    
    .service-hero-content h1 {
        font-size: 2rem;
    }
}
