/* Color Palette & Variables */
:root {
    --bg-color: #0f172a;       /* Deep dark background */
    --card-bg: #1e293b;        /* Slightly lighter dark for cards */
    --text-primary: #f8fafc;   /* Off-white text */
    --text-secondary: #94a3b8; /* Muted text */
    --accent: #10b981;         /* Emerald green */
}

/* Global Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    border-bottom: 2px solid var(--accent);
    background: linear-gradient(to bottom, #020617, var(--bg-color));
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--accent);
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.projects h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Tags */
.tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tags span {
    background-color: var(--bg-color);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.875rem;
    border: 1px solid var(--accent);
}

/* Links & Buttons */
.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--card-bg);
    margin-top: 2rem;
}

footer h2 {
    margin-bottom: 1rem;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-color);
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.8;
}