/* ==========================================
   QIFAN SPORTS EQUIPMENT - FOOTER STYLES
   Footer layout, links, contact, copyright
   ========================================== */

.footer {
    background: linear-gradient(135deg, var(--accent-color), #1a2634);
    color: #ffffff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(215, 122, 58, 0.2), transparent);
    border-radius: 50%;
}
.footer::before{
    top: -50%;
    right: -10%;
}
.footer::after{
    bottom: -50%;
    left: -10%;
}
.footer-main {
    position: relative;
    z-index: 9;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}
/* === CTA Banner === */
/* .cta-banner {
    background: linear-gradient(135deg, var(--accent-color), #1a2634);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
} */

.cta-content {
    display: flex;
    max-width: 1600px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    margin: 0 auto 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
    margin-top: 10px;
}
/* === Footer About === */
.footer-about .footer-logo {
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
    height: 50px;
    width: auto;
}

/* === Footer Links === */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

/* === Footer Contact === */
.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: stretch;
    transition: var(--transition-base);
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-item i {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact-item div {
    flex: 1;
}

.footer-contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
    font-weight: 600;
}

.footer-contact-item span,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

/* === Footer Social === */
.footer-social {
    margin-top: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* === Footer Bottom === */
.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
.footer-bottom-grid{
    display: flex;
    justify-content: space-between;
}
.footer-legal{
    display: flex;
    gap: 30px;
}
/* === Responsive Design === */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    .cta-banner {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.05rem;
    }
    .footer-main {
        padding-bottom: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .footer-about .footer-logo img {
        height: 40px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
    .footer-bottom-grid{
    flex-direction: column;
    }
    .footer-legal{
        justify-content: space-between;
    }
}