/* ============================================
   FENNEC FREIGHT - FOOTER STYLES
   ============================================ */

/* CSS Variables (inherited from header.css) */
:root {
    --primary: #053c23;
    --accent: #F1A128;
    --secondary: #e6eef4;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
    background: var(--primary);
    color: #fff;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-inner {
    width: 100%;
    margin: 0 auto;
    padding: 48px 24px 24px;
    max-width: 100%;
}
/* ============================================
   FOOTER TOP SECTION
   ============================================ */

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 48px 40px;
    margin-bottom: 0;
    padding-bottom: 20px;
    padding-top: 20px;
  
}

/* ============================================
   FOOTER COLUMN
   ============================================ */

.footer-column {
    display: flex;
    flex-direction: column;
}

/* ============================================
   FOOTER BRAND
   ============================================ */

.footer-brand-link {
    display: inline-block;
    margin-bottom: 16px;
    transition: opacity 0.2s ease;
}

.footer-brand-link:hover {
    opacity: 0.85;
}

.footer-logo {
    height: 120px;
    min-height: 80px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.footer-brand-link:hover .footer-logo {
    transform: scale(1.05);
}

.footer-description {
    font-family: "Aptos", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   FOOTER HEADING
   ============================================ */

.footer-heading {
    font-family: "Aptos", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* ============================================
   FOOTER NAVIGATION
   ============================================ */

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-family: "Aptos", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
    width: fit-content;
}

.footer-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-link:hover::before {
    width: calc(100% - 8px);
}

/* ============================================
   FOOTER CONTACT
   ============================================ */

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-family: "Aptos", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-contact-item i {
    font-size: 18px;
    width: 24px;
    min-width: 24px;
    color: var(--accent);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    line-height: 1.6;
    word-wrap: break-word;
    flex: 1;
}

a.footer-contact-item:hover {
    color: #fff;
}

a.footer-contact-item:hover i {
    transform: scale(1.15);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
}

.footer-copyright {
    font-family: "Aptos", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Aptos", sans-serif;
    font-size: 13px;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: var(--accent);
}

.footer-legal-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
/* desktop */
@media (min-width: 1200px) {
    .site-footer-inner {
        max-width: 1280px;
    }
}

/* large desktop */
@media (min-width: 1400px) {
    .site-footer-inner {
        max-width: 1440px;
    }
}

/* 2K */
@media (min-width: 1600px) {
    .site-footer-inner {
        max-width: 1600px;
    }
}

/* 4K */
@media (min-width: 2000px) {
    .site-footer-inner {
        max-width: 1800px;
    }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .site-footer-inner {
        padding: 40px 24px 24px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-heading::after {
        left: 0;
        transform: none;
    }
}

/* Tablet and below */
@media (max-width: 1024px) {
    .site-footer-inner {
        padding: 40px 24px 24px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .site-footer-inner {
        padding: 36px 20px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
        padding-bottom: 32px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-brand-link {
        display: flex;
        justify-content: center;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-link {
        margin: 0 auto;
    }

    .footer-contact-info {
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-contact-item i {
        align-self: start;
        margin-top: 0;
    }

    .footer-contact-item span {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-footer-inner {
        padding: 32px 16px 16px;
    }

    .footer-top {
        gap: 28px;
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-heading {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .footer-link {
        font-size: 13px;
    }

    .footer-contact-item {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-legal {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
