/* ==========================================================================
   Services at the Temple – modern category cards
   Used by Areas/User/Views/PriestServices/ServicesList.cshtml (+ ServicesPage partial).
   Each category has its own colour + icon (svc-daily, svc-weekly, ...).
   ========================================================================== */

.svc-card {
    --c1: #f59e2a;      /* light end of the art gradient */
    --c2: #c2410c;      /* dark end */
    --tint: #fff4e6;    /* soft background behind the icon */
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(122, 31, 14, .10);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    color: #2b1a0e;
    box-shadow: 0 10px 28px -14px rgba(90, 30, 5, .35);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s cubic-bezier(.2, .7, .2, 1), border-color .3s;
}
.svc-card:hover,
.svc-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px -18px rgba(90, 30, 5, .45);
    border-color: var(--c1);
}
.svc-card:focus-visible { outline: 3px solid var(--c1); outline-offset: 3px; }

/* art panel */
.svc-art {
    position: relative;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .28) 0 14%, transparent 15%),
        radial-gradient(circle at 86% 80%, rgba(255, 255, 255, .18) 0 20%, transparent 21%),
        radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .14) 0 9%, transparent 10%),
        linear-gradient(140deg, var(--c1) 0%, var(--c2) 100%);
    overflow: hidden;
}
/* subtle mandala rings */
.svc-art::before,
.svc-art::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, .35);
    width: 200px; height: 200px;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.svc-art::after { width: 150px; height: 150px; border-style: solid; border-color: rgba(255, 255, 255, .22); }
.svc-card:hover .svc-art::before { transform: rotate(45deg) scale(1.05); }

.svc-icon {
    position: relative;
    z-index: 1;
    width: 104px; height: 104px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--c2);
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45), inset 0 0 0 6px var(--tint);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.svc-icon svg { width: 54px; height: 54px; }
.svc-card:hover .svc-icon { transform: scale(1.07); }

/* text */
.svc-body {
    padding: 18px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.svc-title {
    margin: 0;
    font-family: 'BenguiatStd-Book', Georgia, serif;
    font-size: 20px;
    letter-spacing: .02em;
    color: #2b1a0e;
}
.svc-cta {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 500;
    color: var(--c2);
    background: var(--tint);
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
    transition: background-color .25s, color .25s;
}
.svc-cta i { display: inline-block; transition: transform .25s; }
.svc-card:hover .svc-cta { background: var(--c2); color: #fff; }
.svc-card:hover .svc-cta i { transform: translateX(3px); }

/* per-category palettes */
.svc-daily    { --c1: #f8b133; --c2: #d9640f; --tint: #fff2dc; }
.svc-weekly   { --c1: #2bb3a3; --c2: #0d7066; --tint: #ddf5f1; }
.svc-monthly  { --c1: #6f7ce0; --c2: #3a3f9e; --tint: #e7e9fb; }
.svc-personal { --c1: #ee6b8d; --c2: #b02a54; --tint: #fde6ec; }
.svc-prasadam { --c1: #e0a04a; --c2: #8f4a0c; --tint: #fbeedd; }
.svc-tangible { --c1: #52bd6b; --c2: #1f7a37; --tint: #e2f5e6; }
.svc-annual   { --c1: #e8761b; --c2: #7a1f0e; --tint: #fde9dc; }
.svc-other    { --c1: #d6b24a; --c2: #8a6a12; --tint: #f8f0d8; }

/* page header polish */
.inner-title-container { gap: 16px; flex-wrap: wrap; padding-bottom: 6px; }
.search-sec input.form-control { border-radius: 999px; padding-left: 18px; }

@media (max-width: 575px) {
    .svc-icon { width: 88px; height: 88px; }
    .svc-icon svg { width: 46px; height: 46px; }
    .svc-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .svc-card, .svc-card *, .svc-art::before { transition: none !important; }
}
