/* Footer styles for Fylrano website */

footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: var(--space-5) 0 var(--space-3);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--space-2);
}

.footer-logo p {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.footer-nav h3,
.footer-links h3,
.footer-social h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-3);
    color: var(--accent);
    position: relative;
    padding-bottom: var(--space-1);
}

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

.footer-nav ul,
.footer-links ul {
    list-style: none;
}

.footer-nav ul li,
.footer-links ul li {
    margin-bottom: var(--space-1);
}

.footer-nav ul li a,
.footer-links ul li a {
    color: var(--gray-300);
    transition: color 0.3s ease;
    font-size: var(--font-size-sm);
}

.footer-nav ul li a:hover,
.footer-links ul li a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: var(--space-2);
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    opacity: 0.7;
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--space-5);
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-logo,
    .footer-nav,
    .footer-links,
    .footer-social {
        text-align: center;
    }
    
    .footer-nav h3::after,
    .footer-links h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}