/* public/css/footer.css  (OFFICIAL • NO :root) */

/* ✅ Variables inside footer فقط (بدون root) */
.site-footer{
    --brand:#b08a2e;          /* ذهبي جامعي هادئ */
    --brand2:#c99a12;         /* ذهبي أغمق بسيط */
    --text:#e5e7eb;           /* نص فاتح */
    --muted:#cbd5e1;          /* نص ثانوي */
    --bg:#0f172a;             /* كحلي رسمي */
    --bg2:#0b1220;            /* كحلي أغمق */

    position: relative;
    background:
        radial-gradient(1100px 520px at 75% 15%, rgba(176,138,46,.14) 0%, rgba(176,138,46,0) 62%),
        radial-gradient(700px 320px at 15% 55%, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
    color: var(--text);
    padding: 58px 0 18px;
    overflow:hidden;
}

/* Gold top accent */
.site-footer::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:2px;
    background: linear-gradient(90deg, transparent, rgba(176,138,46,.95), transparent);
    opacity:.95;
}

/* subtle border frame */
.site-footer::after{
    content:"";
    position:absolute;
    inset:0;
    border-top: 1px solid rgba(255,255,255,.06);
    pointer-events:none;
    opacity:.8;
}

/* Grid */
.footer-grid{
    display:grid;
    grid-template-columns: 1.05fr 1.25fr 1.05fr;
    gap: 30px;
    align-items:start;
}

/* Titles */
.footer-title{
    margin: 0 0 14px;
    font-weight: 900;
    font-size: 18px;
    color:#fff;
    letter-spacing: .2px;
}

/* Links */
.footer-links{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap: 10px;
}

.footer-links a{
    color: rgba(203,213,225,.92);
    text-decoration:none;
    font-weight: 750;
    transition: color .15s ease, opacity .15s ease;
}

.footer-links a:hover{
    color:#fff;
    opacity: 1;
}

/* Contact */
.footer-contact{
    list-style:none;
    padding:0;
    margin:0 0 16px;
    display:grid;
    gap: 12px;
}

.footer-contact li{
    display:flex;
    gap:10px;
    align-items:center;
    color: rgba(203,213,225,.92);
    font-weight: 750;
}

.footer-contact a{
    color:#fff;
    text-decoration:none;
    font-weight: 850;
}

.footer-contact a:hover{
    text-decoration: underline;
}

/* icon box */
.footer-contact .ic{
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.06);
    transition: border-color .15s ease, background .15s ease;
}

.footer-contact li:hover .ic{
    border-color: rgba(176,138,46,.45);
    background: rgba(176,138,46,.10);
}

.footer-contact .ic svg{
    width: 18px;
    height: 18px;
    color: #fff;
}

/* Social */
.footer-social{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top: 6px;
}

.footer-social .soc{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    text-decoration:none;

    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.footer-social .soc svg{
    width: 18px;
    height: 18px;
    opacity: .95;
}

.footer-social .soc:hover{
    transform: translateY(-2px);
    background: rgba(176,138,46,.14);
    border-color: rgba(176,138,46,.40);
}

/* Map */
.footer-map .map-placeholder{
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    min-height: 170px;
    display:flex;
    align-items:center;
    justify-content:center;
    color: rgba(255,255,255,.72);
    font-weight: 850;
    text-align:center;
    padding: 12px;
}

/* Bottom bar */
.footer-bottom{
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.10);

    display:flex;
    gap:10px;
    align-items:center;
    justify-content:center;

    color: rgba(255,255,255,.74);
    font-weight: 750;
    text-align:center;
    flex-wrap:wrap;
}

.footer-bottom .sep{
    opacity:.5;
}

.footer-bottom .bottom-link{
    color: rgba(255,255,255,.90);
    text-decoration:none;
    font-weight: 850;
}

.footer-bottom .bottom-link:hover{
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px){
    .footer-grid{
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom{
        justify-content:center;
    }
}