:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-primary: #C41230;
    --accent-informational: #00d5ff;
    --accent-good: #00ff2f;
    --accent-warn: #ff6a00;

    /* CMU Red */
    --accent-secondary: #E01E3C;
    /* Slightly lighter red for gradient */
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}



/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

h4 {
    font-family: var(--font-body);
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cmu-text {
    color: var(--accent-primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: -0.05em;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
}

.github-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(196, 18, 48, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.4);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    color: #fff;
    margin-left: 1rem;
}

.secondary-btn:hover {
    background: var(--card-bg);
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

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

.tags span {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: #fff;
}

.project-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 0.5rem;
}

/* Contact */
.contact-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #a0a0a0;
}

#contact {
    text-align: center;
}

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

/* Animations */


/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple hide for now, could add hamburger later if requested */
    }

    .btn {
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}