/* ============================================
   Font Awesome - Custom Minimal
   فقط آیکون‌های استفاده‌شده در سایت
   ============================================ */

/* ===== Font Face Definitions ===== */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-regular-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fontawesome/fa-brands-400.woff2') format('woff2');
}

/* ===== Base Styles ===== */
.fa,
.fa-classic,
.fa-solid,
.fa-regular,
.fa-brands,
.fas,
.far,
.fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

/* ===== Family Definitions ===== */
.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas {
    font-family: "Font Awesome 6 Free";
}

.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands";
}

/* ===== Weight Definitions ===== */
.fa-solid,
.fas {
    font-weight: 900;
}

.fa-regular,
.far {
    font-weight: 400;
}

.fa-brands,
.fab {
    font-weight: 400;
}

/* ============================================
   ICON DEFINITIONS - استفاده‌شده در سایت
   ============================================ */

/* ===== Solid Icons (fas) ===== */
.fa-moon:before {
    content: "\f186";
}
.fa-sun:before {
    content: "\f185";
}
.fa-search:before {
    content: "\f002";
}
.fa-clock:before {
    content: "\f017";
}
.fa-book:before {
    content: "\f02d";
}
.fa-list-ul:before {
    content: "\f0ca";
}
.fa-list:before {
    content: "\f03a";
}
.fa-bars:before {
    content: "\f0c9";
}
.fa-pen-fancy:before {
    content: "\f5ac";
}
.fa-sticky-note:before {
    content: "\f249";
}
.fa-graduation-cap:before {
    content: "\f19d";
}
.fa-comment:before {
    content: "\f075";
}
.fa-spinner:before {
    content: "\f110";
}
.fa-robot:before {
    content: "\f544";
}
.fa-wifi:before {
    content: "\f1eb";
}
.fa-microchip:before {
    content: "\f2db";
}
.fa-cloud:before {
    content: "\f0c2";
}
.fa-shield-alt:before {
    content: "\f3ed";
}
.fa-arrow-left:before {
    content: "\f060";
}
.fa-arrow-right:before {
    content: "\f061";
}

/* ===== Regular Icons (far) ===== */
.fa-calendar-alt:before {
    content: "\f073";
}
.fa-eye:before {
    content: "\f06e";
}

/* ===== Brands Icons (fab) ===== */
.fa-researchgate:before {
    content: "\f4f8";
}
.fa-linkedin-in:before {
    content: "\f0e1";
}
.fa-telegram-plane:before {
    content: "\f3fe";
}
.social-icons a.bale-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    background-color: var(--border-color);

    border: 1px solid transparent;
    transition: var(--transition);
}

.social-icons a.bale-icon span {
    width: 30px;
    height: 30px;

    background-image: url("../images/Logo06.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    transition: filter 0.2s ease;
}

.social-icons a.bale-icon:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* فقط خود SVG سفید می‌شود */
.social-icons a.bale-icon:hover span {
    filter: brightness(0) invert(1);
}