/* =========================================================
   Shrang Footer
   File: wp-content/themes/shrang/assets/css/footer.css
   Purpose:
   - Site footer
   - Stronger Shrang brand footer
   - Footer brand without icon
   - Footer menu
   - Footer responsive layout
   ========================================================= */

.shrang-site-footer {
    position: relative;
    overflow: hidden;
    padding: 38px 0 0;
    border-top: 1px solid rgba(250, 84, 32, 0.22);
    background:
        radial-gradient(circle at 10% 0%, rgba(250, 84, 32, 0.30), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(124, 58, 237, 0.18), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(20, 184, 166, 0.14), transparent 34%),
        linear-gradient(135deg, #fff3ec 0%, #ffe6d8 44%, #f5f3ff 100%);
}

.shrang-site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 44%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.42), transparent 32%);
}

.shrang-footer-inner {
    position: relative;
    z-index: 1;
    width: calc(100% - 44px);
    max-width: var(--shrang-container);
    margin: 0 auto 30px;
    padding: 28px 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 30px;
    align-items: center;
    border: 1px solid rgba(250, 84, 32, 0.24);
    border-radius: 26px;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.16), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 242, 0.84));
    box-shadow: 0 22px 52px rgba(17, 17, 17, 0.075);
}

.shrang-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* Footer logo text only, no icon */
.shrang-footer-brand strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--shrang-black);
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.075em;
    direction: ltr;
    unicode-bidi: isolate;
    text-rendering: geometricPrecision;
}

.shrang-footer-brand span {
    max-width: 480px;
    color: #3f342f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.shrang-footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shrang-footer-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    color: #4a2417;
    border: 1px solid rgba(250, 84, 32, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 234, 0.80));
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(250, 84, 32, 0.08);
}

.shrang-footer-navigation a:hover {
    color: #ffffff;
    border-color: var(--shrang-orange);
    background:
        linear-gradient(135deg, var(--shrang-orange), #e94717);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(250, 84, 32, 0.20);
}

.shrang-footer-copy {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding-top: 17px;
    color: #5b4035;
    border-top: 1px solid rgba(250, 84, 32, 0.20);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
}

body.shrang-app-dir-rtl .shrang-footer-brand strong {
    direction: ltr;
    unicode-bidi: isolate;
}

@media (max-width: 900px) {
    .shrang-site-footer {
        padding-top: 30px;
    }

    .shrang-footer-inner {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        margin-bottom: 22px;
        padding: 24px 20px;
        text-align: center;
    }

    .shrang-footer-brand {
        align-items: center;
    }

    .shrang-footer-brand strong {
        justify-content: center;
    }

    .shrang-footer-brand span {
        max-width: 520px;
    }

    .shrang-footer-navigation ul {
        justify-content: center;
    }

    .shrang-footer-copy {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .shrang-site-footer {
        padding-top: 24px;
    }

    .shrang-footer-inner {
        width: calc(100% - 18px);
        padding: 20px 14px;
        border-radius: 22px;
    }

    .shrang-footer-brand strong {
        font-size: 26px;
    }

    .shrang-footer-brand span {
        font-size: 13px;
    }

    .shrang-footer-navigation ul {
        gap: 7px;
    }

    .shrang-footer-navigation a {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }
}