* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #FBFBFB;
    min-height: 100vh;
}

main {
    display: flex;
    margin-left: 338px;
    padding-top: 100px;
    padding-bottom: 100px;

    justify-content: center;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    min-width: 450px;

}


.explore-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.explore-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.explore-item:hover .explore-overlay {
    opacity: 1;
}

.explore-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.explore-stat-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.explore-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}


footer
{
    margin-bottom: 50px;
    text-align: center;
}




footer {   
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 338px; /* ✅ Même décalage que main */
    margin-bottom: 50px;
    padding: 20px;
}

footer a {
    color: #5063F9;
    text-decoration: none;
}

footer p {
    font-size: 14px;
}


/* Responsive */
@media (max-width: 1920px) {
    main {
        margin-left: 245px;
        padding-left: 80px;
        padding-right: 80px;
    }
        footer {
        margin-left: 245px;
    }
}

@media (max-width: 1439px) {
    main {
        margin-left: 107px;
    }

        footer {
        margin-left: 107px;
    }
}

@media (max-width: 900px) {
    main {
        margin-left: 0;
        padding-top: 60px;
        padding-left: 80px;
        padding-right: 80px;
    }

    .explore-grid {
        min-width: unset;
        width: 100%;
        gap: 3px;
    }

    footer {
        margin-left: 0;
    }
}

@media (max-width: 850px) {
    footer {
        display: none;
    }
}