/* Cyber Dark Mode Theme */

:root {
    --bg-base: #020617; /* Very dark slate, almost black */
    --bg-accent: #0f172a;
    
    /* Neon Accents */
    --neon-cyan: #06b6d4;
    --neon-purple: #a855f7;
    --neon-green: #10b981;
    
    /* Text */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(6, 182, 212, 0.2);
    --glass-glow: 0 0 20px rgba(6, 182, 212, 0.1);
    
    /* Fonts */
    --font-heading: 'Fira Code', monospace;
    --font-body: 'Inter', sans-serif;
    
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

/* Background Cyber Grid & Orbs */
.cyber-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    z-index: -2;
    animation: drift 20s infinite alternate;
}

.orb-1 {
    width: 600px; height: 600px;
    background: var(--neon-cyan);
    top: -10%; left: -10%;
}

.orb-2 {
    width: 500px; height: 500px;
    background: var(--neon-purple);
    bottom: -10%; right: -10%;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* Common Classes */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
}

.accent {
    color: var(--neon-cyan);
}

/* Glass Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-glow);
}

.glass-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s var(--spring), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    border-radius: 100px;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

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

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 60px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.greeting {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.name {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter-container {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    height: 35px;
    margin-bottom: 30px;
    color: var(--neon-purple);
}

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-summary {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--spring);
    cursor: pointer;
}

.btn-primary {
    background: rgba(6, 182, 212, 0.1);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.2), 0 0 15px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s var(--spring);
}

.socials a:hover {
    color: var(--neon-cyan);
    transform: translateY(-5px);
}

/* Hero Image */
.hero-image {
    flex: 0 0 400px;
}

.glass-frame {
    position: relative;
    padding: 15px;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.glass-frame::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.glass-frame img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    filter: contrast(1.1);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--neon-cyan);
}

.full-width {
    width: 100%;
}

.full-width h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--neon-purple);
    margin-bottom: 10px;
}

.skill-box h3 {
    font-size: 1.2rem;
    color: #fff;
}

.skill-box p {
    color: var(--text-muted);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--neon-cyan);
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--neon-purple);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 4px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.half h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--neon-purple);
}

.list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
}

.list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: bold;
}

/* Contact */
.contact-section {
    text-align: center;
    padding: 60px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 12px 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s var(--spring);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }

    .hero-summary {
        margin: 0 auto 30px;
    }

    .hero-actions, .socials {
        justify-content: center;
    }

    .projects-grid, .skills-grid, .split-layout {
        grid-template-columns: 1fr;
    }

    .name { font-size: 3.5rem; }
    
    .nav-links { display: none; } /* Hide for simplicity on mobile, can add hamburger later */
}

@media (max-width: 480px) {
    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }
}
