/* Portfolio Page Styles */

/* Image Hover Effect */
.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Technology Tags */
.portfolio-item .bg-gray-100 {
    transition: all 0.3s ease;
}

.portfolio-item:hover .bg-gray-100 {
    background-color: #E5E7EB;
}

/* Category Badge */
.portfolio-item .bg-blue-600 {
    transition: all 0.3s ease;
}

.portfolio-item:hover .bg-blue-600 {
    background-color: #1D4ED8;
}

/* Card Hover Effect */
.portfolio-item .bg-white {
    transition: all 0.3s ease;
}

.portfolio-item:hover .bg-white {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Filter Button Animation */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.filter-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-item {
        margin-bottom: 2rem;
    }

    .filter-btn {
        margin-bottom: 0.5rem;
    }
}

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

.portfolio-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger Animation Delay */
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; } 