/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--color-primary);
    padding: 2rem 0 1.5rem; /* more vertical breathing room */
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 2rem; /* push content toward edges */
}

.footer .container {
    max-width: var(--footer-width);
    padding: 0 4rem;
}

.footer-brand-name {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-nav {
    display: flex;
    gap: 2.5rem; /* more space between links */
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: white;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .footer {
        padding-bottom: 3rem;
    }

    .footer-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-nav {
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-bottom: 0.1rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .footer-nav {
        flex-wrap: nowrap !important;
        gap: 0.75rem;
        font-size: 0.75rem;
    }

    .footer-nav a {
        font-size: 0.75rem;
    }
}

@media (max-width: 1100px) and (orientation: landscape) {
    .footer-nav {
        flex-wrap: nowrap;
        gap: 1.75rem;
    }

    .footer-nav a {
        font-size: 0.75rem;
    }
}

