﻿/* ==========================================================
   MILX PREMIUM
   footer.css
========================================================== */

/* ===============================
   FOOTER
================================= */

.xs-footer {
    position: relative;
    background: #080808;
    border-top: 1px solid rgba(212,175,55,.15);
    padding: 5rem 0 2rem;
    color: var(--c-text-muted);
    overflow: hidden;
}

    /* خلفية زخرفية */

    .xs-footer::before {
        content: "";
        position: absolute;
        top: -180px;
        right: -180px;
        width: 450px;
        height: 450px;
        border-radius: 50%;
        background: radial-gradient( rgba(212,175,55,.08), transparent 70% );
        pointer-events: none;
    }

/* ===============================
   LOGO
================================= */

.xs-footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .xs-footer-brand img {
        width: 55px;
        height: 55px;
        object-fit: contain;
    }

    .xs-footer-brand h4 {
        margin: 0;
        color: var(--gold-light);
    }

/* ===============================
   DESCRIPTION
================================= */

.xs-footer p {
    color: var(--c-text-muted);
    line-height: 1.8;
}

.xs-footer-divider {
    height: 1px;
    margin: 3rem 0 2rem;
    background: linear-gradient( to right, transparent, rgba(212,175,55,.5), transparent);
}
/* ===============================
   TITLES
================================= */

.xs-footer h5,
.xs-footer h6 {
    color: #fff;
    margin-bottom: 1.4rem;
    position: relative;
}

    .xs-footer h6::after {
        content: "";
        display: block;
        width: 45px;
        height: 2px;
        margin-top: .6rem;
        background: var(--gold-gradient-horizontal);
    }

/* ===============================
   LINKS
================================= */

.xs-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xs-footer li {
    margin-bottom: .8rem;
}

.xs-footer a {
    color: var(--c-text-muted);
    transition: .3s;
}

    .xs-footer a:hover {
        color: var(--gold-light);
        padding-inline-start: 6px;
    }

/* ===============================
   CONTACT
================================= */

.xs-footer-contact {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: 1rem;
}

    .xs-footer-contact i {
        color: var(--gold);
        width: 20px;
        margin-top: 4px;
    }

/* ===============================
   SOCIAL
================================= */

.xs-social {
    display: flex;
    gap: .8rem;
    margin-top: 1.5rem;
}

    .xs-social a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #111;
        border: 1px solid rgba(212,175,55,.18);
        color: var(--gold);
        transition: .35s;
    }

        .xs-social a:hover {
            background: var(--gold-gradient);
            color: #111;
            transform: translateY(-4px);
            box-shadow: var(--shadow-gold);
        }

/* ===============================
   NEWSLETTER
================================= */

.footer-newsletter {
    display: flex;
    margin-top: 1.2rem;
}

    .footer-newsletter input {
        flex: 1;
        background: #111;
        border: 1px solid #2d2d2d;
        color: #fff;
        padding: .8rem 1rem;
        border-radius: 999px 0 0 999px;
    }

    .footer-newsletter button {
        border: none;
        background: var(--gold-gradient);
        color: #111;
        padding: 0 1.4rem;
        border-radius: 0 999px 999px 0;
        font-weight: 600;
    }

/* RTL */

html[dir="rtl"] .footer-newsletter input {
    border-radius: 0 999px 999px 0;
}

html[dir="rtl"] .footer-newsletter button {
    border-radius: 999px 0 0 999px;
}

/* ===============================
   COPYRIGHT
================================= */

.xs-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

    .xs-footer-bottom p {
        margin: 0;
        color: #777;
        font-size: .92rem;
    }

    .xs-footer-bottom a {
        color: var(--gold);
    }

/* ===============================
   PAYMENT ICONS
================================= */

.footer-payments {
    display: flex;
    gap: .7rem;
    align-items: center;
}

    .footer-payments img {
        height: 28px;
        opacity: .7;
        transition: .3s;
    }

        .footer-payments img:hover {
            opacity: 1;
        }

/* ===============================
   RESPONSIVE
================================= */

@media(max-width:768px) {

    .xs-footer {
        text-align: center;
    }

    .xs-footer-brand {
        justify-content: center;
    }

    .xs-social {
        justify-content: center;
    }

    .xs-footer-contact {
        justify-content: center;
    }

    .xs-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
