/* 
 * GrassWeb Minimalist Design
 * Primary: #1f983e
 * Secondary: Gray
 */

:root {
    /* Colors */
    --primary: #1f983e;
    --primary-dark: #167a30;
    --primary-light: #e8f5ea;

    --text-main: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;

    --bg-body: #ffffff;
    --bg-surface: #f5f7f5;
    --border: #e5e5e5;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 72px;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Global Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Page Utils */
.page-header {
    padding: 40px 0 40px;
    background: var(--bg-surface);
    text-align: center;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Client-side Menu Toggle handled by body class .nav-hidden */
body.nav-hidden .site-header {
    display: none;
}

.restore-menu-btn {
    display: none !important;
    /* Force hide by default */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    /* Ensure above content */
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.nav-hidden .restore-menu-btn {
    display: flex !important;
    /* Force show when hidden */
    align-items: center;
    justify-content: center;
}

/* Ensure restore button has some style */
.restore-menu-btn svg {
    width: 20px;
    height: 20px;
    color: #555;
}