body{
    margin: 0;
    background: #fff;
    color: #eee;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
}


/* slider section  */

.slider{
    height: 100vh;
    margin-top: -50px;
    width: 99vw;
    overflow: hidden;
    position: relative;
    object-fit: cover;
}
.slider .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    inset: 0 0 0 0;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item .content{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    object-fit: cover;
}
.slider .list .item .content .title {
    font-size: 3.5vw;
    color: white;
}

.slider .list .item .content .type {
    font-size: 3.2vw;
    color: #c37b4a;
}

.slider .list .item .content .description {
    font-size: 3vw;
    color: white;
}

.slider .list .item .content .title,
.slider .list .item .content .type{
    font-weight: bold;
    line-height: 1.2;
    word-break: break-word;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.slider .list .item .button{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.slider .list .item .button button{
    border: none;
    background-color: #eee;
    font-family: "Helvetica Neue", sans-serif;;
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
}

.description{
    font-size: 2.5rem;
    font-weight: bold;
}

.slider .list .item .button button:hover{
    letter-spacing: 3px;
}
.slider .list .item .button button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}

/* Thumbnail Section  */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 0;
    display: none;
    gap: 20px;

}

.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}


/* nextPrevArrows Section  */
/* Enlève la disposition en ligne */
.nextPrevArrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 100;
    pointer-events: none; /* pour ne pas bloquer les clics inutiles */
}

/* Active le clic uniquement sur les boutons */
.nextPrevArrows button {
    pointer-events: all;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c37b4a;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.nextPrevArrows button:hover {
    background-color: #fff;
    color: #000;
}


/* Animation Part */
.slider .list .item:nth-child(1){
    z-index: 1;
}


/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);

    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}

.slider.fade .list .item:nth-child(1) img {
    animation: fadeInDark 0.6s ease-in-out forwards;
}


.mini-image {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.mini-image img {
    width: 10px;       /* petite taille */
    height: auto;
    opacity: 0.7;      /* discrète mais visible */
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
@keyframes fadeInDark {
    from {
        opacity: 0;
        filter: brightness(0.3);
    }
    to {
        opacity: 1;
        filter: brightness(1);
    }
}

.slider .list .item:nth-child(1) .content .title{
    animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content .type{
    animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content .description{
    animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content .buttons{
    animation-delay: 1s !important;
}






/* Animation for next button click */
.slider.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}

@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.slider.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.prev .list .item img{
    z-index: 100;
}


@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}


.slider.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}



/* Animation for prev button click */
.slider.prev .list .item:nth-child(2){
    z-index: 2;
}

.slider.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.slider.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button{
    pointer-events: none;
}


.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 600px) {
    .slider .list .item .content .title,
    .slider .list .item .content .type,
    .slider .list .item .content .description {
        font-size: 6vw;
    }
}
@media (max-width: 1024px) and (min-width: 325px){
    .slider .list .item .content{
        padding-right: 0;
    }
    .slider .list .item .content .title{
        font-size: 50px;
    }
}