/* --- THEME: Cyber Vampire --- */
:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    /* Neon Accents */
    --accent-primary: #ff0055;  /* Hot Pink/Red */
    --accent-secondary: #7000ff; /* Electric Purple */
    --accent-glow: rgba(255, 0, 85, 0.4);
    
    /* Glass UI */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;

    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* UTILITIES */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

/* LOGO IMAGE & TEXT STYLES */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo and text */
    text-decoration: none;
}

.site-logo img {
    height: 40px; 
    width: auto;  
    display: block;
    transition: transform 0.3s ease;
}

.logo-text {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.site-logo:hover .logo-text {
    color: var(--accent-primary);
}

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

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

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

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    height: 1.5em; /* Prevent layout shift */
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--accent-primary);
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; }

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(112, 0, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255,255,255,0.05);
}

/* MAIN LAYOUT */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}

section { margin-bottom: 8rem; }

/* ABOUT */
.about-content p { 
    margin-bottom: 1rem; 
    color: var(--text-muted); 
    font-size: 1.05rem;
}
.inline-link {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-primary);
    transition: all 0.3s;
}
.inline-link:hover {
    background: rgba(255, 0, 85, 0.1);
    border-bottom-style: solid;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-family: var(--font-mono);
    color: var(--text-muted);
    transition: all 0.3s;
}

.skill-tag:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(255, 0, 85, 0.1);
}

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

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

.project-links a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
}

.project-links a:hover {
    border-bottom-color: var(--accent-primary);
    color: var(--accent-secondary);
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2.6rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid var(--accent-secondary);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 { font-size: 1.1rem; color: var(--text-main); }
.timeline-content .institution { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.2rem;}
.timeline-content .details { font-family: var(--font-mono); font-size: 0.85rem; margin-top: 0.5rem; color: var(--accent-secondary); }

/* CONTACT ICONS */
.contact-container {
    text-align: center;
    display: flex;
    justify-content: center; 
}

.contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem; 
    padding: 1rem 0; 
}

.icon-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 40px; 
    height: 40px; 
}

.icon-link svg {
    stroke-width: 1.5;
    transition: all 0.3s ease;
    display: block; 
}

.icon-link span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    position: absolute;
    bottom: -25px; 
    left: 50%;
    transform: translateX(-50%) translateY(5px); 
    opacity: 0;
    white-space: nowrap; 
    transition: all 0.3s ease;
    pointer-events: none; 
}

.icon-link:hover {
    color: var(--accent-primary);
    transform: translateY(-5px); 
}

.icon-link:hover svg {
    stroke: var(--accent-primary);
    filter: drop-shadow(0 0 8px var(--accent-primary));
}

.icon-link:hover span {
    opacity: 1;
    transform: translateX(-50%) translateY(0); 
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .nav-links { display: none; }
}