
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
    line-height: 1.9;
    color: #e2e8f0;

    background-color: #0f172a;
    background-image:
        linear-gradient(
            rgba(8, 15, 30, 0.48),
            rgba(8, 15, 30, 0.68)
        ),
        url("/images/background-desktop.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* کارت شیشه‌ای اصلی */
.profile-card {
    width: 100%;
    max-width: 720px;
    padding: 40px;

    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* عکس پروفایل */
.profile-avatar {
    width: 112px;
    height: 112px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.profile-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    margin-top: 28px;
    color: #7dd3fc;
    font-size: 14px;
}

h1 {
    margin: 8px 0 16px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.intro {
    color: #e2e8f0;
    font-size: 17px;
}

.divider {
    height: 1px;
    margin: 28px 0;
    background: rgba(255, 255, 255, 0.2);
}

h2 {
    margin-top: 24px;
    color: #7dd3fc;
    font-size: 20px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition:
        background-color 0.2s,
        transform 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.primary {
    background: rgba(2, 132, 199, 0.9);
    color: #ffffff;
}

.primary:hover {
    background: #0369a1;
}

.secondary {
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.secondary:hover {
    background: rgba(255, 255, 255, 0.17);
}

.location-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.location-address {
    color: #e2e8f0;
    margin-bottom: 18px;
}

.map-frame {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.45);
    background: #1e293b;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

footer {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    font-size: 13px;
}

/* تنظیمات نمایش در موبایل */
@media (max-width: 600px) {
    body {
        padding: 20px 12px;
        background-image:
            linear-gradient(
                rgba(8, 15, 30, 0.48),
                rgba(8, 15, 30, 0.68)
            ),
            url("/images/background-mobile.webp");
        background-attachment: scroll;
    }

    .profile-card {
        padding: 24px 20px;
        border-radius: 20px;
        background: rgba(15, 23, 42, 0.62);
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
    }

    h1 {
        font-size: 25px;
    }

    .intro {
        font-size: 15px;
    }

    .contact-links,
    .map-actions {
        flex-direction: column;
    }

    .button {
        text-align: center;
    }

    .map-frame {
        height: 230px;
    }
}
/* عکس پروفایل: بزرگ‌تر و وسط‌چین */
.profile-avatar {
    width: 132px;
    height: 132px;
    margin: 0 auto;
    border-radius: 50%;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* آیکون‌های ارتباطی */
.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

.social-link img,
.social-link svg {
    display: block;
    width: 25px;
    height: 25px;
}

.social-link img {
    object-fit: contain;
}

.social-link:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .profile-avatar {
        width: 112px;
        height: 112px;
    }

    .contact-links {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .social-link {
        width: 46px;
        height: 46px;
    }
}
.bale-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: #ffffff;
    color: #1688e8;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* راهنمای کوتاه زیر آیکون‌های ارتباطی */
.contact-hint {
    margin: 14px 0 0;
    text-align: center;
    color: #cbd5e1;
    font-size: 13px;
}

/* بازخورد بهتر هنگام انتخاب آیکون‌ها */
.social-link {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.social-link:active {
    transform: scale(0.96);
}

/* نمایش واضح‌تر دکمه هنگام استفاده با صفحه‌کلید */
.social-link:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 4px;
}
