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

/* =====================================================================
   BusinessCard_v10 — ART-DECO VERTICAL LUXURY CARD
   Deep emerald / black + gold. Tall portrait, ornamental gold frame,
   centered monogram crest, fine gold rules, decorative corner flourishes.
   Persona: سرآشپز / رستوران‌دار (fine dining)
   ===================================================================== */

.bcd-root {
    --bcd-black: #0a1410;
    --bcd-emerald: #0d2b22;
    --bcd-emerald-2: #103a2d;
    --bcd-gold: #c9a44c;
    --bcd-gold-light: #e7cf8f;
    --bcd-gold-deep: #9c7a2e;
    --bcd-cream: #f3ecd9;
    --bcd-ink: #e8e2cf;
    --bcd-muted: #b7c2b6;

    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    background:
        radial-gradient(120% 80% at 50% -10%, #14352a 0%, transparent 60%),
        radial-gradient(120% 90% at 50% 120%, #0c2019 0%, transparent 55%),
        linear-gradient(160deg, #081210 0%, #0a1813 55%, #060d0a 100%);
    min-height: 100vh;
    padding: clamp(20px, 5vw, 56px) 14px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--bcd-ink);
    -webkit-font-smoothing: antialiased;
}

/* ===== The card shell ===== */
.bcd-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    background:
        radial-gradient(140% 60% at 50% 0%, rgba(201,164,76,.10) 0%, transparent 55%),
        linear-gradient(165deg, var(--bcd-emerald) 0%, var(--bcd-black) 100%);
    border-radius: 6px;
    padding: 26px;
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 8px 24px rgba(0,0,0,.4),
        inset 0 0 120px rgba(0,0,0,.35);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.bcd-card.bcd-in { opacity: 1; transform: none; }

/* ===== Ornamental gold frames ===== */
.bcd-frame {
    position: absolute;
    pointer-events: none;
    border-radius: 3px;
}
.bcd-frame-outer {
    inset: 12px;
    border: 1.5px solid var(--bcd-gold);
    box-shadow: 0 0 0 1px rgba(231,207,143,.15), inset 0 0 24px rgba(201,164,76,.08);
}
.bcd-frame-inner {
    inset: 18px;
    border: 1px solid rgba(201,164,76,.42);
}

/* Decorative deco corner flourishes (CSS-drawn) */
.bcd-corner {
    position: absolute;
    width: 34px;
    height: 34px;
    pointer-events: none;
    z-index: 3;
}
.bcd-corner::before,
.bcd-corner::after {
    content: "";
    position: absolute;
    background: var(--bcd-gold);
    box-shadow: 0 0 6px rgba(201,164,76,.5);
}
/* L-shaped deco brackets */
.bcd-corner::before { width: 100%; height: 2px; top: 0; }
.bcd-corner::after  { width: 2px; height: 100%; top: 0; }

.bcd-corner-tl { top: 9px; right: 9px; transform: scaleX(-1); }
.bcd-corner-tr { top: 9px; left: 9px; }
.bcd-corner-bl { bottom: 9px; right: 9px; transform: scale(-1,-1); }
.bcd-corner-br { bottom: 9px; left: 9px; transform: scaleY(-1); }

.bcd-corner::before { right: 0; }
.bcd-corner::after  { right: 0; }
/* small inner diamond accent on each corner */
.bcd-corner-tl, .bcd-corner-tr, .bcd-corner-bl, .bcd-corner-br {
    background:
        linear-gradient(45deg, transparent 46%, var(--bcd-gold) 46%, var(--bcd-gold) 54%, transparent 54%) no-repeat;
    background-size: 8px 8px;
    background-position: 14px 14px;
}

.bcd-inner {
    position: relative;
    z-index: 4;
    padding: 22px 14px 8px;
    text-align: center;
}

/* ===== Crest / monogram ===== */
.bcd-crest {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 6px auto 18px;
    width: 132px;
    height: 132px;
}
.bcd-crest-ring {
    position: relative;
    width: 118px;
    height: 118px;
    margin: 7px auto 0;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(160deg, var(--bcd-gold-light), var(--bcd-gold-deep));
    box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 10px 28px rgba(0,0,0,.5);
}
.bcd-crest-ring::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(201,164,76,.55);
    border-radius: 50%;
}
.bcd-crest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bcd-black);
    display: block;
    background: var(--bcd-emerald-2);
}
.bcd-crest-monogram {
    position: absolute;
    inset: 0;
    display: none; /* shown only if filled and image hidden — kept subtle */
    align-items: center;
    justify-content: center;
    font-family: 'Vazirmatn', serif;
    font-size: 2.4rem;
    color: var(--bcd-black);
}
/* decorative fans flanking the crest */
.bcd-crest-fan {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bcd-gold));
}
.bcd-crest-fan::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px; height: 6px;
    transform: translateY(-50%) rotate(45deg);
    background: var(--bcd-gold);
}
.bcd-crest-fan-l { right: -34px; }
.bcd-crest-fan-l::after { left: -2px; }
.bcd-crest-fan-r { left: -34px; background: linear-gradient(270deg, transparent, var(--bcd-gold)); }
.bcd-crest-fan-r::after { right: -2px; }

/* ===== Identity ===== */
.bcd-eyebrow {
    display: block;
    font-size: .68rem;
    letter-spacing: .42em;
    padding-right: .42em;
    text-transform: uppercase;
    color: var(--bcd-gold);
    margin-bottom: 10px;
    font-weight: 600;
}
.bcd-name {
    font-family: 'Vazirmatn', serif;
    font-size: clamp(1.55rem, 6vw, 2rem);
    font-weight: 700;
    color: var(--bcd-cream);
    margin: 0 0 4px;
    line-height: 1.25;
    letter-spacing: .01em;
    text-shadow: 0 1px 0 rgba(0,0,0,.4);
}

/* fine gold rule with center diamond */
.bcd-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px auto 14px;
    width: 64%;
}
.bcd-rule-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bcd-gold), transparent);
}
.bcd-rule-diamond {
    width: 8px; height: 8px;
    transform: rotate(45deg);
    background: var(--bcd-gold);
    box-shadow: 0 0 8px rgba(201,164,76,.6);
    flex: 0 0 auto;
}

.bcd-role {
    font-size: .98rem;
    color: var(--bcd-ink);
    font-weight: 600;
    margin-bottom: 3px;
}
.bcd-org {
    font-size: .85rem;
    color: var(--bcd-gold-light);
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.bcd-tagline {
    font-size: .82rem;
    color: var(--bcd-muted);
    font-style: italic;
    line-height: 1.7;
    margin: 0 auto 14px;
    max-width: 32ch;
}
.bcd-bio {
    font-size: .82rem;
    color: var(--bcd-muted);
    line-height: 1.95;
    margin: 0 auto 20px;
    max-width: 34ch;
}
.bcd-bio p { margin: 0 0 .5em; }

/* ===== Contact ===== */
.bcd-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
}
.bcd-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .82rem;
    color: var(--bcd-ink);
    text-decoration: none;
    transition: color .2s ease;
}
.bcd-contact-row[dir="ltr"] { direction: ltr; }
.bcd-contact-row i {
    color: var(--bcd-gold);
    font-size: .82rem;
    width: 18px;
    text-align: center;
}
.bcd-contact-row:hover { color: var(--bcd-gold-light); }

/* ===== CTAs ===== */
.bcd-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 26px;
    max-width: 280px;
}
.bcd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 3px;
    font-size: .88rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: .04em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.bcd-btn i { font-size: .9rem; }
.bcd-btn-gold {
    border: 1px solid var(--bcd-gold);
    background: linear-gradient(160deg, var(--bcd-gold-light), var(--bcd-gold-deep));
    color: var(--bcd-black);
    box-shadow: 0 8px 22px rgba(201,164,76,.28);
}
.bcd-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201,164,76,.42);
}
.bcd-btn-line {
    border: 1px solid var(--bcd-gold);
    background: transparent;
    color: var(--bcd-gold-light);
}
.bcd-btn-line:hover {
    background: rgba(201,164,76,.12);
    transform: translateY(-2px);
}

/* ===== Section ornament ===== */
.bcd-section { margin-bottom: 22px; }
.bcd-section-head {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}
.bcd-section-orn {
    color: var(--bcd-gold);
    font-size: 1rem;
    position: relative;
}
.bcd-section-orn::before,
.bcd-section-orn::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 54px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,164,76,.6));
}
.bcd-section-orn::before { right: 22px; }
.bcd-section-orn::after { left: 22px; transform: scaleX(-1); }

/* ===== Highlights — centered gilded list ===== */
.bcd-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bcd-highlight {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: right;
    padding: 11px 15px;
    border: 1px solid rgba(201,164,76,.28);
    border-radius: 3px;
    background: linear-gradient(165deg, rgba(255,255,255,.025), rgba(0,0,0,.18));
    transition: border-color .25s ease, transform .25s ease;
}
.bcd-highlight:hover {
    border-color: rgba(201,164,76,.6);
    transform: translateX(-3px);
}
.bcd-highlight-ico {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--bcd-gold);
    color: var(--bcd-gold-light);
    font-size: .95rem;
    background: rgba(201,164,76,.08);
}
.bcd-highlight-body { display: flex; flex-direction: column; gap: 2px; }
.bcd-highlight-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--bcd-cream);
}
.bcd-highlight-text {
    font-size: .76rem;
    color: var(--bcd-muted);
    line-height: 1.7;
}

/* ===== Links ===== */
.bcd-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.bcd-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid rgba(201,164,76,.35);
    border-radius: 3px;
    background: rgba(0,0,0,.2);
    color: var(--bcd-ink);
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease, transform .2s ease;
}
.bcd-link:hover {
    border-color: var(--bcd-gold);
    background: rgba(201,164,76,.1);
    transform: translateY(-2px);
}
.bcd-link-ico {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    color: var(--bcd-gold-light);
    font-size: .9rem;
}
.bcd-link-title {
    flex: 1;
    font-size: .86rem;
    font-weight: 600;
    text-align: right;
}
.bcd-link-arrow { color: var(--bcd-gold); font-size: .7rem; opacity: .8; }

/* ===== Gallery ===== */
.bcd-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.bcd-gitem {
    position: relative;
    margin: 0;
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.bcd-gitem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.bcd-gitem:hover img { transform: scale(1.07); }
.bcd-gitem-frame {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(231,207,143,.55);
    border-radius: 2px;
    pointer-events: none;
}
.bcd-gitem figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 8px 7px;
    font-size: .68rem;
    color: var(--bcd-cream);
    text-align: center;
    background: linear-gradient(0deg, rgba(6,13,10,.9), transparent);
}

/* ===== Socials — small framed icons ===== */
.bcd-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    margin: 4px 0 24px;
}
.bcd-social {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--bcd-gold);
    border-radius: 3px;
    color: var(--bcd-gold-light);
    font-size: .95rem;
    text-decoration: none;
    background: rgba(0,0,0,.2);
    transition: background .25s ease, color .25s ease, transform .2s ease;
}
.bcd-social:hover {
    background: linear-gradient(160deg, var(--bcd-gold-light), var(--bcd-gold-deep));
    color: var(--bcd-black);
    transform: translateY(-3px);
}

/* ===== Footer ===== */
.bcd-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(201,164,76,.25);
}
.bcd-foot-orn { color: var(--bcd-gold); font-size: .85rem; }
.bcd-foot-name {
    font-size: .78rem;
    letter-spacing: .16em;
    color: var(--bcd-muted);
}

@media (max-width: 380px) {
    .bcd-card { padding: 20px; }
    .bcd-inner { padding: 18px 6px 6px; }
    .bcd-crest-fan { display: none; }
}
