@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&display=swap');

.one_departures {

    width: 100%;
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 100px auto;
}



.one_left-content {
    width: 25%;
    min-width: 280px;
}

.one_left-content h1 {
    font-family: "Noto Serif Display", serif;
    font-size: 35px;
    line-height: 48px;
    margin-bottom: 50px;
    font-weight: 600;

}

.one_left-content a {
    font-family: "Syne", sans-serif;
    text-decoration: none;
    color: #000000 !important;
    font-size: 16px;
    padding: 12px 12px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
}
.one_left-content a:hover {
    background: #E0E0E0;
    padding: 12px 12px;
}

/* RIGHT */

.one_slider {

    width: 100%;
    display: flex;
    gap: 25px;

    overflow-x: auto;
    scroll-behavior: smooth;

    scrollbar-width: none;

}

.one_slider::-webkit-scrollbar {

    display: none;

}


/* CARD */

.one_card {


    width: 370px;

    height: 520px;

    flex: 0 0 340px;

    position: relative;

    overflow: hidden;

    flex-shrink: 0;

    cursor: pointer;

}

.one_card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .7s;

}

/* Overlay */

.one_overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0);

    transition: .5s;

}

/* Content */

.one_content {

    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 40px;


}

/* Title */

.one_title-wrapper {

    margin-bottom: 10px;
    transform: translateY(55px);
    transition: .5s ease;
}

.one_card:hover .one_title-wrapper {
    transform: translateY(0);
}

.one_content h2 {
    font-size: 27px;
    line-height: 1.2;

    font-family: "Noto Serif Display", serif;
    color: white;
}

.one_title-line {
    width: 100%;
    height: 1pt;
    background: rgb(255, 255, 255);
    margin-top: 10px;
}


.one_details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(25px);
    transition: all .5s ease;
}

.one_card:hover .one_details {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
}

.one_details h3 {
    color: #fff;
    /* margin: 5px 0 1px; */
    font-size: 18px;
}

.one_details {
    color: #fff;
    margin-bottom: 10px;
    font-family: "Syne", sans-serif;
}

.one_details span {
    color: #fff;
    margin-top: 0px;
    line-height: 28px;
    font-weight: 400;
    font-family: "Syne", sans-serif;
    font-size: 12px;
}


.one_details p {
    color: #fff;
    margin-top: 10px;
    line-height: 25px;
    font-size: 15px;
    font-family: "Syne", sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: .5s;

}


.one_view-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
    padding: 20px 30px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    font-family: "Syne", sans-serif;
}
.one_view-btn:hover{
    color: #fff !important;
}
.one_view-btn .one_arrow {
    font-size: 16px;
    transition: .3s;

}

.one_card:hover .one_view-btn .one_arrow {
    transform: translateX(8px);
    /* background: rgba(255, 255, 255, 0.5); */

}

.one_card:hover .one_view-btn {
    background: rgba(255, 255, 255, 0.5);
}

/* Hover */

.one_card:hover img {

    transform: scale(1.1);

}

.one_card:hover .one_overlay {

    background: rgba(0, 0, 0, .5);

}


.one_card:hover .one_content p {
    opacity: 1;
    transform: translateY(0);

}





/* ===========================
   Large Screens (1200px)
=========================== */
@media (max-width: 1200px) {

    .one_departures {
        gap: 30px;
        padding: 30px 20px;
    }

    .one_left-content {
        width: 28%;
        min-width: 240px;
    }

    .one_card {
        flex: 0 0 300px;
        width: 300px;
        height: 470px;
    }

    .one_content {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .one_content h2 {
        font-size: 26px;
    }

    .one_view-btn {
        font-size: 16px;
    }
}


/* ===========================
   Tablets (992px)
=========================== */
@media (max-width: 992px) {

    .one_departures {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .one_left-content {
        width: 100%;
        min-width: 100%;
    }

    .one_left-content h1 {
        font-size: 42px;
        margin-bottom: 30px;
    }

    .one_slider {
        width: 100%;
        gap: 20px;
    }

    .one_card {
        flex: 0 0 320px;
        width: 320px;
        height: 500px;
    }
}


/* ===========================
   Mobile (768px)
=========================== */
@media (max-width: 768px) {

    .one_departures {
        padding: 20px 15px;
        margin: 20px auto;
    }

    .one_left-content h1 {
        font-size: 32px;
    }

    .one_left-content a {
        font-size: 16px;
    }

    .one_slider {
        gap: 15px;
    }

    .one_card {
        flex: 0 0 280px;
        width: 280px;
        height: 430px;
    }

    .one_content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .one_title-wrapper {
        transform: translateY(40px);
    }

    .one_content h2 {
        font-size: 24px;
    }

    .one_details h3 {
        font-size: 12px;
    }

    .one_content p {
        font-size: 15px;
        line-height: 24px;
    }

    .one_view-btn {
        padding: 10px;
        font-size: 15px;
        margin-top: 30px;
    }

    .one_view-btn .arrow {
        font-size: 18px;
    }
}


/* ===========================
   Small Mobile (480px)
=========================== */
@media (max-width: 480px) {

    .one_departures {
        padding: 15px;
        gap: 30px;
    }

    .one_left-content h1 {
        font-size: 28px;
    }

    .one_left-content a {
        font-size: 15px;
    }

    .one_card {
        flex: 0 0 100%;
        width: 100%;
        height: 420px;
    }

    .one_content h2 {
        font-size: 22px;
    }

    .one_details h3 {
        font-size: 15px;
    }

    .one_content p {
        font-size: 14px;
        line-height: 22px;
    }

    .one_view-btn {
        font-size: 14px;
        padding: 10px;
    }
}