/* Travel Slider for Elementor - Frontend CSS */

.tse-container {
    position: relative;
    width: 800px;
    height: 400px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
}

.tse-slide {
    border-radius: 20px;
    position: relative;
    width: 100%;
    height: 100%;
}

.tse-item {
    width: 200px;
    height: 250px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: all 0.5s;
    overflow: hidden;
}

.tse-slide .tse-item:nth-child(1),
.tse-slide .tse-item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px !important;
    transition: all .5s !important;
}

.tse-slide .tse-item:nth-child(3) {
    left: 50%;
}

.tse-slide .tse-item:nth-child(4) {
    left: calc(50% + 220px);
}

.tse-slide .tse-item:nth-child(5) {
    left: calc(50% + 440px);
}

.tse-slide .tse-item:nth-child(n + 6) {
    left: calc(50% + 660px);
    opacity: 0;
}

/* Content */
.tse-item .tse-content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui, -apple-system, sans-serif;
    display: none;
}

.tse-slide .tse-item:nth-child(2) .tse-content {
    display: block;
}

.tse-content .tse-name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: tse-animate 1s ease-in-out 1 forwards;
}

.tse-content .tse-des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: tse-animate 1s ease-in-out 0.3s 1 forwards;
}

.tse-content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.673);
    transition: all 0.5s;
    animation: tse-animate 1s ease-in-out 0.6s 1 forwards;
    font-family: inherit;
}

.tse-content button:hover {
    background-color: rgb(255, 255, 255);
}

.tse-seeMore {
    text-decoration: none;
}

/* Navigation */
.tse-button {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 45%;
    z-index: 10;
}

.tse-button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.74);
    cursor: pointer;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.578);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tse-button button:hover {
    color: #000000;
    border-color: rgba(255, 255, 255, 0.74);
    transform: scale(1.1);
    background: #ffffff;
}

.tse-button button:focus {
    transform: scale(1.1);
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.74);
    outline: none;
}

.tse-button button:active {
    transform: scale(1.02);
}

.tse-next {
    padding: 0 0 0 3px;
}

.tse-prev {
    padding: 0 3px 0 0;
}

/* Animation */
@keyframes tse-animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .tse-container {
        width: 100% !important;
        height: 300px !important;
    }
    .tse-content .tse-name {
        font-size: 28px;
    }
    .tse-item .tse-content {
        left: 30px;
        width: calc(100% - 60px);
    }
}

@media (max-width: 480px) {
    .tse-container {
        height: 260px !important;
    }
    .tse-content .tse-name {
        font-size: 22px;
    }
    .tse-button {
        left: 35%;
    }
}
