/* ===== THE NEON-TECH EXTENSION: PROJECTS PAGE ===== */

:root {
    --bg-dark: #020617;
    --sidebar-bg: #0f172a;
    --accent: #38bdf8;
    --accent-purple: #a855f7;
    --accent-glow: rgba(56, 189, 248, 0.3);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === SIDEBAR NAVIGATION === */
.vertical-nav {
    width: 260px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    position: fixed;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.logo-box .logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    margin-top: 50px;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 12px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--glass);
    color: var(--accent);
    box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.05);
}

/* === MAIN CONTENT AREA === */
.main-wrapper {
    margin-left: 260px;
    padding: 80px 8%;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #0a0c10 0%, #020617 100%);
    min-height: 100vh;
}

/* Background Decoration (Floating Orb) */
.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, 100px); }
}

.glitch-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.header-sub {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 60px;
}

/* Category Title with Gradient Line */
.category-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin: 60px 0 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title::after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, var(--accent), transparent);
}

/* === PROJECT CARDS GRID === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.skill-ribbon {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.tech-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.glass-card:hover .tech-icon {
    color: var(--accent);
    transform: rotate(-10deg);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.glass-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}


/* Buttons */
.btn-neo {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-neo:hover {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}
/* Responsive Logic */
@media (max-width: 1024px) {
    .vertical-nav { width: 80px; padding: 40px 10px; }
    .logo-box, .nav-links span, .nav-footer { display: none; }
    .main-wrapper { margin-left: 80px; padding: 60px 5%; }
    .glitch-text { font-size: 2.5rem; }
}


