:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #141414;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #00ff88;
    --accent-dark: #00cc6a;
    --accent-glow: rgba(0, 255, 136, 0.15);
    --border: #2a2a2a;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; font-size: 16px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); border-bottom: 1px solid var(--border); }
.hero-content { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.hero-greeting { color: var(--accent); font-family: var(--font-mono); font-size: 1rem; margin-bottom: 0.5rem; }
.hero-name { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.hero-title { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 500; color: var(--accent); margin-bottom: 0.5rem; }
.hero-subtitle { font-family: var(--font-mono); font-size: 1rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.hero-location { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.hero-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.profile-photo { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 0 40px var(--accent-glow); background-color: var(--bg-tertiary); }

.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background-color: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.btn-primary:hover { background-color: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 0 20px var(--accent-glow); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.section { padding: 5rem 0; }
.section-alt { background-color: var(--bg-secondary); }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 3rem; position: relative; padding-bottom: 1rem; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background-color: var(--accent); }

.about-content { max-width: 800px; font-size: 1.05rem; color: var(--text-secondary); }
.about-content p { margin-bottom: 1.25rem; }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.skill-category h3 { font-size: 1.1rem; color: var(--accent); margin-bottom: 1rem; font-family: var(--font-mono); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-block; padding: 0.4rem 0.9rem; background-color: var(--bg-tertiary); border: 1px solid var(--border); border-radius: 20px; font-size: 0.85rem; font-family: var(--font-mono); transition: all 0.3s ease; }
.tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.project-card { background-color: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; margin-bottom: 2rem; transition: all 0.3s ease; }
.project-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1); }

.project-image { width: 200px; height: 150px; border-radius: 8px; overflow: hidden; background-color: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }

.project-info h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.project-date { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); margin-bottom: 1rem; }
.project-description { color: var(--text-secondary); margin-bottom: 1rem; }
.project-features { list-style: none; margin-bottom: 1rem; }
.project-features li { color: var(--text-secondary); padding-left: 1.5rem; position: relative; margin-bottom: 0.4rem; font-size: 0.95rem; }
.project-features li::before { content: '▹'; position: absolute; left: 0; color: var(--accent); }
.project-stack { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; font-family: var(--font-mono); }
.project-stack strong { color: var(--accent); }
.project-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.project-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.project-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: block;
}

.project-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 50px var(--accent-glow);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--accent);
    font-size: 2rem;
    cursor: pointer;
    font-family: var(--font-mono);
}

.timeline-item { border-left: 2px solid var(--accent); padding-left: 2rem; margin-bottom: 2rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.timeline-company { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); margin-bottom: 0.75rem; }
.timeline-skills { color: var(--text-secondary); font-size: 0.95rem; margin-top: 0.5rem; }
.timeline-skills strong { color: var(--text-primary); }

.education-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.education-item { background-color: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; transition: all 0.3s ease; }
.education-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.education-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.education-item p { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); }

.contact-content { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-content p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; }
.contact-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.footer { background-color: var(--bg-primary); border-top: 1px solid var(--border); padding: 2rem 0; text-align: center; }
.footer p { color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-mono); }

@media (max-width: 992px) {
    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-links { justify-content: center; }
    .profile-photo { width: 200px; height: 200px; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
    .project-image { width: 100%; height: 200px; }
    .contact-links { flex-direction: column; }
    .contact-links .btn { width: 100%; }
    
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-gallery img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-gallery img {
        height: 80px;
    }
}

.timeline-projects {
    list-style: none;
    margin-top: 0.75rem;
}

.timeline-projects li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline-projects li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.timeline-projects strong {
    color: var(--accent);
}

.education-stack {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.education-stack strong {
    color: var(--accent);
}

.education-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.project-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-production {
    background-color: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.badge-users {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* ===== LOGO ===== */
.logo-container {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    max-width: 200px;
}

.logo {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    transition: transform 0.3s ease;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
}

.footer-logo {
    height: 50px !important;
    width: auto !important;
    max-width: 180px !important;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.2));
}

.footer-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.4));
}

@media (max-width: 768px) {
    .logo-container {
        top: 1rem;
        left: 1rem;
        max-width: 140px;
    }
    .logo {
        height: 40px !important;
        max-width: 140px !important;
    }
    .footer-logo {
        height: 40px !important;
        max-width: 140px !important;
    }
}

