/* 
   Valorpoint - Footer Layout Styles
   This file updates the footer to use a grid layout rather than stacked columns
*/

/* Footer styles */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer a {
    color: var(--white);
    opacity: 0.9;
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info, .footer-links, .footer-social {
    padding: 0 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    filter: brightness(0) invert(1); /* This makes the image completely white */
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links h3, .footer-social h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    position: relative;
    padding-left: 0;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    padding-left: 8px;
}

.footer-links a::before {
    content: "›";
    position: absolute;
    left: -5px;
    opacity: 0;
    transition: var(--transition-normal);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
}
