.oe-projects-wrapper {
    width: 100%;
}

/* Filter Bar */
.oe-projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.oe-projects-filter-item {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.oe-projects-filter-item:hover {
    opacity: 0.8;
}

.oe-projects-filter-item.active {
    color: #ffffff;
    background-color: #d93025;
}

/* Projects Grid */
.oe-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}

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

@media (max-width: 767px) {
    .oe-projects-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Project Card */
.oe-project-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

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

/* Project Image */
.oe-project-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Category Label */
.oe-project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #d93025;
    text-transform: uppercase;
    z-index: 1;
}

/* Project Content */
.oe-project-content {
    padding: 20px;
    background-color: #000000;
}

.oe-project-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

/* No Projects Message */
.oe-no-projects {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    font-size: 18px;
    color: #666666;
}

/* Loading State */
.oe-projects-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .oe-projects-filter {
        flex-direction: row;
        justify-content: center;
    }
    
    .oe-projects-filter-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .oe-project-category {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .oe-project-title {
        font-size: 18px;
    }
}
