/* ========================================
   FOOTER STYLES - Tribe FantasyVenture
   Modern Design
   ======================================== */

/* Footer Container */
.site-footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Footer Grid Layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Section */
.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-section p i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

/* Footer Logo */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.footer-section ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section h4 {
        font-size: 1.125rem;
    }
    
    .footer-bottom p {
        font-size: 0.6875rem;
        line-height: 1.8;
    }
}
