/* =========================================================
   FOOTER — DARK THEME (Tech-inspired, Mobile Responsive)
   Project: ict.abusayed.net
========================================================= */

.site-footer {
    background: #10131a;
    border-top: 1px solid #2a3141;
    color: #a0a0b8;
    font-family: var(--mono, 'JetBrains Mono', monospace);
    margin-top: 40px;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

/* ----- Grid Container (wrap + footer-grid combined) ----- */
.site-footer > .wrap.footer-grid {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 28px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    box-sizing: border-box;
}

.footer-col h4 {
    color: #d97706;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-bottom: 1px solid #2a3141;
    padding-bottom: 8px;
}

.footer-brand .footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #f0f0f5;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.footer-brand .footer-logo::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40%;
    height: 2px;
    background: #d97706;
}

.footer-brand p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: #a0a0b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-col ul a:hover {
    color: #d97706;
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #2a3141;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0b8;
    background: #161a23;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    border-color: #d97706;
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.3);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ----- Bottom Bar ----- */
.footer-bottom {
    border-top: 1px solid #2a3141;
    padding: 16px 0;
    background: #0c0f15;
    position: relative;
    z-index: 1;
}

.footer-bottom > .wrap {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
    line-height: 1.7;
}

.footer-bottom p a {
    color: #d97706;
    text-decoration: none;
}

.footer-bottom p a:hover {
    color: #f2a93b;
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Tablet */
@media (max-width: 900px) {
    .site-footer > .wrap.footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 32px 24px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom > .wrap {
        padding: 0 24px;
    }
}

/* Large Phone */
@media (max-width: 600px) {
    .site-footer > .wrap.footer-grid {
        gap: 20px;
        padding: 28px 20px;
    }
    .footer-brand .footer-logo { font-size: 18px; }
    .footer-brand p { font-size: 12px; }
    .footer-col h4 {
        font-size: 11px;
        margin-bottom: 12px;
    }
    .footer-col ul a { font-size: 12px; }
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    .footer-social svg {
        width: 16px;
        height: 16px;
    }
    .footer-bottom > .wrap {
        padding: 0 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .site-footer { margin-top: 24px; }
    .site-footer > .wrap.footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 16px;
    }
    .footer-brand {
        grid-column: auto;
        text-align: center;
    }
    .footer-brand .footer-logo { font-size: 18px; }
    .footer-brand .footer-logo::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
    }
    .footer-brand p {
        font-size: 12px;
        text-align: center;
    }
    .footer-col { text-align: center; }
    .footer-col h4 { font-size: 11px; }
    .footer-col ul { text-align: center; }
    .footer-col ul li { margin-bottom: 6px; }
    .footer-col ul a { font-size: 13px; }
    .footer-social { justify-content: center; }
    .footer-social a {
        width: 38px;
        height: 38px;
    }
    .footer-bottom { padding: 14px 0; }
    .footer-bottom > .wrap { padding: 0 16px; }
    .footer-bottom p {
        font-size: 11px;
        line-height: 1.8;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .site-footer > .wrap.footer-grid {
        padding: 20px 14px;
        gap: 16px;
    }
    .footer-social a {
        width: 34px;
        height: 34px;
    }
    .footer-social svg {
        width: 14px;
        height: 14px;
    }
    .footer-bottom > .wrap { padding: 0 14px; }
    .footer-bottom p { font-size: 10px; }
}