/* توحيد ظهور اللوجو داخل كل الفوترات:
   يبقى داخل صندوق أبيض (كالفوتر الأصلي) بلا فلتر — فيظهر أي شعار ملوّن أو شفاف */
.site-footer .navbar-brand {
    display: inline-flex;
    background: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    margin-bottom: 18px;
}

    .site-footer .navbar-brand img {
        height: 60px;
        display: block;
        filter: none;
    }

/* =========================================================
   footer-variants.css — الفوترات 2 و3 و4
   الألوان من متغيّرات الثيم (:root) المحقونة من قاعدة البيانات
   الفوتر 1 يستخدم أنماط style.css الحالية. يُضاف بعد style.css
   ========================================================= */

/* ============ الفوتر 2 — مُدمج مركزي (Compact) ============ */
.site-footer--compact {
    padding: 56px 0 0;
}

    .site-footer--compact .fc2-inner {
        text-align: center;
        max-width: 720px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .site-footer--compact .fc2-logo {
        display: inline-flex;
        background: #fff;
        padding: 8px 18px;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0,0,0,.18);
        margin: 0 auto 18px;
    }

        .site-footer--compact .fc2-logo img {
            height: 58px;
            display: block;
            filter: none;
        }

    .site-footer--compact .fc2-about {
        color: rgba(255,255,255,.68);
        font-size: .95rem;
        line-height: 1.9;
        max-width: 560px;
        margin: 0 auto 20px;
    }

    .site-footer--compact .footer-social {
        justify-content: center;
        margin-bottom: 24px;
    }

    .site-footer--compact .fc2-links {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 26px;
        padding: 0;
        margin: 0 0 22px;
    }

        .site-footer--compact .fc2-links a {
            color: rgba(255,255,255,.8);
            font-size: .95rem;
            font-weight: 600;
            transition: var(--transition);
        }

            .site-footer--compact .fc2-links a:hover {
                color: var(--gold);
            }

    .site-footer--compact .fc2-meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,.1);
    }

        .site-footer--compact .fc2-meta a, .site-footer--compact .fc2-meta span {
            color: rgba(255,255,255,.72);
            font-size: .88rem;
        }

        .site-footer--compact .fc2-meta i {
            color: var(--gold);
            margin-left: 6px;
        }

        .site-footer--compact .fc2-meta a:hover {
            color: var(--gold);
        }

/* ============ الفوتر 3 — شريط دعوة (CTA) علوي ============ */
.site-footer--cta .fc3-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg,var(--teal-dark),var(--teal));
    border: 1px solid rgba(201,169,97,.35);
    border-radius: var(--radius-lg);
    padding: 30px 36px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.site-footer--cta .fc3-cta-text h3 {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 6px;
}

.site-footer--cta .fc3-cta-text p {
    color: rgba(255,255,255,.82);
    margin: 0;
    font-size: .95rem;
}

.site-footer--cta .fc3-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .site-footer--cta .fc3-cta-btns .btn-outline-custom {
        color: #fff;
        border-color: rgba(255,255,255,.55);
    }

        .site-footer--cta .fc3-cta-btns .btn-outline-custom:hover {
            background: #fff;
            color: var(--teal-dark);
        }

.site-footer--cta .fc3-cols {
    position: relative;
    z-index: 1;
}

@media(max-width:640px) {
    .site-footer--cta .fc3-cta {
        padding: 24px;
        text-align: center;
        justify-content: center;
    }

    .site-footer--cta .fc3-cta-btns {
        justify-content: center;
    }
}

/* ============ الفوتر 4 — مقسوم (Split) ============ */
.site-footer--split .fc4-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 44px;
    position: relative;
    z-index: 1;
}

.site-footer--split .fc4-brand .navbar-brand {
    margin-bottom: 16px;
}

.site-footer--split .fc4-brand .footer-social {
    margin-top: 18px;
}

@media(max-width:860px) {
    .site-footer--split .fc4-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .site-footer--split .fc4-brand {
        grid-column: 1 / -1;
    }
}

@media(max-width:520px) {
    .site-footer--split .fc4-grid {
        grid-template-columns: 1fr;
    }
}
