/* Proje kartları için özel stiller - Jeton Dijital Teması */

/* Proje kartları */
.project-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: 30px;
    max-width: 400px;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Proje görseli */
.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* SVG görselleri için özel optimizasyon */
.project-image img[src$=".svg"] {
    object-fit: contain;
    padding: 20px;
}

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

/* Proje rozetleri */
.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.tamamlandi {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.status-badge.devam {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.status-badge.planlama {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

/* Proje içeriği */
.project-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.projects-page .project-year {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #a855f7;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 10px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.project-content p {
    color: #f1f5f9;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Proje meta bilgileri */
.project-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 12px 0;
    overflow-x: auto;
    padding-bottom: 4px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #cbd5e1;
    font-size: 11px;
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

.meta-item i {
    color: #a855f7;
    width: 12px;
    font-size: 10px;
}

/* Proje etiketleri */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #a855f7;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    transform: translateY(-1px);
}

/* Proje aksiyonları */
.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: #a855f7;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
    color: #a855f7;
}

/* Proje placeholder */
.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 48px;
    border: 2px dashed rgba(99, 102, 241, 0.3);
}

/* Proje yok mesajı */
.no-projects {
    text-align: center;
    padding: 60px 20px;
    color: #cbd5e1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.no-projects i {
    font-size: 64px;
    color: #6366f1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-projects h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.no-projects p {
    font-size: 16px;
    margin: 0;
    color: #a855f7;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .project-meta {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .project-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-year {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .project-content {
        padding: 15px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-header h3 {
        font-size: 16px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .meta-item {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .tag {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Grid ve List görünümleri */
.projects-grid.list-view .project-card {
    display: flex;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.projects-grid.list-view .project-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.projects-grid.list-view .project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}

@media (max-width: 768px) {
    .projects-grid.list-view .project-card {
        flex-direction: column;
    }
    
    .projects-grid.list-view .project-image {
        width: 100%;
        height: 250px;
    }
    
    .projects-grid.list-view .project-content {
        padding: 20px;
    }
}
