/* Portfolio Page Styles */

.portfolio-showcase {
    padding: 6rem 0;
    background: #0a0a0a;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.project-title {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.5);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.project-card:hover::before {
    left: 100%;
}

.project-visual {
    height: 300px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, #1a1a2e 0%, #16213e 100%);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

video.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.project-link.primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
}

.project-link.primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.project-result {
    color: #10b981;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse-green 2s ease-in-out infinite;
}

/* Project placeholder for WordPress */
.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #21759b, #0073aa);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.placeholder-icon {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.placeholder-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}



/* Animations */
@keyframes glow {
    from { box-shadow: 0 0 5px rgba(37, 99, 235, 0.3); }
    to { box-shadow: 0 0 15px rgba(37, 99, 235, 0.6); }
}

@keyframes pulse-green {
    0%, 100% { text-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
    50% { text-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float-button {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-visual {
        height: 200px;
    }
    

}