@font-face {
    font-family: 'LemonLove';
    src: url('LemonLove.otf') format('opentype');
}


body {
    margin: 0;
    padding: 0;
    font-family: 'LemonLove';
    background-color: #000000;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1; /* prend tout l'espace dispo */
}




/* Titre */
.work-header {
    text-align: center;
    padding: 20px 0;
    bottom: 500px;
}

.work-header h1 {
    font-size: 5rem;
    letter-spacing: 4px;
}




/* Filtre */
.work-filter {
    text-align: center;
    margin-bottom: 30px;
}

.work-filter button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.work-filter button.active,
.work-filter button:hover {
    background: #fff;
    color: #111;
}


img {
    pointer-events: auto; /* pour clic normal */
    user-drag: none;      /* empêche le glisser */
    -webkit-user-drag: none;
}




/* 🔥 CONTENEUR GRID */
.work-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;              /* plus d’air */
    padding: 80px;
}


@media (max-width: 1400px) {
    .work-gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
    .work-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .work-gallery { grid-template-columns: repeat(2, 1fr); }
}




.work-item {
    break-inside: avoid;
    margin-bottom: 32px;
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 → (5 / 4 = 1.25 = 125%) */
    overflow: hidden;
    border-radius: 18px;
    background: none;
}

.work-item img {
  border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;

}


.work-item.wide {
    grid-column: span 2;
    padding-top: 56.25%; /* 16:9 → (9 / 16 = 0.5625) */
}

.work-item.hero {
    grid-column: span 3;
    padding-top: 56.25%;
}



.work-item:hover img {
    transform: scale(1.05) rotate(1deg); /* léger tilt pour dynamiser */
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(17,17,17,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 16px;
    transform: scale(0);               /* départ compressé */
    transition: transform 0.3s ease;   /* animation zoom */
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox.active img {
    transform: scale(1);               /* image à taille réelle */
}










.logo {
    width: 90px;
    height: auto;
    margin-top: 20px;
    margin-left: 70px;
    transition: transform 0.2s ease; /* fluidité du mouvement */
    transform-origin: center center;
    perspective: 500px; /* donne un effet 3D */
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .logo {
        width: 120px;  /* plus grand pour lisibilité */
        margin-left: 10px; 
        margin-top: 10px;
    }
}

.reseaux {
    position: static !important;
    display: flex;               /* met les logos sur une ligne */
    justify-content: center;     /* centre horizontalement */
    gap: 20px;                   /* espace entre les logos */
    width: 100%;                 /* prend toute la largeur */
    padding: 30px 0;
}

.icon {
    width: 40px;                 /* taille des logos */
    height: auto;
    transition: transform 0.3s;  /* effet au survol */
}

.icon:hover {
    transform: scale(1.2);       /* léger zoom au survol */
}
