/* =========================================
   PORTFOLIO STYLES
   ========================================= */
#portfolio-filters {
    margin-bottom: 50px;
    text-align: center;
}

#filters {
    padding: 0;
    list-style: none;
}

#filters li {
    display: inline-block;
    margin: 0 15px;
}

#filters li a {
    font-size: 18px;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    color: #666;
    padding-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

#filters li a::after {
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #FFC107;
    transition: all .2s ease-in-out;
}

#filters li a:hover,
#filters li a.active {
    color: #000;
}

#filters li a:hover::after,
#filters li a.active::after {
    width: 100%;
}

#portfolio .grid {
    display: block !important;
    position: relative;
    margin: 0 auto;
    width: 100%;
    /* Ensure full width for Isotope calc */
}

.entry {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.entry-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: all .3s ease-in-out;
    background-size: cover;
    background-position: center;
}

.entry:hover .entry-image {
    transform: scale(1.1);
}

.work-entry-hover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.entry:hover .work-entry-hover {
    opacity: 1;
    visibility: visible;
}

.work-entry-content {
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.entry:hover .work-entry-content {
    transform: translateY(0);
}

.work-entry-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.work-entry-cat {
    font-size: 14px;
    color: #FFC107;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Isotope Layout Helpers */
.w2 {
    width: 66.66% !important;
}