/* style.css */
:root {
    --bg-white: #ffffff;
    --bg-black: #0a0a0a;
    --text-main: #0a0a0a;
    --text-inv: #f0f0f0;
    --text-muted: #888888;
    --border-light: #e5e5e5;
    --border-dark: #222222;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--text-main); background: var(--bg-white); line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }

/* --- FIX: Text Colors --- */
.text-muted { color: #888 !important; } /* Forces text to be grey */
.text-white { color: white; }

/* Buttons */
.btn { padding: 10px 20px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.2s; display: inline-block;}
.btn-outline { border: 1px solid var(--border-light); background: transparent; }
.btn-outline:hover { border-color: black; }
.btn-solid { background: var(--bg-black); color: white; border: 1px solid black; }
.btn-solid:hover { background: #333; }
.btn-block { width: 100%; display: block; text-align: center; padding: 14px; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid #eee; }
.logo { font-weight: 800; display: flex; gap: 10px; align-items: center; }
.logo-icon { width: 24px; height: 24px; background: black; color: white; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 12px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a:hover { text-decoration: underline; }
.nav-links a.active { font-weight: 700; }

/* Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.dark-mode { background: var(--bg-black); color: white; }
.dark-mode .text-muted { color: #888; }

/* Forms */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.input-field { width: 100%; padding: 12px; background: #1a1a1a; border: 1px solid #333; color: white; outline: none; }
.input-field:focus { border-color: white; }
.input-field::placeholder { color: #555; }

/* Cards */
.product-card { border: 1px solid #eee; padding: 2rem; transition: 0.2s; }
.product-card:hover { border-color: black; box-shadow: 5px 5px 0px rgba(0,0,0,0.1); }
.tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; background: #eee; padding: 4px 8px; }

/* --- FIX: Card Colors --- */
/* This ensures that any element with class .card (like on homepage) has white text */
.card { 
    color: white; 
}

/* Visuals */
.dither-bg {
    background: radial-gradient(black 15%, transparent 16%) 0 0, radial-gradient(black 15%, transparent 16%) 4px 4px;
    background-color: white; background-size: 8px 8px; opacity: 0.1; height: 100px; width: 100%;
}