/* Project Cards Styles */
.project-card {
    background: #c5cdd5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    background: var(--accent-color, #D8FF36);
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.project-card:hover .project-card-content h4,
.project-card:hover .project-card-content .project-type {
    color: black;
}

.project-card:hover .project-watch-label {
    background: white;
    color: black;
    border-color: black;
}

.project-card-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-card-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.project-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.project-card-content .project-type {
    margin: 0 0 15px 0;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-watch-label {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #2c3e50;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.project-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.project-thumbnail-loading {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Play Button Overlay */
.project-card-thumbnail .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .play-overlay {
    opacity: 1;
}

.project-card-thumbnail .play-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #333;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .project-card-content h4 {
        font-size: 16px;
    }
    
    .project-card-thumbnail {
        height: 180px;
    }
}

@media (max-width: 991px) {
    .project-card-content {
        padding: 16px;
    }
    
    .project-card-thumbnail {
        height: 160px;
    }
    
    .project-card-content h4 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .project-card {
        margin-bottom: 20px;
    }
    
    .project-card-thumbnail {
        height: 200px;
    }
    
    .project-card-content {
        padding: 18px;
    }
    
    .project-card-content h4 {
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    .project-card-thumbnail {
        height: 180px;
    }
    
    .project-card-content h4 {
        font-size: 16px;
    }
    
    .project-watch-label {
        padding: 6px 12px;
        font-size: 11px;
    }
}