/* Services Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/hero/service.jpeg') center/cover;
    color: var(--white);
    padding: 8rem 5%;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Overview */
.services-overview {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.overview-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Services List */
.services-section {
    padding: 5rem 5%;
}

.services-list {
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 2px solid #e0e0e0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-text h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

/* Color coding for different service types */
.service-item:nth-child(1) .service-text h3,
.service-item:nth-child(3) .service-text h3,
.service-item:nth-child(5) .service-text h3,
.service-item:nth-child(7) .service-text h3 {
    color: #e67e22; /* Orange for Environmental Engineering themed */
}

.service-item:nth-child(2) .service-text h3 {
    color: #f39c12; /* Orange for Bespoke */
}

.service-item:nth-child(4) .service-text h3 {
    color: #d68910; /* Dark Orange for Consultancy */
}

.service-item:nth-child(6) .service-text h3 {
    color: #ca6f1e; /* Orange-Brown for Technical Services */
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Process Section */
.process-section {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.process-timeline {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.process-step:nth-child(even) {
    direction: rtl;
}

.process-step:nth-child(even) > * {
    direction: ltr;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.process-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--gray);
    line-height: 1.8;
}

.process-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.process-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 5%;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s;
}

.why-choose-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.why-choose-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-choose-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 5rem 3%;
        min-height: 50vh;
    }
    
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .page-header p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        direction: ltr;
        padding: 2rem 0;
    }
    
    .service-image img {
        height: 200px;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .process-step:nth-child(even) {
        direction: ltr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 4rem 3%;
        min-height: 40vh;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}
