/* CSS Variables for the 'Digital Cherry' Theme */
:root {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --primary-color: #e11d48; /* Vibrant Cherry Red */
    --primary-hover: #be123c; /* Darker Cherry for hover states */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Navigation & Logo */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #334155;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 40px; /* Constrains the logo height */
    width: auto;
    object-fit: contain;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-main);
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Layout Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 6rem;
    padding-top: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Hero / Bio Section */
.bio-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
}

.bio-text p {
    margin-bottom: 1rem;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Tool Card Styling */
.tool-card {
    background-color: var(--surface-color);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tool-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: rgba(225, 29, 72, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid #334155;
    color: var(--text-muted);
    margin-top: 4rem;
}

.footer-links {
    margin-top: 1rem;
}
