/* Main Layout Structure */
.single-service-page {
    max-width: 1200px;
    margin: 0 305px;
    padding: 0px 0px;
}

.service-main-container {
    margin-bottom: 60px;
}

.service-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 1355px;
    
}

/* Image Column with Zoom Effect */
.service-image-column {
    position: relative;
}

.service-image-wrapper {
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.image-zoom-container {
    overflow: hidden;
    /* border-radius: 12px; */
    position: relative;
    width: 100%;
    height: 100%;
}

.service-featured-image {
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform-origin: center center;
    will-change: transform;
    width: 100%;
    height: auto;
    display: block;
}

.image-zoom-container:hover .service-featured-image {
    transform: scale(1.1);
}

/* Optional magnifying glass effect */
.image-zoom-container::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.image-zoom-container:hover::after {
    opacity: 1;
}

.service-image-placeholder {
    background: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
    color: #777;
    font-size: 18px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 12px; */
}

/* Content Column */
.service-content-column {
    display: flex;
    flex-direction: column;
}

.service-details-card {
    background: #fff;
    /* border-radius: 12px; */
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.service-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.service-title {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    color: #222;
    line-height: 1.3;
}

.service-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.service-category-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f7ff;
    color: #0066cc;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.service-description p {
    margin-bottom: 1.5em;
}

.service-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.service-buy-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-buy-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}

.price-contact {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.service-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.meta-item i {
    color: #0066cc;
    width: 20px;
    text-align: center;
}

/* Reviews Section */
.service-reviews-section {
    margin: 60px 0;
    padding: 40px 0;
    background: #f9f9f9;
    border-radius: 12px;
}

.reviews-container {
    max-width: 1000px;
    /* margin: unset; */
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #222;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0066cc;
}

/* Related Services Section */
.related-services-section {
    margin: 60px 0;
}

.related-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-service-card {
    background: #fff;
    /* border-radius: 10px; */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.related-service-link {
    text-decoration: none;
    color: inherit;
}

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

.related-service-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    padding: 10px;
}

.related-service-card:hover .related-service-thumb {
    transform: scale(1.1);
}

.related-image-placeholder {
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

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

.related-service-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #222;
    line-height: 1.4;
}

.related-service-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.related-service-category {
    font-size: 0.75rem;
    padding: 3px 8px;
    background: #f0f7ff;
    color: #0066cc;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.8rem;
    }
    
    .related-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}



/* Share option */
/* Share Buttons */
.service-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.service-share h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.share-button i {
    line-height: 1;
}

/* Individual button colors */
.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

/* Fallback for Instagram app links */
.share-button.instagram:not([href*='instagram://']) {
    background: #e1306c;
}



/* Responsive Design - Mobile First Approach */
@media (max-width: 1600px) {
    .single-service-page {
        margin: 0 auto;
        padding: 0 20px;
        width: auto;
    }
    
    .service-layout-grid {
        width: auto;
    }
}

@media (max-width: 1200px) {
    .service-layout-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .service-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image-wrapper {
        max-width: 100%;
    }
    
    .service-details-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-price {
        font-size: 1.3rem;
    }
    
    .service-meta {
        grid-template-columns: 1fr;
    }
    
    .related-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .service-reviews-section {
        margin: 40px 0;
        padding: 30px 0;
    }
}

@media (max-width: 576px) {
    .single-service-page {
        padding: 0 15px;
    }
    
    .service-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .service-details-card {
        padding: 20px;
    }
    
    .service-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-buy-button {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .service-price {
        text-align: center;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .service-share h4 {
        text-align: center;
    }
    
    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-category-badge {
        font-size: 0.75rem;
    }
}