/* Nick Projects Plugin Styles */

.nick-project-gallery {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filter Controls */
.project-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    padding: 0 1rem;
}

.filter-btn {
    background: #ffffff;
    color: #000000;
    border: 3px solid #000000;
    padding: 0rem 0.4rem 0.25rem 0.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    border-radius: 0px;
    letter-spacing: 0px;
    text-transform: none;
    
}

.filter-btn.active, .filter-btn:hover {
    background: #ffffff;
    color: #000000;
    outline: 2px solid #000000;
}


/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-filter {
        gap: 0.25rem;
    }

    .filter-btn {
        padding: 0.25rem 0.4rem 0.25rem 0.4rem;
        font-size: 1.5rem;
    }
}

/* Project Cards */
.project-card {
    border: 3px solid #000000;
    background: #ffffff;
    transition: all 0.2s ease;
}

.project-card:hover, .project-card:focus-within {
    outline: 4px solid #000000;
    outline-offset: 0px;
}

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

.project-card-link {
    display: block;
    color: #000000;
    text-decoration: none;
}

.project-card-link:hover,
.project-card-link:focus {
    color: #000000;
    text-decoration: none;
}

.project-card-link:focus {
    outline: none;
}

/* Project Image */
.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 2px solid #000000;
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px dashed #000000;
    box-sizing: border-box;
    margin: 10px;
    height: calc(100% - 20px);
}

.project-placeholder span {
    font-size: 0.875rem;
    color: #000000;
    font-weight: 500;
}

/* Project Content */
.project-content {
    padding: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #000000;
    line-height: 1.3;
}

.project-excerpt {
    font-size: 0.875rem;
    color: #000000;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.project-tag {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 0rem 0.4rem 0.15rem 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    border-radius: 0px;
    letter-spacing: 0px;
    text-transform: none;
}

/* No Projects Message */
.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.125rem;
    color: #000000;
    padding: 3rem 1rem;
    border: 2px solid #000000;
    background: #ffffff;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .filter-btn,
    .project-card,
    .project-tag {
        transition: none;
    }

    .filter-btn:hover,
    .filter-btn:focus {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .filter-btn,
    .project-card {
        border-width: 4px;
    }

    .project-card:hover,
    .project-card:focus-within {
        border-width: 6px;
    }
}