/* style.css - ADD THESE NEW STYLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #9dff9d;
    --green-dark: #7acc7a;
    --bg: #1a1a1a;
    --bg-light: #242424;
    --bg-lighter: #2e2e2e;
    --text: #e0e0e0;
    --text-dim: #a0a0a0;
    --gray: #404040;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--green);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--green-dark);
    bottom: -250px;
    right: -250px;
    animation-delay: -7s;
    animation-duration: 25s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--green);
    top: 50%;
    right: -175px;
    animation-delay: -14s;
    animation-duration: 30s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 50;
    border-bottom: 1px solid rgba(157, 255, 157, 0.1);
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'DM Mono', monospace;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--green);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--green);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--green);
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-left {
    flex-shrink: 0;
}

.profile-image {
    width: 180px;
    height: 180px;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--green);
    background: var(--bg-light);
    padding: 5px;
    object-fit: cover;
}

.hero-right {
    flex: 1;
}

.greeting {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-subtitle {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.accent {
    color: var(--green);
    font-weight: 500;
}

.divider {
    color: var(--gray);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--green);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--gray);
}

.btn-secondary:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--green);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.text-block {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--bg-lighter);
    transition: all 0.3s;
}

.text-block:hover {
    border-color: var(--green);
    transform: translateX(5px);
}

.block-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.text-block p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.8;
}

.skills-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bg-lighter);
}

.skills-box h3 {
    color: var(--green);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.skill {
    padding: 0.5rem 1rem;
    background: var(--bg);
    border: 1px solid var(--bg-lighter);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.3s;
}

.skill:hover {
    border-color: var(--green);
    color: var(--green);
}

.quick-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-lighter);
}

.fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fact-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green);
    font-family: 'DM Mono', monospace;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--bg-lighter);
    overflow: hidden;
    transition: all 0.3s;
}

.project:hover {
    border-color: var(--green);
    transform: translateY(-5px);
}

.project-large {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.project-preview {
    position: relative;
    width: 100%;
    height: 300px;
    background: var(--bg-lighter);
    overflow: hidden;
}

.project-large .project-preview {
    height: 100%;
    min-height: 400px;
}

.project-video,
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-image {
    cursor: pointer;
    transition: transform 0.3s;
}

.project-image:hover {
    transform: scale(1.05);
}

.preview-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(157, 255, 157, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: all 0.3s;
    opacity: 0;
}

.preview-link:hover .play-overlay {
    opacity: 1;
}

.video-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
}

.play-btn {
    width: 40px;
    height: 40px;
    background: rgba(157, 255, 157, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: var(--green);
    color: var(--bg);
}

.play-btn.playing svg {
    display: none;
}

.play-btn.playing::after {
    content: '❚❚';
    font-size: 14px;
}

.youtube-embed {
    width: 100%;
    height: 100%;
    position: relative;
}

.youtube-embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 600;
}

.project-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(157, 255, 157, 0.1);
    border: 1px solid var(--green);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--green);
    font-family: 'DM Mono', monospace;
}

.project-info p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.project-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.project-tags span {
    padding: 0.3rem 0.8rem;
    background: var(--bg);
    border: 1px solid var(--bg-lighter);
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.project-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.project-link:hover {
    gap: 0.8rem;
}

/* Contact */
.contact-content {
    max-width: 600px;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--bg-lighter);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-link:hover {
    border-color: var(--green);
    transform: translateX(5px);
}

.contact-link svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--bg-lighter);
}

.footer p {
    margin: 0.3rem 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .hero-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-template-columns: 1fr;
    }

    .project-large .project-preview {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

.youtube-link {
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-light));
}

.youtube-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
    color: var(--green);
    transition: all 0.3s;
}

.youtube-placeholder svg {
    transition: transform 0.3s;
}

.youtube-link:hover .youtube-placeholder svg {
    transform: scale(1.1);
}

.youtube-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
}

    .btn {
        text-align: center;
        width: 100%;
    }

    .blob-1 {
        width: 300px;
        height: 300px;
    }

    .blob-2 {
        width: 350px;
        height: 350px;
    }

    .blob-3 {
        width: 250px;
        height: 250px;
    }

    .project-preview {
        height: 250px;
    }
}