/* Hotels Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hotel Cards */
.hotel-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hotel-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.1);
}

.hotel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.hotel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hotel-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.hotel-description {
    flex: 1;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.hotel-reviews {
    margin-top: auto;
}

.hotel-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-from {
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-per {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link:hover {
    color: var(--primary-color);
}

/* Offcanvas for mobile filters */
.offcanvas-header {
    background: var(--primary-color);
    color: white;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Sort dropdown */
#sortSelect {
    min-width: 150px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hotel-image {
        height: 150px;
    }
    
    .price-amount {
        font-size: 1.2rem;
    }
}

/* Loading state for filters */
.filter-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Advanced filter badges */
.active-filters {
    margin-bottom: 1rem;
}

.filter-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.filter-badge .remove-filter {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Price range slider (future enhancement) */
.price-range-slider {
    margin: 1rem 0;
}

/* Animation for hotel cards */
.hotel-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.hotel-card:hover .hotel-title {
    color: var(--primary-color);
}

.hotel-card:hover .btn-primary {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}