/* ============================================
   FOOTER.CSS — Modern Footer
   ============================================ */

footer {
    background: var(--primary);
    color: var(--secondary);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 90%, rgba(255, 102, 0, 0.06), transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(255, 133, 51, 0.04), transparent 40%);
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.1rem;
    color: var(--secondary);
}

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

.footer-col > p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
    color: var(--accent);
}

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

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

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

/* Contact Info */
.contact-footer-col {
    font-size: 0.95rem;
}

.contact-footer-col .contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.contact-footer-col .contact-info-item i {
    color: var(--accent);
    min-width: 18px;
    text-align: center;
    font-size: 1rem;
    margin-top: 3px;
}

.contact-footer-col .contact-info-item p {
    color: var(--gray-400);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 16px;
    }

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

    .footer-col h4::after {
        left: 0;
    }
}
