﻿/* Nos Projets Page Styles */



/* Header & spacing */
.projets-header {
    padding-top: clamp(80px, 15vh, 120px);
}







.projets-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(1rem, 4vw, 2.5rem);
    margin-bottom: clamp(2rem, 6vh, 4rem);
}



.projets-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.1;
}

.projets-description {
    max-width: 420px;
    font-size: var(--fs-body);
    color: var(--text-black);
    line-height: 1.5;
    margin: 0;
    text-align: right;
}



/* Category Filter */

.category-filter {

    display: flex;

    gap: 30px;

    margin-bottom: 40px;

    border-bottom: 1px solid #eee;

    padding-bottom: 15px;

}



.filter-btn {

    background: none;

    border: none;

    font-size: 18px;

    font-weight: 600;

    color: var(--text-dark-gray);

    cursor: pointer;

    padding: 0;

    position: relative;

    transition: color 0.3s ease;

}



.filter-btn:hover,

.filter-btn.active {

    color: var(--primary-blue);

    /* Direct blue from logo */

}



.filter-btn.active::after {

    content: '';

    position: absolute;

    bottom: -16px;

    left: 0;

    width: 100%;

    height: 3px;

    background-color: var(--primary-blue);

}



/* Projects Grid */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    margin-bottom: 60px;

}



.project-card {

    aspect-ratio: 4 / 5;

    background-size: cover;

    background-position: center;

    border-radius: 50px;

    overflow: hidden;

    position: relative;

    cursor: pointer;

    transition: transform 0.4s ease;

    text-decoration: none;

    display: block;

}



.project-card:hover {

    transform: scale(1.02);

}



.project-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(28, 118, 188, 0.8);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    transition: opacity 0.3s ease;

    padding: 30px;

}



.project-card:hover .project-overlay {

    opacity: 1;

}



.project-title {

    font-family: var(--font-main);

    font-weight: 700;

    font-size: 32px;

    line-height: 1.1;

    color: #fff;

    text-align: center;

    text-transform: uppercase;

}



/* Pagination Controls (Mockup circles) */

.pagination-controls {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 80px;

}



.pagination-btn {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background-color: #000;

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    cursor: pointer;

    transition: background-color 0.3s ease;

}



.pagination-btn svg {

    width: 20px;

    height: 20px;

}



.pagination-btn:hover {

    background-color: var(--primary-blue);

}



/* Responsive */

@media (max-width: 1024px) {

    .projets-intro {

        flex-direction: column;

        gap: 20px;

        text-align: center;

        align-items: center;

    }



    .projets-title {

        font-size: 36px;

        text-align: center;

        width: 100%;

    }



    .projets-description {

        text-align: center;

        margin: 0 auto;

        font-size: 14px;

        width: 100%;

        max-width: 600px;

        padding: 0;

    }



    .category-filter {

        display: block !important;

        white-space: nowrap;

        overflow-x: auto;

        width: 100%;

        text-align: left;

        margin: 0;

        padding-bottom: 20px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

        padding-left: 2px;

        padding-right: 0;

    }



    .filter-btn {

        display: inline-block;

        margin-right: 30px;

        float: none;

        font-size: 16px;

    }



    .filter-btn:last-child {

        margin-right: 0;

    }



    .category-filter::-webkit-scrollbar {

        display: none;

    }



    .projects-grid {

        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 40px;

    }



    .project-card {

        border-radius: 30px;

    }



    .project-title {

        font-size: 24px;

    }

}



@media (max-width: 768px) {

    .filter-btn {

        font-size: 14px;

    }

}