/* ============================================================
   service-single.css  — Service detail page styles
   RTL-aware via CSS logical properties throughout
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --ss-primary:       var(--site-primary,  #1a1a2e);
    --ss-primary-faint: #eef4ef;
    --ss-border:        var(--site-border,   #e8ecf0);
    --ss-text:          var(--site-primary,  #1a1a2e);
    --ss-muted:         #6c757d;
    --ss-radius:        14px;
    --ss-light:         var(--site-light,    #f7f8fa);
}

/* ── Body card ── */
.ss-body-section {
    background: var(--ss-light);
    padding: 56px 0 48px;
}

.ss-body-card {
    background: #fff;
    border-radius: var(--ss-radius);
    box-shadow: 0 4px 28px rgba(34, 66, 41, 0.07);
    padding: 44px 48px;
    font-size: 16px;
    color: var(--ss-text);
    line-height: 1.9;
    width: 100%;
}
.ss-body-card p {
    margin-bottom: 14px;
}
.ss-body-card p:last-child {
    margin-bottom: 0;
}
.ss-body-card h1,
.ss-body-card h2,
.ss-body-card h3,
.ss-body-card h4,
.ss-body-card h5,
.ss-body-card h6 {
    color: var(--ss-primary);
    font-weight: 800;
    margin-bottom: 12px;
}

/* ── Divider ── */
.ss-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 160px;
    margin: 48px auto 40px;
    color: var(--ss-primary);
}
.ss-divider::before,
.ss-divider::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: var(--ss-border);
}

/* ── Gallery ── */
.ss-gallery-section {
    background: #fff;
    padding: 0 0 72px;
}

.ss-gallery-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--ss-text);
    margin-bottom: 28px;
}

.ss-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(34, 66, 41, 0.08);
    position: relative;
    display: block;
}
.ss-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ss-gallery-item:hover img {
    transform: scale(1.06);
}

.ss-gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 66, 41, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.ss-gallery-item:hover .ss-gallery-item__overlay {
    opacity: 1;
}
.ss-gallery-item__overlay i {
    font-size: 26px;
    color: #fff;
}

/* ── Request form section ── */
.ss-request-section {
    background: var(--ss-primary-faint);
    padding: 56px 0 64px;
}

.ss-request-card {
    background: #fff;
    border-radius: var(--ss-radius);
    box-shadow: 0 4px 28px rgba(34, 66, 41, 0.07);
    padding: 44px 48px;
}

.ss-request-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ss-primary);
    margin-bottom: 6px;
}

.ss-request-sub {
    color: var(--ss-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

/* ── Form fields ── */
.ss-form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--ss-text);
    margin-bottom: 5px;
}

.ss-form-control {
    border: 1.5px solid var(--ss-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.ss-form-control:focus {
    border-color: var(--ss-primary);
    box-shadow: 0 0 0 3px rgba(34, 66, 41, 0.1);
}

/* ── Captcha box ── */
.ss-captcha-box {
    background: var(--ss-primary-faint);
    border: 1.5px dashed var(--ss-primary);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    color: var(--ss-primary);
    font-size: 16px;
    white-space: nowrap;
}

/* ── Submit button ── */
.ss-btn-submit {
    background: var(--ss-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 700;
    transition:
        background 0.2s,
        transform 0.15s;
}
.ss-btn-submit:hover {
    background: #1a3320;
    transform: translateY(-2px);
}

/* ── Contact chips ── */
.ss-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.ss-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ss-primary);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.ss-contact-chip:hover {
    background: #1a3320;
    color: #fff;
}
.ss-contact-chip.whatsapp {
    background: #25d366;
}
.ss-contact-chip.whatsapp:hover {
    background: #1da851;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .ss-body-card {
        padding: 28px 20px;
    }
    .ss-gallery-item img {
        height: 160px;
    }
    .ss-request-card {
        padding: 28px 20px;
    }
}
