/* css/services-pages.css */
/* Shared styles for all individual service pages */

/* Hero Section with Background Images - NO GRADIENT OVERLAY */
.service-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Removed overlay - now text is directly on image */
}

/* Unique, befitting background images for each service */
.installation-hero {
    background-image: url('../repairs.jpeg');
    /* HVAC installation - new system being installed */
}

.repair-hero {
    background-image: url('../installation.jpeg');
    /* HVAC repair - technician working on unit */
}

.maintenance-hero {
    background-image: url('../maintenance.jpeg');
    /* HVAC maintenance - cleaning and tune-up */
}

.ductwork-hero {
    background-image: url('../air_duct.jpeg');
    /* Air ducts - ventilation system */
}

.heating-hero {
    background-image: url('../heat.jpeg');
    /* Heating system - furnace/boiler */
}

.ac-hero {
    background-image: url('../air_cond.jpeg');
    /* Air conditioning - outdoor AC unit */
}

/* Removed .hero-overlay completely */

.service-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text readability */
    padding: 40px 60px;
    border-radius: 16px;
    backdrop-filter: blur(0px); /* Slight blur for better contrast */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.service-hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Description section with improved spacing and vertical line */
.service-description {
    padding: 70px 20px; /* Added horizontal padding */
    background: var(--light-bg);
}

.description-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Vertical line separator at the left side */
.description-text::after {
    content: '';
    position: absolute;
    left: -30px; /* Positions the line to the left of the grid */
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--cool-blue), var(--heat-orange));
    border-radius: 2px;
    opacity: 0.6;
}

/* For mobile, adjust the line position */
@media (max-width: 992px) {
    .description-text::after {
        left: -10px;
        width: 3px;
    }
}

.description-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.description-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-card {
    background: white;
    padding: 25px 15px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cool-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Benefits section */
.benefits-section {
    background: var(--white);
    padding: 70px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 20px;
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Process section */
.process-section {
    padding: 70px 0;
    background: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.step {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA section */
.service-cta {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 70px 0;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-cta .phone-large {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .description-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-hero h1 {
        font-size: 3rem;
    }
    
    .service-hero .hero-content {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 450px;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero p {
        font-size: 1.2rem;
    }
    
    .service-hero .hero-content {
        padding: 25px 30px;
        max-width: 90%;
    }
    
    .description-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid,
    .process-steps,
    .description-stats {
        grid-template-columns: 1fr;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-hero p {
        font-size: 1rem;
    }
    
    .service-hero .hero-content {
        padding: 20px;
        width: 90%;
    }
    
    .service-cta h2 {
        font-size: 2rem;
    }
    
    .service-cta .phone-large {
        font-size: 1.8rem;
    }
}