/* Footer Styles */
.footer {
    background-color: var(--secondary-dark);
    color: var(--text-primary-dark);
    padding: 3rem 5% 1rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer.light-mode {
    background-color: var(--secondary-light);
    color: var(--text-primary-light);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

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

.footer.light-mode .footer-section p {
    color: var(--text-secondary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--tertiary-dark);
    color: var(--text-primary-dark);
    border-radius: 50%;
    transition: all var(--transition-speed);
}

.footer.light-mode .social-links a {
    background-color: var(--tertiary-light);
    color: var(--text-primary-light);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-5px);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-secondary-dark);
    text-decoration: none;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
}

.footer.light-mode .footer-section ul li a {
    color: var(--text-secondary-light);
}

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

.footer-section ul li a::before {
    content: '→';
    margin-right: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: all var(--transition-speed);
}

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

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-section a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-secondary-dark);
}

.footer.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section:first-child {
        grid-column: span 1;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}