/*
 * Shared nav + footer styling, used by every public-site page.
 * Rendered via views/partials/nav.php and views/partials/footer.php.
 * Relies on the --card / --border / --text / --muted / --accent-green /
 * --font-display CSS variables already defined in each page's :root.
 */

nav {
    background: var(--card);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text);
}

.nav-logo-text span { color: var(--accent-green); }

footer {
    background: #1a1a1a;
    padding: 32px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.85;
}

.footer-logo span { color: var(--pastel-green2, #a5d6a7); }

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-copy {
    color: #666;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .nav-inner { padding: 12px 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
