/* 
   Fabian Ramirez Landscaping - Services Page Styles
*/

/* Page Header */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/services-header.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

/* Services Intro */
.services-intro {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.intro-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Service List */
.service-list {
    padding: 60px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

/* Alternate layout for even items */
.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) .service-details {
    direction: ltr;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
}

.service-details h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 10px;
}

.service-details p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    text-align: center;
    margin-top: 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item:nth-child(even) {
        direction: ltr;
    }
    
    .service-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .service-details h2 {
        font-size: 1.8rem;
    }
}
