/* Service Pages Specific Styles */

/* Service Hero Section */
.service-hero-section {
    background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.65)), 
                url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 0 4rem;
    color: var(--white);
    position: relative;
}

.service-hero-content {
    max-width: 800px;
}

.service-hero-section h1 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.service-hero-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.back-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-5px);
}

/* Service Details Section */
.service-details-section {
    padding: 5rem 0;
    background: var(--white);
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .service-details-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.service-details-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.service-details-content h2:first-child {
    margin-top: 0;
}

.service-details-content p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Service Features */
.service-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-feature-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.service-feature-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Service Benefits */
.service-benefits {
    list-style: none;
    margin: 1.5rem 0 2.5rem;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-benefits li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-info-card,
.cta-card,
.related-services-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.service-info-card h3,
.cta-card h3,
.related-services-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.service-info-card h3::after,
.cta-card h3::after,
.related-services-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-list li i {
    color: var(--primary);
    font-size: 0.875rem;
}

.cta-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-options {
    margin-top: 1.5rem;
}

.contact-options p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact-options i {
    color: var(--primary);
}

.related-services {
    list-style: none;
}

.related-services li {
    border-bottom: 1px solid var(--gray-200);
}

.related-services li:last-child {
    border-bottom: none;
}

.related-services a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: var(--text);
    transition: var(--transition);
}

.related-services a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.related-services a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.related-services a:hover i {
    transform: translateX(5px);
}

/* Project Showcase */
.service-projects-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.service-projects-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.service-projects-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.service-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .service-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .service-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-project-image {
    height: 200px;
    overflow: hidden;
}

.service-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-project-card:hover .service-project-image img {
    transform: scale(1.1);
}

.service-project-content {
    padding: 1.5rem;
}

.service-project-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-project-location {
    color: var(--primary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-project-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.service-cta-center {
    text-align: center;
}

/* CTA Section */
.service-cta-section {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: var(--white);
}

.service-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-content h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.service-cta-content p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 767px) {
    .service-feature {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-desc {
        font-size: 1.125rem;
    }
}