@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #121212;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-primary: #ffffff;
    --accent-secondary: #cccccc;
    --glass-bg: #1e1e1e;
    --glass-border: #333333;
    --transition-smooth: none;
    /* Removing smooth transitions for a 'boring' feel */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    margin: auto auto auto 0px;
}

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

.nav-links a.active {
    color: var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    /* Slightly more than 5px for better readability, but still tight */
}

/* Hero Section */
.hero {
    text-align: center;
    height: 100vh;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.hero>* {
    margin: 0;
}

#splash {
    font-size: 1.25rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    min-height: 1.5em;
    opacity: 1;
    transform: none;
    animation: none;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: #555555;
}

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

.project-card {
    padding: 2rem;
}

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

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

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.github-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
    transition: none;
}

.github-link:hover {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.reach-me-btn {
    background: #ffffff;
    color: #121212;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: none;
}

.reach-me-btn:hover {
    background: #cccccc;
}

.mailto-btn {
    display: inline-block;
    background: #ffffff;
    color: #121212;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    transition: none;
}

.mailto-btn:hover {
    background: #cccccc;
}

.email-reveal {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: none;
}

.email-reveal.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-left: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

    .nav-links {
        display: none;
        /* Add a hamburger menu if needed, for now just hide */
    }
}