.project-filter-bar .row {
--bs-gutter-x: 1rem;
--bs-gutter-y: 1rem;
}
.project-dropdown,
.project-search-wrap {
height: 100%;
}
.project-dropdown {
position: relative;
}
.project-dropdown__toggle,
.project-search-form .form-control {
width: 100%;
min-height: 58px;
border: 1px solid #d9dee7;
border-radius: 2px;
background: #fff;
font-size: 1rem;
font-weight: 500;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.project-dropdown__toggle {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.95rem 1.15rem;
color: #24324a;
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.project-dropdown__toggle:hover,
.project-search-form .form-control:hover {
border-color: #c8d2e1;
}
.project-dropdown.is-open .project-dropdown__toggle,
.project-dropdown__toggle:focus,
.project-search-form .form-control:focus {
border-color: var(--bs-primary);
box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.12);
outline: 0;
}
.project-dropdown__label {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.project-dropdown__icon {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
color: var(--bs-primary);
transition: transform 0.2s ease;
}
.project-dropdown__icon svg {
width: 18px;
height: 18px;
}
.project-dropdown.is-open .project-dropdown__icon {
transform: rotate(180deg);
}
.project-dropdown__menu {
position: absolute;
top: calc(100% + 0.5rem);
left: 0;
right: 0;
z-index: 30;
background: #fff;
border: 1px solid #d9dee7;
border-radius: 2px;
box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
padding: 0.5rem;
opacity: 0;
visibility: hidden;
transform: translateY(8px);
transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
max-height: 280px;
overflow-y: auto;
}
.project-dropdown.is-open .project-dropdown__menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.project-dropdown__option {
display: block;
width: 100%;
border: 0;
background: transparent;
text-align: left;
padding: 0.85rem 0.95rem;
border-radius: 10px;
color: #24324a;
font-weight: 500;
transition: background-color 0.18s ease, color 0.18s ease;
}
.project-dropdown__option:hover,
.project-dropdown__option:focus {
background: #f4f7fb;
color: var(--bs-primary);
outline: 0;
}
.project-dropdown__option.is-selected {
background: rgba(var(--bs-primary-rgb), 0.08);
color: var(--bs-primary);
}
.project-search-form,
.project-search-form .position-relative {
height: 100%;
}
.project-search-form .form-control {
padding-left: 1.15rem;
padding-right: 4.25rem;
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.project-search-form .form-control::-webkit-search-cancel-button {
-webkit-appearance: none;
appearance: none;
}
.project-search-icon {
position: absolute;
right: 1.15rem;
top: 50%;
transform: translateY(-50%);
display: inline-flex;
align-items: center;
justify-content: center;
pointer-events: none;
color: var(--bs-primary);
}
.project-search-clear {
position: absolute;
right: 2.9rem;
top: 50%;
transform: translateY(-50%);
width: 28px;
height: 28px;
border: 0;
border-radius: 50%;
background: transparent;
color: #7b8794;
font-size: 1.2rem;
line-height: 1;
padding: 0;
transition: background-color 0.18s ease, color 0.18s ease;
}
.project-search-clear:hover,
.project-search-clear:focus {
background: #eef3f8;
color: #24324a;
outline: 0;
}
@media (max-width: 991.98px) {
.project-dropdown__toggle,
.project-search-form .form-control {
min-height: 54px;
}
}
.project-filter-bar {
display: flex;
flex-direction: column;
align-items: center;
}
.project-filter-group--categories {
max-width: 100%;
}
.project-filter-group--status {
margin-top: 0.25rem;
}
.project-status-toggle {
display: inline-flex;
align-items: center;
border: 1px solid rgba(0, 0, 0, 0.12);
background: #f8f9fa;
overflow: hidden;
}
.project-status-badge {
position: absolute;
top: 0.75rem;
right: 0.75rem;
z-index: 3;
display: inline-flex;
align-items: center;
padding: 0.3rem 0.55rem;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
line-height: 1;
backdrop-filter: blur(4px);
}
.project-status-badge--completed {
background: rgba(var(--bs-primary-rgb), 1);
color: var(--bs-secondary);
}
.project-status-badge--in-progress {
background: rgba(255, 255, 255, 1);
color: var(--bs-secondary);
}
.project-item {
opacity: 0;
transform: scale(.85);
transition: opacity .35s ease, transform .35s ease;
}
.project-item.show {
opacity: 1;
transform: scale(1);
}
.project-item.stagger {
transition-delay: calc(var(--i) * 50ms);
}
.project-category {
letter-spacing: 0.15em;
font-size: 0.75rem;
text-transform: uppercase;
margin-bottom: 0.25rem;
}
.project-card {
height: 100%;
}
.project-card__link {
display: block;
height: 100%;
color: inherit;
text-decoration: none;
}
.project-card__media {
position: relative;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #ddd;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
transition: box-shadow 0.35s ease;
}
.project-thumb {
width: 100%;
height: 100%;
transition: transform 0.6s ease;
}
.project-card__overlay {
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(15, 23, 42, 0.92) 0%,
rgba(15, 23, 42, 0.55) 35%,
rgba(15, 23, 42, 0.1) 65%,
rgba(15, 23, 42, 0) 100%
);
pointer-events: none;
}
.project-card__content {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 1.5rem;
z-index: 2;
}
.project-card__top {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 0.75rem;
}
.project-title {
color: #fff;
transition: color 0.3s ease;
}
.project-card__reveal {
max-height: 0;
opacity: 0;
overflow: hidden;
transition:
max-height 0.4s ease,
opacity 0.3s ease,
transform 0.3s ease;
margin-top: 0;
}
.project-excerpt {
color: rgba(255,255,255,0.75);
}
.project-card__icon {
width: 2.5rem;
height: 2.5rem;
background: rgba(255,255,255,0.15);
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
flex-shrink: 0;
}
.project-card__icon svg {
transition: transform 0.3s ease;
}
.project-card:hover .project-card__media,
.project-card:focus-within .project-card__media {
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.project-card:hover .project-thumb,
.project-card:focus-within .project-thumb {
transform: scale(1.06);
}
.project-card:hover .project-title,
.project-card:focus-within .project-title {
color: var(--bs-primary);
}
.project-card:hover .project-card__icon,
.project-card:focus-within .project-card__icon {
background: var(--bs-primary);
color: var(--bs-secondary);
}
.slick-slide {
overflow: visible !important;
}