:root {
    --ic-gradient-start: #667eea;
    --ic-gradient-end: #764ba2;
    --ic-title-color: #000000;
    --ic-glass-opacity: 0.15;
    --ic-blur-amount: 10px;
}

.ic-portfolio-container {
    padding: 20px;
}

.ic-portfolio-title {
    text-align: center;
    color: var(--ic-title-color);
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.portfolio-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.portfolio-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-item {
    background: rgba(255, 255, 255, var(--ic-glass-opacity));
    backdrop-filter: blur(var(--ic-blur-amount));
    -webkit-backdrop-filter: blur(var(--ic-blur-amount));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.portfolio-item-thumbnail {
    overflow: hidden;
    height: 220px;
}

.portfolio-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item-thumbnail img {
    transform: scale(1.1);
}

.portfolio-item-content {
    padding: 20px;
    text-align: center;
}

.portfolio-item-content h5 {
    color: var(--ic-title-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.portfolio-item-content p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Lightbox */
.ic-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.ic-lightbox.active {
    display: flex;
}

.ic-lightbox-content {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(255,255,255,0.3);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.ic-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.ic-lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255,255,255,0.2);
}

.ic-lightbox-close svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.ic-lightbox-title {
    color: white;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.ic-lightbox-description {
    color: #cccccc;
    font-size: 1.1em;
    line-height: 1.8;
}

/* ... other lightbox description styles ... */

/* Portfolio Filters */
.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    color: var(--ic-title-color, #000);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--ic-gradient-end, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .ic-portfolio-title {
        font-size: 2em;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
.ic-portfolio-voir-plus-container {
    text-align: center;
    margin-top: 30px;
}

#ic-portfolio-voir-plus {
    background-image: linear-gradient(to right, var(--ic-gradient-start), var(--ic-gradient-end), var(--ic-gradient-start));
    background-size: 200% auto;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#ic-portfolio-voir-plus:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#ic-portfolio-voir-plus:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 5px 20px rgba(0,0,0,0.2);
}
