/* Travel Cards Styling - Matching the Image Design */

.travel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.split-image {
    display: flex;
    height: 100%;
    position: relative;
}

.image-left,
.image-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-left {
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
}

.image-right {
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -20%;
}

.image-left img,
.image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.destination-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.destination-subtitle {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.destination-description {
    color: white;
    font-size: 12px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.heart-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.heart-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.heart-icon i {
    color: white;
    font-size: 18px;
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.detail-item i {
    width: 20px;
    margin-right: 12px;
    color: #666;
    font-size: 16px;
}

.detail-item span {
    flex: 1;
    line-height: 1.4;
}

.explore-button {
    background: #20B2AA;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    width: 100%;
    margin-top: auto;
}

.explore-button:hover {
    background: #1A9B94;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

/* Swiper Container Styling */
.swiper {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
}

/* Navigation Buttons */
.elementor-swiper-button {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #20B2AA;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.elementor-swiper-button:hover {
    background: #20B2AA;
    transform: scale(1.1);
}

.elementor-swiper-button:hover svg path {
    fill: white;
}

.elementor-swiper-button svg {
    width: 20px;
    height: 20px;
}

.elementor-swiper-button svg path {
    fill: #20B2AA;
    transition: fill 0.3s ease;
}

.elementor-swiper-button-prev {
    left: 20px;
}

.elementor-swiper-button-next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .travel-card {
        margin: 0 10px;
    }
    
    .card-image-container {
        height: 200px;
    }
    
    .destination-title {
        font-size: 24px;
    }
    
    .destination-subtitle {
        font-size: 12px;
    }
    
    .destination-description {
        font-size: 11px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .detail-item {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .explore-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .elementor-swiper-button {
        width: 40px;
        height: 40px;
    }
    
    .elementor-swiper-button svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .card-image-container {
        height: 180px;
    }
    
    .destination-title {
        font-size: 20px;
    }
    
    .image-overlay {
        padding: 15px;
    }
    
    .heart-icon {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .heart-icon i {
        font-size: 16px;
    }
}
