body {
    background: #0d0d0d;
    color: #e6e6e6;
    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-top: 40px;
}

a {
    color: #4da6ff;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #80c1ff;
}

hr {
    border: none;
    border-top: 1px solid #333;
    margin: 40px 0;
}

main {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

/*HEADER*/
.site-header {
    width: 100%;
    background: #111;
    border-bottom: 1px solid #222;
    padding: 15px 0;
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.nav-links a {
    margin-left: 20px;
    color: #ccc;
    font-size: 15px;
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: #4da6ff;
    text-shadow: 0 0 8px #4da6ff;
}

/*About me */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.hero-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #4da6ff;
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.3);
    margin-bottom: 1.5rem;
}

.hero-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    letter-spacing: 1px;
}

.hero-tagline {
    color: #4da6ff;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 1.2rem;
}

.hero-bio {
    max-width: 600px;
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    padding: 0.6rem 1.6rem;
    background: linear-gradient(135deg, #4da6ff, #1e90ff);
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.5);
    color: #000;
}

.btn-secondary {
    padding: 0.6rem 1.6rem;
    background: transparent;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: #4da6ff;
    color: #4da6ff;
}

/*Projects*/
#projects {
    padding: 2rem 0;
}

#projects h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.section-sub {
    color: #888;
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.45rem 1.2rem;
    border: 1px solid #444;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #fff;
}

.filter-btn.active {
    background: #4da6ff;
    color: #000;
    border-color: #4da6ff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    aspect-ratio: 16 / 9;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #4da6ff;
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.25);
}

.project-card.hidden {
    display: none;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-tags-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tag {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ddd;
    background: rgba(0,0,0,0.4);
}

.project-title-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.project-title-bottom h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

/*Screen Shots*/
.screenshot-row {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.screenshot-row img {
    width: 32%;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.25s ease;
}

.screenshot-row img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(77, 166, 255, 0.3);
}

/*Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: auto;
}

.skill-item img {
    width: 44px;
    height: 44px;
}

/*Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 0.85rem;
    border-top: 1px solid #1a1a1a;
    margin-top: 4rem;
}
.skill-item img {
    width: 44px;
    height: 44px;
    padding: 10px;
    box-sizing: content-box;
    display: block;
    background: #222;
    border-radius: 999px;
    border: 1px solid #3a3a3a;
    outline: 1px solid #3a3a3a;
}




/* --------------------
Orbit Protocol Page 
-----------------------*/

.back-btn {
    display: inline-block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.back-btn:hover {
    color: #4da6ff;
}

.project-page-header {
    margin-bottom: 1.5rem;
}

.project-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.project-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.project-page-sub {
    color: #888;
    font-size: 1rem;
    margin: 0;
}

.project-page-banner {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #222;
    display: block;
}

/* Video embed */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #222;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Screenshots */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.screenshot-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #222;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: block;
}

.screenshot-gallery img:hover {
    transform: scale(1.02);
    border-color: #4da6ff;
}


.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tech-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 1.2rem;
    transition: border-color 0.2s ease;
}

.tech-card:hover {
    border-color: #4da6ff;
}

.tech-card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #4da6ff;
}

.tech-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.6;
}
/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    z-index: 1001;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(77, 166, 255, 0.3);
    border-color: #4da6ff;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #fff;
}

.screenshot-gallery img {
    cursor: pointer;
}
.card-no-overlay .project-title-bottom {
    background: rgba(0,0,0,0.6);
}
