/* Services Page Specific Styles */

/* Services Hero Section */
.services-hero {
    height: 60vh;
    background: linear-gradient(rgba(75, 96, 67, 0.8), rgba(75, 96, 67, 0.8)),
                url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3') center/cover;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 96, 67, 0.7);
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

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

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.services-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #C3CEAF;
}

.breadcrumb span:last-child {
    color: #C3CEAF;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #4B6043;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* Main Services Section */
.main-services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid white;
    height: 350px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.service-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-overlay p {
    color: white;
    font-size: 1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.service-content {
    display: none;
}

.service-content h3 {
    font-size: 1.4rem;
    color: #4B6043;
    margin-bottom: 1rem;
}

.service-content > p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.service-features i {
    color: #7EA371;
    font-size: 0.9rem;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(45deg, #4B6043, #7EA371);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 96, 67, 0.3);
    background: linear-gradient(45deg, #3d4e37, #6b8a5e);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: #f8faf9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(75, 96, 67, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(75, 96, 67, 0.12);
    border-top-color: #7EA371;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #4B6043, #7EA371);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon i {
    font-size: 1.8rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: #4B6043;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(75, 96, 67, 0.85), rgba(126, 163, 113, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.portfolio-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-btn {
    display: inline-block;
    background: white;
    color: #4B6043;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-btn:hover {
    background: #C3CEAF;
    transform: translateY(-2px);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: #4B6043;
    color: white;
}

.process-section .section-header h2 {
    color: white;
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #C3CEAF;
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #C3CEAF, #7EA371);
    color: #4B6043;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #C3CEAF, #7EA371);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #4B6043;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #4B6043;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: #4B6043;
    color: white;
}

.cta-btn.primary:hover {
    background: #3d4e37;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 96, 67, 0.3);
}

.cta-btn.secondary {
    background: white;
    color: #4B6043;
    border-color: #4B6043;
}

.cta-btn.secondary:hover {
    background: #4B6043;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 96, 67, 0.3);
}

/* Active Navigation */
.nav-link.active {
    color: #4B6043 !important;
    font-weight: 600;
}

.nav-link.active:after {
    width: 100%;
    background: #4B6043;
}

/* Footer Updates */
.footer {
    background: #2d3c26;
}

.footer .contact-info {
    margin-top: 1rem;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer .contact-info i {
    color: #7EA371;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 2rem;
        max-width: 800px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .services-hero {
        height: 50vh;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        max-width: 100%;
    }

    .service-card {
        height: 300px;
    }

    .service-overlay h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .service-overlay p {
        font-size: 0.9rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .services-hero {
        height: 40vh;
        margin-top: 70px;
    }

    .services-hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-card {
        height: 250px;
    }

    .service-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .service-overlay p {
        font-size: 0.8rem;
    }

    .service-overlay {
        padding: 1.5rem;
    }

    .benefit-item {
        padding: 2rem 1.5rem;
    }

    .step-item {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}