/* ======================================
   REEMCO FOOTER — Premium RTL Design
   File: reemco-footer.css
   ====================================== */

/* — Hide Astra's default footer — */
.site-footer,
.ast-footer-overlay,
.ast-small-footer,
footer.entry-footer,
.site-below-footer-wrap,
.site-above-footer-wrap,
.ast-builder-footer-grid-columns {
    display: none !important;
}

/* — Footer Wrapper — */
.reemco-footer {
    background: linear-gradient(180deg, #f7f0f3 0%, #efe8ec 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 70px 0 0 0;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    position: relative;
}

.reemco-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #C4A265, #e8734a, #C4A265);
    opacity: 0.6;
}

/* — Container — */
.reemco-footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* — Main 6-Column Grid — */
.reemco-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 0.8fr;
    gap: 30px;
    align-items: start;
}

/* ==========================================
   COL 1 — Brand Identity (Far Right)
   ========================================== */
.reemco-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reemco-footer__logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.reemco-footer__logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.reemco-footer__brand-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.8;
    max-width: 220px;
}

/* ==========================================
   COLS 2-5 — Navigation Columns
   ========================================== */
.reemco-footer__nav-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.reemco-footer__nav-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: #e8734a;
    border-radius: 2px;
}

.reemco-footer__nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reemco-footer__nav-col ul li {
    margin-bottom: 12px;
}

.reemco-footer__nav-col ul li a {
    text-decoration: none;
    color: #666;
    font-size: 0.88rem;
    font-weight: 400;
    transition: color 0.25s ease, padding-right 0.25s ease;
    display: inline-block;
}

.reemco-footer__nav-col ul li a:hover {
    color: #e8734a;
    padding-right: 6px;
}

/* ==========================================
   COL 6 — Social Media (Far Left)
   ========================================== */
.reemco-footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.reemco-footer__social h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.reemco-footer__social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e8734a;
    border-radius: 2px;
}

.reemco-footer__social-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.reemco-footer__social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: #555;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.reemco-footer__social-icons a:hover {
    background: #e8734a;
    color: #fff;
    border-color: #e8734a;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(232, 115, 74, 0.35);
}

/* ==========================================
   BOTTOM BAR
   ========================================== */
.reemco-footer__bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 22px 0;
    text-align: center;
}

.reemco-footer__bottom p {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.5px;
}

.reemco-footer__bottom a {
    color: #e8734a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.reemco-footer__bottom a:hover {
    color: #1a1a1a;
}

/* ==========================================
   RESPONSIVE — Tablet (1024px)
   ========================================== */
@media (max-width: 1024px) {
    .reemco-footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 35px;
    }

    .reemco-footer__brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .reemco-footer__brand-desc {
        max-width: 400px;
    }

    .reemco-footer__social {
        grid-column: 1 / -1;
        align-items: center;
    }

    .reemco-footer__social h4::after {
        right: 50%;
        transform: translateX(50%);
        left: auto;
    }

    .reemco-footer__social-icons {
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================
   RESPONSIVE — Mobile (768px)
   ========================================== */
@media (max-width: 768px) {
    .reemco-footer {
        padding: 50px 0 0 0;
    }

    .reemco-footer__container {
        padding: 0 24px;
    }

    .reemco-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .reemco-footer__brand {
        align-items: center;
    }

    .reemco-footer__nav-col {
        text-align: center;
    }

    .reemco-footer__nav-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .reemco-footer__nav-col ul li a:hover {
        padding-right: 0;
    }

    .reemco-footer__social {
        align-items: center;
    }

    .reemco-footer__social-icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}