/* =============================================================================
 * ALL STEEL - FOOTER
 * -----------------------------------------------------------------------------
 * Five-column layout. No brand/logo block.
 * Column 5 contains a branded social list (icon + name per platform).
 *
 * Key fixes from previous version:
 *   - Hover state no longer adds border + padding (caused layout jump).
 *     Uses a left-indent colour shift instead - smooth, no reflow.
 *   - .footer-nav h4 now covers all five columns via a single selector.
 *   - .social-list items styled with per-platform brand colours.
 * ============================================================================= */

.site-footer
{
    color: #ccc;
    padding: 3rem 0 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    z-index: 2000;

    background:
        linear-gradient(115deg, rgba(255,255,255,0.060), transparent 18%, rgba(255,255,255,0.030) 34%, transparent 52%, rgba(255,255,255,0.045) 72%, transparent),
        repeating-linear-gradient(100deg, rgba(255,255,255,0.032) 0 1px, rgba(0,0,0,0.095) 1px 3px),
        linear-gradient(180deg, #20262b 0%, #12171b 52%, #080b0e 100%);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 2px 0 rgba(255,255,255,0.08) inset,
        0 -1px 0 rgba(0,0,0,0.75) inset,
        0 14px 35px rgba(0,0,0,0.32);
}

/* -----------------------------------------------------------------------------
 * Five-column grid
 * -------------------------------------------------------------------------- */
.footer-container
{
    max-width: var(--footer-container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 0 clamp(16px, 2.4vw, 34px);
}

/* -----------------------------------------------------------------------------
 * Column headings - shared across all five columns
 * -------------------------------------------------------------------------- */
.footer-nav h4
{
    color: #fff;
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* -----------------------------------------------------------------------------
 * Standard nav link lists
 * -------------------------------------------------------------------------- */
.footer-nav ul
{
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.footer-nav li
{
    margin-bottom: 0.25rem;
}

.footer-nav a
{
    color: #b0bcc8;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

/* Smooth left-indent on hover - no border, no padding jump, no reflow. */
.footer-nav a:hover
{
    color: #f28c28;
    padding-left: 6px;
    text-decoration: none;
}

/* -----------------------------------------------------------------------------
 * Branded social list - Column 5
 * -----------------------------------------------------------------------------
 * Each item: icon + platform name in a flex row.
 * Coloured left border identifies the platform at a glance.
 * -------------------------------------------------------------------------- */
.social-list
{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.social-link
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b0bcc8;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 1px 1px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link i
{
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* Platform brand colours applied on hover via border-left accent */
.social-facebook:hover
{
    color: #ffffff;
    border-left-color: #1877F2;
    background: rgba(24,119,242,0.10);
}

.social-linkedin:hover
{
    color: #ffffff;
    border-left-color: #0A66C2;
    background: rgba(10,102,194,0.10);
}

.social-instagram:hover
{
    color: #ffffff;
    border-left-color: #e1cf30;
    background: rgba(225,48,108,0.10);
}

.social-twitter:hover
{
    color: #ffffff;
    border-left-color: #7d8c9b;
    background: rgba(230,230,230,0.08);
}

/* -----------------------------------------------------------------------------
 * Footer bottom bar
 * -------------------------------------------------------------------------- */
.footer-bottom
{
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: #aaa;
}

/* -----------------------------------------------------------------------------
 * Responsive
 * -------------------------------------------------------------------------- */

/* Tablet - 3 columns */
@media (max-width: 1024px)
{
    .footer-container
    {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small tablet - 2 columns */
@media (max-width: 768px)
{
    .footer-container
    {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - single column */
@media (max-width: 480px)
{
    .footer-container
    {
        grid-template-columns: 1fr;
    }
}