/* Tours Hero */
.tours-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
    top: 85px;
    margin-bottom: 50px;
    margin-top: 30px;
}
/* Transportation Section Styles */
.transportation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.transportation-section .card {
    transition: transform 0.3s ease;
}

.transportation-section .card:hover {
    transform: translateY(-5px);
}

.transportation-section .table td {
    padding: 12px 8px;
    font-size: 0.95rem;
}

.transportation-section .table tr:last-child {
    border-bottom: none !important;
}



@media (max-width: 768px) {
    .transportation-section .table td {
        font-size: 0.85rem;
        padding: 8px 4px;
    }
    
}
.tours-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.tours-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Filters Card */
.filters-card {
    transition: var(--transition-smooth);
}

.filters-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Tour Cards in Grid View */
.tour-card-grid {
    height: 100%;
}

.tour-card-grid .tour-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card-grid:hover .tour-image {
    transform: scale(1.05);
}

/* Tour Cards in List View */
.tour-card-list {
    display: flex;
    flex-direction: row;
    padding: 0;
}

.tour-card-list .tour-image-container {
    flex: 0 0 300px;
    max-width: 300px;
}

.tour-card-list .tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem 0 0 0.75rem;
}

.tour-card-list .tour-content {
    flex: 1;
    padding: 1.5rem;
}

/* View Toggle */
.view-toggle .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.view-toggle .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Empty State */
.empty-state-icon {
    opacity: 0.5;
}

/* Quick Booking CTA */
.quick-booking {
    position: relative;
    overflow: hidden;
}

.quick-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-card {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

/* Price Badge */
.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}



/* Filter Tags */
.filter-tag {
    display: inline-flex;
    align-items: center;
    background: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin: 0.25rem;
}

.filter-tag .remove-tag {
    margin-left: 0.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.filter-tag .remove-tag:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .tours-hero {
        padding: 3rem 0 !important;
    }
    
    .filters-card {
        position: static !important;
    }
    
    .tour-card-list {
        flex-direction: column;
    }
    
    .tour-card-list .tour-image-container {
        flex: 0 0 200px;
        max-width: 100%;
    }
    
    .tour-card-list .tour-image {
        border-radius: 0.75rem 0.75rem 0 0;
    }
}

@media (max-width: 768px) {
    .tour-card-grid .tour-image {
        height: 160px;
    }
    
    .tours-hero h1 {
        font-size: 2.5rem !important;
    }
}

/* Accessibility Focus */
.filters-card input:focus,
.filters-card select:focus,
.filters-card button:focus {
    position: relative;
    z-index: 1;
}

/* Print Styles */
@media print {
    .filters-card,
    .view-toggle,
    .quick-booking {
        display: none !important;
    }
    
    .tour-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #dee2e6;
    }
}