/* Portfolio Public Page Styles */

/* Portfolio Grid */
.portfolio-item {
    margin-bottom: 30px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.portfolio-item.hiding {
    opacity: 0;
}

/* Portfolio Image Hover Scroll Effect */
.card-img-round {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    height: 300px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.card-img-round a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.card-img-round img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(0);
    transition: transform 4s ease-in-out;
}

.card-img-round:hover img {
    transform: translateY(calc(300px - 100%));
}

/* Responsive */
@media (max-width: 991px) {
    .card-img-round {
        height: 400px;
    }
    
    .card-img-round:hover img {
        transform: translateY(calc(400px - 100%));
    }
}

@media (max-width: 767px) {
    .card-img-round {
        height: 200px;
    }
    
    .card-img-round:hover img {
        transform: translateY(calc(200px - 100%));
    }
}

/* Project Card Info */
.project-card-info {
    padding: 20px 0;
}

.project-card-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.project-card-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.project-card-info .project-category {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.project-card-info .project-category strong {
    color: #667eea;
}

/* Empty State */
.empty-portfolio-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    margin-top: 30px;
}

.empty-portfolio-message h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.empty-portfolio-message p {
    font-size: 16px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 991px) {
    .project-card-info {
        text-align: center;
        padding: 30px 0;
    }
    
    .project-card-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .project-card-info h3 {
        font-size: 20px;
    }
    
    .project-card-info p {
        font-size: 14px;
    }
}
