:root {
    --matrix-green: #00ff41;
    --matrix-dark: #0a0a0a;
    --matrix-glow: rgba(0, 255, 65, 0.5);
    --font-mono: 'Share Tech Mono', monospace;
}

/* Base Styles */
body {
    margin: 0;
    font-family: var(--font-mono);
    background-color: var(--matrix-dark);
    color: var(--matrix-green);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Matrix Background Canvas */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--matrix-green);
    box-shadow: 0 0 20px var(--matrix-glow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--matrix-glow);
    transition: text-shadow 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 20px var(--matrix-glow);
}

.nav-links {
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--matrix-green);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--matrix-green);
    box-shadow: 0 0 10px var(--matrix-glow);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    text-shadow: 0 0 10px var(--matrix-glow);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--matrix-green);
    margin: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--matrix-glow);
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        width: 100%;
        transition: right 0.5s ease;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Animation for nav links */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--matrix-glow);
    animation: glitch 5s infinite;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00cc33;
}

.hero-content p {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 3px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    text-align: left;
    max-width: 100%;
}

.about-text .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Update Profile Image styles */
.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: end;
}

.image-wrapper {
    position: relative;
    z-index: 2;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.3), transparent);
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite, float 6s ease-in-out infinite reverse;
}

.profile-picture {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2),
                inset 0 0 10px rgba(0, 255, 65, 0.1);
    animation: float 6s ease-in-out infinite, imageGlow 3s ease-in-out infinite;
    filter: contrast(1.05) brightness(1.05);
}

/* Update Stats */
.about-stats {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(0, 255, 65, 0.05);
    padding: 2rem;
    border: 1px solid var(--matrix-green);
    box-shadow: 0 0 20px var(--matrix-glow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--matrix-glow);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Section */
.skills {
    padding: 8rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.skill-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border: 1px solid var(--matrix-green);
    box-shadow: 0 0 20px var(--matrix-glow);
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 65, 0.05);
}

.skill-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--matrix-glow);
}

.skill-card h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    letter-spacing: 1px;
}

.skill-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(0, 255, 65, 0.05);
    padding: 1.5rem;
    border: 1px solid var(--matrix-green);
    box-shadow: 0 0 20px var(--matrix-glow);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.2rem;
}

.contact-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0 0 20px var(--matrix-glow);
    }
    15% {
        text-shadow: -2px 0 var(--matrix-green), 2px 0 #0ff;
    }
    16% {
        text-shadow: 0 0 20px var(--matrix-glow);
    }
    49% {
        text-shadow: 0 0 20px var(--matrix-glow);
    }
    50% {
        text-shadow: 2px 0 #0ff, -2px 0 var(--matrix-green);
    }
    51% {
        text-shadow: 0 0 20px var(--matrix-glow);
    }
    100% {
        text-shadow: 0 0 20px var(--matrix-glow);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.02);
    }
}

@keyframes imageGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.2),
                    inset 0 0 10px rgba(0, 255, 65, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 65, 0.3),
                    inset 0 0 15px rgba(0, 255, 65, 0.2);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(0px) translateX(0px);
    }
    75% {
        transform: translateY(10px) translateX(-5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        justify-self: center;
        order: -1;
    }

    .about-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-text {
        padding: 0 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .profile-picture {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .profile-picture {
        width: 250px;
        height: 312px;
    }
} 