/* Project Carousel Styles */
:root {
  --cosmic-silver: #E8E8F0;
  --deep-space: #1A1A2E;
  --nebula-purple: #8309D5;
  --cosmic-cyan: #09C1D5;
  --stardust: #B8B8D0;
  --void-dark: #0F0F1E;
  --galaxy-bg: #16213E;
}

.project-carousel {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.carousel-container {
    position: relative;
    min-height: 400px;
}

.featured-project-card {
    background: rgba(232, 232, 240, 0.05);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(184, 184, 208, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.featured-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(131, 9, 213, 0.5);
    border-color: rgba(131, 9, 213, 0.4);
}

.featured-project-card.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.featured-project-card.fade-in {
    opacity: 1;
    transform: scale(1);
}

.project-carousel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-carousel-content {
    padding: 30px;
}

.project-carousel-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.project-carousel-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cosmic-silver);
    margin: 10px 0;
}

.project-carousel-description {
    color: var(--stardust);
    line-height: 1.6;
    margin: 15px 0;
}

.project-carousel-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tech-tag {
    background: rgba(131, 9, 213, 0.1);
    color: #8309D5;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-carousel-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.project-carousel-links .button {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* Stats Panel */
.project-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(232, 232, 240, 0.03);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 184, 208, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    margin: 30px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8309D5, #09C1D5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: linear-gradient(to right, #8309D5, #09C1D5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(131, 9, 213, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(to right, #8309D5, #09C1D5);
    width: 30px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .project-carousel-content {
        padding: 20px;
    }
    
    .project-carousel-title {
        font-size: 1.4rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
