@import url('/templates/_shared/fonts/fonts.css');

/* ============================================================
   BusinessCard_v7 — STACKED ELEVATED MATERIAL CARDS
   Beauty / Makeup artist — vibrant rose / peach / plum palette.
   Each section is its own floating rounded surface with layered
   soft shadows and an accent tint. Playful-yet-premium.
   ============================================================ */

.bc7-root {
    --bc7-rose:   #e54f8c;
    --bc7-rose-2: #ff7eb6;
    --bc7-peach:  #ff8a5c;
    --bc7-peach-2:#ffb38a;
    --bc7-plum:   #7b3fa0;
    --bc7-plum-2: #a56cd0;
    --bc7-ink:    #2c1b2e;
    --bc7-muted:  #8a7088;
    --bc7-line:   rgba(123, 63, 160, .10);
    --bc7-bg:     #fdf3f6;

    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    color: var(--bc7-ink);
    background:
        radial-gradient(120% 60% at 0% 0%, rgba(255,126,182,.22), transparent 60%),
        radial-gradient(120% 60% at 100% 0%, rgba(165,108,208,.20), transparent 60%),
        radial-gradient(140% 70% at 100% 100%, rgba(255,138,92,.18), transparent 60%),
        var(--bc7-bg);
    min-height: 100vh;
    padding: 26px 14px 40px;
    box-sizing: border-box;
}

.bc7-root *,
.bc7-root *::before,
.bc7-root *::after { box-sizing: border-box; }

.bc7-stack {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- Generic elevated card ---------- */
.bc7-card {
    position: relative;
    background: #fff;
    border-radius: 26px;
    padding: 22px 20px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.9) inset,
        0 10px 26px rgba(123,63,160,.10),
        0 26px 60px rgba(229,79,140,.10);
    border: 1px solid rgba(255,255,255,.7);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

.bc7-card.bc7-in { opacity: 1; transform: translateY(0); }

.bc7-card:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,.9) inset,
        0 14px 34px rgba(123,63,160,.14),
        0 34px 72px rgba(229,79,140,.16);
}

/* top accent strip per tint */
.bc7-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
}

.bc7-card[data-tint="rose"]  { --c1: var(--bc7-rose);  --c2: var(--bc7-rose-2); --soft: rgba(229,79,140,.10); }
.bc7-card[data-tint="peach"] { --c1: var(--bc7-peach); --c2: var(--bc7-peach-2);--soft: rgba(255,138,92,.12); }
.bc7-card[data-tint="plum"]  { --c1: var(--bc7-plum);  --c2: var(--bc7-plum-2); --soft: rgba(123,63,160,.10); }

/* ---------- Card titles ---------- */
.bc7-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--bc7-ink);
}

.bc7-title-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: #fff;
    font-size: .9rem;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 6px 14px var(--soft);
}

/* ============================================================
   Card 1 — Identity
   ============================================================ */
.bc7-card--identity { padding: 0 0 22px; }

.bc7-cover {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.bc7-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08);
}

.bc7-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(229,79,140,.12), rgba(123,63,160,.42));
}

.bc7-cover-glow {
    position: absolute;
    z-index: 1;
    width: 180px; height: 180px;
    right: -50px; top: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,138,92,.55), transparent 70%);
    mix-blend-mode: screen;
}

.bc7-id-body {
    position: relative;
    margin-top: -52px;
    padding: 0 22px;
    text-align: center;
}

.bc7-avatar-wrap {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 0 auto 12px;
}

.bc7-avatar-halo {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--bc7-rose), var(--bc7-peach), var(--bc7-plum), var(--bc7-rose));
    filter: blur(.5px);
    animation: bc7-spin 9s linear infinite;
}

@keyframes bc7-spin { to { transform: rotate(360deg); } }

.bc7-avatar {
    position: absolute;
    inset: 0;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(123,63,160,.28);
}

.bc7-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--bc7-rose);
    background: rgba(229,79,140,.10);
}

.bc7-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--bc7-ink);
}

.bc7-role {
    margin-top: 6px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--bc7-plum);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.bc7-role-dot { color: var(--bc7-rose-2); }
.bc7-org { color: var(--bc7-muted); font-weight: 600; }

.bc7-tagline {
    margin-top: 8px;
    font-size: .88rem;
    color: var(--bc7-rose);
    font-weight: 600;
}

.bc7-bio {
    margin-top: 12px;
    font-size: .9rem;
    line-height: 1.95;
    color: var(--bc7-muted);
}

.bc7-id-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

/* ---------- Buttons ---------- */
.bc7-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 16px;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .15s ease, box-shadow .25s ease, filter .2s ease;
    font-family: inherit;
}

.bc7-btn:active { transform: translateY(1px) scale(.99); }

.bc7-btn--solid {
    color: #fff;
    background: linear-gradient(135deg, var(--bc7-rose), var(--bc7-peach));
    box-shadow: 0 12px 26px rgba(229,79,140,.40);
}
.bc7-btn--solid:hover { filter: brightness(1.04); box-shadow: 0 16px 32px rgba(229,79,140,.48); }

.bc7-btn--ghost {
    color: var(--bc7-plum);
    background: rgba(123,63,160,.08);
    border: 1.5px solid rgba(123,63,160,.18);
}
.bc7-btn--ghost:hover { background: rgba(123,63,160,.14); }

/* ============================================================
   Card 2 — Contact
   ============================================================ */
.bc7-contact-grid { display: flex; flex-direction: column; gap: 10px; }

.bc7-contact-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--bc7-ink);
    background: linear-gradient(135deg, rgba(255,138,92,.07), rgba(255,179,138,.05));
    border: 1px solid rgba(255,138,92,.14);
    transition: transform .15s ease, background .2s ease;
}
.bc7-contact-row:not(.bc7-contact-row--static):hover { transform: translateX(-4px); background: rgba(255,138,92,.13); }

.bc7-contact-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--bc7-peach), var(--bc7-rose-2));
    box-shadow: 0 6px 14px rgba(255,138,92,.30);
}

.bc7-contact-meta { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.bc7-contact-meta small { font-size: .68rem; color: var(--bc7-muted); font-weight: 600; }
.bc7-contact-val { font-size: .94rem; font-weight: 700; color: var(--bc7-ink); direction: ltr; text-align: right; }
.bc7-contact-arrow { color: var(--bc7-peach); font-size: .8rem; }

/* ============================================================
   Card 3 — Highlights
   ============================================================ */
.bc7-hl-grid { display: flex; flex-direction: column; gap: 12px; }

.bc7-hl-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(123,63,160,.06), rgba(165,108,208,.05));
    border: 1px solid rgba(123,63,160,.12);
    transition: transform .18s ease, box-shadow .25s ease;
}
.bc7-hl-item:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(123,63,160,.16); }

.bc7-hl-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--bc7-plum), var(--bc7-plum-2));
    box-shadow: 0 8px 18px rgba(123,63,160,.32);
}

.bc7-hl-text h3 { margin: 2px 0 4px; font-size: .98rem; font-weight: 800; color: var(--bc7-ink); }
.bc7-hl-text p { margin: 0; font-size: .84rem; line-height: 1.8; color: var(--bc7-muted); }

/* ============================================================
   Card 4 — Links
   ============================================================ */
.bc7-links { display: flex; flex-direction: column; gap: 11px; }

.bc7-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--bc7-ink);
    background: linear-gradient(135deg, rgba(229,79,140,.08), rgba(255,126,182,.05));
    border: 1px solid rgba(229,79,140,.16);
    transition: transform .16s ease, box-shadow .25s ease;
}
.bc7-link:hover { transform: translateX(-5px); box-shadow: 0 10px 22px rgba(229,79,140,.22); }

.bc7-link-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: .98rem;
    color: #fff;
    background: linear-gradient(135deg, var(--bc7-rose), var(--bc7-rose-2));
    box-shadow: 0 6px 14px rgba(229,79,140,.30);
}

.bc7-link-title { flex: 1; font-size: .94rem; font-weight: 700; }
.bc7-link-arrow { color: var(--bc7-rose); font-size: .82rem; }

/* ============================================================
   Card 5 — Gallery
   ============================================================ */
.bc7-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bc7-gitem {
    margin: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255,138,92,.18);
    aspect-ratio: 1 / 1;
}

.bc7-gitem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.bc7-gitem:hover img { transform: scale(1.08); }

.bc7-gitem figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 12px 8px;
    font-size: .76rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(44,27,46,.78));
}

/* ============================================================
   Card 6 — Socials
   ============================================================ */
.bc7-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bc7-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    color: var(--bc7-plum);
    background: rgba(123,63,160,.08);
    border: 1.5px solid rgba(123,63,160,.16);
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
.bc7-social i { font-size: 1rem; }
.bc7-social:hover {
    transform: translateY(-3px);
    color: #fff;
    background: linear-gradient(135deg, var(--bc7-plum), var(--bc7-plum-2));
    border-color: transparent;
}

/* ============================================================
   Footer
   ============================================================ */
.bc7-foot {
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--bc7-muted);
    padding: 4px 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s ease, transform .5s ease;
}
.bc7-foot.bc7-in { opacity: 1; transform: translateY(0); }
.bc7-foot-sep { color: var(--bc7-rose-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bc7-card, .bc7-foot { opacity: 1 !important; transform: none !important; transition: none; }
    .bc7-avatar-halo { animation: none; }
}

@media (max-width: 380px) {
    .bc7-id-actions { flex-direction: column; }
    .bc7-name { font-size: 1.35rem; }
}
