#most-loved-destinations {
    padding: 60px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-loved {
    text-align: center;
    margin-bottom: 40px;
    width: 60%;
}

.container-most-loved {
    max-width: 964px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subtitle-loved {
    color: #ff7b54;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-loved h2 {
    font-size: 2.8rem;
    color: #000000;
    margin-top: 10px;
}

.card-loved {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    height: 310px !important;
    width: 300px !important;
}

.img-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

.info-loved {
    position: absolute;
    bottom: 15px;
    left: 20px;
    padding: 15px 0px;
    text-align: left;
    z-index: 2;
    pointer-events: none;
}

.info-loved h3 {
    font-size: 24px;
    color: #fff;
    width: fit-content;
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 0 1px, 0 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s linear;
    -webkit-transition: all 0.4s ease 0.3s 0s ease-out;
    -moz-transition: all 0.4s ease 0.3s 0s ease-out;
    -ms-transition: all 0.4s ease 0.3s 0s ease-out;
    -o-transition: all 0.4s ease 0.3s 0s ease-out;
    transition: all 0.4s ease 0.3s 0s ease-out;
    margin: 0;
    font-weight: bold;
}

.info-loved p {
    color: rgb(255, 255, 255);
    font-size: 14px;
    margin: 5px 0 0;
}


.card-loved:hover .info-loved h3 {
    font-size: 24px;
    color: #ffffff;
    width: fit-content;
    margin: 0;
    font-weight: bold;
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 0 1px, 100% 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s linear;
    -webkit-transition: all 0.4s ease 0.3s 0s ease-out;

}

.view-all-btn {
    position: absolute;
    bottom: 30px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease-out;
    z-index: 3;
}

.card-loved:hover .img-wrapper img {
    transform: scale(1.1);
}

.card-loved:hover .view-all-btn {
    opacity: 1;
    transform: translateX(0);
}

.view-all-btn:hover {
    color: #fff;
    background-color: #ff7b54;
}

.card-loved:hover .img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

@media (max-width: 1280px) {}

@media (max-width: 1024px) {
    .container-most-loved {
        max-width: 632px;
    }

    .header-loved {
        margin-bottom: 20px;
        width: 90%;
    }

    .header-loved h2 {
        font-size: 2rem;

    }

}

@media (max-width: 768px) {
    .container-most-loved {
        max-width: 300px;
    }

    .info-loved {
        bottom: 40px;

    }

    .card-loved {
        width: 300px !important;
        min-width: 300px !important;
        height: 350px !important;
    }

    .img-wrapper {
        width: 300px !important;
        height: 320px !important;
    }

    .grid-loved .owl-stage {
        display: flex;
        justify-content: center;
    }
}