/* ============================================================
   FOOTER — Dark gradient background with multi-column layout
   ============================================================ */

/* Main footer container */
footer {
    background: linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
    overflow: hidden;
}

/* Dark mode footer — slightly different gradient depth */
[data-theme="dark"] footer {
    background: linear-gradient(135deg, #0A0F16 0%, #0E1628 100%);
}

/* Multi-column grid for footer content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-10);
    position: relative;
    z-index: 1;
}

/* Column headings */
.footer-column h3 {
    color: white;
    margin-bottom: var(--space-4);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
}

/* Decorative underline that expands on hover */
.footer-column h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    margin-top: var(--space-2);
    transition: width var(--transition-normal);
}
.footer-column:hover h3::after { width: 80px; }

/* Footer paragraph text */
.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* Footer links with arrow animation on hover */
.footer-links a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
    font-size: 0.85rem;
}

/* Arrow that slides in on hover */
.footer-links a::before {
    content: '\2192';
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-fast);
    color: var(--color-accent);
}
.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social media icon links */
.social-links {
    display: flex;
    gap: var(--space-3);
    font-size: 1.1rem;
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

/* Circular social icon buttons */
.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all var(--transition-normal);
}
.social-links a:hover {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* Copyright text at the very bottom */
.copyright {
    text-align: center;
    padding-top: var(--space-6);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}
