/* ============================================
   FLORENT HOUX - PROJECTS PAGE
   ============================================ */

/* === PROJECTS PAGE HEADER === */
.projects-page-header {
    padding: calc(var(--nav-height) + 60px) 40px 40px;
    text-align: center;
}

.projects-page-header .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

/* === FILTERS === */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    color: var(--neon-cyan);
    border-color: rgba(0, 255, 245, 0.3);
    background: rgba(0, 255, 245, 0.05);
}

.filter-btn.active {
    color: var(--bg-dark);
    background: var(--gradient-cyber);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 245, 0.4);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* === PROJECTS STATS === */
.projects-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 245, 0.2);
    border-radius: 10px;
    min-width: 120px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 245, 0.5);
}

.stat-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === ALL PROJECTS SECTION === */
.all-projects-section {
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

/* === PROJECT CARD ENHANCED === */
.project-card-full {
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 245, 0.15);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    animation: cardAppear 0.5s ease forwards;
}

.project-card-full:nth-child(1) { animation-delay: 0.1s; }
.project-card-full:nth-child(2) { animation-delay: 0.15s; }
.project-card-full:nth-child(3) { animation-delay: 0.2s; }
.project-card-full:nth-child(4) { animation-delay: 0.25s; }
.project-card-full:nth-child(5) { animation-delay: 0.3s; }
.project-card-full:nth-child(6) { animation-delay: 0.35s; }
.project-card-full:nth-child(7) { animation-delay: 0.4s; }
.project-card-full:nth-child(8) { animation-delay: 0.45s; }
.project-card-full:nth-child(9) { animation-delay: 0.5s; }
.project-card-full:nth-child(10) { animation-delay: 0.55s; }
.project-card-full:nth-child(11) { animation-delay: 0.6s; }
.project-card-full:nth-child(12) { animation-delay: 0.65s; }

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

.project-card-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card-full:hover::before {
    transform: scaleX(1);
}

.project-card-full:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 50px rgba(0, 255, 245, 0.15);
}

/* Status Badge */
.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.project-status.active {
    color: var(--neon-green);
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.project-status.active::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    margin-right: 6px;
    animation: statusPulse 2s ease-in-out infinite;
}

.project-status.completed {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Project Header */
.project-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.project-logo-container {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0;
}

.project-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-title-area {
    flex: 1;
    padding-right: 80px;
}

.project-title-area h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.project-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

/* Project Description */
.project-description-full {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Project Tags */
.project-tags-full {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.project-tag-full {
    padding: 6px 14px;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    background: rgba(0, 255, 245, 0.08);
    border: 1px solid rgba(0, 255, 245, 0.2);
    border-radius: 20px;
    transition: all var(--transition-fast);
}

.project-tag-full:hover {
    background: rgba(0, 255, 245, 0.15);
    border-color: var(--neon-cyan);
}

/* Project Link */
.project-link-full {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    background: transparent;
    border: 1px solid var(--neon-cyan);
    border-radius: 5px;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.project-link-full:hover {
    color: var(--bg-dark);
    background: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 245, 0.4);
}

.project-link-full i {
    transition: transform 0.3s ease;
}

.project-link-full:hover i {
    transform: translateX(5px);
}

/* Hidden cards for filter */
.project-card-full.hidden {
    display: none;
}

/* === BACK HOME BUTTON === */
.back-home {
    display: flex;
    justify-content: center;
    padding: 60px 40px;
}

.back-home .cyber-btn {
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .projects-page-header {
        padding: calc(var(--nav-height) + 40px) 20px 20px;
    }

    .projects-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .projects-stats {
        gap: 20px;
    }

    .stat-box {
        padding: 15px 25px;
        min-width: 100px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .all-projects-section {
        padding: 20px;
    }

    .projects-grid-full {
        grid-template-columns: 1fr;
    }

    .project-card-full {
        padding: 25px;
    }

    .project-title-area {
        padding-right: 60px;
    }

    .project-title-area h3 {
        font-size: 1.1rem;
    }
}
