﻿:root {
    --shames-main: #4B1B35;
    --shames-soft: #F7E6EC;
    --shames-bg: #f8f5f9;
    --shames-text: #2b2b2b;
}

.services-page {
    background: var(--shames-bg);
    padding: 30px 0 55px;
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
}

/* ===== Hero (same vibe as About/Privacy) ===== */
.services-hero {
    background: linear-gradient( #4B1B35, #4B1B35);
    color: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

    /* Sun on the left */
    .services-hero::after {
        content: "";
        position: absolute;
        top: -90px;
        left: -90px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient(circle at center, rgba(255,255,255,.98) 0%, rgba(255,225,170,.9) 25%, rgba(255,195,130,.6) 45%, rgba(255,195,130,.3) 60%, rgba(255,195,130,0) 72% );
        filter: blur(1px);
        z-index: 0;
    }

    .services-hero::before {
        content: "";
        position: absolute;
        top: -120px;
        left: -120px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: repeating-conic-gradient( from 0deg, rgba(255,215,150,.35) 0deg, rgba(255,215,150,.35) 6deg, transparent 6deg, transparent 16deg );
        opacity: .35;
        z-index: 0;
    }

    .services-hero * {
        position: relative;
        z-index: 1;
    }

    .services-hero h1 {
        margin: 0 0 8px;
        font-weight: 900;
        font-size: 28px;
        letter-spacing: .2px;
    }

    .services-hero p {
        margin: 0;
        opacity: .95;
        font-size: 15px;
        line-height: 1.95;
    }

/* ===== Intro Card ===== */
.intro-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
    border: 1px solid rgba(75,27,53,.08);
    overflow: hidden;
    margin-bottom: 18px;
}

    .intro-card .intro-head {
        background: var(--shames-soft);
        padding: 14px 16px;
        border-bottom: 1px solid rgba(75,27,53,.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

        .intro-card .intro-head h3 {
            margin: 0;
            color: var(--shames-main);
            font-weight: 900;
            font-size: 16px;
        }

.badge-soft {
    background: rgba(75,27,53,.08);
    color: var(--shames-main);
    border: 1px solid rgba(75,27,53,.12);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.intro-card .intro-body {
    padding: 16px;
    color: var(--shames-text);
    line-height: 2;
    font-size: 15px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
    border: 1px solid rgba(75,27,53,.08);
    overflow: hidden;
    transition: .18s ease-in-out;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(0,0,0,.09);
    }

/* Image placeholder */
.service-media {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(247,230,236,.95), rgba(247,230,236,.60));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .service-media::after {
        content: "";
        position: absolute;
        inset: -40px auto auto -40px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(75,27,53,.14), rgba(75,27,53,0) 70%);
    }

    .service-media .placeholder-text {
        position: relative;
        z-index: 1;
        color: rgba(75,27,53,.8);
        font-weight: 900;
        font-size: 14px;
        border: 1px dashed rgba(75,27,53,.25);
        padding: 8px 10px;
        border-radius: 12px;
        background: rgba(255,255,255,.65);
    }

    /* When you add real images later, use this class */
    .service-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.service-body {
    padding: 14px 14px 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--shames-main);
}

.service-desc {
    margin: 0;
    color: rgba(43,43,43,.85);
    font-size: 14px;
    line-height: 1.9;
    flex: 1 1 auto;
}

.service-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.chip {
    background: rgba(75,27,53,.08);
    color: var(--shames-main);
    border: 1px solid rgba(75,27,53,.12);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.btn-shames {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--shames-main);
    color: #fff;
    border: 0;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    transition: .15s ease-in-out;
}

    .btn-shames:hover {
        transform: translateY(-1px);
        opacity: .96;
        color: #fff;
    }

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-media {
        height: 200px;
    }
}
