 /* Make image full height of card */
.tour-img.h-100 {
    height: 100%;
}

/* Ensure image covers the area properly */
.object-fit-cover {
    object-fit: cover;
}

/* Adjust badge styles */
.badge {
    padding: 0.4em 0.8em;
    font-weight: 500;
}

/* Adjust star rating for 4.7/5 */
.rate-47 {
    width: 94%; /* 4.7/5 = 94% */
}

/* Ensure content has proper padding */
.tour-content.p-4 {
    padding: 1.5rem !important;
}
.tour-itinerary .badge {
    background: #e23f480a;
    border: #e31e2970 1px solid;
    color: #222;
}
/* Adjust view count styling */
.views-count {
    font-size: 0.875rem;
}
.link-hover:hover {
    color: #e31e29 !important;
}

/* Mobile filter styles */
    @media (max-width: 1199.98px) {
        .p-top-90 {
    padding-top: 20px !important;
}
        .filter-sidebar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1050;
            background: white;
            overflow-y: auto;
            padding: 20px;
        }
        
        .filter-sidebar.show {
            display: block;
        }
        
        .filter-sidebar .card-body {
            padding: 0;
        }
        
        body.filter-open {
            overflow: hidden;
        }
    }
    
    @media (min-width: 1200px) {
        #mobileFilterToggle {
            display: none !important;
        }
        
        .filter-sidebar {
            display: block !important;
        }
    }
/* Animation styles for mobile filter */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Update the mobile filter styles */
@media (max-width: 1199.98px) {
    .filter-sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 1050;
        background: white;
        overflow-y: auto;
        padding: 20px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .filter-sidebar.show {
        display: block;
        transform: translateX(0);
        animation: slideInRight 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    .filter-sidebar.hiding {
        animation: slideOutRight 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    /* Add overlay backdrop */
    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .filter-overlay.show {
        display: block;
        animation: fadeIn 0.3s ease forwards;
    }
    
    .filter-overlay.hiding {
        animation: fadeOut 0.3s ease forwards;
    }
    
    .filter-sidebar .card-body {
        padding: 0;
    }
    
    body.filter-open {
        overflow: hidden;
    }
}