/**
 * Axford AI Platform — Car Rental Module Footer CSS
 * 4-column footer pattern used by all car rental / tour booking sites
 *
 * Location: /var/www/axfordai.com/platform/carrental/css/footer.css
 * Usage:    <link rel="stylesheet" href="/carrental/css/footer.css">
 *
 * Colours use CSS custom properties so each site can override
 * via their own stylesheet or inline :root declarations.
 *
 * Default variables (override in site stylesheet as needed):
 *   --footer-bg:      var(--gold, #fcd116)
 *   --footer-color:   var(--black, #111111)
 *   --footer-primary: var(--primary, #e65c00)
 *
 * @author Axford AI
 */

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
    background: var(--footer-bg, var(--gold, #fcd116));
    color: var(--footer-color, var(--black, #111111));
    padding: 56px 24px 0;
    width: 100%;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--footer-color, var(--black, #111111));
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list li {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.5;
}

.footer-list a {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: var(--footer-primary, var(--primary, #e65c00));
}

/* ── PAYMENT CARD LOGOS ──────────────────────────────────────── */
.footer-cards {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-card-logo {
    height: 50px;
    width: auto;
    background: white;
    border-radius: 6px;
    padding: 6px 9px;
}

/* ── FOOTER BOTTOM BAR ───────────────────────────────────────── */
.footer-hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin: 40px 0 16px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 24px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom-inner a {
    color: var(--footer-color, var(--black, #111111));
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-inner a:hover {
    color: var(--footer-primary, var(--primary, #e65c00));
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}