/* Service Single Post Styles */
.service-section {
    padding: 60px 0;
}

.service-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Service Layout */
.service-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.service-featured-media {
    flex: 1;
    max-width: 50%;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.service-featured-image,
.service-featured-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-featured-image img,
.service-featured-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.service-featured-video video {
    max-height: 400px;
    object-fit: cover;
}

.service-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
}

.service-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #666;
    font-weight: 500;
}

.service-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0039c7;
}

.service-description {
    margin-bottom: 30px;
    color: #333;
    line-height: 1.6;
}

/* Inline Service Features Styles */
.service-features-inline {
    margin: 30px 0;
    padding: 25px;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #FFCC00;
}

.features-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    margin-top: 0;
}

.features-list-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.feature-item-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #475569;
}

.feature-item-inline i {
    color: #FFCC00;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-item-inline span {
    line-height: 1.5;
}

/* Service contact button styles are now handled by buttons.css */
.service-contact-btn {
    margin-top: auto;
    align-self: flex-start;
}

.service-header .service-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-header .service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 30px;
}

.service-header .service-title span {
    color: #FFCC00;
}

.service-header .service-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFCC00;
}

.service-content {
    margin-bottom: 40px;
}

/* Service Features */
.service-features {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-features h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.service-features h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FFCC00;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.feature-item i {
    color: #FFCC00;
    margin-right: 10px;
    font-size: 16px;
}

/* Related Services */
.related-services {
    margin-top: 60px;
}

.related-services h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.related-services h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FFCC00;
}

.related-services-header {
    text-align: center;
    margin-bottom: 30px;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-service {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.related-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

.related-service-content {
    padding: 20px;
}

.related-service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.related-service-link {
    color: #FFCC00;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.related-service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.related-service-link:hover i {
    transform: translateX(5px);
}

/* Service CTA */
.service-cta {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-image: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('/wp-content/uploads/2025/08/pattern-bg.png');
    background-size: cover;
    background-position: center;
}

.service-cta h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.service-cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
}

.service-cta .btn {
    background-color: #FFCC00;
    color: #333;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.service-cta .btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.4);
}

/* Content Section */
.service-content-section {
    margin-top: 40px;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-content-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #152fbf;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f2ce16;
    display: inline-block;
}

.service-content {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

/* Service Features */
.service-features {
    margin-top: 40px;
}

/* Related Services */
.service-related {
    margin-top: 80px;
    padding-top: 200px;
    border-top: 1px solid #e5e7eb;
}

.service-related-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #152fbf;
    margin-bottom: 30px;
    text-align: center;
}

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    height: 256px;
    position: relative;
    overflow: hidden;
}

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

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

.service-card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0));
    padding: 16px;
}

.service-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #ffffff;
    margin: 0;
}

.service-card-content {
    padding: 16px;
}

.service-card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.625;
    color: #4b5563;
    margin: 0;
}

.service-footer {
    text-align: center;
    margin-top: 48px;
}

/* Request quote button styles are now handled by buttons.css */

/* Service Thumbnails */
.service-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.service-thumbnail {
    flex: 0 0 calc(15% - 12px);
    min-width: 80px;
    max-width: 120px;
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.service-thumbnail:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.service-thumbnail.active {
    border: 3px solid #FFCC00;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

/* Video Thumbnail Styles */
.service-thumbnail.video-thumbnail {
    position: relative;
}

.service-thumbnail.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.service-thumbnail.video-thumbnail:hover .video-play-icon {
    background-color: rgba(255, 204, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Service Lightbox Styles */
.service-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image,
.lightbox-video {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-video {
    max-width: 90vw;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
    color: #FFCC00;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-nav:hover {
    background-color: rgba(255, 204, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .service-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-section {
        padding: 60px 0;
    }
    
    .service-main {
        flex-direction: column;
    }
    
    .service-featured-media {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .service-featured-video video {
        max-height: 300px;
    }
    
    .service-features-inline {
        margin: 20px 0;
        padding: 20px;
    }
    
    .features-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .feature-item-inline {
        font-size: 14px;
        gap: 10px;
    }
    
    .service-title {
        font-size: 36px;
    }
    
    .service-content-section {
        padding: 30px 20px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .service-thumbnail {
        flex: 0 0 calc(20% - 12px);
        min-width: 70px;
        max-width: 100px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
}

@media (max-width: 576px) {
    .service-related-grid {
        grid-template-columns: 1fr;
    }
    
    .service-thumbnail {
        flex: 0 0 calc(33.333% - 10px);
    }
    
    .lightbox-nav {
        width: 35px;
        height: 35px;
    }
    
    .lightbox-prev {
        left: -40px;
    }
    
    .lightbox-next {
        right: -40px;
    }
}
