:root {
  --primary: #FF6B00;        /* Tool orange */
  --primary-dark: #E55A00;
  --secondary: #1A1A2E;      /* Dark blue-black */
  --accent: #FFB800;         /* Gold/yellow */
  --success: #10B981;        /* Green for deals */
  --background: #F8F9FA;
  --text: #333333;
  --text-light: #666666;
  --border: #E5E7EB;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: var(--secondary);
    color: white;
    padding: 1rem 0;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('/assets/images/hero-tools.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Card */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-title a {
    color: var(--secondary);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: #e5e7eb;
    padding: 3rem 0;
    margin-top: 4rem;
}

footer a {
    color: #e5e7eb;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary);
}

/* Article Content */
.article-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
   margin: 1rem 0;
   font-size: 0.9rem;
   color: var(--text-light);
}
.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}
.breadcrumbs span {
    margin: 0 0.5rem;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
}

th {
    background-color: #f3f4f6;
    font-weight: 600;
}
