/* Footer */
.footer {
    background-color: var(--option-bg); /* Slightly darker for footer */
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-brand {
    flex: 2;
    min-width: 250px;
}

.footer-brand .nav-logo {
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links {
    flex: 3;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end; /* Align to right */
}

.footer-column {
    flex: 1;
    min-width: 120px; /* Minimum width for columns before wrapping */
}

.footer-column h4 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-sub);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand {
        min-width: unset;
        width: 100%;
    }
    .footer-links {
        justify-content: center; /* Center columns on smaller screens */
    }
    .footer-column {
        text-align: center;
        min-width: 100px; /* Allow columns to shrink more */
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom p {
        margin-bottom: 15px;
    }
}