.w-webflow-badge {
    display: none !important;
}

/* Ensure the Webflow badge is hidden in all states */
.w-webflow-badge img {
    display: none !important;
}

/* Portfolio Image Zooming Effects */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-item-image {
    transition: transform 0.3s ease, filter 0.3s ease;
    transform-origin: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item:hover .portfolio-item-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.portfolio-item-inner-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-item-inner-block {
    transform: translateY(0);
}

/* Ensure smooth transitions */
.portfolio-item * {
    transition: all 0.3s ease;
}

/* Add a subtle shadow on hover */
.portfolio-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 767px) {
    .portfolio-item:hover {
        transform: scale(1.01);
    }
    
    .portfolio-item:hover .portfolio-item-image {
        transform: scale(1.05);
    }
    
    .portfolio-item-inner-block {
        padding: 15px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .portfolio-item:hover {
        transform: none;
    }
    
    .portfolio-item:hover .portfolio-item-image {
        transform: none;
    }
    
    .portfolio-item-inner-block {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
}
