/**
 * Shared site header & footer — used by index.html, privacy-policy, delete-account, support.
 * Keep navigation and footer markup aligned across pages.
 */
:root {
    --color-secondary: #0081A7;
    --color-white: #ffffff;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
}

/* ----- Header ----- */
.nav {
    background: var(--color-secondary);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
}

/* ----- Footer ----- */
.footer {
    background: var(--color-secondary);
    padding: var(--space-lg);
    text-align: center;
    color: var(--color-white);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin: 0 0 var(--space-md);
    padding: 0;
    list-style: none;
}

.footer-links li:not(:last-child)::after {
    content: '•';
    margin-left: var(--space-sm);
    opacity: 0.6;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 24px;
    }

    .nav-brand {
        font-size: 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-secondary);
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .footer-links li:not(:last-child)::after {
        display: none;
    }
}
