/* 
   Royal Emaar - اعمار الملكية
   Service Details Stylesheet
*/

.page-banner {
    height: 300px;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 110px;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.breadcrumb a {
    color: var(--white);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    font-size: 12px;
}

.breadcrumb .current {
    color: var(--primary-color);
}

.service-details-content {
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

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

.main-image {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-thumbs .thumb {
    flex: 0 0 100px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbs .thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info-box {
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 18px;
}

.service-description {
    margin-bottom: 30px;
}

.service-description h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 25px 0 15px;
    color: var(--secondary-color);
}

.service-description p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-features {
    padding-right: 20px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-left: 10px;
}

.service-specs {
    margin-bottom: 30px;
}

.service-specs h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.specs-table {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.specs-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-label {
    flex: 0 0 40%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    font-weight: 700;
}

.specs-value {
    flex: 0 0 60%;
    padding: 12px 15px;
}

.service-results {
    margin-bottom: 30px;
}

.service-results h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-results p {
    line-height: 1.7;
}

.client-testimonial {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
}

.client-testimonial blockquote {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.author-position {
    color: #777;
    font-size: 14px;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.social-share span {
    font-weight: 700;
}

.social-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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


@media screen and (max-width: 991px) {
    .page-banner {
        height: 250px;
    }
    .page-banner h1 {
        font-size: 36px;
    }
    .service-title {
        font-size: 24px;
    }
    .service-meta {
        flex-direction: column;
        gap: 15px;
    }
    .client-testimonial {
        padding: 20px;
    }
    .cta-section {
        padding: 50px 0;
    }
    .cta-content h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 767px) {
    .page-banner {
        height: 200px;
    }
    .page-banner h1 {
        font-size: 30px;
    }
    .service-details-content {
        padding: 20px;
    }
    .specs-row {
        flex-direction: column;
    }
    .specs-label, .specs-value {
        flex: 0 0 100%;
    }
    .social-share {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 575px) {
    .breadcrumb {
        flex-wrap: wrap;
    }
    .gallery-thumbs .thumb {
        flex: 0 0 80px;
        height: 60px;
    }
    .cta-content h2 {
        font-size: 22px;
    }
} 