/* ========================================
   SECTION EXPLORER/OFFRIR - Styles
   ======================================== */

.explorer-offrir_section {
    padding: 80px 0;
}

/* Card */
.explorer-offrir_card {
    position: relative;
    display: block;
    width: 100%;
    /* Proportion 646:398 */
    aspect-ratio: 646 / 398;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explorer-offrir_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Background Image */
.explorer-offrir_card__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.explorer-offrir_card__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay sombre pour améliorer la lisibilité du texte */
.explorer-offrir_card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

/* Content */
.explorer-offrir_card__content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: #FFFFFF;
}

/* Title */
.explorer-offrir_card__title {
    font-size: 48px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Subtitle */
.explorer-offrir_card__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.4;
    opacity: 0.95;
}

/* Button */
.explorer-offrir_card__button {
    display: inline-block;
    padding: 9px 18px;
    background-color: #FFFFFF;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    border-radius: 20px;
    width: fit-content;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.explorer-offrir_card:hover .explorer-offrir_card__button {
    background-color: #333333;
    color: #FFFFFF;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991.98px) {
    .explorer-offrir_card {
        margin-bottom: 20px;
    }

    .explorer-offrir_card__title {
        font-size: 36px;
    }

    .explorer-offrir_card__subtitle {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .explorer-offrir_section {
        padding: 50px 0;
    }

    .explorer-offrir_card__content {
        padding: 30px 20px;
    }

    .explorer-offrir_card__title {
        font-size: 32px;
    }

    .explorer-offrir_card__subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .explorer-offrir_card__button {
        padding: 9px 18px;
        font-size: 16px;
    }
}

