/* Portfolio Page Styles */

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

.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-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: 1rem;
    flex-wrap: wrap;
}

.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;
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-3d {
    height: 400px;
    border-radius: 20px;
    position: relative;
    background: radial-gradient(circle, #1a1a2e 0%, #16213e 100%);
}

.cta-content {
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    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;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button-3d {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    animation: float-button 3s ease-in-out infinite;
}

.cta-button-3d:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

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

.cta-button-3d:hover::before {
    left: 100%;
}

/* 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;
    }
    
    .portfolio-cta .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-3d {
        height: 250px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}