* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: #f5f5f5;
}

.navbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

.social-icon {
    margin-left: 15px;
}

.social-icon img {
    vertical-align: middle;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-buttons button:hover {
    background: #2563eb;
    color: white;
}

.filter-buttons button.active {
    background: #2563eb;
    color: white;
}

.search-box {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.project-image-container {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image-container:hover .project-overlay {
    opacity: 1;
}

.project-image-container:hover .project-image {
    transform: scale(1.1);
}

.github-button {
    padding: 0.8rem 1.5rem;
    background: #ffffff;
    color: #2563eb;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-image-container:hover .github-button {
    transform: translateY(0);
}

.github-button:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.project-info {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2563eb;
    color: white;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.metadata {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        width: 100%;
    }
}