* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 100%);
    color: #e8d5b7;
    min-height: 100vh;
}

/* Main Container */
.hotels-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

/* Page Title */
.page-title {
    color: #d4af37;
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

/* Search Section */
.search-section {
    background: rgba(20, 12, 8, 0.8);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 40px;
}

.search-bar {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    color: #e8d5b7;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.date-input {
    padding: 15px;
    background: rgba(90, 87, 87, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    color: #e8d5b7;
    font-size: 14px;
}

.date-input:focus {
    outline: none;
    border-color: #d4af37;
}

.search-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #1a0f0a;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Filters Section */
.filters-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: #d4af37;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
}

.filter-group select {
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    color: #e8d5b7;
    font-size: 14px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #d4af37;
}

.reset-btn {
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.reset-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 60px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Section */
.results-header {
    margin-bottom: 30px;
    text-align: center;
}

.results-header h2 {
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 10px;
}

.results-header p {
    color: #e8d5b7;
    opacity: 0.8;
}

/* Hotels Grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

/* Hotel Card */
.hotel-card {
    background: rgba(20, 12, 8, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    padding: 18px;
}

.hotel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
}
.hotel-image-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(0, 0, 0, 0.25));
    aspect-ratio: 16 / 9;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hotel-image-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #1a0f0a;
    background: rgba(232, 213, 183, 0.92);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hotel-content {
    padding: 0;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.hotel-name {
    color: #d4af37;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.hotel-location {
    color: #e8d5b7;
    font-size: 13px;
    opacity: 0.8;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(212, 175, 55, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

.stars {
    color: #d4af37;
    font-size: 14px;
}

.rating-number {
    color: #d4af37;
    font-weight: 600;
    font-size: 14px;
}

.hotel-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8d5b7;
    font-size: 14px;
}

.availability-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.availability-badge.available {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.availability-badge.estimated {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.45);
}

.availability-badge.unavailable {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    gap: 16px;
}

.hotel-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    color: #e8d5b7;
    font-size: 12px;
    opacity: 0.8;
}

.price-amount {
    color: #d4af37;
    font-size: 18px;
    font-weight: 700;
}

.price-currency {
    font-size: 14px;
}

.book-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #1a0f0a;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.book-btn:hover {
    background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.book-btn:disabled {
    background: rgba(100, 100, 100, 0.3);
    color: rgba(232, 213, 183, 0.5);
    cursor: not-allowed;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results h3 {
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 15px;
}

.no-results p {
    color: #e8d5b7;
    opacity: 0.7;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-bar {
        grid-template-columns: 1fr;
    }

    .filters-section {
        grid-template-columns: 1fr;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .hotel-image-wrap {
        aspect-ratio: 4 / 3;
    }

    .hotel-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .book-btn {
        width: 100%;
    }
}

