/* Site Topbar */
.site-topbar {
    background-color: var(--slate);
    color: #fff;
    padding: 0.5rem 0;
}

.site-topbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    max-width: 1440px;
    margin: 0 auto;
}

.site-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.site-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.site-nav-link:hover {
    opacity: 0.8;
    color: #fff;
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Site Footer */
.site-footer {
    background-color: var(--graphite);
    color: var(--offwhite);
    padding: 2rem 1rem;
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
}

.site-footer-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.site-footer-links a {
    color: inherit;
    text-decoration: none;
}

/* Responsive Adjustments */

/* Tablet and up (768px) */
@media (min-width: 768px) {
    .site-topbar-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .site-logo img {
        height: 60px;
    }

    .site-nav {
        justify-content: flex-end;
    }

    .site-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .site-footer-links {
        justify-content: flex-end;
    }
}

/* Desktop and up (1024px) */
@media (min-width: 1024px) {
    .site-logo img {
        height: 70px;
    }

    .site-topbar-inner {
        padding: 0 2rem;
    }
}

/* Large Desktop (1440px) */
@media (min-width: 1440px) {
    .site-topbar-inner,
    .site-footer-inner {
        padding: 0;
    }
}

/* Mobile specific fixes (375px) */
@media (max-width: 375px) {
    .site-nav {
        gap: 0.75rem;
    }
    
    .site-nav-link {
        font-size: 0.85rem;
    }
}
