/* Proje Kartları */
.project-card {
    /* Tailwind ile kontrol edilecek, arka plan ve gölge kaldırıldı */
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.project-card:hover {
    /* Sadece transform bırakıldı */
    transform: translateY(-5px);
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card .card-subtitle {
    margin-bottom: 1rem;
}

/* Proje Detay Sayfası İçin Ek Stiller */
.project-detail-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}



/* Gradient Background Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-animate {
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

/* Enhanced Progress Bar Styles */
.progress-enhanced {
    position: relative;
    overflow: hidden;
}

.progress-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Comment Form Styling */
.project-detail-item textarea {
    resize: vertical;
    min-height: 100px;
    transition: all 0.2s ease;
}

.project-detail-item textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Team Member Avatar Hover Effect */
.team-avatar {
    transition: all 0.2s ease;
}

.team-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

/* Update Card Timeline Effect */
.update-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa);
}

.update-timeline-item {
    position: relative;
    padding-left: 40px;
}

.update-timeline-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Button Styles */
.btn-enhanced {
    position: relative;
    overflow: hidden;
}

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

.btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Status Badge Enhancements */
.status-badge {
    position: relative;
    overflow: hidden;
}

.status-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Dark Mode Specific Enhancements */
.project-detail-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2) !important;
}



/* Category & Technology Tag Dynamic Styling */
.dynamic-tag,
.category-tag,
.technology-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    opacity: 0.9;
    background-color: var(--tag-bg, var(--category-bg, var(--technology-bg, rgba(59, 130, 246, 0.12))));
    color: var(--tag-color, var(--category-color, var(--technology-color, #c7d2fe)));
    border: 1px solid var(--tag-border, var(--category-border, var(--technology-border, rgba(59, 130, 246, 0.35))));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.dynamic-tag::before,
.category-tag::before,
.technology-tag::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.45s ease;
}

.dynamic-tag:hover::before,
.category-tag:hover::before,
.technology-tag:hover::before {
    left: 100%;
}

.dynamic-tag:hover,
.category-tag:hover,
.technology-tag:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35);
}

/* Enhanced form styling for dark mode */
.project-detail-item textarea,
.project-detail-item input,
.project-detail-item select {
    border-color: #4b5563 !important;
    color: #f3f4f6 !important;
}

.project-detail-item textarea:focus,
.project-detail-item input:focus,
.project-detail-item select:focus {

    border-color: #60a5fa !important;
    color: #f3f4f6 !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

/* Enhanced icon colors in dark mode */
.fas,
.far {
    color: inherit;
}



/* Responsive Improvements */
@media (max-width: 768px) {
    .project-detail-item {
        margin-bottom: 0.75rem;
    }

    .project-hero-section {
        padding: 1rem !important;
    }

    .project-hero-section h1 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .project-card {
        margin-bottom: 1rem;
    }

    .project-detail-card .card-body {
        padding: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card,
.project-detail-card,
.comment-card,
.update-card {
    animation: fadeIn 0.5s ease-out;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* İlerleme Çubuğu */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #374151;
    margin-bottom: 1rem;
}

.progress-bar {
    border-radius: 5px;
    transition: width 0.6s ease;
}

/* Yorum ve Güncelleme Kartları */
.comment-card,
.update-card {
    background-color: #1f2937;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.comment-card:hover,
.update-card:hover {
    background-color: #374151;
}

/* Arama ve Filtreleme Kartı */
.filter-card {
    background-color: #1f2937;
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-card .card-body {
    padding: 1.5rem;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card,
.project-detail-card,
.comment-card,
.update-card {
    animation: fadeIn 0.5s ease-out;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
