/* ========================================
   PAGE RÉALISATIONS
======================================= */
.portfolio-filters {
    padding: 0 0 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.portfolio-grid .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(209, 38, 100, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-small:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ========================================
   REALISATIONS PAGE
======================================= */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.realisation-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.03);
}
.realisation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.realisation-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.realisation-card:hover .realisation-image img {
    transform: scale(1.08);
}
.realisation-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(209,38,100,0.93), rgba(54,54,53,0.93));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.35s ease;
    color: white;
}
.realisation-card:hover .realisation-overlay { opacity: 1; }
.realisation-overlay h3 { color: white; font-size: 1.1rem; margin-bottom: 0.5rem; }
.realisation-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0.9; }
.realisation-meta span { display: flex; align-items: center; gap: 6px; }
.realisation-expand {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}
.realisation-expand:hover { background: white; color: var(--primary-color); }
.no-results-box {
    text-align: center; padding: 5rem 2rem;
    background: white; border-radius: 20px; box-shadow: var(--shadow-sm);
}
.no-results-box i { font-size: 4rem; color: var(--accent-color); margin-bottom: 1rem; display: block; }
.no-results-box h3 { margin-bottom: 0.5rem; color: var(--secondary-color); }
.no-results-box p { color: #666; }
.pagination-modern {
    display: flex; justify-content: center; align-items: center;
    gap: 10px; margin-top: 3rem; flex-wrap: wrap;
}
.pagination-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.7rem 1.5rem; background: white; color: var(--secondary-color);
    text-decoration: none; border-radius: 50px; font-weight: 600;
    font-size: 0.9rem; border: 2px solid var(--gray-light);
    transition: var(--transition-normal);
}
.pagination-btn:hover { background: var(--gradient-primary); color: white; border-color: transparent; box-shadow: var(--shadow-colored); }
.pagination-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; background: white; color: var(--secondary-color);
    text-decoration: none; border-radius: 50%; font-weight: 600;
    border: 2px solid var(--gray-light); transition: var(--transition-normal);
}
.pagination-number:hover, .pagination-number.active {
    background: var(--gradient-primary); color: white; border-color: transparent; box-shadow: var(--shadow-colored);
}
.fullscreen-modal {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.97);
    z-index: 10000; align-items: center; justify-content: center;
    animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.fullscreen-modal-close {
    position: absolute; top: 20px; right: 30px; color: white;
    font-size: 2.5rem; cursor: pointer; opacity: 0.7; z-index: 10001; line-height: 1;
    transition: var(--transition-fast);
}
.fullscreen-modal-close:hover { opacity: 1; transform: scale(1.2); color: var(--primary-color); }
.fullscreen-modal-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.fullscreen-modal-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.fullscreen-modal-info { margin-top: 1rem; color: white; }
.fullscreen-modal-info h3 { color: white; font-size: 1.3rem; margin-bottom: 0.5rem; }
.fullscreen-modal-info p { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; opacity: 0.8; font-size: 0.9rem; }
.fullscreen-modal-info span { display: flex; align-items: center; gap: 6px; }
@media (max-width: 1024px) { .realisations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .realisations-grid { grid-template-columns: 1fr; } .pagination-modern { gap: 6px; } }


