
/* --- INTER (Weight 300 - Light) --- */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap; 
}

/* --- INTER (Weight 400 - Regular) --- */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap; 
}

/* --- INTER (Weight 600 - Semi-Bold) --- */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap; 
}

/* --- JETBRAINS MONO (Weight 400 - Regular) --- */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./assets/fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap; 
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;

  color: #111; /* Darkened for better contrast/accessibility */
}

/* Use JetBrains Mono for Code or specific labels */
code, .mono-text {
  font-family: 'JetBrains Mono', monospace;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Uses the semi-bold woff2 */
  color: #ffffff;
}
:root {
    --bg: #050505;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ededed;
    --accent: #9db2ff;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
}

::selection {
    background: #2E5CFF;
    color: white;
}

/* Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 10% 10%, rgba(46, 92, 255, 0.15), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(192, 160, 98, 0.1), transparent 40%);
    filter: blur(60px);
}

/* Navigation */
.nav {
position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Centers the pill */
    z-index: 100;
    padding: 0 24px;
    pointer-events: none;
}
.nav-container {
pointer-events: auto;
    width: 100%;
    max-width: 1200px;
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    padding: 12px 20px; /* Tighter vertical padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s;
}

.nav-container:hover {
    background: rgba(20, 20, 20, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(2px);
}

.logo {
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 1.1rem;
    color: #fff;
}

.dot {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
    background: #fff;
    padding: 12px 16px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #ccc;
    transform: translateY(-1px);
}

.status-indicator {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blink {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse 2s infinite;
}

/* Mobile Adjustment: Hide Status, Keep Button */
@media (max-width: 480px) {
    .nav-cta {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Intro Section */
.intro-section {
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    padding-top: 120px;
}

.glass-card {
    width: 100%;
    max-width: 450px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #333;
    
    /* THE FIXES: */
    object-fit: cover; /* Ensures it fills the circle perfectly */
    transform: translateZ(0); /* Forces GPU rendering (smoothes edges) */
    backface-visibility: hidden; /* Fixes flickering/noise on some screens */
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #9e9c9c;
    letter-spacing: 1px;
    padding-top: 4px;
}
.mono-header {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #9e9c9c;
    letter-spacing: 1px;
}
h1 {
    font-size: 2rem;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.role {
    color: #a6a6a6;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.divider {
    height: 1px;
    background: var(--border);
    width: 100%;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.tech-stack { 
    display: flex; 
    gap: 4px; /* Tighter gap to help them fit */
    flex-wrap: nowrap; /* Forces them to stay on one line */
    justify-content: start; /* Centers them perfectly */
    width: 100%;
    white-space: nowrap; /* Prevents text from wrapping inside the pill */
}

.tech-stack span {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-right: 5px;
    color: #a6a6a6;
}
@media (max-width: 400px) {
    .tech-stack {
        flex-wrap: wrap; /* Only wrap on very tiny screens */
    }
    .tech-stack span {
        font-size: 0.7rem;
        flex: 1 1 auto; /* Allows them to stretch to fill space */
        text-align: center;
        margin-top: 4px;
    }
}

/* Project Feed */
.project-feed {
    padding: 24px 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 500px;
}

.feed-label {
        grid-column: span 2;
        font-size: 20px;
        color: white;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
        
    }



.project-card {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.project-card:hover .p-image img {
    transform: scale(1.05);
}

.p-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.p-image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid var(--border);
    background: #111;
}

.p-image img {
    width: 550px;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Call To Action */
.cta-section {
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background: linear-gradient(to top, #000, transparent);
    position: relative;
}

.cta-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.highlight-text {
    color: #666;
    transition: color 0.3s ease;
}

.cta-subtext {
    max-width: 600px;
    margin: 0 auto 32px auto;
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
}

.cta-subtext-1 {
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}
.cta-subtext strong {
    color: #fff;
    font-weight: 500;
}

.footer-meta {
    margin-top: 8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #444;
    display: flex;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 1200px;
    justify-content: space-between; /* Centers the pill */
    align-content: center;
    margin-right: auto;
    margin-left: auto;
    
}
.btn-primary {
    width: 250px;
    padding: 16px 32px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 8px; /* Sharper corners = more industrial */
    font-weight: 600;
    transition: 0.3s;
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 0 20px rgba(255,255,255,0.2); 
}

.btn-secondary {
    width:250px;
    padding: 16px 24px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #333;
    transition: 0.3s;
}
.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

/* Mobile CTA Text Size */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    .cta-subtext {
        font-size: 1rem;
    }
    .footer-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
@media(max-width: 1000px){
     .p-image img{
        height: 100%; /* Cinematic height */
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (min-width: 1024px) {
    .project-feed {
        /* Open up the width for Desktop */
        max-width: 1200px; 
        
        /* Switch to Grid */
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 Columns */
        column-gap: 60px; /* Big luxury gaps */
        row-gap: 40px;
        padding-top: 60px;
    }

    /* Make the "Projects" label span the full width */
    .feed-label {
    margin: 12px 0 24px 0;
    display: block;
    color: white;
    font-size: 32px;
    font-weight: 500;
    width: 100%;
    padding-bottom: 30px;
}
.mono-label {
    font-family: var(--font-mono);
    font-size: 16px;
    color: #9e9c9c;
    letter-spacing: 1px;
    padding-top: 4px;
}

    /* Make Desktop Images Huge */
    .p-image {
        height: 550px; /* Cinematic height */
        width: 550px;
    }
}

/* Lightbox Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; /* Sit on top */
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoom 0.3s;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

/* Zoom Animation */
@keyframes zoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
        margin-top: 30%;
    }
}