:root {
    --rosewater2: #f5e0dc;
    --flamingo2: #f2cdcd;
    --pink2: #f5c2e7;
    --mauve2: #cba6f7;
    --red2: #f38ba8;
    --maroon2: #eba0ac;
    --peach2: #fab387;
    --yellow2: #f9e2af;
    --green2: #a6e3a1;
    --teal2: #94e2d5;
    --sky2: #89dceb;
    --sapphire2: #74c7ec;
    --blue2: #89b4fa;
    --lavender2: #b4befe;
}


.projects-page {
    padding: 2rem 0;
}

.projects-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem; 
}

.sidebar {
    position: sticky;
    top: 2rem;
}

.mini-hero-card {
    background-color: var(--surface0);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--surface1);
    margin-bottom: 2rem; 
}

.mini-avatar {
    position: relative;
    width: 120px; 
    height: 120px; 
    margin: 0 auto 1.5rem;
}

.mini-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--surface1);
    position: relative;
    z-index: 2;
}

.mini-avatar-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--mocha), var(--accent));
    top: 8px; 
    left: 8px;
    z-index: 1;
    opacity: 0.7;
    filter: blur(4px);
}

.mini-hero-text {
    text-align: center;
}

.mini-subtitle {
    color: var(--subtext1);
    margin-bottom: 1.5rem;
}

.mini-hero-buttons {
    display: flex;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.project-filters {
    background-color: var(--surface0);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--surface1);
}

.filter-heading {
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-list {
    list-style: none;
}

.filter-item {
    margin-bottom: 0.75rem;
}

.filter-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--subtext1);
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-link:hover, .filter-link.active {
    background-color: var(--surface1);
    color: var(--text);
}

.filter-link.active {
    font-weight: 500;
    color: var(--mauve);
}

.filter-badge {
    background-color: var(--surface1);
    color: var(--subtext1);
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: auto;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem; 
}

.projects-title {
    font-size: 1.8rem;
    color: var(--text);
}

.projects-search {
    position: relative;
    width: 300px;
}

.projects-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--surface1);
    background-color: var(--surface0);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.projects-search input:focus {
    outline: none;
    border-color: var(--mocha);
    box-shadow: 0 0 0 2px rgba(203, 166, 247, 0.2);
}

.projects-search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--overlay1);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; 
}

.project-item {
    background-color: var(--surface0);
    border-radius: 12px;
    border: 1px solid var(--surface1);
    padding: 1.75rem; 
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 17, 27, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem; 
}

.project-name {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-name a {
    color: var(--blue);
    transition: all 0.2s ease;
}

.project-name a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem; 
}

.project-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--subtext1);
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.language-dot.js {
    background-color: var(--yellow2);
}

.language-dot.python {
    background-color: var(--blue2);
}

.language-dot.html {
    background-color: var(--red2);
}

.language-dot.css {
    background-color: var(--mauve2);
}

.project-stars {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--subtext1);
}

.project-stars i {
    color: var(--yellow2);
}

.project-forks {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--subtext1);
}

.project-status {
    background-color: var(--surface1);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.active {
    background-color: rgba(166, 227, 161, 0.1);
    color: var(--green);
    border: 1px solid rgba(166, 227, 161, 0.2);
}

.project-status.archived {
    background-color: rgba(249, 226, 175, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(249, 226, 175, 0.2);
}

.project-status.down {
    background-color: rgba(243, 139, 168, 0.1);
    color: var(--red);
    border: 1px solid rgba(243, 139, 168, 0.2);
}



.project-description {
    font-size: 1rem;
    color: var(--subtext0);
    margin-bottom: 1.5rem; 
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem; 
}

.project-tag {
    background-color: var(--surface1);
    color: var(--subtext1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background-color: var(--surface2);
    color: var(--text);
}

.project-footer {
    margin-top: 1.5rem; 
    padding-top: 1.5rem; 
    border-top: 1px solid var(--surface1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-updated {
    font-size: 0.9rem;
    color: var(--subtext1);
}

.project-actions {
    display: flex;
    gap: 0.75rem;
}

.project-action-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.project-action-btn-and {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-outline-sm {
    border: 1px solid var(--surface2);
    color: var(--subtext0);
    background: transparent;
}

.btn-outline-sm:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(203, 166, 247, 0.05);
}

.project-action-btn i {
    font-size: 0.8rem;
}

.project-action-btn-and i {
    font-size: 0.8rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem; 
    gap: 0.5rem;
}

.pagination-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--subtext1);
    font-weight: 500;
    border: 1px solid var(--surface1);
    background-color: var(--surface0);
    transition: all 0.2s ease;
}

.pagination-item:hover, .pagination-item.active {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(203, 166, 247, 0.05);
}

.pagination-item.active {
    color: var(--text);
    background: linear-gradient(90deg, var(--mocha), var(--accent));
    border: none;
}

@media (max-width: 992px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 2rem; 
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .projects-search {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .project-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}













.skills-showcase {
    background-color: var(--surface0);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--surface1);
}

.showcase-heading {
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.skill-card {
    background-color: var(--surface1);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
    background-color: var(--surface2);
}

.skill-card i {
    font-size: 1.5rem;
    color: var(--text);
}

/*
.skill-card i.fa-html5 {
    color: #E34F26;
}

.skill-card i.fa-css3-alt {
    color: #1572B6;
}

.skill-card i.fa-js {
    color: #F7DF1E;
}

.skill-card i.fa-react {
    color: #61DAFB;
}

.skill-card i.fa-python {
    color: #3776AB;
}

.skill-card i.fa-node-js {
    color: #68A063;
}

.skill-card i.fa-git-alt {
    color: #F05032;
}

.skill-card i.fa-figma {
    color: #F24E1E;
}

.skill-card i.fa-windows {
    color: #00adef;
}
*/

.skill-card span {
    font-size: 0.85rem;
    font-weight: 500;
}

.showcase-cta {
    text-align: center;
    margin-top: 1rem;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

@media (max-width: 992px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
















