/* Footer Styles - Shared across all pages */

/* Footer Container */
footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    color: var(--white);
    padding: 6rem 2rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 6rem;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom center, rgba(91, 91, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Decorative Top Border */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gray-600) 50%, transparent 100%);
}

/* Footer Layout Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-bottom: 3rem;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Logo Styles */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.footer-logo-image {
    height: 32px;
    width: auto;
    display: block;
    transition: all 0.3s var(--ease-premium);
    filter: brightness(1);
}

.footer-logo:hover .footer-logo-image {
    transform: scale(1.05) translateY(-1px);
    filter: brightness(1.1);
}

/* Description Text */
.footer-description {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
}

/* Contact Information */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.footer-contact-icon {
    font-size: 1rem;
}

/* Navigation Section */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-premium);
    position: relative;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s var(--ease-premium);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(8px);
}

.footer-links a:hover::before {
    width: 6px;
}

/* Copyright Section */
.footer-copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* Responsive Footer Design */
@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
}