﻿/* Portfolio Page - DebugDuo */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
    --blue-bright: #3FA9F5;
    --blue-primary: #2E8BC0;
    --dark-primary: #1E293B;
    --dark-secondary: #0F172A;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --accent-cyan: #06B6D4;
    --accent-green: #10B981;
    --accent-yellow: #F59E0B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', -apple-system, sans-serif;
    background: var(--dark-secondary);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Elements */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(63, 169, 245, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 169, 245, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blue-bright), transparent);
    top: 20%;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    bottom: 10%;
    right: -200px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HERO SECTION */
.portfolio-hero {
    padding: 10rem 0 6rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(63, 169, 245, 0.08);
    border: 1px solid rgba(63, 169, 245, 0.2);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    color: var(--blue-bright);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-light), var(--blue-bright), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* PORTFOLIO SECTION */
.portfolio-section {
    padding: 4rem 0 8rem;
}

/* Featured Project Card */
.project-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(63, 169, 245, 0.15);
    border-radius: 32px;
    padding: 4rem;
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

    .project-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(63, 169, 245, 0.03), transparent);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .project-card:hover {
        transform: translateY(-5px);
        border-color: rgba(63, 169, 245, 0.3);
        box-shadow: 0 30px 80px rgba(63, 169, 245, 0.15);
    }

        .project-card:hover::before {
            opacity: 1;
        }

    .project-card.featured {
        border: 2px solid rgba(63, 169, 245, 0.2);
    }

/* Project Status */
.project-status {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

    .status-badge.in-progress {
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.3);
        color: var(--accent-yellow);
    }

    .status-badge.completed {
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.3);
        color: var(--accent-green);
    }

/* Project Header */
.project-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.project-logo {
    flex-shrink: 0;
}

    .project-logo img {
        width: 140px;
        height: 140px;
        object-fit: contain;
        background: white;
        padding: 1rem;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

.project-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    letter-spacing: -1px;
}

.project-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blue-bright);
    font-size: 1.1rem;
    font-weight: 600;
}

    .project-category i {
        font-size: 1.3rem;
    }

/* Project Description */
.project-description {
    margin-bottom: 3rem;
}

    .project-description p {
        font-size: 1.2rem;
        color: var(--text-muted);
        line-height: 1.8;
    }

/* Project Features */
.project-features {
    margin-bottom: 3rem;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(63, 169, 245, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        border-color: rgba(63, 169, 245, 0.3);
        transform: translateY(-3px);
    }

    .feature-item i {
        color: var(--blue-bright);
        font-size: 1.75rem;
        margin-top: 0.25rem;
        flex-shrink: 0;
    }

    .feature-item h4 {
        font-size: 1.1rem;
        color: var(--text-light);
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    .feature-item p {
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* Project Tech Stack */
.project-tech {
    margin-bottom: 3rem;
}

.tech-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.tech-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(63, 169, 245, 0.08);
    border: 1px solid rgba(63, 169, 245, 0.15);
    color: var(--blue-bright);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

    .tech-tag:hover {
        background: rgba(63, 169, 245, 0.15);
        border-color: rgba(63, 169, 245, 0.3);
        transform: translateY(-2px);
    }

    .tech-tag i {
        font-size: 1.1rem;
    }

/* Project Timeline */
.project-timeline {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(63, 169, 245, 0.1);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

    .timeline-item i {
        color: var(--blue-bright);
        font-size: 1.5rem;
    }

    .timeline-item strong {
        color: var(--text-light);
    }

/* Coming Soon Section */
.coming-soon-section {
    margin-top: 8rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.placeholder-card {
    padding: 3rem 2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px dashed rgba(63, 169, 245, 0.2);
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

    .placeholder-card:hover {
        border-color: rgba(63, 169, 245, 0.4);
        background: rgba(30, 41, 59, 0.5);
    }

.placeholder-icon {
    width: 100px;
    height: 100px;
    background: rgba(63, 169, 245, 0.08);
    border: 1px solid rgba(63, 169, 245, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

    .placeholder-icon i {
        font-size: 3rem;
        color: var(--blue-bright);
    }

.placeholder-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.placeholder-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.coming-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(63, 169, 245, 0.08);
    border: 1px solid rgba(63, 169, 245, 0.2);
    color: var(--blue-bright);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* TECH SHOWCASE */
.tech-section {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.3);
}

    .tech-section .section-title {
        text-align: center;
        margin-bottom: 1rem;
    }

    .tech-section .section-subtitle {
        text-align: center;
        margin-bottom: 5rem;
    }

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--blue-bright);
    font-weight: 700;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(63, 169, 245, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .tech-item:hover {
        border-color: rgba(63, 169, 245, 0.3);
        transform: translateX(5px);
    }

    .tech-item i {
        font-size: 1.5rem;
        color: var(--blue-bright);
    }

/* CTA SECTION */
.portfolio-cta {
    padding: 8rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-desc {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--blue-bright), var(--blue-primary));
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(63, 169, 245, 0.3);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 48px rgba(63, 169, 245, 0.4);
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(63, 169, 245, 0.08);
    border: 2px solid rgba(63, 169, 245, 0.2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        background: rgba(63, 169, 245, 0.12);
        border-color: rgba(63, 169, 245, 0.4);
        transform: translateY(-3px);
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 6rem 0 4rem;
    }

    .project-card {
        padding: 2rem;
    }

    .project-header {
        flex-direction: column;
        text-align: center;
    }

    .project-logo img {
        width: 100px;
        height: 100px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .project-timeline {
        flex-direction: column;
        gap: 1.5rem;
    }

    .placeholder-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
