/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

<!-- Colors -->
:root {
    --color-background-primary: #ffffff;
    --color-text-primary: #000000;
    --color-border-primary: #e0e0e0;
    --border-radius-lg: 12px;
    --border-radius-md: 8px;

    --color-primary: #00ff0d;
    --color-primary-dark: #00b318;
    --color-accent: #ffc107;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    --color-light: #f8f9fa;
    --color-dark: #343a40;





    --footer-bg-color: #f0f0f0;
    --footer-text-color: #606060;
}

header {
    text-align: center;
    font-size: 30px;
}
.site-header {
    height: var(--header-height);
    background-color: var(--color-primary-dark);

    /* --- Background image with a dark overlay so text stays readable --- */
    background-image:
            linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
            var(--header-bg-image);
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Site title on the left */
.site-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.site-title:hover { text-decoration: none; color: var(--color-accent); }

/* Nav links in the middle */
.site-nav {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--color-text-primary);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.15s, color 0.15s;
}
.site-nav a:hover,
.site-nav a.active {
    background: rgba(255,255,255,0.15);
    color: var(--color-text-primary);
    text-decoration: none;
}

/* Login area on the right */
.header-User {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

/* Shown when user IS logged in — hide by default */
.user-info {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    display: none; /* JS will toggle this */
}





body {
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
    font-family: Arial, Helvetica, sans-serif;
    margin: 50px;
}


footer {
    text-align: center;
    font-size: 15px;
    color: var(--footer-text-color);
    background-color: var(--footer-bg-color);

    position: fixed;
    bottom: 0;
    width: 100%;
}