/* ===== 1 Eats Static Pages — Shared Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-deep: #0a0a0f;
    --bg-card: #13131a;
    --bg-glass: rgba(255,255,255,0.04);
    --border-glass: rgba(255,255,255,0.08);
    --text-primary: #f8f8f2;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --accent: #ffd700;
    --accent-dim: rgba(255,215,0,0.15);
    --radius: 14px;
    --max-w: 780px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

/* NAV */
.site-nav {
    background: rgba(10,10,15,0.95);
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 24px;
}
.site-nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.nav-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* HERO */
.page-hero {
    padding: 64px 24px 48px;
    text-align: center;
    max-width: var(--max-w);
    margin: 0 auto;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}
.accent { color: var(--accent); }

/* MAIN CONTENT */
.page-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ARTICLE PROSE */
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 14px;
    color: var(--text-primary);
}
.prose h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--accent);
}
.prose p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1rem;
}
.prose ul, .prose ol {
    color: var(--text-secondary);
    padding-left: 22px;
    margin-bottom: 18px;
}
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text-primary); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--accent-dim);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-primary);
    font-style: italic;
}
.divider {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 40px 0;
}

/* CARDS */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.card h3 { color: var(--text-primary); font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 8px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-2px);
}
.blog-card-emoji { font-size: 2rem; margin-bottom: 12px; }
.blog-card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}
.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.blog-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* CTA BOX */
.cta-box {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.05));
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    margin: 48px 0;
}
.cta-box h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 20px; }
.cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #1a1a24;
    font-weight: 800;
    padding: 13px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s, transform 0.2s;
}
.cta-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* AD SLOT */
.ad-slot {
    background: var(--bg-card);
    border: 1px dashed var(--border-glass);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    margin: 32px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 24px;
    text-align: center;
}
.site-footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    list-style: none;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* ARTICLE HEADER */
.article-header {
    padding: 48px 24px 32px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.article-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
}
.article-header h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}
.article-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* FORM */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: rgba(255,215,0,0.4); }
.form-textarea { min-height: 140px; resize: vertical; }
.submit-btn {
    background: var(--accent);
    color: #1a1a24;
    font-weight: 800;
    padding: 13px 32px;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: opacity 0.2s;
    width: 100%;
}
.submit-btn:hover { opacity: 0.9; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
