/* Global Styles */
:root {
    --bg-color: #ffffff;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --accent-color: #1a73e8;
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --tag-bg: #e8f0fe;
    --tag-text: #1967d2;
    --font-main: 'Google Sans', 'Inter', sans-serif;
    --font-code: 'Google Sans Mono', 'Fira Code', monospace;
}

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

html {
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-main);
    background-color: transparent;
    /* Allow particles to show */
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

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

.logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

.cta-button {
    background-color: var(--text-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero-intro {
    font-family: var(--font-code);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-name {
    font-size: 8vw;
    line-height: 0.9;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-bio {
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.gravity-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* Areas of Interest */
#interests {
    padding: 80px 24px;
    /* background-color: #ffffff; Removed to show particles */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -40px;
    /* Pull closer to title */
    margin-bottom: 40px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.interest-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
}

.interest-icon {
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: inline-block;
}

.interest-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.interest-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: var(--text-primary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--text-primary);
}

.card-header {
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.2;
    color: var(--text-primary);
}

.project-topic {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tech-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    background-color: #f1f3f4;
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
}

.forward-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f3f4;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forward-btn:hover {
    background-color: var(--text-primary);
    color: white;
    transform: translateX(4px);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-pill {
    background-color: #f1f3f4;
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.skill-pill:hover {
    border-color: var(--accent-color);
    background-color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 12vw;
    }

    .nav-links {
        display: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }
}