/* Services Page Specific Styles */

/* Inner Banner */
.inner-banner {
    background-size: cover;
    position: relative;
    z-index: 0;
    padding: 80px 0;
    margin-top: 0px;
}

.inner-banner::before {
    content: "";
    background: rgba(30, 32, 35, 0.7);
    position: absolute;
    top: 0;
    min-height: 100%;
    left: 0;
    right: 0;
    z-index: -1;
}

.breadcrumb-section {
    padding: 20px 0;
}

.breadcrumb-content {
    text-align: center;
    padding: 20px;
    margin-bottom: -50px;
}

.breadcrumbs-custom-path {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    list-style: none;
}

.breadcrumbs-custom-path li {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: #fff;
}

.breadcrumbs-custom-path li a {
    color: #e30613;
    text-decoration: none;
}

.breadcrumbs-custom-path li a:hover {
    color: #fff;
}

.inner-title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
}

/* Services Intro Section */
.services-intro {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.subtitle-service {
    color: #e30613;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Call to Action Section */
.cta-section {
    background-color: #1e2023;
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.cta-section.main-cta {
    background-color: #e30613;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .subtitle {
    color: #fff;
    opacity: 0.8;
}

.cta-content .title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    color: #fff;
    opacity: 0.8;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.secondary-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    display: inline-block;
    background-color: #e30613;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover,
.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Additional Services */
.additional-services {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.services-grid-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    align-items: center;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-box .icon {
    width: 70px;
    height: 70px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-box .icon i {
    font-size: 28px;
    color: #e30613;
}

.service-box-title {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.service-box-title:hover {
    color: #e30613;
}

/* Move to top button */
#movetop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #e30613;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#movetop:hover {
    background-color: #333;
}

/* Services Section */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0 0;
    margin-bottom: 0;
}

.main-title-container {
    text-align: center;
    padding: 0 20px 0px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.main-title:after {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #e30613;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.subtitle {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 40px auto 30px;
    line-height: 1.6;
}

/* Services container */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Service card con dimensiones uniformes */
.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.section-spacer {
    height: 100px;
    width: 100%;
}

/* Before & After Container */
.before-after-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Comparison Card design */
.comparison-card {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.comparison-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.comparison-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.comparison-card:hover .comparison-image img {
    transform: scale(1.05);
}

.comparison-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.comparison-content {
    padding: 25px;
    text-align: center;
}

.comparison-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.comparison-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Badge Styles */
.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.before {
    background-color: #f5f5f5;
    color: #555;
    border: 2px solid #ccc;
}

.status-badge.after {
    background-color: #e30613;
    color: white;
}

/* Testimonial Section */
.testimonial-section {
    padding: 60px 20px 80px;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: #e30613;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 30px auto 0;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .services-content {
        grid-template-columns: 1fr;
    }
    
    .inner-title {
        font-size: 36px;
    }

    .title {
        font-size: 30px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .comparison-card {
        max-width: 450px;
    }

    .section-spacer {
        height: 80px;
    }
    
    .service-card {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .services-grid-box {
        grid-template-columns: 1fr;
    }

    .inner-title {
        font-size: 30px;
    }

    .title {
        font-size: 26px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .secondary-btn,
    .primary-btn {
        width: 100%;
        text-align: center;
    }

    .testimonial-section {
        padding: 40px 20px 60px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .comparison-image {
        height: 300px;
    }

    .services-section {
        padding-top: 60px;
    }

    .main-title {
        font-size: 30px;
    }

    .subtitle {
        font-size: 16px;
        margin: 30px auto 40px;
    }

    .services-container {
        padding-bottom: 60px;
        gap: 25px;
    }

    .section-spacer {
        height: 60px;
    }
    
    .service-card {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .inner-title {
        font-size: 26px;
    }

    .title {
        font-size: 22px;
    }

    .service-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-box .icon {
        margin: 0 auto 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .comparison-card {
        max-width: 100%;
    }
    
    .comparison-title {
        font-size: 22px;
    }
    
    .main-title {
        font-size: 26px;
    }

    .services-container {
        /* padding-bottom: 40px; */
    }
    
    .section-spacer {
        height: 50px;
    }
    
    .service-card {
        max-width: 100%;
        height: 200px;
    }
}