
/* --- 3.18. Portfolio --- */
.sifency-portfolio-wrapper {
    --sifency-portfolio-gap: 30px;
}
.sifency-portfolio--grid {
    display: grid;
    gap: var(--sifency-portfolio-gap);
}
.sifency-portfolio-item {
    position: relative;
    overflow: hidden;
}
.sifency-portfolio-image {
    line-height: 0;
}
.sifency-portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sifency-portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
    transform: translateY(25%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}
.sifency-portfolio-title {
    margin: 0 0 5px;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2;
}
.sifency-portfolio-title a {
    text-decoration: none;
    color: inherit;
}
.sifency-portfolio-categories {
    font-size: 0.9em;
    opacity: 0.8;
}
.sifency-portfolio-categories a {
    text-decoration: none;
    color: inherit;
}
.sifency-portfolio-item:hover .sifency-portfolio-image img {
    transform: scale(1.05);
}
.sifency-portfolio-item:hover .sifency-portfolio-content {
    transform: translateY(0);
    opacity: 1;
}
.sifency-portfolio-wrapper.sifency-products--carousel {
    position: relative;
}
.sifency-portfolio-wrapper.sifency-products--carousel .swiper-slide {
    height: auto;
}

